Loading pkgs/build-support/trivial-builders/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -109,6 +109,7 @@ rec { allowSubstitutes ? false, preferLocalBuild ? true, derivationArgs ? { }, pos ? builtins.unsafeGetAttrPos "name" args, }@args: assert lib.assertMsg (destination != "" -> (lib.hasPrefix "/" destination && destination != "/")) '' destination must be an absolute path, relative to the derivation's out path, Loading @@ -123,8 +124,8 @@ rec { runCommand name ( { pos = builtins.unsafeGetAttrPos "name" args; inherit pos text executable checkPhase Loading Loading @@ -261,6 +262,7 @@ rec { inheritPath ? true, }@args: writeTextFile { pos = builtins.unsafeGetAttrPos "name" args; inherit name meta Loading Loading
pkgs/build-support/trivial-builders/default.nix +3 −1 Original line number Diff line number Diff line Loading @@ -109,6 +109,7 @@ rec { allowSubstitutes ? false, preferLocalBuild ? true, derivationArgs ? { }, pos ? builtins.unsafeGetAttrPos "name" args, }@args: assert lib.assertMsg (destination != "" -> (lib.hasPrefix "/" destination && destination != "/")) '' destination must be an absolute path, relative to the derivation's out path, Loading @@ -123,8 +124,8 @@ rec { runCommand name ( { pos = builtins.unsafeGetAttrPos "name" args; inherit pos text executable checkPhase Loading Loading @@ -261,6 +262,7 @@ rec { inheritPath ? true, }@args: writeTextFile { pos = builtins.unsafeGetAttrPos "name" args; inherit name meta Loading