move dev shell to flake
This commit is contained in:
parent
af679b644f
commit
afb2ca459e
2 changed files with 11 additions and 7 deletions
12
outputs.nix
12
outputs.nix
|
@ -56,7 +56,17 @@ in
|
|||
$link/activate
|
||||
'');
|
||||
};
|
||||
devShell = pkgs.callPackage ./shell.nix { inherit agenix-bin; };
|
||||
|
||||
devShell = pkgs.callPackage
|
||||
({}:
|
||||
pkgs.mkShell {
|
||||
buildInputs = [
|
||||
agenix-bin
|
||||
];
|
||||
}
|
||||
)
|
||||
{ };
|
||||
|
||||
formatter = nixpkgs.legacyPackages."${system}".nixpkgs-fmt;
|
||||
checks = {
|
||||
format = pkgs.runCommand "check-format" { buildInputs = [ formatter ]; } "${formatter}/bin/nixpkgs-fmt --check ${./.} && touch $out";
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{ agenix-bin, mkShell }:
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
agenix-bin
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue