fix: never attempt to call builtins.storePath
in pure evaluation mode #63
|
@ -109,7 +109,7 @@ let
|
||||||
# Massage `src` into a store path.
|
# Massage `src` into a store path.
|
||||||
if builtins.isPath src
|
if builtins.isPath src
|
||||||
then
|
then
|
||||||
if dirOf (toString src) == builtins.storeDir
|
if builtins ? currentSystem && dirOf (toString src) == builtins.storeDir
|
||||||
then
|
then
|
||||||
# If it's already a store path, don't copy it again.
|
# If it's already a store path, don't copy it again.
|
||||||
builtins.storePath src
|
builtins.storePath src
|
||||||
|
|
Loading…
Reference in a new issue