diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-02-20 11:23:41 +0000 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-02-20 11:23:41 +0000 |
commit | 585971600f3946f613704aedbfd97c64839ee611 (patch) | |
tree | 4ba170450cc6540747457a0cd6deb66e9c3da441 /pkgs/development/libraries/quickder | |
parent | 1afb012df6f2a5237d47812ec53e25e360b7f630 (diff) |
quickder: fix python shebangs
Diffstat (limited to 'pkgs/development/libraries/quickder')
-rw-r--r-- | pkgs/development/libraries/quickder/default.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/libraries/quickder/default.nix b/pkgs/development/libraries/quickder/default.nix index 98be3b4087b13..77e76ad638abf 100644 --- a/pkgs/development/libraries/quickder/default.nix +++ b/pkgs/development/libraries/quickder/default.nix @@ -29,19 +29,21 @@ stdenv.mkDerivation rec { pkgconfig ]; - patchPhase = '' + postPatch = '' substituteInPlace ./CMakeLists.txt \ --replace "get_version_from_git" "set (Quick-DER_VERSION 1.2) #" substituteInPlace ./CMakeLists.txt \ --replace \$\{ARPA2CM_TOOLCHAIN_DIR} "$out/share/ARPA2CM/toolchain/" - ''; + patchShebangs python/scripts/ + ''; - cmakeFlags = [ "-DNO_TESTING=ON" - "-DARPA2CM_TOOLCHAIN_DIR=$out/share/ARPA2CM/toolchain/" - "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" - "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" - "-DPACKAGE_NO_PACKAGE_REGISTRY=ON" - ]; + cmakeFlags = [ + "-DNO_TESTING=ON" + "-DARPA2CM_TOOLCHAIN_DIR=$out/share/ARPA2CM/toolchain/" + "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" + "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" + "-DPACKAGE_NO_PACKAGE_REGISTRY=ON" + ]; preConfigure = '' export PREFIX=$out |