Skip to content

Commit

Permalink
Merge pull request #274 from MatrixAI/feature-flake-indirect
Browse files Browse the repository at this point in the history
Indirect package set flake input
  • Loading branch information
brynblack authored Sep 20, 2024
2 parents 1228b05 + d942d24 commit 806339e
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 15 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-b0i9iHXmAhdNqDCzcGJmv1NJKsPUmy7n7UjXeeYhRWU=
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polykey-cli",
"version": "0.8.0",
"version": "0.8.1",
"homepage": "https://polykey.com",
"author": "Roger Qiu",
"contributors": [
Expand Down

0 comments on commit 806339e

Please sign in to comment.