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

fix: disallow Nix store paths in age.identityPaths option #169

Merged
merged 1 commit into from
Feb 26, 2023

Conversation

ryantm
Copy link
Owner

@ryantm ryantm commented Feb 26, 2023

No description provided.

@ryantm ryantm force-pushed the rm-2-26-identity-storepath branch 2 times, most recently from b909226 to 71cf86e Compare February 26, 2023 16:55
@ryantm ryantm merged commit faf978f into main Feb 26, 2023
@ryantm ryantm deleted the rm-2-26-identity-storepath branch February 26, 2023 21:45
@Lyndeno
Copy link

Lyndeno commented Feb 26, 2023

I get:

error: undefined variable 'isStringLike'

       at /nix/store/dwi62w1ggrb2z4s16jamfqd0fy7c8b3r-source/modules/age.nix:183:18:

          182|       descriptionClass = "noun";
          183|       check = x: isStringLike x && !isStorePath x;
             |                  ^
          184|       merge = mergeEqualOption;
(use '--show-trace' to show detailed location information)

When rebuilding my system config with the module. I removed the nixpkgs.follows line from my flake.nix but appears that also does not allow it to build. I am running on nixos-22.11 stable. NixOS/nixpkgs@872a24e seems to be the culprit, this has not shown up in nixpkgs stable yet.

@ryantm
Copy link
Owner Author

ryantm commented Feb 26, 2023

Thanks for the report. I reverted it for now.

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.

3 participants