mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: put builtin in scope when needed
This commit is contained in:
parent
d7d55059ce
commit
8271aea4ba
9 changed files with 38 additions and 34 deletions
|
|
@ -8,6 +8,7 @@
|
|||
extraArgs ? [ ],
|
||||
useDefaultsArgs ? true,
|
||||
}:
|
||||
with builtins;
|
||||
stdenvNoCC.mkDerivation {
|
||||
/* Credits:
|
||||
https://github.com/NixOS/nixpkgs/issues/44329#issuecomment-1231189572
|
||||
|
|
@ -25,10 +26,10 @@ stdenvNoCC.mkDerivation {
|
|||
|
||||
buildPhase =
|
||||
let
|
||||
args = builtins.concatStringsSep " " extraArgs;
|
||||
args = concatStringsSep " " extraArgs;
|
||||
defArgs =
|
||||
if useDefaultsArgs then
|
||||
builtins.concatStringsSep " " [
|
||||
concatStringsSep " " [
|
||||
"--careful"
|
||||
"--complete"
|
||||
"--quiet"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue