replace flake-utils with flake-parts

This commit is contained in:
Felix Buehler 2022-06-26 22:40:59 +02:00
parent 819c842620
commit 48d6936889
4 changed files with 85 additions and 75 deletions

View file

@ -1,17 +1,31 @@
{ mkShellNoCC
, ssh-to-age
, sops
, sops-import-keys-hook
, deploy-rs
, nixpkgs-fmt
}:
#{ mkShellNoCC
#, ssh-to-age
#, sops
#, sops-import-keys-hook
#, deploy-rs
#, nixpkgs-fmt
#}:
#
#mkShellNoCC {
# nativeBuildInputs = [
# ssh-to-age
# sops
# sops-import-keys-hook
# deploy-rs
# nixpkgs-fmt
# ];
#}
mkShellNoCC {
nativeBuildInputs = [
ssh-to-age
sops
sops-import-keys-hook
deploy-rs
nixpkgs-fmt
];
{
perSystem = { inputs', pkgs, ... }: {
# Definitions like this are entirely equivalent to the ones
# you may have directly in flake.nix.
devShells.default = pkgs.mkShellNoCC {
nativeBuildInputs = [
inputs'.sops-nix.packages.sops-import-keys-hook
inputs'.deploy-rs.packages.deploy-rs
pkgs.nixpkgs-fmt
];
};
};
}