Skip to content

vsenv, vs90wrapper: delete#42088

Merged
grahamc merged 1 commit intoNixOS:masterfrom
grahamc:drop-vsstudio
Jun 16, 2018
Merged

vsenv, vs90wrapper: delete#42088
grahamc merged 1 commit intoNixOS:masterfrom
grahamc:drop-vsstudio

Conversation

@grahamc
Copy link
Member

@grahamc grahamc commented Jun 16, 2018

Motivation for this change

Two ancient "packages" which were experimental from @svanderburg in 2010. If you accidentally install visual-studio-9.0 thinking it was vscode, you'd have a bad time because it breaks build-env:

grahamc@Morbo> nix-env -i visual-studio-9.0
warning: there are multiple derivations named 'visual-studio-9.0'; using the first one
installing 'visual-studio-9.0'
these paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/clkjwx5vcdv2vx6gfy6j8jzm9syr9i8x-visual-studio-9.0
copying path '/nix/store/clkjwx5vcdv2vx6gfy6j8jzm9syr9i8x-visual-studio-9.0' from 'https://cache.nixos.org'...
building '/nix/store/m7l5nkq570mfdx42h1jmi3c2v748vx0z-user-environment.drv'...
created 1 symlinks in user environment

grahamc@Morbo> nix-env -iA nixos.elinks
warning: name collision in input Nix expressions, skipping '/home/grahamc/.nix-defexpr/channels_root/nixos'
installing 'elinks-0.12pre6'
...
error: getting status of '/nix/store/clkjwx5vcdv2vx6gfy6j8jzm9syr9i8x-visual-studio-9.0/bin/vcbuild.exe': No such file or directory
builder for '/nix/store/z37fy73whp6njv9k5k126ifk8117fxgb-user-environment.drv' failed with exit code 1
error: build of '/nix/store/z37fy73whp6njv9k5k126ifk8117fxgb-user-environment.drv' failed

because indeed:

[130] grahamc@Morbo> ldd /nix/store/clkjwx5vcdv2vx6gfy6j8jzm9syr9i8x-visual-studio-9.0/bin/vcbuild.exe
ldd: /nix/store/clkjwx5vcdv2vx6gfy6j8jzm9syr9i8x-visual-studio-9.0/bin/vcbuild.exe: No such file or directory

[1] grahamc@Morbo> file /nix/store/clkjwx5vcdv2vx6gfy6j8jzm9syr9i8x-visual-studio-9.0/bin/vcbuild.exe
/nix/store/clkjwx5vcdv2vx6gfy6j8jzm9syr9i8x-visual-studio-9.0/bin/vcbuild.exe: broken symbolic link to /cygdrive/c/Program Files/Microsoft Visual Studio 9.0/VC/vcpackages/vcbuild.exe

anyway, I'm thinking @svanderburg doesn't need this anymore, or have /cygdrive on his laptop anymore :)

@truthadjustr
Copy link

Thanks for this fix. I attached below an actual session record error that tormented me for sometime:

https://asciinema.org/a/TeB0ZP18HFxM17MkmJoy1RK6G

@GrahamcOfBorg GrahamcOfBorg added 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 16, 2018
@grahamc grahamc merged commit 738ccc4 into NixOS:master Jun 16, 2018
@grahamc grahamc deleted the drop-vsstudio branch June 16, 2018 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants