You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With nix-shell, all the transitive dependencies have their shell hooks run. However, with nix-buffer, only top-level dependencies affect the Emacs buffer.
running (nix-buffer), waiting for the derivation to compile, and then (getenv "COQPATH") gives :/nix/store/rw8n88pnq598daicg8k0wwc42fv8jga0-coq8.16-HoTT-8.16/lib/coq/8.16/user-contrib.
This happens because compcert.lib is a dependency of compcert.out, but isn't directly in the list passed to withPackages.
I realize that this issue is with the upstream nixBufferBuilders code in nixpkgs, but I feel like it might be easier for a fix to be upstreamed if I post the issue here instead of on the nixpkgs issue tracker.
The text was updated successfully, but these errors were encountered:
I agree this is an issue and have some rough thoughts on how to address it, but unfortunately nix-buffer is not a priority at this time. I would welcome any contributions and will be happy to review.
With
nix-shell
, all the transitive dependencies have their shell hooks run. However, withnix-buffer
, only top-level dependencies affect the Emacs buffer.For example,
NIXPKGS_ALLOW_UNFREE=1 nix-shell -p coqPackages_8_16.coq coqPackages_8_16.compcert coqPackages_8_16.HoTT --run env | grep COQPATH
outputs
but with this
dir-locals.nix
running
(nix-buffer)
, waiting for the derivation to compile, and then(getenv "COQPATH")
gives:/nix/store/rw8n88pnq598daicg8k0wwc42fv8jga0-coq8.16-HoTT-8.16/lib/coq/8.16/user-contrib
.This happens because
compcert.lib
is a dependency ofcompcert.out
, but isn't directly in the list passed towithPackages
.I realize that this issue is with the upstream
nixBufferBuilders
code in nixpkgs, but I feel like it might be easier for a fix to be upstreamed if I post the issue here instead of on the nixpkgs issue tracker.The text was updated successfully, but these errors were encountered: