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
5e073451e8
miniserve: 0.27.1-unstable-2024-08-08 -> 0.28.0
...
Changelog: https://github.com/svenstaro/miniserve/blob/v0.28.0/CHANGELOG.md
2024-09-15 13:37:29 +10:00
zowoq
6e4e563515
miniserve: 0.27.1 -> 0.27.1-unstable-2024-08-08
2024-08-16 08:40:44 +10:00
Julius Michaelis
6a9beaf893
treewide: skip generating shell completions using $out/bin/… when cross compiling
...
This focuses on Rust packages, since the most commonly used argument
parser library (clap/structopt) makes the following pattern natural and
thus common:
postInstall = ''
installShellCompletion --cmd foo \
--bash <($out/bin/foo completion bash) \
…
This commit just guards those with
lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)
splitting the string where unrelated actions are performed.
2024-08-04 10:50:48 +09:00
R. Ryantm
328e43e941
miniserve: 0.26.0 -> 0.27.1
2024-03-16 13:21:37 +00:00
Weijia Wang
35ac632d52
miniserve: 0.25.0 -> 0.26.0
2024-01-28 07:26:40 +01:00
Weijia Wang
842c2de801
miniserve: add missing framework on darwin
2024-01-20 10:11:47 +01:00
R. Ryantm
942aa61327
miniserve: 0.24.0 -> 0.25.0
2024-01-07 14:25:49 +00:00
h7x4
41974d5ed9
treewide: add mainProgram
2023-11-27 02:17:53 +01:00
figsoda
96ab26cfbb
miniserve: 0.23.2 -> 0.24.0
...
Diff: https://github.com/svenstaro/miniserve/compare/v0.23.2...v0.24.0
Changelog: https://github.com/svenstaro/miniserve/blob/v0.24.0/CHANGELOG.md
2023-07-06 09:55:46 -04:00
figsoda
f947792cdf
miniserve: 0.23.1 -> 0.23.2
...
Diff: https://github.com/svenstaro/miniserve/compare/v0.23.1...v0.23.2
Changelog: https://github.com/svenstaro/miniserve/blob/v0.23.2/CHANGELOG.md
2023-04-27 23:04:49 -04:00
figsoda
d8ad536c62
miniserve: 0.23.0 -> 0.23.1
...
Diff: https://github.com/svenstaro/miniserve/compare/v0.23.0...v0.23.1
Changelog: https://github.com/svenstaro/miniserve/blob/v0.23.1/CHANGELOG.md
2023-04-17 10:01:02 -04:00
figsoda
7773d61a07
miniserve: 0.22.0 -> 0.23.0
...
Diff: https://github.com/svenstaro/miniserve/compare/v0.22.0...v0.23.0
Changelog: https://github.com/svenstaro/miniserve/blob/v0.23.0/CHANGELOG.md
2023-02-28 23:09:01 -05:00
Weijia Wang
d8f61952f0
miniserve: unbreak on aarch64-darwin
2022-12-03 00:26:54 +01:00
figsoda
cb453ff6a8
miniserve: 0.21.0 -> 0.22.0
2022-09-19 23:28:47 -04:00
figsoda
1624df0919
miniserve: 0.20.0 -> 0.21.0
2022-09-15 09:54:56 -04:00
figsoda
1694bba915
miniserve: remove unnecessary dependencies, add figsoda as a maintainer
2022-09-12 12:42:23 -04:00
R. Ryantm
ee202b5334
miniserve: 0.19.4 -> 0.20.0
2022-07-29 13:21:49 +00:00
LeixB
09b8f10802
miniserve: 0.19.3 -> 0.19.4
2022-04-19 13:13:53 +02:00
LeixB
6a5bf9d686
miniserve: add manpage
2022-04-19 13:01:51 +02:00
Fabian Affolter
4c0c1a5769
miniserve: update description
2022-03-18 10:13:05 +01:00
R. Ryantm
b23e8d2dee
miniserve: 0.19.2 -> 0.19.3
2022-03-16 12:59:56 +00:00
R. Ryantm
70f2d8602b
miniserve: 0.19.1 -> 0.19.2
2022-02-21 12:56:54 +00:00
R. Ryantm
57aa4985d5
miniserve: 0.19.0 -> 0.19.1
2022-02-18 18:27:21 +00:00
R. Ryantm
eb54324353
miniserve: 0.18.0 -> 0.19.0
2022-02-12 16:29:09 +00:00
zowoq
057166b50e
miniserve: mark as broken on aarch64-darwin
2022-01-02 12:45:59 +10:00
zowoq
a54f1ee49c
miniserve: remove maintainer
2021-12-30 19:42:11 +10:00
zowoq
931ab058da
miniserve: 0.17.0 -> 0.18.0
...
https://github.com/svenstaro/miniserve/releases/tag/v0.18.0
2021-11-15 21:42:24 +10:00
zowoq
ca831be54c
miniserve: 0.15.0 -> 0.17.0
...
https://github.com/svenstaro/miniserve/releases/tag/v0.16.0
https://github.com/svenstaro/miniserve/releases/tag/v0.17.0
2021-09-16 06:08:40 +10:00
zowoq
d945e55ffc
miniserve: 0.14.0 -> 0.15.0
...
https://github.com/svenstaro/miniserve/blob/master/CHANGELOG.md#0150---2021-08-27
2021-08-27 19:11:47 +10:00
zowoq
faab9ed66b
miniserve: 0.13.0 -> 0.14.0
...
https://github.com/svenstaro/miniserve/releases/tag/v0.14.0
2021-04-18 20:10:14 +10:00
zowoq
c4fbc272a7
miniserve: 0.12.1 -> 0.13.0
...
https://github.com/svenstaro/miniserve/releases/tag/v0.13.0
2021-03-29 17:25:54 +10:00
R. RyanTM
cb231de72b
miniserve: 0.12.0 -> 0.12.1
2021-03-28 05:58:12 +10:00
zowoq
9832a6fa5f
miniserve: 0.11.0 -> 0.12.0
...
https://github.com/svenstaro/miniserve/releases/tag/v0.12.0
2021-03-21 16:06:49 +10:00
zowoq
77a087facc
miniserve: 0.10.4 -> 0.11.0
...
https://github.com/svenstaro/miniserve/releases/tag/v0.11.0
2021-02-28 14:31:10 +10:00
Ben Siraphob
8c5d37129f
pkgs/tools: stdenv.lib -> lib
2021-01-15 17:12:36 +07: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
zowoq
ef5cb37c30
miniserve: 0.10.3 -> 0.10.4
...
https://github.com/svenstaro/miniserve/releases/tag/v0.10.4
2021-01-05 17:46:36 +10:00
zowoq
56172cf2c1
miniserve: 0.10.1 -> 0.10.3
2020-11-09 12:49:00 +10:00
zowoq
145be29085
miniserve: 0.10.0 -> 0.10.1
...
https://github.com/svenstaro/miniserve/releases/tag/v0.10.1
2020-11-09 11:15:52 +10:00
zowoq
0ed762c4a9
miniserve: drop darwin workaround
2020-10-22 11:24:37 +10:00
Tim Steinbach
e0aa9513d4
miniserve: Remove maintainer nequissimus
2020-10-08 11:00:16 -04:00
zowoq
855ca3b8dd
miniserve: fix darwin build
2020-10-04 09:19:31 +10:00
zowoq
6dca3575f8
miniserve: 0.9.0 -> 0.10.0
...
https://github.com/svenstaro/miniserve/releases/tag/v0.10.0
2020-10-02 23:56:07 +10:00
zowoq
f9666eb863
miniserve: 0.8.0 -> 0.9.0
...
https://github.com/svenstaro/miniserve/releases/tag/v0.9.0
2020-09-24 07:31:40 +10:00
zowoq
81328ea94e
miniserve: 0.7.0 -> 0.8.0
...
https://github.com/svenstaro/miniserve/blob/master/CHANGELOG.md#080---2020-07-22
2020-07-26 17:09:42 +10:00
zowoq
f13cb53452
miniserve: add maintainer
2020-06-08 13:25:11 +10:00
zowoq
8fc9d7fe6a
miniserve: 0.6.0 -> 0.7.0
...
https://github.com/svenstaro/miniserve/blob/master/CHANGELOG.md#070---2020-05-14
2020-05-15 10:08:48 +10:00
zowoq
1a3d41d412
miniserve: build on darwin ( #85187 )
2020-04-14 00:43:26 -04:00
Vladyslav M
9d8580fe4c
miniserve: 0.5.0 -> 0.6.0
2020-03-14 18:08:10 +00:00