Open
Description
This looks awesome. I just tried to have a play with is and ran into:
❯ nix flake show github:MercuryTechnologies/openai
github:MercuryTechnologies/openai/b53d61c4110ce430769e45ec178f6e487cf05e5d?narHash=sha256-0f/YidfYcCq%2BFHuvM/cGeHWuOUhUxCbKxMxXfQ3evQA%3D
├───devShells
│ ├───aarch64-darwin
│ │ └───default omitted (use '--all-systems' to show)
│ ├───aarch64-linux
│ │ └───default omitted (use '--all-systems' to show)
│ ├───x86_64-darwin
│ │ └───default omitted (use '--all-systems' to show)
│ └───x86_64-linux
error:
… while calling a functor (an attribute set with a '__functor' attribute)
at /nix/store/b28k4i7dss8picqr05pix5wv62qc0h8y-source/pkgs/development/haskell-modules/make-package-set.nix:536:31:
535| # pkgWithCombinedDeps :: HaskellDerivation
536| pkgWithCombinedDeps = self.mkDerivation (genericBuilderArgsModifier genericBuilderArgs);
| ^
537|
… while evaluating a branch condition
at /nix/store/b28k4i7dss8picqr05pix5wv62qc0h8y-source/lib/customisation.nix:148:7:
147| in
148| if isAttrs result then
| ^
149| result // {
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: cannot build '/nix/store/4kazh4h0ysqwbsrrlsdlfji0brm4kcl0-cabal2nix-openai.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled
It works with --option allow-import-from-derivation true
and I know I can change my nix config, but thought I'd flag it here in case you want to add to the README.
Metadata
Assignees
Labels
No labels