nix: migrate from deprecated attributes
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Bruno BELANYI 2022-06-03 16:30:12 +02:00
parent b6a9c7e6a4
commit 007994e0a2
1 changed files with 12 additions and 10 deletions

View File

@ -36,6 +36,8 @@
in
rec {
apps = {
default = apps.matrix-notifier;
matrix-notifier =
futils.lib.mkApp { drv = packages.matrix-notifier; };
};
@ -56,11 +58,8 @@
};
};
defaultApp = apps.matrix-notifier;
defaultPackage = packages.matrix-notifier;
devShell = pkgs.mkShell {
devShells = {
default = pkgs.mkShell {
name = "matrix-notifier";
inputsFrom = with self.packages.${system}; [
@ -69,8 +68,11 @@
inherit (self.checks.${system}.pre-commit) shellHook;
};
};
packages = {
default = packages.matrix-notifier;
matrix-notifier = pkgs.stdenvNoCC.mkDerivation rec {
pname = "matrix-notifier";
version = "0.2.0";