Nix 2.7.0 compatibility

This commit is contained in:
Erwin Boskma 2022-03-23 10:51:43 +01:00
parent 4a37e9ff9b
commit 828706dd1c
Signed by: erwin
GPG key ID: 270B20D17394F7E5

View file

@ -42,18 +42,18 @@
root = ./.; root = ./.;
}; };
defaultPackage = packages.ha-now-playing; packages.default = packages.ha-now-playing;
apps.ha-now-playing = utils.lib.mkApp { apps.ha-now-playing = utils.lib.mkApp {
drv = self.defaultPackage."${system}"; drv = self.defaultPackage."${system}";
}; };
defaultApp = apps.ha-now-playing; apps.default = apps.ha-now-playing;
overlays = final: prev: { overlays = final: prev: {
ha-now-playing = packages.ha-now-playing; ha-now-playing = packages.ha-now-playing;
}; };
devShell = with pkgs; mkShell { devShells.default = with pkgs; mkShell {
inherit buildInputs; inherit buildInputs;
nativeBuildInputs = [ cargo-edit cargo-expand cargo-diet cargo-feature cargo-outdated rust-analyzer pre-commit jq gitflow ] ++ nativeBuildInputs; nativeBuildInputs = [ cargo-edit cargo-expand cargo-diet cargo-feature cargo-outdated rust-analyzer pre-commit jq gitflow ] ++ nativeBuildInputs;
}; };