nix: remove deprecated flake 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
fb021ad3b3
commit
26c48b3561
1 changed files with 46 additions and 41 deletions
11
flake.nix
11
flake.nix
|
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue