diff options
author | David Arnold <david.arnold@iohk.io> | 2022-11-05 14:25:08 -0500 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-11-09 12:21:24 +0100 |
commit | 2a59af78a8e2e7ab6fc7a4be3671da0c19a8806c (patch) | |
tree | 8b26f8d4e15ac9d118350084516b99ff6e182fdd /flake.nix | |
parent | f82656afbd5dafe1a0f762bdb7678a62203158b0 (diff) |
fix: add package build and fix disko
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 9 |
1 files changed, 9 insertions, 0 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 |