Skip to content

Commit

Permalink
Revert "flake/flake-lib: remove"
Browse files Browse the repository at this point in the history
This reverts commit 790f8ce.
  • Loading branch information
linyinfeng committed Dec 17, 2024
1 parent a45a266 commit 497f8b9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devshell/prepare/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ self, pkgs, ... }:
{ pkgs, flake-lib, ... }:
let
common = builtins.readFile ../common.sh;

Expand All @@ -22,7 +22,7 @@ let
# stateVersion
{
system.stateVersion = "${self.lib.flakeStateVersion}";
system.stateVersion = "${flake-lib.flakeStateVersion}";
}
];
}
Expand Down
8 changes: 8 additions & 0 deletions flake/flake-lib.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{ self, ... }:
{
perSystem =
{ ... }:
{
_module.args.flake-lib = self.lib;
};
}

0 comments on commit 497f8b9

Please sign in to comment.