forked from DGNum/colmena
Also disallow pinning to a Nixpkgs lambda in Flakes
Somehow missed this one *shrugs*
This commit is contained in:
parent
0828bc3025
commit
1535857acc
1 changed files with 2 additions and 1 deletions
|
@ -313,7 +313,8 @@ let
|
|||
# The referenced file might return an initialized Nixpkgs attribute set directly
|
||||
else mkNixpkgs configName (import pkgConf)
|
||||
else if typeOf pkgConf == "lambda" then
|
||||
pkgConf {}
|
||||
if hermetic then throw (uninitializedError "a Nixpkgs lambda")
|
||||
else pkgConf {}
|
||||
else if typeOf pkgConf == "set" then
|
||||
if pkgConf ? outputs then throw (uninitializedError "an uninitialized Nixpkgs input")
|
||||
else pkgConf
|
||||
|
|
Loading…
Reference in a new issue