Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 79 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980{ lib, mkKdeDerivation, replaceVars, dbus, fontconfig, xorg, lsof, pkg-config, spirv-tools, qtlocation, qtpositioning, qtsvg, qtwayland, libcanberra, libqalculate, pipewire, qttools, qqc2-breeze-style, gpsd,}:mkKdeDerivation { pname = "plasma-workspace";
patches = [ (replaceVars ./dependency-paths.patch { dbusSend = lib.getExe' dbus "dbus-send"; fcMatch = lib.getExe' fontconfig "fc-match"; lsof = lib.getExe lsof; qdbus = lib.getExe' qttools "qdbus"; xmessage = lib.getExe xorg.xmessage; xrdb = lib.getExe xorg.xrdb; # @QtBinariesDir@ only appears in the *removed* lines of the diff QtBinariesDir = null; }) ];
postInstall = '' # Prevent patching this shell file, it only is used by sourcing it from /bin/sh. chmod -x $out/libexec/plasma-sourceenv.sh '';
extraNativeBuildInputs = [ pkg-config spirv-tools ]; extraBuildInputs = [ qtlocation qtpositioning qtsvg qtwayland
qqc2-breeze-style
libcanberra libqalculate pipewire
xorg.libSM xorg.libXcursor xorg.libXtst xorg.libXft
gpsd ];
qtWrapperArgs = [ "--inherit-argv0" ];
# Hardcoded as QStrings, which are UTF-16 so Nix can't pick these up automatically postFixup = '' mkdir -p $out/nix-support echo "${lsof} ${xorg.xmessage} ${xorg.xrdb}" > $out/nix-support/depends '';
passthru.providedSessions = [ "plasma" "plasmax11" ];}