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

Inline nix-derivation (and PRs), extend #289

Draft
wants to merge 67 commits into
base: master
Choose a base branch
from

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Oct 31, 2024

  • Move the derivation types to core, cut down parameters somewhat
  • Rename (the rest of) nix-derivation to hnix-store-aterm, since I want to de-center ATerm as "the canonical form", and put it on the same level as the JSON.

Depends on #288

Gabriella439 and others added 30 commits June 4, 2017 19:39
This field is not always a `FilePath`.  For example, `builder` can be
`"builtins.fetchURL`
* Expose parseDerivationWith, buildDerivationWith and textParser

* Version 1.1.0 → 1.1.1 (haskell-nix#8)
Only including instructions for Nix, since if you're using this project I think it's safe to assume you'll have Nix available.
@Ericson2314
Copy link
Member Author

What I've started doing is

  1. Move the derivation types to core, cut down parameters somewhat
  2. Rename (the rest of) nix-derivation to hnix-store-aterm, since I want to de-center ATerm as "the canonical form", and put it on the same level as the JSON.

- The type is now in `hnix-store-core`

- The serialization logic (the rest of `nix-derivation`) is now called `hnix-store-aterm`

Most type errors are fixed.
The example sorted names before hashes, but `Nix` (at least these days)
and `hnix-store` do not do that.

Delete the redundant copies in `hnix-store-core`
@Ericson2314
Copy link
Member Author

OK @sorki this now build completely, but I have introduced a regression in the daemon test suite.

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.

7 participants