Skip to content

Commit

Permalink
Old crane
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Dec 19, 2024
1 parent bd8275c commit 7784aeb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
4 changes: 1 addition & 3 deletions crates/sync_npm_git_dependencies_with_nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
perSystem = { inputs', pkgs, self', lib, ... }: {

packages.sync-npm-git-dependencies-with-nix = let
# Uncomment this line when holonix gets updated to 24.11
# craneLib = inputs.crane.mkLib inputs'.pnpmnixpkgs.legacyPackages;
craneLib = inputs.crane.mkLib inputs'.pnpmnixpkgs.legacyPackages;
craneLib = inputs.crane.mkLib pkgs;

cratePath = ./.;

Expand Down
23 changes: 18 additions & 5 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
holonix.url = "github:holochain/holonix/main-0.4";
nixpkgs.follows = "holonix/nixpkgs";
rust-overlay.follows = "holonix/rust-overlay";
crane.follows = "holonix/crane";
crane.url = "github:ipetkov/crane/9ed3180f45c2d1499e5af98c4ab7ffee8e886f5f";
};

nixConfig = {
Expand Down

0 comments on commit 7784aeb

Please sign in to comment.