Support nix flake show --option allow-import-from-derivation false
#95
Labels
enhancement
New feature or request
This will allow inclusion of haskell-flake based projects into the NixOS flakes search.
I believe it can be done, but we'll have to make the set of attributes less dynamic, in particular we have to predict
outputs
, the names of the outputs.lib.lazyDerivation
NixOS/nixpkgs@fce8b01 produces an attrset that is a valid "derivation attrset" but only needs to evaluate the argument derivation for attributes that really need it, likedrvPath
,outPath
, etc.Our package definitions would have to look somewhat like
I can add multi-output support to
lazyDerivation
.The text was updated successfully, but these errors were encountered: