From 4cc23f2b1e1b9ae443d257129001caebca464d2f Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Tue, 7 Dec 2021 22:08:49 +0100 Subject: [PATCH] why3.withProvers: add dontUnpack --- pkgs/applications/science/logic/why3/with-provers.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 '';