# SPDX-FileCopyrightText: 2024 Ryan Lahfa # SPDX-FileCopyrightText: 2024 Tom Hubrecht # SPDX-FileContributor: Maurice Debray # # SPDX-License-Identifier: EUPL-1.2 let sources' = import ./npins; bootstrapNixpkgs = import sources'.nixos-unstable { }; patch = (import ./lib/nix-patches { patchFile = ./patches; }).base { pkgs = bootstrapNixpkgs; }; sources = builtins.mapAttrs ( k: src: patch.applyPatches { inherit src; name = k; } ) sources'; in sources // { bootstrapNixpkgs = bootstrapNixpkgs; unpatchedSources = sources; }