mirror of
https://github.com/astro/deadnix.git
synced 2024-12-11 12:57:47 +03:00
Merge pull request #28 from oxapentane/oxa-fix-nix-2.8
update deprecated flake output attributes
This commit is contained in:
commit
8f63968200
10
flake.nix
10
flake.nix
@ -40,7 +40,7 @@
|
||||
];
|
||||
meta.description = "Scan Nix files for dead code";
|
||||
};
|
||||
defaultPackage = packages.deadnix;
|
||||
packages.default = packages.deadnix;
|
||||
|
||||
checks = packages;
|
||||
|
||||
@ -59,17 +59,17 @@
|
||||
apps.deadnix = utils.lib.mkApp {
|
||||
drv = packages.deadnix;
|
||||
};
|
||||
defaultApp = apps.deadnix;
|
||||
apps.default = apps.deadnix;
|
||||
|
||||
# `nix develop`
|
||||
devShell = pkgs.mkShell {
|
||||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = [
|
||||
fenix.packages.${system}.rust-analyzer
|
||||
] ++
|
||||
(with defaultPackage; nativeBuildInputs ++ buildInputs);
|
||||
(with packages.default; nativeBuildInputs ++ buildInputs);
|
||||
};
|
||||
}) // {
|
||||
overlay = final: prev: {
|
||||
overlays.default = final: prev: {
|
||||
inherit (self.packages.${prev.system})
|
||||
deadnix
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user