Commit Graph

11370 Commits

Author SHA1 Message Date
github-actions[bot]
879976f685
Merge staging-next into staging 2023-10-14 18:01:33 +00:00
Raphael Robatsch
812e28f491 jetbrains.rider: symlink dotnet-sdk again
`lib/ReSharperHost/linux-*/dotnet` does not exist, so that pattern
expands to nothing, and the ln command became just
`ln -s ${dotnet-sdk_7}`.
2023-10-14 17:38:57 +02:00
github-actions[bot]
5b761c2ba3
Merge staging-next into staging 2023-10-14 12:01:32 +00:00
Weijia Wang
3b6d08dfdd jetbrains: do not hardcode x64 paths 2023-10-14 12:29:08 +02:00
Weijia Wang
db7978c88c
Merge pull request #249659 from NickCao/jetbrains-prep
jetbrains.*: also fetch source for aarch64-linux
2023-10-14 09:20:34 +02:00
Weijia Wang
25bc9673a0
Merge pull request #260965 from dritter/update-jetbrains3
jetbrains: 2023.2 EAP -> 2023.3 EAP
2023-10-14 09:18:39 +02:00
github-actions[bot]
fbd39f6b6b
Merge staging-next into staging 2023-10-14 06:01:29 +00:00
Artturi
10e07e27ef
Merge pull request #246622 from GenericNerdyUsername/jetbrains-allow-vmopts-override 2023-10-14 05:55:42 +03:00
nixpkgs-upkeep-bot
ad425c0caf vscode: 1.83.0 -> 1.83.1 2023-10-14 00:23:31 +00:00
github-actions[bot]
45a3496bff
Merge staging-next into staging 2023-10-14 00:02:47 +00:00
Weijia Wang
e0e9c52167
Merge pull request #260964 from dritter/fix-jetbrains-update-script
jetbrains: make update script robust against if no channels exist
2023-10-14 01:48:12 +02:00
Dominik Ritter
618d0459eb jetbrains: make update script robust against if no channels exist
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-10-14 01:47:16 +02:00
Dominik Ritter
81b4180939 jetbrains.plugins: update 2023-10-14 01:25:03 +02:00
Dominik Ritter
9d6808fa2a jetbrains: 2023.2 EAP -> 2023.3 EAP
jetbrains.datagrip: 2023.2.1 -> 2023.2.2
jetbrains.dataspell: 2023.2.2 -> 2023.2.3
jetbrains.gateway: 2023.2.2 -> 2023.2.3
jetbrains.goland: 2023.2.2 -> 2023.2.3
jetbrains.idea-community: 2023.2.2 -> 2023.2.3
jetbrains.idea-ultimate: 2023.2.2 -> 2023.2.3
jetbrains.pycharm-community: 2023.2.1 -> 2023.2.2
jetbrains.pycharm-professional: 2023.2.1 -> 2023.2.2
jetbrains.rider: 2023.2.1 -> 2023.2.2
jetbrains.ruby-mine: 2023.2.2 -> 2023.2.3
jetbrains.webstorm: 2023.2.2 -> 2023.2.3
jetbrains.rust-rover: 2023.2 EAP -> 2023.3 EAP
2023-10-14 01:23:43 +02:00
Weijia Wang
3e5d4f30c5 jetbrains.rust-rover: fix version on aarch64-darwin 2023-10-14 00:31:12 +02:00
Nikolay Korotkiy
64449b8cdc
Merge pull request #260781 from r-ryantm/auto-update/orbiton
orbiton: 2.65.1 -> 2.65.2
2023-10-14 02:14:38 +04:00
Nick Cao
aff903118b jetbrains.*: also fetch source for aarch64-linux 2023-10-13 21:52:43 +02:00
Weijia Wang
af62462a93
Merge pull request #257890 from nixdrin/jetbrains-ld
jetbrains: avoid LD_LIBRARY_PATH leaks
2023-10-13 20:57:45 +02:00
Weijia Wang
5b1731b297
Merge pull request #260889 from joedevivo/rustrover-3
jetbrains.rust-rover: 2023.2 EAP -> 2023.3 EAP
2023-10-13 20:54:00 +02:00
github-actions[bot]
c68d98e9d4
Merge staging-next into staging 2023-10-13 18:01:31 +00:00
Bjørn Forsman
99476c1ec3 quartus-prime-lite: use runtimeShell in wrappers
stdenv.shell is a shell for building, runtimeShell is for running, so
the latter should be used in wrappers. (The distinction only matters
when cross-compiling.)
2023-10-13 17:21:42 +02:00
Bjørn Forsman
215bb70952 quartus-prime-lite: test building encrypted device model
Prevent regressions.
2023-10-13 17:21:42 +02:00
Bjørn Forsman
4de69110fa quartus-prime-lite: modelsim: fix compiling encrypted device models
LD_PRELOADing libudev breaks compiling encrypted device models in
ModelSim, so only use LD_PRELOAD for non-ModelSim wrappers.

Before:

  $ "$(NIXPKGS_ALLOW_UNFREE=1 nix-build -A quartus-prime-lite)/bin/vlog" "$(NIXPKGS_ALLOW_UNFREE=1 nix-build -A quartus-prime-lite.unwrapped)/modelsim_ase/altera/verilog/src/arriav_atoms_ncrypt.v"
  [...]
  ** Error: /nix/store/szcr2q24izqvhz7ybalar43y5xdg172a-quartus-prime-lite-unwrapped-20.1.1.720/modelsim_ase/altera/verilog/src/arriav_atoms_ncrypt.v(38): (vlog-2163) Macro `<protected> is undefined.
  ** Error: /nix/store/szcr2q24izqvhz7ybalar43y5xdg172a-quartus-prime-lite-unwrapped-20.1.1.720/modelsim_ase/altera/verilog/src/arriav_atoms_ncrypt.v(38): (vlog-2163) Macro `<protected> is undefined.
  ** Error: (vlog-13069) /nix/store/szcr2q24izqvhz7ybalar43y5xdg172a-quartus-prime-lite-unwrapped-20.1.1.720/modelsim_ase/altera/verilog/src/arriav_atoms_ncrypt.v(38): syntax error in protected region.
  [...]
  Errors: 4, Warnings: 0

After:

  $ "$(NIXPKGS_ALLOW_UNFREE=1 nix-build -A quartus-prime-lite)/bin/vlog" "$(NIXPKGS_ALLOW_UNFREE=1 nix-build -A quartus-prime-lite.unwrapped)/modelsim_ase/altera/verilog/src/arriav_atoms_ncrypt.v"
  [...]
  Errors: 0, Warnings: 0
2023-10-13 17:21:42 +02:00
Bjørn Forsman
7fe9476618 quartus-prime-lite: move passthru towards end
Coding style.
2023-10-13 17:21:42 +02:00
Bjørn Forsman
04413f50b9 quartus-prime-lite: buildFHSEnvChroot -> buildFHSEnv
The former is deprecated. The latter is implemented with
buildFHSEnvBubblewrap. The reason this package was switched to
buildFHSEnvChroot in the first place[1] is fixed by passing `multiArch =
true` (which brings e.g. 32-bit dynamic loader /lib/ld-linux.so.2).

[1] Commit cae417d315 ("quartus-prime: use buildFHSEnvChroot")
2023-10-13 17:21:42 +02:00
Bjørn Forsman
169dc22b96 quartus-prime-lite: don't overwrite LD_PRELOAD
Instead, merge the user provided LD_PRELOAD environment variable with
the hardcoded libudev.so.1 entry. User provided libs are loaded first.
2023-10-13 17:21:42 +02:00
Bjørn Forsman
b201c54346 quartus-prime-lite: eliminate two unneeded execve syscalls
* Set LD_PRELOAD in the profile snippet to eliminate one execve() for `env`.
* Set runScript to "" to eliminate one execve() for bash.
2023-10-13 17:21:42 +02:00
Bjørn Forsman
e19a5b040c quartus-prime-lite: expose all of quartus/bin/*
* Upstream recommends it (adding $QUARTUS_ROOTDIR/bin to $PATH).
* It's cool that nixpkgs *can* do these tricks (only expose a subset of
  programs), but in this case I don't think it's a good idea. For
  example, before this change I was missing the `jtagconfig` program.
* This increases the number of programs in .../bin from 29 to 80.
2023-10-13 17:21:42 +02:00
Bjørn Forsman
f7c180ee1e quartus-prime-lite: add vcom, vdel, vmap
These are useful for Modelsim scripting.
2023-10-13 17:21:42 +02:00
Bjørn Forsman
5428524354 quartus-prime-lite: add lmutil
It's tool to check the validity of licenses, and vsim suggests running
it when it has issues validating a license. (At least in Quartus
22.1.2.)
2023-10-13 17:21:42 +02:00
Bjørn Forsman
9069ffe15f quartus-prime-lite: add /lib/ld-lsb*.so.3 dynamic loaders to FHS env
(In preparation for adding lmutil.)

Quartus is a mix of 32- and 64-bit programs, and these "lsb" loaders are
required by some of the unwrapped binaries:

  $ find /nix/store/HASH-quartus-prime-lite-unwrapped-20.1.1.720 -type f -executable | xargs -n1 patchelf --print-interpreter |& grep "ld-lsb" | sort -u
  /lib64/ld-lsb-x86-64.so.3
  /lib/ld-lsb.so.3
2023-10-13 17:21:42 +02:00
Bjørn Forsman
61893a949e quartus-prime-lite: list progs to wrap in sh instead of Nix
This opens up for using sh globbing (and possibly wrapping *all*
programs), something which is not possible when the program list is
coded in Nix.
2023-10-13 17:21:42 +02:00
Bjørn Forsman
b74de9ec5f quartus-prime-lite: lower case local shell variables
Upper case shell variables are generally for internal variables (SHELL,
BASH_VERSION) or environment variables (PAGER, EDITOR). Other variables
should be lower case.
2023-10-13 17:21:42 +02:00
Bjørn Forsman
83f590a588 quartus-prime-lite: run mkdir as needed
Instead of maintaining both a list of executables to wrap and their
directory names, extract the directory names from the executables and
run mkdir as needed. Keep DRY.
2023-10-13 17:21:42 +02:00
Weijia Wang
7546bc6180
Merge pull request #259450 from npulidomateo/reinit-typora
Reinit typora
2023-10-13 15:56:55 +02:00
Joe DeVivo
c3844cc520
jetbrains.rust-rover: 2023.2 EAP -> 2023.3 EAP 2023-10-13 06:21:54 -07:00
Nico Pulido-Mateo
9b4f78b7ba typora: remove maintainer jensbin 2023-10-13 14:34:04 +02:00
Alyssa Ross
64a55ddd40
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/development/tools/misc/indent/default.nix
2023-10-13 12:14:37 +00:00
Bruno BELANYI
ad73d204b0 vimPlugins.none-ls-nvim: init at 2023-10-01 2023-10-13 13:34:40 +02:00
Nico Pulido-Mateo
0bd4608448 typora: reinit at 1.7.5
typora was removed in bd763298ed because
it failed to run. Running it inside an FHS environment solves the issue.
2023-10-13 10:04:10 +02:00
github-actions[bot]
49523dec15
Merge staging-next into staging 2023-10-13 06:01:45 +00:00
Justin Bedő
dce26c953e
Merge pull request #259858 from jbedo/rstudio
rstudio: fix server node patching
2023-10-13 10:16:24 +11:00
R. Ryantm
9ebc64b7ee orbiton: 2.65.1 -> 2.65.2 2023-10-12 21:58:21 +00:00
github-actions[bot]
630f45884e
Merge staging-next into staging 2023-10-11 18:01:37 +00:00
figsoda
d5f43438f9
Merge pull request #260096 from teto/vimPluginsUpdater-fix
vimPluginsUpdater: add missing nix-prefetch-git dependency
2023-10-11 09:12:09 -04:00
Matthieu Coudron
72729d323f neovim: run hooks for build phase
the latest changes skipped the postBuild hook which in turn would prevent the wrapping from being done
2023-10-11 01:58:44 +02:00
github-actions[bot]
0cf0d9af7e
Merge staging-next into staging 2023-10-10 18:01:26 +00:00
maxine
b08ed15261
Merge pull request #259654 from Artturin/vscodefixfhsoverride
vscode: fix using the fhs with overrideAttrs
2023-10-10 18:01:26 +02:00
github-actions[bot]
d384d8bec5
Merge staging-next into staging 2023-10-10 12:02:04 +00:00
Gaetan Lepage
b8eebcad82 neovim: 0.9.2 -> 0.9.4 2023-10-10 10:44:03 +02:00