From e94de89b6e6658b8329d81474887cb8b02251677 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 30 May 2024 19:12:45 +0200 Subject: [PATCH] nixpkgs-config: use stdenv.hostPlatform --- 2configs/nixpkgs-config.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/2configs/nixpkgs-config.nix b/2configs/nixpkgs-config.nix index 4ac4514..50011df 100644 --- a/2configs/nixpkgs-config.nix +++ b/2configs/nixpkgs-config.nix @@ -1,4 +1,4 @@ -{lib, self, inputs, config, ... }:{ +{lib, pkgs, self, inputs, config, ... }:{ nixpkgs = { config.allowUnfree = true; config.packageOverrides = lib.mkForce (pkgs: { tinc = pkgs.tinc_pre; }); @@ -12,8 +12,8 @@ (this: super: { inherit (this.writers) writeDash writeDashBin; stockholm.lib = inputs.stockholm.lib; - ha-ara-menu = inputs.ha-ara-menu.packages.${config.nixpkgs.hostPlatform}.default; - inventory4ce = inputs.inventory4ce.packages.${config.nixpkgs.hostPlatform}.default; + ha-ara-menu = inputs.ha-ara-menu.packages.${pkgs.stdenv.hostPlatform}.default; + inventory4ce = inputs.inventory4ce.packages.${pkgs.stdenv.hostPlatform}.default; }) inputs.stockholm.overlays.default ];