Commit Graph

18 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
R. Ryantm
b0e004050c mpc-qt: 23.12 -> 24.06 2024-07-05 10:55:08 +00:00
José Romildo
cccf8b3658 mpc-qt: 23.02 -> 23.12 2024-01-23 13:57:11 -03:00
José Romildo
95f0a9ed4c mpc-qt: add update script 2024-01-14 08:08:42 -03:00
José Romildo
a8a4e0e83b mpc-qt: reformat 2024-01-14 08:05:58 -03:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
R. Ryantm
4b974b5420 mpc-qt: 22.02 -> 23.02 2023-02-16 18:30:38 +00:00
zendo
d1e5ca2014 mpc-qt: 2019-06-09 -> 22.02 2022-05-16 23:11:26 +08: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
Sandro Jäckel
6cbea2d0ee
mpc-qt: Mark broken on darwin 2021-01-07 10:42:07 +01:00
Sandro Jäckel
b48d71446a
mpc-qt: use fetchpatch instead of fetchurl 2020-11-25 18:01:25 +01:00
Sandro Jäckel
7677449d51
mpc-qt: Fix compilation failure due to mpv changes 2020-11-25 13:41:12 +01:00
José Romildo Malaquias
3b8a98d639 mpc-qt: 18.08 -> 2019-06-09
- update to the latest commit in git repository
- use mkDerivation for qt applications
- original repo disappeared from github; use the one from gitlab
2020-04-16 20:30:34 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01: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
R. RyanTM
8e256f6308 mpc-qt: 18.03 -> 18.08 (#44746)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mpc-qt/versions.
2018-08-08 23:34:54 +02:00
Ryan Mulligan
0a20e8edf8 mpc-qt: 17.11 -> 18.03
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 18.03 with grep in /nix/store/b23s2dr5x7zrhp4vgbh8nf2gajp8a44b-mpc-qt-18.03
- directory tree listing: https://gist.github.com/4792f038cb0905bcd3405765bb63b792
2018-03-23 21:02:41 -05:00
José Romildo Malaquias
55e6c81a26 mpc-qt: init at 17.11 2018-03-01 15:17:47 +01:00