nix: remove deprecated flake attributes
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
fb021ad3b3
commit
26c48b3561
11
flake.nix
11
flake.nix
|
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue