Commit Graph

46 Commits

Author SHA1 Message Date
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
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Weijia Wang
68ef996007
Merge pull request #271604 from h7x4/treewide-install-missing-desktop-items
treewide: install missing desktopItems
2023-12-08 01:12:32 +01:00
h7x4
efdec26090
treewide: install missing desktopItems 2023-12-02 06:57:21 +01:00
Mario Rodas
3a2c9f3499 llpp: remove unused inputs 2023-11-23 04:20:00 +00:00
Mario Rodas
04b42d0e68 llpp: update homepage 2023-11-23 04:20:00 +00:00
Mario Rodas
e531c99505 llpp: fix license 2023-11-23 04:20:00 +00:00
Mario Rodas
b90209f3de llpp: remove unneeded configurePhase 2023-11-23 04:20:00 +00:00
Mario Rodas
13d1f9aff0 llpp: fix build on darwin 2023-11-15 04:20:00 +00:00
Mario Rodas
c3bece532a llpp: 41 -> 42
Diff: https://github.com/criticic/llpp/compare/v41...v42

Changelog: https://github.com/criticic/llpp/releases/tag/v42
2023-11-15 04:20:00 +00:00
Lily Foster
8aced2d10b
llpp: bump aur patch and remove now-unused patch 2023-10-27 19:19:35 -04:00
Weijia Wang
5100dd700a llpp: drop unused patch 2023-10-14 16:01:05 +02:00
Mario Rodas
e6e64afec6 llpp: fix build 2023-10-13 04:20:00 +00:00
Weijia Wang
a4384ecfb2 llpp: 33 -> 41 2023-03-06 21:14:57 +02:00
Ulrik Strid
376e9ceead treewide: add strictDeps = true to most packages depending on ocaml 2023-02-03 08:59:34 +01:00
Raphael Robatsch
6986b50df9 llpp: mark as broken
See discussion in #188525
2023-01-12 09:45:38 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Hoang
31f9051cf6 treewide: stop maintaining most packages 2021-01-06 17:06:03 +11:00
Markus S. Wamser
a08a95acd9 llpp: 32 -> 33 2020-11-09 09:57:38 -08:00
Markus S. Wamser
54e37df525 llpp: v31 -> v32
compatibility with muPDF 1.17
2020-06-06 14:02:10 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Matthieu Coudron
8a4029fa8b llpp: 30 -> 31 2019-09-15 17:18:18 +09:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Pascal Wittmann
c199c58621
llpp: install llpp.inotify into bin/ 2019-02-26 19:38:01 +01:00
Pascal Wittmann
674a5e95d7
llpp: remove unused lib directory 2019-02-26 19:37:41 +01:00
Michael Hoang
3f1e222a8b llpp: 2018-03-02 -> 30
Remove unnecessary packages from derivation and use patches to fix
build.bash instead of sed commands.
2018-12-18 18:33:49 +11:00
c0bw3b
88ce525e85 Treewide: use https for repo.or.cz 2018-11-24 19:56:51 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
volth
87f5930c3f [bot]: remove unreferenced code 2018-07-20 18:48:37 +00:00
Pascal Wittmann
7b056a3330
llpp: 26b -> 2018-03-02 2018-03-04 17:58:50 +01:00
Pascal Wittmann
430a6ff7a5
llpp: 25-git-2017-01-08 -> 26b 2017-11-10 21:34:21 +01:00
Pascal Wittmann
c1604543bf
llpp: 2016-05-07 -> 2017-01-18 2017-02-03 22:12:53 +01:00
Kirill Boltaev
e61663a233 treewide: move to ocaml-ng system 2016-09-26 02:36:49 +03:00
Tuomas Tynkkynen
463b0a181e treewide: Make explicit that 'dev' output of freetype is used 2016-08-23 03:52:05 +03:00
Rahul Gopinath
857ba2d956 llpp: 21-git-2016-05-07 -> 21-git-2015-07-30
Update llpp to sync with mupdf
2016-06-12 09:48:34 -07:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Pascal Wittmann
2dc42b1eec llpp: update to 2015-07-30, fix build and don't fetch submodules 2015-08-04 13:00:35 +02:00
Pascal Wittmann
2cdbe82ada llpp: update from 2015-06-06 to 2015-06-27 2015-06-30 13:07:06 +02:00
Pascal Wittmann
ef1c9cdeef llpp: update to HEAD 2015-06-08 12:30:23 +02:00
Vincent Laporte
a3e14b94cb llpp: update to HEAD
Current latest tagged version (v21) has been broken
since mupdf has been updated to 1.7.
2015-05-11 21:24:41 +02:00
Pascal Wittmann
8fb18cf523 llpp: update to stable version 21 2015-01-14 14:23:46 +01:00
Pascal Wittmann
707ee5e0ec llpp: fix copying text to clipboard on linux 2014-12-13 15:50:04 +01:00
Pascal Wittmann
5dd9d2d342 llpp: update to latest revision, uses now the ninja build system 2014-11-29 14:21:16 +01:00
Vladimír Čunát
6ca980f0b4 llpp: fix freetype include path
Fixes build, probably after freetype-2.5 update.
2014-06-22 14:11:46 +02:00
Pascal Wittmann
86b7cf8bb4 Added llpp, a mupdf based pdf pager written in ocaml.
Updated lablgl to 1.05 and mupdf to 1.4.
Added myself as maintainer for lablgl.
2014-06-04 22:15:06 +02:00