Getting this error while building a haskell flake.
error: opening file '/nix/store/nks5377mygc1srxld9l9dmjg32lrpmf0-gettext-0.21.1.drv': No such file or directory
The path to derivation shown via nix repl is different that this error despite both having the same version (0.21.1).
nix-repl> pkgs = legacyPackages.x86_64-darwin
nix-repl> pkgs.gettext
«derivation /nix/store/4a6rg76h6gwnvqhpvd8hkd4nq3jg3f7h-gettext-0.21.1.drv»
gettext
is installed via home-manager and homebrew.
What can be done to identify why is the required derivation different from what's present in nixpkgs-unstable. I have checked all flakes couldn't find any reference regarding this package.
Another observation: This flake was building last Friday (5/5/24), I believe I haven't changes anything since then.
Let me know what other information I can provide.
I am not the big Haskell guy sadly, but I hope someone will get back to you quickly :smile:
It's alright. @Srid will able to help me out here.
@Aman Singh This may be relevant: https://discourse.nixos.org/t/how-to-get-a-missing-drv-file-for-a-derivation-from-nixpkgs/2300/13
Last updated: Jan 18 2025 at 04:45 UTC