Commit Graph

71 Commits

Author SHA1 Message Date
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Philip Taron
167cc0bef4
rstudio: remove with statements 2024-08-18 06:31:12 -07:00
Sigmanificient
2ee703dccb pkgs/applications: remove unused arguments 2024-07-26 11:36:49 +02:00
László Kupcsik
ba77a32628 rstudio: 2024.04.1+748 -> 2024.04.2.764 2024-07-02 22:51:22 +02:00
Justin Bedő
ed39190dba
Merge pull request #310127 from b-rodrigues/rstudio_choco_cosmos
rstudio: 2023.12.1+402 -> 2024.04.1+738
2024-06-10 10:10:55 +10:00
Sigmanificient
8b473d1a27 treewide: remove unused fetch* (and other) arguments 2024-05-30 13:36:48 +02:00
Bruno Rodrigues
d479b819a1 rstudio: 2023.12.1+402 -> 2024.04.1+738 2024-05-27 09:26:21 +02:00
Sigmanificient
0058552891 pkgs/applications: remove uneeded fetchpatch arguments 2024-05-21 03:12:20 +02:00
Bruno Rodrigues
434c3c83de rstudio: 2023.9.0+463 -> 2023.12.1+402
Update and add patches
Fix boost to 1.83
Update to rsconnect 1.2.0

Apply suggestions from code review

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Improve version breakdown
2024-03-06 22:17:47 +01:00
Justin Bedo
45b1d202ef
rstudio: fix server node patching 2023-10-09 09:20:18 +11:00
Justin Bedő
6371435e61
Merge pull request #252047 from Kupac/rstudio_2023_06_2_561
rstudio: 2022.07.1+554 -> 2023.09.0+463
2023-09-28 22:15:12 +10:00
László Kupcsik
217d974d84 rstudio: 2022.07.1+554 -> 2023.09.0+463
Updates rstudio to current version, fixes plotting and enables quarto
and markdown rendering.
Visual mode for markdown editing is still not functional.

 * Remove unneeded patch
 * Eliminate false quarto version warning
 * Fix pandoc and quarto paths
 * Adjust patch name to reflect purpose
 * Remove panmirror for now
 * Update quartoSrc

Co-authored-by: Justin Bedő <cu@cua0.org>
Also contributed: b-rodrigues and kupac
2023-09-27 22:24:42 +02:00
Sandro Jäckel
fccf04b620 treewide: replace -DCMAKE_BUILD_TYPE in cmakeFlags with cmakeBuildType 2023-09-08 14:18:26 +00:00
Robert Schütz
ce4f2d1cbe rstudio: use fetchYarnDeps 2023-09-06 12:34:31 -07:00
Vladimír Čunát
16b32782b4
rstudio: supply missing #include <set>
This was only suceeding by accident, uncovered probably by boost update.
https://hydra.nixos.org/build/228258786/nixlog/4/tail
2023-07-23 16:36:30 +02:00
OPNA2608
c9b4c7dccd treewide: Rename libyamlcpp* to yaml-cpp* 2023-01-31 16:22:54 +01:00
Shawn8901
3866fa44a7 treewide: remove global with lib; in pkgs/{audio,blockchain,editors} 2023-01-21 23:11:12 +01:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Goetz
f76ab1db42
RStudio: 2022.02.3+492 -> 2022.07.1.+554 (#185154)
RStudio: 2022.02.3+492 -> 2022.07.1.+554

Separate quarto fix and pandoc installation
2022-09-20 11:24:19 +02:00
Goetz
1f95c49331
RStudio: 1.4.1717 -> 2022.02.3+492 (#177021)
rstudio: 1.4.1717 -> 2022.02.3+492

The old version does not compile with gcc11. Also the used nixos-22.05
libraries (R interpreter) have changed their interfaces that have to be
also patched. Updating RStudio is useful.

* Remove Quarto patch

Follow review in
https://github.com/NixOS/nixpkgs/pull/177021#pullrequestreview-1007625773

* Fix not FHS paths

Create explicit nix path replacement of hard coded FHS paths for pandoc and nodejs.
2022-06-17 16:08:22 +02:00
Rick van Schijndel
433701147a
treewide: pkgs/applications: mark broken for aarch64-linux 2022-05-30 13:42:58 +02:00
Daniel Thwaites
4f9b8a0702
lib/strings: optimise hasInfix function (#168175)
* lib/strings: optimise hasInfix function

* lib/strings: optimise hasInfix further using regex

* rstudio: call hasInfix with a string

* lib/strings: remove let from hasInfix

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
2022-04-22 12:43:25 -04:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
Fabian Möller
4329d79dba
nixos/tests: link tests to their packages 2022-01-23 21:08:10 +01:00
Matthieu Coudron
711a269add rstudio: set meta.mainProgram 2022-01-18 22:43:21 +01:00
cfhammill
fd51177e5c
rstudio-server, rstudioServerWrapper: init at rstudio.version (1.4.1717)
Co-authored-by: Justin Bedo <cu@cua0.org>
Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Benjamin Darwin <bcdarwin@gmail.com>
2022-01-17 10:24:37 +11:00
Ingo Blechschmidt
480285a39e rstudio: fix desktop icon 2021-11-05 20:36:14 +01:00
Justin Bedo
71fa2b05f6
rstudio: fix source revision reference 2021-10-17 22:20:54 +11:00
Artturin
a2fa069103 rstudio: 1.2.5042 -> 1.4.1717 2021-10-15 03:56:09 +03:00
Changlin Li
81fa0babba Remove changlinli from rstudio maintainers list
I don't have the bandwidth to maintain the rstudio package
2021-10-07 04:43:26 -04:00
Emery Hemingway
e36f885a09 rstudio: remove ehmry from maintainers 2021-09-24 12:17:57 +02:00
Andrew Childs
7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb3, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Alex Branham
56be910cd3
Rstudio: 1.2.5033 -> 1.2.5042
Need the patch to backport a fix so Rstudio compiles against R 4.0.0
2020-04-28 20:59:45 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Simon Lackerbauer
321d788e2a rstudio: 1.2.1335 -> 1.2.5033 2020-02-29 18:38:18 +01:00
Thomas Churchman
c32ccccd9d
rstudio: use qt5's mkDerivation (#74381) 2020-02-09 01:44:53 -05:00
Eamonn Coughlan
cd9aec6114 rstudio: fix build with new hunspell-dicts 2019-09-05 17:33:24 +02:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Averell Dalton
5f10ab6377 rstudio: fix build 2019-08-15 11:04:25 +02:00
Averell Dalton
248041aa20 rstudio-preview: remove package 2019-04-14 20:47:28 +02:00
Averell Dalton
7a59ec3982 rstudio: 1.1.463 -> 1.2.1335 2019-04-14 20:47:28 +02:00
Averell Dalton
98fb0ab430 rstudio-preview: update to current 2019-01-21 00:41:58 +01:00
Averell Dalton
23461f33eb rstudio(-preview): fix build 2019-01-21 00:41:58 +01:00
Averell Dalton
c93caa5a67 rstudio-preview: init at f33fb2b2 2018-11-03 19:09:58 +01:00
Averell Dalton
34a5a43890 rstudio: 1.1.456 -> 1.1.463 2018-10-27 23:57:53 +02:00
Simon Lackerbauer
3f61866ea6 rstudio: 1.1.442 -> 1.1.456 (#45781) 2018-08-30 16:56:04 +02:00
Simon Lackerbauer
0743c349ce
rstudio: 1.1.423 -> 1.1.442 2018-04-17 23:24:49 +02:00