Skip to content

Commit 42c35bc

Browse files
committed
feat: switch to indirect inputs
1 parent 1228b05 commit 42c35bc

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

flake.lock

Lines changed: 8 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
inputs = {
3-
nixpkgs-matrix.url = "github:MatrixAI/nixpkgs-matrix";
3+
nixpkgs-matrix = {
4+
type = "indirect";
5+
id = "nixpkgs-matrix";
6+
};
7+
48
flake-utils.url = "github:numtide/flake-utils";
59
};
610

@@ -17,7 +21,8 @@
1721

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

20-
commitHash = toString (self.rev or self.dirtyRev);
24+
commitHash = builtins.replaceStrings [ "-dirty" ] [ "" ]
25+
(toString (self.rev or self.dirtyRev));
2126
npmDepsHash = builtins.readFile ./npmDepsHash;
2227

2328
polykey-cli = pkgs.buildNpmPackage {

npmDepsHash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sha256-FDJmb93Xgols7SXWv/ETyDm0uggBmVuVWiD+vJOcKcc=
1+
sha256-VzfqKBphM815xXCKyJIpHQHLeCLyKmdnGOukGj7NCx4=

0 commit comments

Comments
 (0)