Closed davidak closed 5 years ago
This looks like it's caused by some odd use of nixos with replace-dependency in an overlay, meaning that nixos needs to be built before evaluation can complete.
Does nix-env -f '<nixpkgs>' -iA vlc --arg overlays [] --arg config {}
work as expected?
Does
nix-env -f '<nixpkgs>' -iA vlc --arg overlays [] --arg config {}
work as expected?
Yes.
[davidak@ethmoid:~]$ nix-env -f '<nixpkgs>' -iA vlc --arg overlays [] --arg config {}
installing 'vlc-3.0.4'
these paths will be fetched (15.91 MiB download, 96.09 MiB unpacked):
/nix/store/0srqy74lrpyl55m06kkg577nm2qmaxr1-libdc1394-2.2.5
/nix/store/1krrsf23vqb82hqvqdsglgckxcbah7fd-libmad-0.15.1b
/nix/store/1yfw2h12g626fqfm1vry70lx4ywd9di3-libXpm-3.5.12-bin
/nix/store/2hci213z34smqvhlgss5m5rv1rrry76j-imlib2-1.5.0-bin
/nix/store/2ppxc4z87dlpqpsa2dnsad1i268g3fbw-xcb-util-renderutil-0.3.9-dev
/nix/store/37l34lar8slk1l1mb2skzh58dvacixjx-videoproto-2.3.3
/nix/store/4cscp48ak72pfnp0sa2hdx53hj6k4zfx-libupnp-1.8.3
/nix/store/4qi5pk6sx7d8kis7wcnha9lpdmgrvycm-libxkbcommon-0.8.0-dev
/nix/store/574lcijwpsln2ipcxkmi1akzr21wj6y4-qtsvg-5.11.1
/nix/store/58wgkkikf2gm0rhqkq1k6nsszdz5fg1b-libXpm-3.5.12-dev
/nix/store/5ii60hhrq2dwwbs7nyaz0kwyi7p5bhxr-samba-4.7.10-dev
/nix/store/7ka529m09k84vcxkn39qj1gd027qpr5z-libinput-1.11.3-dev
/nix/store/7mfxqxh5ipwg8vwqs6v5scy0sh867sc4-libtheora-1.1.1-dev
/nix/store/860cxjhccavbcj64xxyaiansmqh8d3fq-qtbase-5.11.1-dev
/nix/store/8sv6vask8sc3gphgmagypwkdcghbh831-xcb-util-keysyms-0.4.0-dev
/nix/store/9jj8mg3pvs33zbsx865sh1cbap254xbf-libcaca-0.99.beta19-dev
/nix/store/bsmb0rgkcyasb0zm13l9kz741dqwqda8-icu4c-59.1-dev
/nix/store/c4d1z2pg9w2mgf3mfrcir7jzf7raw89g-libtiger-0.3.4
/nix/store/cq0h2hza8r5icw0wmn1a2fq11s361fcm-harfbuzz-icu-1.8.8-dev
/nix/store/d6mvbxqcl6n098kf4yffgyg7a4jzlhxw-qtsvg-5.11.1-bin
/nix/store/dkn8439jsxkw6hrck3l5q4hd1nswd0ix-ffmpeg-3.4.4-dev
/nix/store/glpfng3jbqwbrha7figi3zmwjx0a909c-libebml-1.3.6
/nix/store/i0qifgsrdxvp2dk0wialjkhy29daihp1-schroedinger-1.0.11
/nix/store/ik3dyi6vgf7z7xvw2phhzvhzd2yp2mav-libmtp-1.1.15-dev
/nix/store/j18xrk3wrd8ha6hq9lbkp4qpn9wwcjpi-libXv-1.0.11-dev
/nix/store/j96rsgkyg7mv8fmyq9a8d5ky2aw8p7iq-libXvMC-1.0.10-dev
/nix/store/jbnf6crx80ya4nx6mxzlryz3dz51wprs-liboggz-1.1.1
/nix/store/jr5rwnln69n3zyr4w20z5389plmjfpk5-libopus-1.2.1-dev
/nix/store/kb0k6x46l38skjnzn8d1hfjmf0jmdhgx-imlib2-1.5.0-dev
/nix/store/kg615i4wmjj097wlxlpq740lf1pqqwgd-speexdsp-1.2rc3-dev
/nix/store/lcsz83fpspb2xp3rg00y782gyndq5vbf-xcb-util-wm-0.4.1-dev
/nix/store/lf8d6iaq4wcagr1l84x5d4vx1gg6idkl-libvdpau-1.1.1-dev
/nix/store/mg764kg04fx7v0j5klykhcmgba48ccsy-qtsvg-5.11.1-dev
/nix/store/n5a8v7vz4vv054vdigc5bl5qlm4ja8wy-ncurses-6.1-dev
/nix/store/nq4m1whi3niy168bb365yjqr6qhl4892-speex-1.2rc2-dev
/nix/store/qzkzjvcz17lr062cm1cfmslsg70n4rhk-vlc-3.0.4
/nix/store/r5y6jfw9g1dcyg386k4v6sqffhk4gi9f-v4l-utils-1.14.2-dev
/nix/store/sq2kab7qw29d5hcnx3vxp35z70mab356-libdvbpsi-1.3.2
/nix/store/syafmk3pssgd7fsbfkl6hgmv9bq5pbxa-schroedinger-1.0.11-dev
/nix/store/vjf2mmdahq7mdbsg4vwvj35dbsww77l7-libsamplerate-0.1.9-dev
/nix/store/wf56s591icwkghph4q5ids9fj6aahbgj-libva-2.1.0-dev
/nix/store/wykmlmf60xmf0bwvxx74qbhc4c9nqfc5-qtx11extras-5.11.1-dev
/nix/store/yf8rbp74bxzxqhhvmmwc7ibs3z013h4l-xcb-util-image-0.4.0-dev
/nix/store/zlvyc5px7l1gagvj1w3sq2lsgrhg3vfc-libmatroska-1.4.9
copying path '/nix/store/37l34lar8slk1l1mb2skzh58dvacixjx-videoproto-2.3.3' from 'https://cache.nixos.org'...
copying path '/nix/store/bsmb0rgkcyasb0zm13l9kz741dqwqda8-icu4c-59.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/dkn8439jsxkw6hrck3l5q4hd1nswd0ix-ffmpeg-3.4.4-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/0srqy74lrpyl55m06kkg577nm2qmaxr1-libdc1394-2.2.5' from 'https://cache.nixos.org'...
copying path '/nix/store/2hci213z34smqvhlgss5m5rv1rrry76j-imlib2-1.5.0-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/1yfw2h12g626fqfm1vry70lx4ywd9di3-libXpm-3.5.12-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/cq0h2hza8r5icw0wmn1a2fq11s361fcm-harfbuzz-icu-1.8.8-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/j18xrk3wrd8ha6hq9lbkp4qpn9wwcjpi-libXv-1.0.11-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/sq2kab7qw29d5hcnx3vxp35z70mab356-libdvbpsi-1.3.2' from 'https://cache.nixos.org'...
copying path '/nix/store/glpfng3jbqwbrha7figi3zmwjx0a909c-libebml-1.3.6' from 'https://cache.nixos.org'...
copying path '/nix/store/kb0k6x46l38skjnzn8d1hfjmf0jmdhgx-imlib2-1.5.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/58wgkkikf2gm0rhqkq1k6nsszdz5fg1b-libXpm-3.5.12-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/7ka529m09k84vcxkn39qj1gd027qpr5z-libinput-1.11.3-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/j96rsgkyg7mv8fmyq9a8d5ky2aw8p7iq-libXvMC-1.0.10-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/1krrsf23vqb82hqvqdsglgckxcbah7fd-libmad-0.15.1b' from 'https://cache.nixos.org'...
copying path '/nix/store/zlvyc5px7l1gagvj1w3sq2lsgrhg3vfc-libmatroska-1.4.9' from 'https://cache.nixos.org'...
copying path '/nix/store/ik3dyi6vgf7z7xvw2phhzvhzd2yp2mav-libmtp-1.1.15-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/jbnf6crx80ya4nx6mxzlryz3dz51wprs-liboggz-1.1.1' from 'https://cache.nixos.org'...
copying path '/nix/store/jr5rwnln69n3zyr4w20z5389plmjfpk5-libopus-1.2.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/vjf2mmdahq7mdbsg4vwvj35dbsww77l7-libsamplerate-0.1.9-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/7mfxqxh5ipwg8vwqs6v5scy0sh867sc4-libtheora-1.1.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/c4d1z2pg9w2mgf3mfrcir7jzf7raw89g-libtiger-0.3.4' from 'https://cache.nixos.org'...
copying path '/nix/store/4cscp48ak72pfnp0sa2hdx53hj6k4zfx-libupnp-1.8.3' from 'https://cache.nixos.org'...
copying path '/nix/store/wf56s591icwkghph4q5ids9fj6aahbgj-libva-2.1.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/lf8d6iaq4wcagr1l84x5d4vx1gg6idkl-libvdpau-1.1.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/4qi5pk6sx7d8kis7wcnha9lpdmgrvycm-libxkbcommon-0.8.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/n5a8v7vz4vv054vdigc5bl5qlm4ja8wy-ncurses-6.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/574lcijwpsln2ipcxkmi1akzr21wj6y4-qtsvg-5.11.1' from 'https://cache.nixos.org'...
copying path '/nix/store/5ii60hhrq2dwwbs7nyaz0kwyi7p5bhxr-samba-4.7.10-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/9jj8mg3pvs33zbsx865sh1cbap254xbf-libcaca-0.99.beta19-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/i0qifgsrdxvp2dk0wialjkhy29daihp1-schroedinger-1.0.11' from 'https://cache.nixos.org'...
copying path '/nix/store/kg615i4wmjj097wlxlpq740lf1pqqwgd-speexdsp-1.2rc3-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/r5y6jfw9g1dcyg386k4v6sqffhk4gi9f-v4l-utils-1.14.2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/syafmk3pssgd7fsbfkl6hgmv9bq5pbxa-schroedinger-1.0.11-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/d6mvbxqcl6n098kf4yffgyg7a4jzlhxw-qtsvg-5.11.1-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/nq4m1whi3niy168bb365yjqr6qhl4892-speex-1.2rc2-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/yf8rbp74bxzxqhhvmmwc7ibs3z013h4l-xcb-util-image-0.4.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/8sv6vask8sc3gphgmagypwkdcghbh831-xcb-util-keysyms-0.4.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/2ppxc4z87dlpqpsa2dnsad1i268g3fbw-xcb-util-renderutil-0.3.9-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/lcsz83fpspb2xp3rg00y782gyndq5vbf-xcb-util-wm-0.4.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/860cxjhccavbcj64xxyaiansmqh8d3fq-qtbase-5.11.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/mg764kg04fx7v0j5klykhcmgba48ccsy-qtsvg-5.11.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/wykmlmf60xmf0bwvxx74qbhc4c9nqfc5-qtx11extras-5.11.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/qzkzjvcz17lr062cm1cfmslsg70n4rhk-vlc-3.0.4' from 'https://cache.nixos.org'...
building '/nix/store/gh4rxyjs8r295pcdziqra6b0hfvk2qm2-user-environment.drv'...
created 49 symlinks in user environment
This is because of your config/overlays. nix-env -f '<nixpkgs>' -iA vlc
probably also works, but evaluating the entirety of nixpkgs (as nix-env -i without -A does) with your overlays and/or packageOverrides seems to require building the entire system. This is presumably because of a use of system.replaceRuntimeDependencies
within a nixos evaluation taking place in your config.
Closing because it seems it was a user error.
Issue description
Is something like
linux-4.18.14
andetc-fstab.drv
really needed for VLC?Steps to reproduce
$ nix-env -i vlc
Technical details
"x86_64-linux"
Linux 4.14.76, NixOS, 18.09.932.09195057114 (Jellyfish)
yes
yes
nix-env (Nix) 2.1.1
""
"nixos-18.09.932.09195057114, nixos-hardware, nixos-unstable-19.03pre155751.45a419ab5a2"
/nix/var/nix/profiles/per-user/root/channels/nixos