diff --git a/flake.nix b/flake.nix index 5036c6c..a63b299 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,7 @@ packages = forAllSystems (pkgs: let # Quickshell from the upstream flake rather than nixpkgs. - qsPkg = quickshell.packages.${pkgs.system}.default; + qsPkg = quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default; # Runtime tools the bar relies on: discover.sh (one-shot hardware # probe), the periodic `df` for disk usage, and `ss` (iproute2) for @@ -65,14 +65,14 @@ apps = forAllSystems (pkgs: { default = { type = "app"; - program = "${self.packages.${pkgs.system}.default}/bin/quickshell-bar"; + program = "${self.packages.${pkgs.stdenv.hostPlatform.system}.default}/bin/quickshell-bar"; }; }); devShells = forAllSystems (pkgs: { default = pkgs.mkShell { packages = [ - quickshell.packages.${pkgs.system}.default + quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default pkgs.bash pkgs.coreutils pkgs.iproute2 # ss, for topnet.sh