nix: remove deprecated flake attributes
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Bruno BELANYI 2022-06-20 14:42:42 +02:00
parent fb021ad3b3
commit 26c48b3561
1 changed files with 46 additions and 41 deletions

View File

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