From efce138b2462bb91f2c334142403aa329f6cf125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 3 Sep 2023 15:36:00 +0200 Subject: [PATCH] template: do not rely on flake registry for nixpkgs otherwise we end up downloading nixpkgs twice. --- templates/new-clan/flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/new-clan/flake.nix b/templates/new-clan/flake.nix index 17c6154b..4493397b 100644 --- a/templates/new-clan/flake.nix +++ b/templates/new-clan/flake.nix @@ -3,10 +3,10 @@ inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core"; - outputs = { clan-core, nixpkgs, ... }: + outputs = { self, clan-core, ... }: let system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.x86_64-linux; + pkgs = clan-core.inputs.nixpkgs.legacyPackages.${system}; in { # all machines managed by cLAN