Stream: haskell-flake

Topic: Missing gettext


view this post on Zulip Aman Singh (Apr 08 2024 at 12:35):

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.

view this post on Zulip Andreas (Apr 08 2024 at 13:04):

I am not the big Haskell guy sadly, but I hope someone will get back to you quickly :smile:

view this post on Zulip Aman Singh (Apr 08 2024 at 16:01):

It's alright. @Srid will able to help me out here.

view this post on Zulip Srid (Apr 08 2024 at 20:11):

@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: Sep 16 2024 at 20:16 UTC