Gabriella439 / Haskell-Nix-Derivation-Library

Parse and render *.drv files
BSD 3-Clause "New" or "Revised" License
37 stars 10 forks source link

Support derivations with content-addressed outputs #26

Open rickynils opened 11 months ago

sorki commented 11 months ago

Hi, there's some overlap here with #24 that allows you to do this as well in more type safe manner (without forcing you to use txt for hashes) (see also https://github.com/haskell-nix/hnix-store/pull/272/commits/641cd4fd502f30820706e6d3bdcd657812fb5a25)

Your PR is handy since I wasn't sure how CA one looks exactly!

rickynils commented 11 months ago

@sorki I did see your PR after I created mine and also realized there is some overlap. It was a coincidence that I happened to create my PR almost at the same time as yours, I was just going over some local patches we have in nixbuild.net :)

sorki commented 11 months ago

Cool, I can integrate your changes after I'm done with it!

Ericson2314 commented 2 weeks ago

https://github.com/obsidiansystems/Haskell-Nix-Derivation-Library/tree/pr-26 contains latest master, #24, and #26