New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autorandr: embed path to xrandr #35314
Conversation
What's the benefit? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, there's a wrapPython
in the expression that isn't used anywhere.
@dotlambda Fixed, thanks! |
@GrahamcOfBorg build autorandr |
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Thank you! |
version = "1.4"; | ||
in | ||
stdenv.mkDerivation { | ||
name = "autorandr-${version}"; | ||
|
||
buildInputs = [ python ]; | ||
nativeBuildInputs = [ makeWrapper ]; | ||
|
||
# no wrapper, as autorandr --batch does os.environ.clear() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not environ.clear, but it inherits PATH from other processes running in x11 sessions, as I discovered later.
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)