From bc9e5b0ea863a17537987faa5a72b00efc7767d1 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 18 Jul 2022 22:09:58 -0400 Subject: Upgrade nixpkgs, ghc923 I ended up deleting miso, and consequently all files under Hero/ and Miso/, because I couldn't get miso to build with GHC 9.2. Other things: - Niv has been wrapped by Biz/Bild/Deps.hs, so I can extend it to my liking. - Apply-refact is gone because I couldn't get it to build. - Disabled python stuff. --- Biz/Bild/Nixpkgs.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Biz/Bild/Nixpkgs.nix') diff --git a/Biz/Bild/Nixpkgs.nix b/Biz/Bild/Nixpkgs.nix index d29519c..480662a 100644 --- a/Biz/Bild/Nixpkgs.nix +++ b/Biz/Bild/Nixpkgs.nix @@ -6,6 +6,10 @@ import sources.nixpkgs { overlays = [ (_: _: { inherit sources; }) (_: pkgs: { + # Given a generic `builder`, will generate an attrset for all the packages + # pinned by `deps` with `builder` applied to the package. This attrset can + # then be merged with the rest of the packages in the set as part of an + # overlay or overrides. overridePinnedDeps = builder: pkgs.lib.genAttrs (builtins.attrNames pkgs.sources) builder; }) @@ -28,5 +32,8 @@ import sources.nixpkgs { config = { allowBroken = true; allowUnfree = true; + permittedInsecurePackages = [ + "python2.7-pyjwt-1.7.1" + ]; }; } -- cgit v1.2.3