nix-tree: only on x86_64 where ghc is in the binary caches
authorJulien Moutinho <julm+julm-nix@sourcephile.fr>
Wed, 10 Apr 2024 21:06:11 +0000 (23:06 +0200)
committerJulien Moutinho <julm+julm-nix@sourcephile.fr>
Thu, 11 Apr 2024 23:52:34 +0000 (01:52 +0200)
home-manager/profiles/nix.nix

index bc2a17f2d99872c5b83dd2ee0a5d342049faa79e..11fb919ac5da2035b97d4a068bea6d7afaedcbe4 100644 (file)
@@ -4,6 +4,7 @@
   home.packages = [
     pkgs.home-manager
     pkgs.nix-du
+  ] ++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isx86_64 [
     pkgs.nix-tree
   ];
   # Keep only the last generation of the home-manager profile