Commit Graph

11326 Commits

Author SHA1 Message Date
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
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
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
Justin Bedő
dce26c953e
Merge pull request #259858 from jbedo/rstudio
rstudio: fix server node patching
2023-10-13 10:16:24 +11: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
maxine
b08ed15261
Merge pull request #259654 from Artturin/vscodefixfhsoverride
vscode: fix using the fhs with overrideAttrs
2023-10-10 18:01:26 +02:00
Gaetan Lepage
b8eebcad82 neovim: 0.9.2 -> 0.9.4 2023-10-10 10:44:03 +02:00
Gaetan Lepage
e8f9be5662 vimPluginsUpdater: add missing nix-prefetch-git dependency 2023-10-10 00:54:10 +02:00
kashw2
4f1206ff05 glow: 1.5.0 -> 1.5.1 2023-10-09 18:16:02 +10:00
Justin Bedo
45b1d202ef
rstudio: fix server node patching 2023-10-09 09:20:18 +11:00
Ryan Mulligan
6303f02bd9
Merge pull request #258493 from r-ryantm/auto-update/bluefish
bluefish: 2.2.12 -> 2.2.14
2023-10-08 11:04:20 -07:00
R. Ryantm
f87dbd2357 bluefish: 2.2.12 -> 2.2.14 2023-10-08 09:12:52 -07:00
Nick Cao
8b1ce014b1
Merge pull request #259673 from wackbyte/update-uiua-vscode
vscode-extensions.uiua-lang.uiua-vscode: 0.0.12 -> 0.0.15
2023-10-08 10:24:14 -04:00
Artturi
3c1857b601
Merge pull request #258685 from felschr/vscode-firefox-debug 2023-10-08 09:55:46 +03:00
wackbyte
58543d38a4
vscode-extensions.uiua-lang.uiua-vscode: 0.0.12 -> 0.0.15 2023-10-07 22:33:56 -04:00
Artturi
0cbdedb436
Merge pull request #257217 from datafoo/vscode-extensions.davidanson.vscode-markdownlint 2023-10-08 04:52:55 +03:00
Artturi
3ab80243f1
Merge pull request #257871 from wackbyte/uiua-vscode 2023-10-08 04:52:36 +03:00
Artturi
a02943fc99
Merge pull request #258596 from MikaelFangel/update-vscode-neovim 2023-10-08 04:51:24 +03:00
Artturin
5eb0c82c61 vscode: run nixpkgs-fmt 2023-10-08 02:49:17 +03:00
Artturin
2afc244307 vscode: fix using the fhs with overrideAttrs
fixes
```nix
((pkgs.vscode.override { isInsiders = true; }).overrideAttrs (previousAttrs: {
  version = "latest";
  src = (pkgs.fetchurl {
    name = "VSCODE_insiders.tar.gz";
    url = "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64";
    sha256 = "sha256-XcDSCuEMnTq2D75X9sNmGkD+CfPoLRJki9cSDDOeUtc=";
  });
})).fhs
```

NOTE: sha256 isn't stable
2023-10-08 02:44:43 +03:00
Artturi
2cedfab914
Merge pull request #258964 from cafkafk/cafk-imhex-1.31.0 2023-10-07 18:41:08 +03:00
R. Ryantm
4123ce5e2f orbiton: 2.65.0 -> 2.65.1 2023-10-06 17:00:21 -07:00
R. Ryantm
44f80df4e4 pulsar: 1.108.0 -> 1.109.0 2023-10-06 16:10:58 -07:00
Christina Sørensen
b2cb9c6fb9
imhex: move to pkgs/by-name
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-06 18:54:49 +02:00
Christina Sørensen
7b69d8e885
imhex: 1.30.1 -> unstable-2023-10-01
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-10-06 18:54:47 +02:00
maxine
41ecbefae5
Merge pull request #259281 from samuela/upkeep-bot/vscode-1.83.0-1696552081
vscode: 1.82.2 -> 1.83.0
2023-10-06 17:51:52 +02:00
OTABI Tomoya
45be00cf19
Merge pull request #258140 from felschr/ldtk
ldtk: 1.4.0 -> 1.4.1
2023-10-06 23:11:15 +09:00
Mikael Fangel
5ee4a4454f
vscode-extensions.asvetliakov.vscode-neovim: 0.0.97 -> 0.8.2 2023-10-06 13:38:18 +02:00
nixpkgs-upkeep-bot
bbe1068a50 vscode: 1.82.2 -> 1.83.0 2023-10-06 00:28:03 +00:00
R. Ryantm
90029bbdf3 cudatext: 1.199.0 -> 1.200.0 2023-10-05 21:21:52 +00:00
Steven Kou
8b1de6a005
jetbrains.gateway: remove maintainer 2023-10-05 01:30:54 -04:00
Anderson Torres
a9d73dea16 treewide: remove cstrahan from meta.maintainers - part 2
19 files modified with this removal
2023-10-04 22:20:58 -03:00
Anderson Torres
492414af5f treewide: remove cstrahan from meta.maintainers - part 1
All the packages here are now orphaned.
2023-10-04 22:20:58 -03:00