nixpkgs-config: use stdenv.hostPlatform

This commit is contained in:
makefu 2024-05-30 19:12:45 +02:00
parent c5d3992975
commit e94de89b6e
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -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
];