From 654146f803121a8c55fe37936f31391db8d09ddf Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 27 Jul 2023 21:37:11 -0600 Subject: [PATCH] [NixOS] Use custom nix with same version as what is in nixpkgs --- nixos/flake.nix | 3 +-- nixos/nix.nix | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/flake.nix b/nixos/flake.nix index 5d8c1fb7..04af0e18 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -60,8 +60,7 @@ }; nix = { - url = github:IvanMalison/nix; - inputs.nixpkgs.follows = "nixpkgs"; + url = github:IvanMalison/nix/my2.15.1; }; flake-utils = { diff --git a/nixos/nix.nix b/nixos/nix.nix index 04ad524e..2afdc9bf 100644 --- a/nixos/nix.nix +++ b/nixos/nix.nix @@ -5,6 +5,10 @@ experimental-features = nix-command flakes ''; registry.nixpkgs.flake = inputs.nixpkgs; + settings = { + keep-outputs = true; + keep-derivations = true; + }; }; nixpkgs.overlays = with inputs; [