nix: migrate from deprecated attributes
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b6a9c7e6a4
commit
007994e0a2
12
flake.nix
12
flake.nix
|
@ -36,6 +36,8 @@
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
apps = {
|
apps = {
|
||||||
|
default = apps.matrix-notifier;
|
||||||
|
|
||||||
matrix-notifier =
|
matrix-notifier =
|
||||||
futils.lib.mkApp { drv = packages.matrix-notifier; };
|
futils.lib.mkApp { drv = packages.matrix-notifier; };
|
||||||
};
|
};
|
||||||
|
@ -56,11 +58,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultApp = apps.matrix-notifier;
|
devShells = {
|
||||||
|
default = pkgs.mkShell {
|
||||||
defaultPackage = packages.matrix-notifier;
|
|
||||||
|
|
||||||
devShell = pkgs.mkShell {
|
|
||||||
name = "matrix-notifier";
|
name = "matrix-notifier";
|
||||||
|
|
||||||
inputsFrom = with self.packages.${system}; [
|
inputsFrom = with self.packages.${system}; [
|
||||||
|
@ -69,8 +68,11 @@
|
||||||
|
|
||||||
inherit (self.checks.${system}.pre-commit) shellHook;
|
inherit (self.checks.${system}.pre-commit) shellHook;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
packages = {
|
packages = {
|
||||||
|
default = packages.matrix-notifier;
|
||||||
|
|
||||||
matrix-notifier = pkgs.stdenvNoCC.mkDerivation rec {
|
matrix-notifier = pkgs.stdenvNoCC.mkDerivation rec {
|
||||||
pname = "matrix-notifier";
|
pname = "matrix-notifier";
|
||||||
version = "0.2.0";
|
version = "0.2.0";
|
||||||
|
|
Loading…
Reference in a new issue