Commit Graph

16 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
Tadeo Kondrak
7239208ca6 treewide: remove maintainer tadeokondrak 2024-07-04 15:04:04 -06:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
teutat3s
90d5382750
qMasterPassword.tests: init version test 2023-12-13 18:43:51 +01:00
teutat3s
a025483a41
qMasterPassword: 1.2.4 -> 2.0
https://github.com/bkueng/qMasterPassword/compare/v1.2.4...v2.0

Use Qt6

Add wayland variant which uses no x11 build dependencies and disables
form filling features
2023-12-11 20:15:30 +01:00
teutat3s
4e2b7d7a92
qMasterPassword: back to qt5, qtstyleplugins missing in qt6 2022-11-21 19:53:13 +01:00
teutat3s
e87a760a3c
qMasterPassword: add myself as maintainer 2022-11-07 15:20:50 +01:00
teutat3s
92cfa0563e
qMasterPassword: use qt6 2022-11-07 15:20:20 +01:00
teutat3s
d3e91e9b3d
qMasterPassword: 1.2.3 -> 1.2.4 2022-11-07 15:05:46 +01:00
teutat3s
8682de95b5
qMasterPassword: git master -> 1.2.3 2022-02-09 17:02:25 +01:00
teutat3s
e1aa7d7609
qMasterPassword: 1.2.2 -> git master 2022-01-30 04:12:37 +01: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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Tadeo Kondrak
b5facab048 qMasterPassword: use qt mkDerivation 2019-08-14 15:12:02 +09:00
Dmitry Kalinkin
c53fe37d0e
qMasterPassword: fix on darwin, add meta.longDescription 2019-01-20 14:13:39 -05:00
Tadeo Kondrak
6872731208
qMasterPassword: init at 1.2.2 2019-01-19 17:55:23 -07:00