fix: add package build and fix disko

This commit is contained in:
David Arnold authored and lassulus committed 2022-11-09 12:21:24 +01:00
1 parent f82656afbd
commit 2a59af78a8
3 files changed
+34 -2

No files matched your search

+9
View File
@@ -8,6 +8,15 @@
lib = import ./. {
inherit (nixpkgs) lib;
};
packages.x86_64-linux.disko = let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in pkgs.stdenv.mkDerivation {
name = "disko";
src = ./.;
meta.description = "Format disks with nix-config";
installFlags = [ "PREFIX=$(out)" ];
};
packages.x86_64-linux.default = self.packages.x86_64-linux.disko;
checks.x86_64-linux = let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in