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

Using `import' to read an expression from a named pipe fails #621

Open
pjones opened this issue Aug 26, 2015 · 2 comments
Open

Using `import' to read an expression from a named pipe fails #621

pjones opened this issue Aug 26, 2015 · 2 comments
Assignees
Labels

Comments

@pjones
Copy link

pjones commented Aug 26, 2015

For example:

$ mkfifo -m 0600 test.nix
$ echo '{ test = "foo"; }' > text.nix

And then in a nix file:

data = import ./test.nix;

Produces the following error:

syntax error, unexpected $end, at "./test.nix":1:1

I'd love for this to work so I can have an encrypted file readable from NixOps via a named pipe.

@stale
Copy link

stale bot commented Feb 15, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Feb 15, 2021
@stale
Copy link

stale bot commented May 1, 2022

I closed this issue due to inactivity. → More info

@stale stale bot closed this as completed May 1, 2022
@thufschmitt thufschmitt reopened this Feb 24, 2023
zolodev pushed a commit to zolodev/nix that referenced this issue Jan 1, 2024
tutorials/first-steps/nix-language: Fix the nixpkgs example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants