Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norfairking/pure-impure-nix
A nix function to allow a derivation to access the internet as long as you don't care about the output (like in CI, for example)
https://github.com/norfairking/pure-impure-nix
Last synced: about 2 months ago
JSON representation
A nix function to allow a derivation to access the internet as long as you don't care about the output (like in CI, for example)
- Host: GitHub
- URL: https://github.com/norfairking/pure-impure-nix
- Owner: NorfairKing
- Created: 2023-10-10T13:30:06.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-10T14:24:45.000Z (about 1 year ago)
- Last Synced: 2024-05-01T12:37:46.605Z (8 months ago)
- Language: Nix
- Size: 3.91 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pure impure Nix
Allow nix derivations that need internet access to be built in pure nix as long as you don't need their output (only whether they succeed).
See the implementation of [`makePureImpure` in `flake.nix`](./flake.nix) for the full details.
Why is this useful?
Short answer: I'm not sure, but it can be helpful that we know it is possible.Long(er) answer:
* Impure E2E tests in (evil?) CI
* (Evil?) telemetry about which nix derivations are built
* ...