From 2fe1f716999d374a9743ea503bcc207a3f0232b4 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sat, 1 Jun 2024 17:32:29 +0200 Subject: [PATCH] Let `nixpkgs.flake.setNixPath`/`nixpkgs.flake.setFlakeRegistry` set nixpkgs references --- flake.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/flake.nix b/flake.nix index 80a820a..56547ea 100644 --- a/flake.nix +++ b/flake.nix @@ -68,23 +68,13 @@ nixpkgsAsRegistry_ = stable: { lib, ... }: { imports = [ applyOverlays ]; nix.registry.current-system.flake = self; - nix.registry.nixpkgs.flake = stable; nix.registry.nixpkgs-unstable.flake = nixpkgs-unstable; nixpkgs.config.allowUnfree = true; nix.nixPath = [ - "nixpkgs=${nixpkgs}" "nixpkgs-unstable=${nixpkgs-unstable}" "/nix/var/nix/profiles/per-user/root/channels" ]; - # Binary Cache for Haskell.nix - nix.settings.trusted-public-keys = [ - # "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" - ]; - nix.settings.substituters = [ - # "https://cache.iog.io" - ]; }; - nixpkgsAsRegistry = nixpkgsAsRegistry_ nixpkgs; osuStable = { pkgs, ... }: { nix.settings = {