Open JonathanLorimer opened 1 year ago
Do you mean you are running the deps-lock
CLI in a nix build? That isn't supported, since we need network access to generate the lock file.
You can run it in a nix build via fixed output derivations!
You can run it in a nix build via fixed output derivations!
good point, never though about it.
I wonder if we could use that trick to include clj-nix
packages on nixpkgs :thinking:
You can run it in a nix build via fixed output derivations!
good point, never though about it.
I wonder if we could use that trick to include
clj-nix
packages on nixpkgs thinking
We definitely could!
I really like how you are generating the lock file in a derivation:
With it, if I upstream clj-nix
to nixpkgs, we don't need to commit the lock files, while at the same time we can share the input dependencies between different derivations
I am creating a deps lock file via a nix derivation, and since it is sand-boxed
LEIN_HOME
is not defined.