about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-04-09 10:04:57 +0300
committerAzat Bahawi <azat@bahawi.net>2024-04-09 10:04:57 +0300
commit493fb0d2d7acbfee929d0525ae95a1f36cdf43a9 (patch)
tree0dc184ad983e13403d4a1c6643512bb4f49bffda /flake.nix
parent2024-04-01 (diff)
2024-04-09
Diffstat (limited to '')
-rw-r--r--flake.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/flake.nix b/flake.nix
index 018bd45..e6666d9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -155,15 +155,17 @@
         program = "${self.packages.${system}.default}/bin/nixfiles";
       };
 
-      packages =
-        let
-          buildIsoImage = name: self.nixosConfigurations.${name}.config.system.build.isoImage;
-        in
-        {
-          default = self.legacyPackages.${system}.nixfiles;
-          iso-arm = buildIsoImage "iso-arm";
-          iso-x86 = buildIsoImage "iso-x86";
-        };
+      # NOTE Leave this commented out because otherthise `nix flake check`
+      # complains a lot.
+      # packages =
+      #   let
+      #     buildIsoImage = name: self.nixosConfigurations.${name}.config.system.build.isoImage;
+      #   in
+      #   {
+      #     default = self.legacyPackages.${system}.nixfiles;
+      #     iso-arm = buildIsoImage "iso-arm";
+      #     iso-x86 = buildIsoImage "iso-x86";
+      #   };
 
       legacyPackages = import nixpkgs {
         inherit system;

Consider giving Nix/NixOS a try! <3