Commit Graph

62 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
Weijia Wang
c88cfcb012 powershell: 7.4.4 -> 7.4.5 2024-08-21 21:10:48 +02:00
R. Ryantm
39e1b97d33 powershell: 7.4.3 -> 7.4.4 2024-07-26 20:32:36 +00:00
Weijia Wang
24436c6d6f powershell: 7.4.2 -> 7.4.3 2024-06-20 10:59:44 +02:00
Jan Tojnar
0421c816ba treewide: Simplify use of update-source-version
- `--ignore-same-version` allows us to not call it twice.
- with that, we can also omit version, to allow us updating e.g. `cargoDeps` hash
2024-06-09 20:33:23 +02:00
R. Ryantm
4ade905f62 powershell: 7.4.1 -> 7.4.2 2024-04-13 04:31:17 +00:00
Weijia Wang
80d4e7a9d7 powershell: 7.4.0 -> 7.4.1 2024-01-13 02:30:33 +01:00
Weijia Wang
d005b1eec0 powershell: 7.3.9 -> 7.4.0 2023-11-18 16:51:40 +01:00
Weijia Wang
4ead65502a powershell: 7.3.8 -> 7.3.9 2023-10-27 17:23:23 +02:00
Weijia Wang
7493212ae8 powershell: 7.3.7 -> 7.3.8 2023-10-11 08:47:48 +02:00
Weijia Wang
540128daca powershell: 7.3.4 -> 7.3.7 2023-09-24 23:37:50 +02:00
Weijia Wang
b4995a61c7 powershell: 7.3.2 -> 7.3.4 2023-05-30 11:04:59 +03:00
Weijia Wang
57d2ea7636 powershell: drop openssl_1_1 2023-05-30 07:23:31 +03:00
Anselm Schüler
1b87e1bb7c powershell: 7.2.4 -> 7.3.2
also fix powershell/getHashses.sh script
2023-01-24 21:58:52 +01:00
Robert Scott
3d6c926c4f treewide/servers,shells,tools: add sourceType for more packages 2022-07-02 13:38:00 +01:00
Sandro
741e3c486d
Merge pull request #174765 from schuelermine/powershell-getHashes 2022-05-30 22:21:26 +02:00
Anselm Schüler
1461002cc8 powershell: add maintainer script getHashes 2022-05-29 12:10:55 +02:00
Anselm Schüler
0abae979a9 powershell: 7.2.3 -> 7.2.4 2022-05-26 12:49:57 +02:00
github-actions[bot]
629adb097a
Merge staging-next into staging 2022-05-09 18:01:59 +00:00
Anselm Schüler
ea9be9e24f powershell: 7.2.2 -> 7.2.3 2022-05-07 13:05:05 +02:00
Artturin
ea79263e60 pkgs/shells: enable strictDeps 2022-05-06 22:31:38 +03:00
Martin Weinelt
a7fc5aaa76 Merge remote-tracking branch 'origin/master' into staging-next 2022-04-15 13:30:48 +02:00
Malo Bourgon
0e802eafad treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
Vladimír Čunát
d5d94127fd
Merge branch 'staging-next' into staging
Minor conflicts; I hope I didn't mess up:
	pkgs/development/tools/misc/binutils/default.nix
	pkgs/games/openjk/default.nix
2022-04-14 09:53:21 +02:00
OPNA2608
d2f268745a treewide: autoPatchelfHook only on Linux 2022-03-23 21:37:39 +01:00
R. Ryantm
9df2c37554 powershell: 7.2.1 -> 7.2.2 2022-03-17 20:55:24 +00:00
R. Ryantm
0bec88c4f7 powershell: 7.2.0 -> 7.2.1 2021-12-25 11:30:29 +00:00
Tristan Gosselin-Hane
4c4f6a4793 powershell: remove misleading comment 2021-11-10 12:17:22 -05:00
Tristan Gosselin-Hane
92fae32312 powershell: 7.1.4 -> 7.2.0 2021-11-09 10:25:47 -05:00
p3psi
c6c2dd3727 powershell: patchelf replace liblttng-ust.so.0 to so.1 2021-09-28 21:49:42 +03:00
R. RyanTM
7799b4f2c6 powershell: 7.1.3 -> 7.1.4 2021-08-17 14:44:58 +00:00
Adrian Lucrèce Céleste
3cbcbfc4fc powershell: add aarch64 support for Linux 2021-06-06 18:08:15 -07:00
Stéphan Kochen
51eeb21486
powershell: fix darwin build (#123484) 2021-05-18 10:36:25 -04:00
ShrykeWindgrace
8123743455 powershell: 7.1.0 -> 7.1.3 2021-03-12 16:22:02 +01:00
Ben Siraphob
e245ae3c3a pkgs/shells: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
R. RyanTM
0f6a111e36 powershell: 7.0.3 -> 7.1.0 2020-11-22 08:14:42 +00:00
Tim Steinbach
8ef2c0e07a
powershell: 7.0.1 -> 7.0.3 2020-10-08 15:08:12 -04:00
Evils
98ddb40d17 powershell: installCheck -> installCheckPhase 2020-06-05 15:40:12 -07:00
R. RyanTM
cca31e245d powershell: 7.0.0 -> 7.0.1 2020-05-19 22:35:11 +00:00
Jonathan Ringer
5959a5b70b powershell: enable darwin install 2020-05-04 09:25:36 -07:00
S
b5bd353ec1 powershell: 6.2.3 -> 7.0.0
Package and openssl dependency version bump and cascading changes.
2020-05-04 09:25:36 -07:00
Jonathan Ringer
7e1b217785 powershell: update supported platforms 2020-02-22 16:00:25 -08:00
Matthew Bauer
13b0141486
powershell: set shellPath
Fixes #45830
2019-12-31 13:25:47 -05:00
Mario Rodas
4bd191d4c9
powershell: disable dotnet telemetry 2019-11-29 18:00:00 -05:00
R. RyanTM
52a9e1509a
powershell: 6.2.2 -> 6.2.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/powershell/versions
2019-09-27 18:10:23 -07:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Robin Gloster
0f4256a2f8
powershell: pint to openssl 1.0.2 2019-08-22 16:47:25 +02: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
Marek Mahut
ce8a9968c9 powershell: updating darwin sha 2019-08-10 09:39:04 +02:00
R. RyanTM
7d2643af88 powershell: 6.2.1 -> 6.2.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/powershell/versions
2019-07-19 19:27:40 -07:00