Commit Graph

17 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt
c722b770fe normcap: unbreak darwin 2024-09-27 10:06:25 +02:00
Peder Bergebakken Sundt
a1d785c763 normcap: add desktop entry, drop patching 2024-09-27 09:49:35 +02:00
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
K900
42c4ffb919 treewide: replace xorgserver with xvfb in places where only xvfb is used 2024-06-23 13:59:26 +03:00
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
Peder Bergebakken Sundt
fa685b27e7 normcap: 0.5.7 -> 0.5.8
Diff: https://github.com/dynobo/normcap/compare/refs/tags/v0.5.7...v0.5.8
2024-05-23 22:06:44 +02:00
R. Ryantm
0914e6cb2b normcap: 0.5.6 -> 0.5.7 2024-05-19 10:20:17 +00:00
Peder Bergebakken Sundt
d09f4d94d6 normcap: 0.5.4 -> 0.5.6
Diff: https://github.com/dynobo/normcap/compare/refs/tags/v0.5.4...v0.5.6
2024-05-08 22:15:33 +02:00
Peder Bergebakken Sundt
11333528ce
Merge pull request #308047 from pbsds/fix-replace-fail
treewide: fixes to packages i maintain
2024-05-02 00:05:08 +02:00
Peder Bergebakken Sundt
66c0b7efe3 treewide: propagatedBuildInputs -> dependencies
Migrating the packages I maintain.
2024-04-26 01:13:52 +02:00
Peder Bergebakken Sundt
7151eeec48 treewide: --replace -> --replace-fail
Hardening the packages I maintain.
We use `--replace-fail` in every case except for `python3Packages.remi`, which does a glob `--replace-quiet` to reduce warnings
2024-04-21 21:44:20 +02:00
Peder Bergebakken Sundt
18e3728274 normcap: unbreak by disabling failing tests 2024-04-21 21:33:35 +02:00
Peder Bergebakken Sundt
25c04ecb3d normcap: disable flaky test 2024-02-18 20:08:19 +01:00
Peder Bergebakken Sundt
8b4e08d822 normcap: mark broken on darwin 2024-02-18 19:59:54 +01:00
Peder Bergebakken Sundt
11ec8e40ef normcap: 0.5.2 -> 0.5.4
release: https://github.com/dynobo/normcap/releases/tag/v0.5.4

diff: https://github.com/dynobo/normcap/compare/v0.5.2...v0.5.4
2024-02-18 19:59:53 +01:00
Peder Bergebakken Sundt
d0836910ad normcap: 0.4.4 -> 0.5.2
Diff: https://github.com/dynobo/normcap/compare/refs/tags/v0.4.4...v0.5.2
2024-02-18 19:59:53 +01:00
Peder Bergebakken Sundt
e928afbe8b normcap: refactor, wrap with runtime inputs, enable checks, add maintainer pbsds 2023-12-01 00:17:48 +01:00