parent
06469493de
commit
7156cd1c39
1 changed files with 10 additions and 0 deletions
|
@ -34,6 +34,16 @@ in stdenv.mkDerivation (rec {
|
|||
'' + lib.optionalString (stdenv.hostPlatform.isAarch32 && stdenv.hostPlatform.isMusl) ''
|
||||
ln -s src/syscfg/lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.arm-unknown-linux-musleabihf.h
|
||||
ln -s src/syscfg/lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.linux-musleabihf.h
|
||||
''
|
||||
# This file was accidentally excluded from the sdist until
|
||||
# 013720333c6ec1d38791689bc49ba039d98e16b3, post release.
|
||||
# TODO make unconditional next mass rebuild
|
||||
+ lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
cp ${fetchurl {
|
||||
url = "https://raw.githubusercontent.com/gpg/libgpg-error/50e62b36ea01ed25d12c443088b85d4f41a2b3e1/src/gen-lock-obj.sh";
|
||||
sha256 = "10cslipa6npalj869asaamj0w941dhmx0yjafpyyh69ypsg2m2c3";
|
||||
}} ./src/gen-lock-obj.sh
|
||||
chmod +x ./src/gen-lock-obj.sh
|
||||
'';
|
||||
|
||||
outputs = [ "out" "dev" "info" ];
|
||||
|
|
Loading…
Reference in a new issue