-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nix-shell with data packages #3837
Comments
Fontconfig requires a cache to work, so there's not an easy solution like just appending to some environment like with PATH. We could set a custom FONTCONFIG_FILE in a fontconfig setup-hook that generates a custom cache. |
We need a more advanced |
I marked this as stale due to inactivity. → More info |
Seems a workaround has been found here: NixOS/nixpkgs#24485 |
I marked this as stale due to inactivity. → More info |
Describe the bug
When i open a nix-shell with a packaged program, the program is available in the shell (it is in the
$PATH
).But what about packages with data, like fonts?
To Reproduce
I want to test
pango-view
to preview a font. But i have no fonts installed.Steps to reproduce the behavior:
nix run nixpkgs.pango nixpkgs.fira-code
that's not the font, but nixpkgs definition of it
Expected behavior
be able to use the font in the shell
Notify maintainers
Metadata
"x86_64-linux"
Linux 5.7.8, NixOS, 20.03.2611.bb8f0cc2279 (Markhor)
yes
yes
nix-env (Nix) 2.3.6
"home-manager-20.03, nixos-20.03.2611.bb8f0cc2279, nixos-hardware, nixos-unstable-20.09pre234242.c71518e75bf"
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
The text was updated successfully, but these errors were encountered: