Commit Graph

34 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
Felix Buehler
8cbfd35f75 mwprocapture: remove 'with lib;' 2024-08-16 16:09:03 +02:00
Artturin
79aa1b2182 maintainers: retire inactive MP2E
their last commit to nixpkgs was in `2019-02-21`
2024-04-29 02:30:00 +03:00
Martin Wimpress
6c309c37ab
mwprocapture: fix incorrect hash
The mwprocapture 1.3.0.4390 driver has been republished by Magewell without a version change.
2024-04-22 13:14:34 +01:00
Martin Wimpress
3dcf7c5c24
linuxPackages.mwprocapture: 1.3.0.4373 -> 1.3.0.4390 2024-04-09 10:41:52 +01:00
Martin Wimpress
55ee834bea linuxPackages.mwprocapture: 1.3.0.4328 -> 1.3.0.4373 2023-08-12 12:24:51 -07:00
Martin Wimpress
09212d71c1
linuxPackages.mwprocapture: 1.3.0.4236 -> 1.3.0.4328
Version V1.3.0.4236 of mwprocapture (the Linux driver for the Magewell Pro Capture family) FTBFS when building against Linux 6.1 or newer. 

This patch bumps the driver version to 1.3.0.4328 that Magewell published to address this issue. The 1.3.0.4328 release notes state:

> Fix problem: driver installation may fail on an operating system with kernel version 6.1 or 6.2.

pci.patch has also been dropped as that fix is now applied upstream.
2023-03-16 13:05:00 -03:00
Artturin
6b2a05e190 treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE
treewide: move NIX_CFLAGS_COMPILE to the env attrset
2023-02-22 21:23:04 +02:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Artturi
20dcc6920f
Merge pull request #176013 from djahandarie/master
mwprocapture: fix compile on new GCC and new linux kernel
2023-01-16 20:25:07 +02:00
superherointj
3bfb2046fd linuxKernel.packages.linux_5_18.mwprocapture: mark broken 2022-07-23 13:14:11 -03:00
Darius Jahandarie
a871c5996b mwprocapture: fix compile on new GCC and new linux kernel 2022-06-02 18:26:50 -04:00
Artturin
c1fffdfffb treewide: change some glibc to stdenv.cc.libc 2022-05-27 05:57:43 +03:00
Artturin
0c4d65b21e treewide: stdenv.glibc -> glibc 2022-05-25 15:51:20 +03:00
Alyssa Ross
1176525f87 treewide: remove obsolete kernel version checks
We don't support Linux kernels older than 4.4 in Nixpkgs.
2022-02-19 21:09:19 +00:00
Felix Buehler
9480444dae treewide: rename name to pname&version 2021-11-09 22:24:57 +01:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Phil Wetzel
f614ab78d8
mwprocapture: 1.2.4177 -> 1.3.0.4236 (#125110)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-06-06 01:56:23 +02:00
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Phil Wetzel
7b9448665e mwprocapture: 1.2.4054 -> 1.2.4177 2020-06-21 22:34:49 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Cray Elliott
da4484c9a6 mwprocapture: 1.2.3950 -> 1.2.4054 2019-02-21 01:11:09 -08:00
Cray Elliott
d4f5f3a504 mwprocapture: 1.2.3773 -> 1.2.3950 2018-10-09 12:05:38 -07:00
Matthew Bauer
143978a477 treewide: remove platform assertions
linux: readd assertion
2018-05-03 13:09:20 -05:00
Cray Elliott
1d537f8c53 mwprocapture: fix build with kernels >4.14.9 2018-01-01 16:01:44 -08:00
Cray Elliott
ac4a225488 mwprocapture: fix linux 4.14 patch 2017-12-23 22:51:14 -08:00
Cray Elliott
5e38fc024b mwprocapture: 1.2.3589 -> 1.2.3773
also refactor linux 4.14 patch, and remove 4.13 patch as it is upstream
2017-12-23 22:31:10 -08:00
Cray Elliott
3c0c18792d mwprocapture: forgot to include a file 2017-11-13 20:26:24 -08:00
Cray Elliott
7f473fa506 mwprocapture: minor correctness fix to 4.14 patch 2017-11-13 20:21:56 -08:00
Cray Elliott
ce8dea6bdd mwprocapture: patch to fix build for linux 4.14 2017-11-13 19:54:57 -08:00
Cray Elliott
1af75ba802 mwprocapture: fix build with kernels <4.13
also do some minor cleanup
2017-09-03 18:50:09 -07:00
Cray Elliott
deb50bcdc7 mwprocapture: 1.2.0.3269 -> 1.2.0.3589
remove linux 4.11 patch as it was included upstream, include
a new patch needed for linux 4.13
2017-09-03 18:21:48 -07:00
Cray Elliott
cebce78be9 mwprocapture: fix compile on linux 4.11 2017-05-03 00:11:22 -07:00
Cray Elliott
5e0b978eff mwprocapture: init at 1.2.3269 (#22160) 2017-02-18 15:44:31 +01:00