use stdenv.hostPlatform.system instead of system

This commit is contained in:
aditya
2026-06-04 01:42:59 +05:30
parent cc2380eec1
commit 3e4b4cae2b
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
(final: prev:
let
unstable-pkgs = import inputs.nixpkgs-unstable {
inherit (prev) system;
system = prev.stdenv.hostPlatform.system;
config.allowUnfree = true;
config.allowUnsupportedSystem = true;
};