Skip to content

Commit 806339e

Browse files
authored
Merge pull request #274 from MatrixAI/feature-flake-indirect
Indirect package set flake input
2 parents 1228b05 + d942d24 commit 806339e

File tree

5 files changed

+19
-15
lines changed

5 files changed

+19
-15
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-b0i9iHXmAhdNqDCzcGJmv1NJKsPUmy7n7UjXeeYhRWU=

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polykey-cli",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"homepage": "https://polykey.com",
55
"author": "Roger Qiu",
66
"contributors": [

0 commit comments

Comments
 (0)