Skip to content
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

Emit plain file when key is empty #338

Closed
wants to merge 2 commits into from
Closed

Emit plain file when key is empty #338

wants to merge 2 commits into from

Conversation

slaier
Copy link
Contributor

@slaier slaier commented May 30, 2023

Like sops --extract '', get the plain file instead of an single key.
Fixes: #120

@slaier slaier marked this pull request as ready for review May 30, 2023 13:20
@thomaslepoix
Copy link
Contributor

I link this here so that it won't be missed : https://github.com/slaier/sops-nix/pull/1

@slaier slaier closed this by deleting the head repository Aug 5, 2023
@metaspace
Copy link

Any reason this was dropped?

@thomaslepoix
Copy link
Contributor

I think @slaier simply removed its own fork without having this PR in mind, as some months have passed in between.

But it is still relevant and should be reopen.

Just as a stop gap, it can be applied like this in a sops-nix overrideAttrs :

patches = [
  (fetchpatch {
    url = "https://github.com/Mic92/sops-nix/pull/338.patch";
    hash = lib.fakeHash;
  })
];

@thomaslepoix
Copy link
Contributor

Oops sorry, it seems code has diverged too much to apply the patch as is. I can take a look to revive it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support mounting yaml and json files as is?
3 participants