Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve lockfile generation issues #119

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -107,6 +107,7 @@

packages = {
inherit uber bin ociImg;
deps-lock = (clj-nix.packages.${system}.deps-lock);
default = bin;
};
};
Expand Down
Loading