From 90b4ae600ea459de2340be62891d79b269890249 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 20 Dec 2021 14:48:02 +0100 Subject: [PATCH] nix: Refactor --- pkgs/tools/package-management/nix/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index 238e4d914139..ac47bc9df68b 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -200,11 +200,11 @@ common = }; in nix; - boehmgc_nix = boehmgc.override { + boehmgc_nix_2_3 = boehmgc.override { enableLargeConfig = true; }; - boehmgc_nixUnstable = boehmgc_nix.overrideAttrs (drv: { + boehmgc_nix = boehmgc_nix_2_3.overrideAttrs (drv: { patches = (drv.patches or []) ++ [ # Part of the GC solution in https://github.com/NixOS/nix/pull/4944 (fetchpatch { @@ -235,7 +235,7 @@ in rec { sha256 = "sha256-fuaBtp8FtSVJLSAsO+3Nne4ZYLuBj2JpD2xEk7fCqrw="; }; - boehmgc = boehmgc_nix; + boehmgc = boehmgc_nix_2_3; inherit storeDir stateDir confDir; }); @@ -251,7 +251,7 @@ in rec { sha256 = "sha256-op48CCDgLHK0qV1Batz4Ln5FqBiRjlE6qHTiZgt3b6k="; }; - boehmgc = boehmgc_nixUnstable; + boehmgc = boehmgc_nix; patches = [ installNlohmannJsonPatch ]; @@ -269,7 +269,7 @@ in rec { sha256 = "sha256-GOsiqy9EaTwDn2PLZ4eFj1VkXcBUbqrqHehRE9GuGdU="; }; - boehmgc = boehmgc_nixUnstable; + boehmgc = boehmgc_nix; patches = [ installNlohmannJsonPatch ]; @@ -288,7 +288,7 @@ in rec { sha256 = "sha256-zdMODMLdJ0smEEzNMOoIzBxt9QWVzgMvr+pwxkhtD4g="; }; - boehmgc = boehmgc_nixUnstable; + boehmgc = boehmgc_nix; patches = [ installNlohmannJsonPatch ];