From 19b92cd8fdf109c718d94902b0b7e9f77919f691 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Wed, 10 Jul 2024 19:19:30 +0200 Subject: [PATCH] [nix] Move to Lix --- nix/hosts/alymac/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nix/hosts/alymac/default.nix b/nix/hosts/alymac/default.nix index 11a18bc..27733ea 100644 --- a/nix/hosts/alymac/default.nix +++ b/nix/hosts/alymac/default.nix @@ -138,7 +138,13 @@ in { nix = { - package = pkgs.nix; + # package = pkgs.nix; + package = pkgs.lix.overrideAttrs (oldAttrs: { + postPatch = (oldAttrs.postPatch or "") + '' + substituteInPlace src/libmain/shared.cc \ + --replace-fail "(Lix, like Nix)" "but for lesbians" + ''; + }); settings = { experimental-features = [ "nix-command" "flakes" ]; build-users-group = "nixbld";