diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -26,10 +26,12 @@ { nixpkgs, nixpkgs-unstable, webtray, ... }@attrs: let system = "x86_64-linux"; - pkgs = import nixpkgs { inherit system; }; + pkgs = import nixpkgs { + stdenv.hostPlatform = { inherit system; }; + }; overlay-unstable = final: prev: { unstable = import nixpkgs-unstable { - inherit system; + system = prev.stdenv.hostPlatform.system; config.allowUnfree = true; }; }; |