diff --git a/.github/workflows/nix.yaml b/.github/workflows/nix.yaml index 3680f28..d0dbf78 100644 --- a/.github/workflows/nix.yaml +++ b/.github/workflows/nix.yaml @@ -23,7 +23,7 @@ jobs: - run: | nix develop '.#depsLock' \ --command bash -c \ - "nix run github:jlesquembre/clj-nix#deps-lock" + "nix run .#deps-lock" - run: | nix build \ -L \ diff --git a/README.md b/README.md index 047baea..f09422e 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ the nix build universe has knowledge of the hash fingerprints of the new deps ve It can be done without any setup like so: ```shell -nix develop '.#depsLock' --command bash -c "nix run github:jlesquembre/clj-nix#deps-lock" +nix develop '.#depsLock' --command bash -c "nix run .#deps-lock" ``` This script can take a minute or two as it needs to build local dependencies of the `clj-nix` library, diff --git a/flake.nix b/flake.nix index bc986ee..124023f 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,7 @@ }; }; - outputs = inputs@{ flake-parts, systems , ... }: + outputs = inputs@{ clj-nix, flake-parts, systems , ... }: flake-parts.lib.mkFlake { inherit inputs; } { systems = import systems; @@ -107,6 +107,7 @@ packages = { inherit uber bin ociImg; + deps-lock = (clj-nix.packages.${system}.deps-lock); default = bin; }; };