Skip to content

Commit

Permalink
feat: switch to indirect inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
brynblack committed Sep 20, 2024
1 parent 1228b05 commit 42c35bc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
17 changes: 8 additions & 9 deletions flake.lock

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

9 changes: 7 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
inputs = {
nixpkgs-matrix.url = "github:MatrixAI/nixpkgs-matrix";
nixpkgs-matrix = {
type = "indirect";
id = "nixpkgs-matrix";
};

flake-utils.url = "github:numtide/flake-utils";
};

Expand All @@ -17,7 +21,8 @@

utils = pkgs.callPackage ./utils.nix { };

commitHash = toString (self.rev or self.dirtyRev);
commitHash = builtins.replaceStrings [ "-dirty" ] [ "" ]
(toString (self.rev or self.dirtyRev));
npmDepsHash = builtins.readFile ./npmDepsHash;

polykey-cli = pkgs.buildNpmPackage {
Expand Down
2 changes: 1 addition & 1 deletion npmDepsHash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sha256-FDJmb93Xgols7SXWv/ETyDm0uggBmVuVWiD+vJOcKcc=
sha256-VzfqKBphM815xXCKyJIpHQHLeCLyKmdnGOukGj7NCx4=

0 comments on commit 42c35bc

Please sign in to comment.