You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
x509-system has "secret" dependencies that are not represented #3629
Pull request #4326 should allow us to explicitly depend on the security tool in darwin. I still don't know how to modify the x509-system expression given that it's autogenerated. @peti, what is the procedure there?
The module src/Cabal2Nix/PostProcess.hs in cabal2nix allows adding any dependency to the expression that you see fit. It's probably a good idea to use some generic name, like certParsingTool or whatever, and then to configure that value with the appropriate system-dependent path/package in haskell-packages.nix. This way, the system-dependent decision making can stay outside of the generated expression.
It might also be worthwhile to report this issue upstream.
Your point about the generic dependency makes sense to me, but what do you mean by reporting the issue upstream? It doesn't seem like an issue unless you're running in nix.
The module src/Cabal2Nix/PostProcess.hs in cabal2nix allows adding any dependency to the expression that you see fit. It's probably a good idea to use some generic name, like certParsingTool or whatever, and then to configure that value with the appropriate system-dependent path/package in haskell-packages.nix. This way, the system-dependent decision making can stay outside of the generated expression.
It might also be worthwhile to report this issue upstream.
—
Reply to this email directly or view it on GitHub.
Activity
copumpkin commentedon Sep 30, 2014
Pull request #4326 should allow us to explicitly depend on the
securitytool in darwin. I still don't know how to modify the x509-system expression given that it's autogenerated. @peti, what is the procedure there?Merge branch 'mac-purity' of git://github.com/copumpkin/nixpkgs
peti commentedon Oct 3, 2014
The module
src/Cabal2Nix/PostProcess.hsin cabal2nix allows adding any dependency to the expression that you see fit. It's probably a good idea to use some generic name, likecertParsingToolor whatever, and then to configure that value with the appropriate system-dependent path/package inhaskell-packages.nix. This way, the system-dependent decision making can stay outside of the generated expression.It might also be worthwhile to report this issue upstream.
copumpkin commentedon Oct 3, 2014
Your point about the generic dependency makes sense to me, but what do you mean by reporting the issue upstream? It doesn't seem like an issue unless you're running in nix.
peti commentedon Oct 3, 2014
IMHO, the package should declare those dependencies in its Cabal file
copumpkin commentedon Oct 3, 2014
Ah, fair enough
peti commentedon Nov 8, 2014
What is the state of this issue? I understand the
securitypackage now exists in Nixpkgs? Shall we add a reference to that package via cabal2nix?copumpkin commentedon Jan 14, 2015
Sorry, I'll reopen this once the new darwin stdenv is alive, since the way
securityworks will likely change.