nix: remove deprecated flake attributes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bruno BELANYI 2022-06-20 14:42:42 +02:00
parent fb021ad3b3
commit 26c48b3561

View file

@ -7,7 +7,8 @@
}; };
outputs = { self, nixpkgs, futils } @ inputs: outputs = { self, nixpkgs, futils } @ inputs:
futils.lib.eachDefaultSystem (system: futils.lib.eachDefaultSystem
(system:
let let
inherit (nixpkgs) lib; inherit (nixpkgs) lib;
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
@ -29,12 +30,15 @@
]; ];
in in
{ {
devShell = pkgs.mkShell { devShells = {
default = pkgs.mkShell {
name = "cv"; name = "cv";
inherit buildInputs; inherit buildInputs;
}; };
};
defaultPackage = pkgs.stdenvNoCC.mkDerivation { packages = {
default = pkgs.stdenvNoCC.mkDerivation {
pname = "cv"; pname = "cv";
version = self.rev or "dirty"; version = self.rev or "dirty";
src = ./.; src = ./.;
@ -50,6 +54,7 @@
install -Dm644 fr.pdf $out/share/fr.pdf install -Dm644 fr.pdf $out/share/fr.pdf
''; '';
}; };
};
} }
); );
} }