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
aucatctl: init at 0.1 #82556
aucatctl: init at 0.1 #82556
Conversation
Allows those who use sndiod to adjust the volume of audio programs.
Thank you for reviewing this! I went ahead and applied your suggestions related to the operating system support. You are correct, I made a mistake in the prePatch being only for Linux. The new commit should address this, with |
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.
Otherwise LGTM
}; | ||
|
||
buildInputs = [ sndio ] | ||
++ stdenv.lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isBSD) |
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.
Oh, is there no stdenv.isBSD
? in that case, this should be
++ stdenv.lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isBSD) | |
++ stdenv.lib.optional (!stdenv.isDarwin && !stdenv.targetPlatform.isBSD) |
preBuild = '' | ||
makeFlagsArray+=("PREFIX=$out") | ||
'' + stdenv.lib.optionalString | ||
(!stdenv.isDarwin && !stdenv.hostPlatform.isBSD) '' |
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.
As above
@GrahamcOfBorg build aucatctl |
Motivation for this change
Allows those who use sndiod to adjust the volume of audio programs.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)