| 22 Nov 2023 |
Lily Foster | In reply to @whentze:matrix.org does that work if you don't pass in hash? if you mean the arg that sets the outputHash on the derivation, sure it'll work i guess but nix won't be happy when the hash doesn't match after the builder finishes | 16:44:43 |
Wanja Hentze | right, and npmlock2nix et al. compute that hash instead | 16:46:15 |
Lily Foster | i'm not sure i follow but also idk what npmlock2nix is, so i'll take your word for it | 16:47:12 |
Wanja Hentze | it parses package-lock.json in pure nix code and can thus create its own FODs | 16:48:04 |
Wanja Hentze | no need to maintain a separate hash out of band | 16:48:13 |
Lily Foster | oh, yeah i was gonna have that too for the nixpkgs stuff soon. someone called it terrible though so i haven't, uh, come back and pushed it yet | 16:49:13 |