fix: add package build and fix disko

This commit is contained in:
David Arnold 2022-11-05 14:25:08 -05:00 committed by lassulus
parent f82656afbd
commit 2a59af78a8
3 changed files with 34 additions and 2 deletions

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