summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-12-07 22:08:49 +0100
committerVincent Laporte <vbgl@users.noreply.github.com>2021-12-13 10:51:07 +0100
commit675049c5c1a37b7fc0d0f96a3baded34dafc3a06 (patch)
tree3f1c3e8cd380ef8bf9661bed0b303918c460c3df
parentcamlp4: add new versions (diff)
downloadnixpkgs-675049c5c1a37b7fc0d0f96a3baded34dafc3a06.tar.gz
why3.withProvers: add dontUnpack
(cherry picked from commit 6e0bc1f976829203e37cd35205b9ff58341c619d)
-rw-r--r--pkgs/applications/science/logic/why3/with-provers.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/science/logic/why3/with-provers.nix b/pkgs/applications/science/logic/why3/with-provers.nix
index fc08f5d7c85e..826473b38e9f 100644
--- a/pkgs/applications/science/logic/why3/with-provers.nix
+++ b/pkgs/applications/science/logic/why3/with-provers.nix
@@ -17,9 +17,11 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ why3 ] ++ provers;
+ dontUnpack = true;
+
buildPhase = ''
mkdir -p $out/share/why3/
- why3 config --detect-provers -C $out/share/why3/why3.conf
+ why3 config detect -C $out/share/why3/why3.conf
awk -i inplace -f ${configAwkScript} $out/share/why3/why3.conf
'';