nickel-lang / json-schema-to-nickel

Convert JSON schemas into Nickel contracts
Apache License 2.0
32 stars 0 forks source link

Use nickel cachix #41

Closed Radvendii closed 1 year ago

Radvendii commented 1 year ago

Right now a user who runs nix run github:tweag/nickel gets a nice cached build. If a user runs nix run github:nickel-lang/json-schema-to-nickel, they have to wait for nickel to build.

This PR uses nickel's cachix instance to short-circuit that, and gets rid of the input following so we can take advantage of it.

vkleen commented 1 year ago

I'm confused why nix run github:nickel-lang/json-schema-to-nickel would try to build a Nickel executable at all. It should only build the Nickel library as part of the rust build and the Nickel Cachix instance probably won't help with that.

Radvendii commented 1 year ago

Oh, you're totally right. It affects the devShell not the package.