mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2026-02-02 17:35:08 +01:00
fix: add package build and fix disko
This commit is contained in:
parent
f82656afbd
commit
2a59af78a8
3 changed files with 34 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue