Merge staging into staging-next
This commit is contained in:
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0ksd9xkvm9lkvj4yl5sl0zmydp1wn3xhc55b28gj70gi4k75kcl4";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir bmrsa
|
||||
|
||||
@@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1k1cxsj0221dpsqi5yibq2hr7n8xywnicl8yyaicn91y8h2hkqln";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ]
|
||||
++ lib.optionals stdenv.isLinux [ stdenv.glibc.out stdenv.glibc.static ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
buildInputs = lib.optionals stdenv.isLinux [ stdenv.glibc.out stdenv.glibc.static ];
|
||||
|
||||
patches = [
|
||||
./00-chntpw-build-arch-autodetect.patch
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0ik26sxgqgsqplksl87z61vwmx51k7plaqmrkdid7xidgfhfxr42";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src
|
||||
|
||||
@@ -14,6 +14,12 @@ stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ xcbuildHook ];
|
||||
buildInputs = [ libiconv ncurses Cocoa ];
|
||||
|
||||
preBuild = ''
|
||||
# Only build for what we care about (also allows arm64)
|
||||
substituteInPlace pinentry-mac.xcodeproj/project.pbxproj \
|
||||
--replace "i386 x86_64 ppc" "${stdenv.targetPlatform.darwinArch}"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/Applications
|
||||
mv Products/Release/pinentry-mac.app $out/Applications
|
||||
|
||||
@@ -11,7 +11,8 @@ stdenv.mkDerivation {
|
||||
sha256 = "134fq84896w5vp8vg4qg0ybpb466njibigyd7bqqm1xydr07qrgn";
|
||||
};
|
||||
|
||||
buildInputs = [ libxml2 file p7zip unrar unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
buildInputs = [ libxml2 file p7zip unrar ];
|
||||
buildFlags = lib.optional stdenv.cc.isClang "CC=clang";
|
||||
installFlags = [ "PREFIX=\${out}" ];
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl sonarScannerArchPackage.${stdenv.hostPlatform.system};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
|
||||
Reference in New Issue
Block a user