about summary refs log tree commit diff
path: root/modules/user/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2023-07-14 20:33:34 +0200
committeraszlig <aszlig@nix.build>2023-07-14 20:33:34 +0200
commitb9a7b3f0710ed828c9ec7562a6e641810fadd61b (patch)
treef312653e4f7d062f0e95c696090e6c7bf3851826 /modules/user/aszlig
parente868bfeca5501c7c02f1fc1013ea6cc7e79af043 (diff)
profiles/base: Use Nix stable for nixos-option
Right now, nixos-option fails to build with latest nixUnstable and since
I currently don't have a lot of time to properly fix it and also don't
care a whole lot about nixos-option, I decided to override it using the
normal Nix stable package.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/user/aszlig')
-rw-r--r--modules/user/aszlig/profiles/base.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix
index de76c766..81b10112 100644
--- a/modules/user/aszlig/profiles/base.nix
+++ b/modules/user/aszlig/profiles/base.nix
@@ -93,6 +93,14 @@ in {
       w3m = super.w3m.override {
         graphicsSupport = true;
       };
+
+      # Doesn't build with latest Nix unstable and since I rarely use it, I
+      # don't mind if it's using an older Nix version.
+      nixos-option = super.nixos-option.override {
+        # Note: This is *super*, not *self* because self already has nix
+        # replaced by nixUnstable.
+        inherit (super) nix;
+      };
     }));
 
     system.fsPackages = with pkgs; [ sshfs-fuse ];