Commit Graph

36 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
R. Ryantm
7db4805efb urbit: 3.0 -> 3.1 2024-08-13 01:41:12 +00: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
R. Ryantm
52cc083515 urbit: 2.12 -> 3.0 2024-03-12 10:42:23 +00:00
h7x4
12315f53ff treewide: add mainProgram 2023-11-24 21:01:03 +01:00
R. Ryantm
00e1294414 urbit: 2.11 -> 2.12 2023-09-24 03:50:23 +00:00
Hugh O'Brien
2fd1640d60 urbit: 2.10 -> 2.11 2023-07-17 11:02:12 -04:00
R. Ryantm
b800b9c509 urbit: 2.9 -> 2.10 2023-06-30 12:35:49 +00:00
R. Ryantm
7136944f15 urbit: 2.8 -> 2.9 2023-06-09 15:14:34 +00:00
R. Ryantm
497e42c14b urbit: 2.6 -> 2.8 2023-06-03 12:57:17 +00:00
R. Ryantm
a298c2ecfe urbit: 2.3 -> 2.6 2023-05-21 08:02:55 +00:00
Daniel Nagy
892ed4125c
urbit: add sourceProvenance 2023-05-15 17:05:06 +02:00
R. Ryantm
d09e6d6425 urbit: 2.1 -> 2.3 2023-05-05 12:36:05 +00:00
R. Ryantm
05119861dd urbit: 2.0 -> 2.1 2023-03-31 02:33:58 +00:00
R. Ryantm
4478019214 urbit: 1.22 -> 2.0 2023-03-27 15:00:42 +00:00
R. Ryantm
cefa675791 urbit: 1.21 -> 1.22 2023-03-02 02:11:56 +00:00
R. Ryantm
625157f81d urbit: 1.20 -> 1.21 2023-02-27 00:53:20 +00:00
Matthew LeVan
0e973e43c0 urbit: remove old urbit; init at 1.20 2023-02-21 11:27:05 -05:00
Ben Siraphob
fce00d15c2 pkgs/misc: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08: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 Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01: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
Jared Tobin
94f26cb96e
urbit: 0.6.0 -> 0.7.3 2019-02-20 22:35:49 +13:00
Robin Gloster
93a056993f urbit: clean-up 2018-08-05 20:34:24 +02:00
Joseph Lukasik
26875910cb urbit: Don't use bootstrap scripts, no buildPhase
Incorporating feedback from https://github.com/nixos/nixpkgs/pull/43799

Also cleaned up some cruft from previous versions that didn't build with Meson/Ninja.
2018-08-05 20:34:24 +02:00
Joseph Lukasik
4a044699ae urbit: 0.4.5 -> 0.6.0
Following https://urbit.org/docs/using/install/
2018-08-05 20:34:24 +02:00
Ryan Mulligan
fce8f26af6 treewide: http -> https (#42665) 2018-06-27 22:12:57 +02:00
Yurii Rashkovskii
134c1a6ac0 urbit: 0.4 -> 0.4.5 2017-10-06 23:38:21 -07:00
Daniel Brockman
8c0f4755bd urbit: 2016-06-02 -> 0.4 (#20922) 2016-12-13 15:43:02 +01:00
Frederik Rietdijk
12d9fe12f0 urbit: use python2 2016-11-24 22:28:03 +01:00
Tuomas Tynkkynen
adf471c83c urbit: Fix build 2016-09-02 19:04:41 +03:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Márton Boros
08f41462d7 urbit: 2015.09.26 -> 2016-06-02
Updated to latest revision in urbit git master, fixes build error caused by missing sources.
Updated description and website.
Fixed date/version format to ISO 8061.
2016-06-18 08:36:10 +02:00
William A. Kennington III
6602f49495 Revert "Revert "Merge pull request #9543 from NixOS/staging.post-15.06""
This reverts commit 741bf840da.

This reverts the fallout from reverting the major changes.
2015-11-14 12:32:51 -08:00
Eelco Dolstra
741bf840da Revert "Merge pull request #9543 from NixOS/staging.post-15.06"
This reverts commit f61176c539, reversing
changes made to a27ca029ee.

Conflicts:
	pkgs/development/libraries/ncurses/default.nix
2015-10-06 15:24:20 +02:00
laMudri
4138fa09fd urbit: init at 2015.09.26 2015-09-28 13:25:23 +01:00