Closed nmattia closed 4 years ago
This updates the sources.nix to replace the outPath field of package foo with the content of envionment variable NIV_OVERRIDE_foo. In the environment variable name, all characters outside of [a-zA-Z0-9_] are escaped to _.
outPath
foo
NIV_OVERRIDE_foo
[a-zA-Z0-9_]
_
This updates the sources.nix to replace the
outPath
field of packagefoo
with the content of envionment variableNIV_OVERRIDE_foo
. In the environment variable name, all characters outside of[a-zA-Z0-9_]
are escaped to_
.