pkgs.system -> pkgs.stdenv.hostPlatform.system
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user