From 735a4df49a7df2751144edf501b6a3ef1f6d48b1 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 22 Nov 2021 19:32:44 +0100 Subject: pkgs/profatsch: no drv-säckl für IfD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Argh --- pkgs/profpatsch/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pkgs/profpatsch') diff --git a/pkgs/profpatsch/default.nix b/pkgs/profpatsch/default.nix index 33816ca2..fc718617 100644 --- a/pkgs/profpatsch/default.nix +++ b/pkgs/profpatsch/default.nix @@ -97,6 +97,11 @@ let runExecline = it; runExeclineLocal = name: args: execline: testing.drvSeqL tests (itLocal name args execline); + + # This is just a stupid workaround to prevent nix restricted mode + # from stumbling over the symlink in the derivation output. + runExeclineLocalNoSeqL = name: args: execline: + itLocal name args execline; }; writeExeclineFns = callPackage ./execline/write-execline.nix {}; @@ -117,7 +122,7 @@ let rev = tvlCommit; # 2021-11-13 sha256 = tvlSha256; }; - prepareSource = runExeclineFns.runExeclineLocal "prepare-tvl" {} [ + prepareSource = runExeclineFns.runExeclineLocalNoSeqL "prepare-tvl" {} [ "importas" "out" "out" "if" [ bins.cp "--no-preserve=mode" "-r" src "$out" ] bins.gawk "-i" "inplace" gawkScript "\${out}/third_party/nixpkgs/default.nix" -- cgit 1.4.1