about summary refs log tree commit diff
path: root/pkgs/profpatsch/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/profpatsch/default.nix')
-rw-r--r--pkgs/profpatsch/default.nix7
1 files changed, 6 insertions, 1 deletions
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"