-
Notifications
You must be signed in to change notification settings - Fork 133
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
nice to have: ssh-to-gpg available in shell.nix #29
Comments
Do you mean here? https://github.com/Mic92/sops-nix/blob/master/shell.nix |
Yeah, that would make it convenient for users to do |
In that case I need to add it to |
It is also exposed here https://github.com/Mic92/sops-nix/blob/master/default.nix#L8. I think |
Sorry, I'm not explaining myself well. Scenario: I'm writing a tutorial. Or I'm following the tutorial on this repo's README. I don't necessarily want to develop
Maybe that's what I should've asked for. I have my shell.nix load my devShell which I think then loads all of my packages into it for this sort of scenario. |
I think I understood your intention, how about this line? $ nix-shell -E 'with import <nixpkgs> {}; pkgs.mkShell { buildInputs = [ (pkgs.callPackage (fetchTarball https://github.com/Mic92/sops-nix/archive/master.tar.gz) {}).ssh-to-pgp]; }' I only want to add development dependencies to shell.nix, users won't need those. |
With flakes you can already do:
|
Oh. I'm still bad at getting flake outputs right. Sorry for the distraction. That's what I wanted. |
It still complains about lock files not beeing up-to-date. I am fixing this here: #31 |
It would be nice to have
ssh-to-gpg
exposed easily fromshell.nix
.But then again, maybe the goal is to delete it once
age
is merged intosops
and you or someone else adds sshpubkey support tosops
?The text was updated successfully, but these errors were encountered: