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
pcsctools: use the local smartcard list #97440
Conversation
74670d2
to
3faec1d
Compare
3faec1d
to
c77d04b
Compare
] | ||
++ stdenv.lib.optionals stdenv.isLinux [ | ||
"--enable-ipcdir=/run/pcscd" | ||
"--enable-polkit" | ||
"--with-systemdsystemunitdir=${placeholder "bin"}/lib/systemd/system" | ||
] | ||
++ stdenv.lib.optional (!stdenv.isLinux) |
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.
] | |
++ stdenv.lib.optionals stdenv.isLinux [ | |
"--enable-ipcdir=/run/pcscd" | |
"--enable-polkit" | |
"--with-systemdsystemunitdir=${placeholder "bin"}/lib/systemd/system" | |
] | |
++ stdenv.lib.optional (!stdenv.isLinux) | |
] ++ stdenv.lib.optionals stdenv.isLinux [ | |
"--enable-ipcdir=/run/pcscd" | |
"--enable-polkit" | |
"--with-systemdsystemunitdir=${placeholder "bin"}/lib/systemd/system" | |
] ++ stdenv.lib.optional (!stdenv.isLinux) |
] | ||
++ stdenv.lib.optionals stdenv.isLinux [ dbus polkit systemd ] |
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.
] | |
++ stdenv.lib.optionals stdenv.isLinux [ dbus polkit systemd ] | |
] ++ stdenv.lib.optionals stdenv.isLinux [ dbus polkit systemd ] |
Can you please target staging? |
Use the local file provided with pcsctools or alternatively look in /etc/pcsc.
, polkit ? null | ||
, systemd ? null | ||
, IOKit ? null |
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.
, polkit ? null | |
, systemd ? null | |
, IOKit ? null | |
, polkit | |
, systemd | |
, IOKit |
If we get any error here than we did something wrong and darwin will be broken because something is null.
Motivation for this change
Use the local file provided with pcsctools or alternatively look in /etc/pcsc.
There is some noise from nixpkgs-fmt, so it's easier to read like this
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)