Closed Radvendii closed 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.
Oh, you're totally right. It affects the devShell
not the package.
Right now a user who runs
nix run github:tweag/nickel
gets a nice cached build. If a user runsnix 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.