pkgs.system -> pkgs.stdenv.hostPlatform.system
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
packages = forAllSystems (pkgs:
|
packages = forAllSystems (pkgs:
|
||||||
let
|
let
|
||||||
# Quickshell from the upstream flake rather than nixpkgs.
|
# 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
|
# Runtime tools the bar relies on: discover.sh (one-shot hardware
|
||||||
# probe), the periodic `df` for disk usage, and `ss` (iproute2) for
|
# probe), the periodic `df` for disk usage, and `ss` (iproute2) for
|
||||||
@@ -65,14 +65,14 @@
|
|||||||
apps = forAllSystems (pkgs: {
|
apps = forAllSystems (pkgs: {
|
||||||
default = {
|
default = {
|
||||||
type = "app";
|
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: {
|
devShells = forAllSystems (pkgs: {
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
quickshell.packages.${pkgs.system}.default
|
quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
pkgs.bash
|
pkgs.bash
|
||||||
pkgs.coreutils
|
pkgs.coreutils
|
||||||
pkgs.iproute2 # ss, for topnet.sh
|
pkgs.iproute2 # ss, for topnet.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user