Commit Graph

19 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
zowoq
fa774ca4e3 nurl: use nix stable 2023-08-10 09:29:55 +10:00
Robert Hensing
34ee0260ec treewide: Add meta.mainProgram
Based on ofborg feedback.
Part of https://github.com/NixOS/nixpkgs/pull/246386
2023-08-01 12:21:05 +02:00
figsoda
644ad6823c nurl: 0.3.12 -> 0.3.13
Diff: https://github.com/nix-community/nurl/compare/v0.3.12...v0.3.13

Changelog: https://github.com/nix-community/nurl/blob/v0.3.13/CHANGELOG.md
2023-07-21 17:22:37 -04:00
figsoda
66f37ec350 nurl: 0.3.11 -> 0.3.12
Diff: https://github.com/nix-community/nurl/compare/v0.3.11...v0.3.12

Changelog: https://github.com/nix-community/nurl/blob/v0.3.12/CHANGELOG.md
2023-05-18 15:40:17 -04:00
figsoda
cd27779dbc nurl: 0.3.10 -> 0.3.11
Diff: https://github.com/nix-community/nurl/compare/v0.3.10...v0.3.11

Changelog: https://github.com/nix-community/nurl/blob/v0.3.11/CHANGELOG.md
2023-04-15 17:04:53 -04:00
Yureka
f8cbc3c281 tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
figsoda
dfede8752e nurl: 0.3.9 -> 0.3.10
Diff: https://github.com/nix-community/nurl/compare/v0.3.9...v0.3.10

Changelog: https://github.com/nix-community/nurl/blob/v0.3.10/CHANGELOG.md
2023-03-15 16:08:59 -04:00
figsoda
585903e26e nurl: 0.3.7 -> 0.3.9
Diff: https://github.com/nix-community/nurl/compare/v0.3.7...v0.3.9

Changelog: https://github.com/nix-community/nurl/blob/v0.3.9/CHANGELOG.md
2023-03-13 19:41:44 -04:00
figsoda
983950d550 nurl: 0.3.6 -> 0.3.7
Diff: https://github.com/nix-community/nurl/compare/v0.3.6...v0.3.7

Changelog: https://github.com/nix-community/nurl/blob/v0.3.7/CHANGELOG.md
2023-02-03 16:46:23 -05:00
figsoda
e51e10271d nurl: 0.3.5 -> 0.3.6
Diff: https://github.com/nix-community/nurl/compare/v0.3.5...v0.3.6

Changelog: https://github.com/nix-community/nurl/blob/v0.3.6/CHANGELOG.md
2023-01-24 12:39:12 -05:00
figsoda
e2c4605e2b nurl: 0.3.4 -> 0.3.5
Diff: https://github.com/nix-community/nurl/compare/v0.3.4...v0.3.5

Changelog: https://github.com/nix-community/nurl/blob/v0.3.5/CHANGELOG.md
2023-01-13 10:13:54 -05:00
figsoda
478ce8c1e3 nurl: 0.3.3 -> 0.3.4
Diff: https://github.com/nix-community/nurl/compare/v0.3.3...v0.3.4

Changelog: https://github.com/nix-community/nurl/blob/v0.3.4/CHANGELOG.md
2023-01-10 20:56:18 -05:00
figsoda
d376da366d nurl: 0.3.1 -> 0.3.3
Diff: https://github.com/nix-community/nurl/compare/v0.3.1...v0.3.3

Changelog: https://github.com/nix-community/nurl/blob/v0.3.3/CHANGELOG.md
2023-01-03 14:57:00 -05:00
figsoda
cd231b31f0 nurl: 0.3.0 -> 0.3.1
Diff: https://github.com/nix-community/nurl/compare/v0.3.0...v0.3.1

Changelog: https://github.com/nix-community/nurl/blob/v0.3.1/CHANGELOG.md
2023-01-01 22:45:07 -05:00
figsoda
8b3d755bb4 nurl: 0.2.2 -> 0.3.0
Diff: https://github.com/nix-community/nurl/compare/v0.2.2...v0.3.0

Changelog: https://github.com/nix-community/nurl/blob/v0.3.0/CHANGELOG.md
2023-01-01 20:33:50 -05:00
figsoda
108b709361 nurl: 0.2.1 -> 0.2.2
Diff: https://github.com/nix-community/nurl/compare/v0.2.1...v0.2.2

Changelog: https://github.com/nix-community/nurl/blob/v0.2.2/CHANGELOG.md
2023-01-01 14:30:17 -05:00
figsoda
fad9d559a3 nurl: 0.1.1 -> 0.2.1
Diff: https://github.com/nix-community/nurl/compare/v0.1.1...v0.2.1

Changelog: https://github.com/nix-community/nurl/blob/v0.2.1/CHANGELOG.md
2022-12-31 20:25:23 -05:00
figsoda
67b0f840da nurl: init at 0.1.1 2022-12-29 21:23:45 -05:00