summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index b729b62..d2f93c4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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;
};
};