Commit Graph

1322 Commits

Author SHA1 Message Date
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Noa Aarts
c06fa3b4a9
abracadabra: move to by-name 2024-11-02 21:13:21 +01:00
Noa Aarts
bf8dff7456
abracadabra: 2.6.0 -> 2.7.0 2024-11-02 21:10:50 +01:00
Weijia Wang
2b0f9eea5d
qlog: 0.38.0 -> 0.39.0 (#346683) 2024-11-01 19:34:40 +01:00
Weijia Wang
9c41e0e0a5
flamp: 2.2.12 -> 2.2.14 (#349374) 2024-11-01 14:22:43 +01:00
Weijia Wang
832fa3bb0e
fldigi: 4.2.05 -> 4.2.06 (#348524) 2024-11-01 13:21:48 +01:00
Johannes Jöns
369d626c4b
uhd: 4.6.0.0 -> 4.7.0.0 (#349079) 2024-10-31 15:47:18 +01:00
R. Ryantm
596a1e1192 rtl_433: 23.11 -> 24.10 2024-10-30 16:14:38 +00:00
Aleksana
62dc8956ff
sdrangel: 7.22.1 -> 7.22.2, build with qt6 (#350477) 2024-10-29 18:21:01 +08:00
Robert James Hernandez
e207c5df2f pat: move to pkg/by-name 2024-10-26 18:55:55 +00:00
Tungsten842
d00042a660 sdrangel: 7.22.1 -> 7.22.2, build with qt6 2024-10-23 11:55:02 +02:00
piegames
68927918d0 treewide: Fix indentation in strings
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where the resulting string has not the intended indentation.
This commit fixes most if not all such instances in Nixpkgs.

I tried to strive a balance between keeping the diff small and
reformatting/refactoring the code to look better. In general,
reformatting should be left to Nixfmt.

Note that this causes a lot of rebuilds by design. All changes need to
be thoroughly vetted and reviewed for correctness. There is no automatic
way to prove correctness.

List of files to fix generated by running
https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the
warnings.
2024-10-22 21:36:42 +02:00
Doron Behar
331482ee1a gnuradio3_8: disable all tests 2024-10-19 21:52:57 +03:00
Doron Behar
9a49b084ac gnuradio3_8: use older swig to fix build 2024-10-19 21:52:57 +03:00
Doron Behar
47625767fe gnuradio3_8: fix build by using qwt6_1 2024-10-19 21:47:58 +03:00
Steven Kou
1af589bc44 uhd: 4.6.0.0 -> 4.7.0.0 2024-10-19 21:47:58 +03:00
Artturin
8db7ec892e
xlog: 2.0.24 -> 2.0.25 (#348200) 2024-10-19 05:48:26 +03:00
R. Ryantm
2fdcc013e9 flamp: 2.2.12 -> 2.2.14 2024-10-17 21:17:30 +00:00
R. Ryantm
a7bdae214c fldigi: 4.2.05 -> 4.2.06 2024-10-14 12:26:36 +00:00
OTABI Tomoya
51e874f773
sdrangel: 7.22.0 -> 7.22.1 (#346895) 2024-10-14 20:04:52 +09:00
R. Ryantm
f294f05bd9 xlog: 2.0.24 -> 2.0.25 2024-10-13 06:40:54 +00:00
Christian Kögler
162ee4189c
welle-io: 2.4 -> 2.5 (#347999) 2024-10-12 07:04:10 +02:00
Markus Kowalewski
aa15d45adf
welle-io: remove nested "with lib" in meta. 2024-10-11 23:44:20 +02:00
Markus Kowalewski
c307ae10ca
welle-io: apply nixfmt 2024-10-11 23:41:11 +02:00
Markus Kowalewski
1d95eeb172
welle-io: 2.4 -> 2.5 2024-10-11 22:23:35 +02:00
R. Ryantm
0610af1408 cloudlog: 2.6.15 -> 2.6.16 2024-10-08 00:31:38 +00:00
R. Ryantm
9d5010cded sdrangel: 7.22.0 -> 7.22.1 2024-10-06 14:51:55 +00:00
R. Ryantm
ea37a4bcd7 quisk: 4.2.38 -> 4.2.39 2024-10-05 18:08:35 +00:00
R. Ryantm
d4cb98bd4f qlog: 0.38.0 -> 0.39.0 2024-10-05 14:37:39 +00:00
Markus Kowalewski
086c2c44f1
abracadabra: 2.5.1 -> 2.6.0 (#344713) 2024-09-27 14:44:56 +02:00
Markus Kowalewski
735a134c88
dablin: move to pkgs/by-name 2024-09-26 23:35:04 +02:00
Markus Kowalewski
bd1ce053f2
dablin: apply nixfmt 2024-09-26 23:35:04 +02:00
Markus Kowalewski
3392b91350
dablin: fix "with lib" in meta 2024-09-26 23:34:41 +02:00
Markus Kowalewski
f18347fd07
dablin: fix license 2024-09-26 23:33:47 +02:00
Markus Kowalewski
b86a96d174
abracadabra: apply nixfmt 2024-09-26 20:48:45 +02:00
Markus Kowalewski
1c9263c763
abracadabra: 2.5.1 -> 2.6.0 2024-09-26 20:44:24 +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
Doron Behar
6090dc83d0 sdr-j-fm: use qwt6_1 2024-09-16 16:30:27 +03:00
Markus Kowalewski
ef1ca3fd08
qradiolink: 0.8.11-1 -> 0.9.0-1 (#339774) 2024-09-07 19:58:31 +02:00
R. Ryantm
bd1dbddb95 quisk: 4.2.37 -> 4.2.38 2024-09-05 23:12:32 +00:00
Alyssa Ross
554baf8515
qradiolink: 0.8.11-1 -> 0.9.0-1 2024-09-05 13:19:44 +02:00
Aleksana
eadea83adb
sdrpp: Fix SoapySDR dependency (#334384) 2024-09-03 19:58:32 +08:00
Nick Cao
77f66e46f3
quisk: 4.2.35 -> 4.2.37 (#337059) 2024-09-02 09:59:30 -04:00
Nikolay Korotkiy
6ddbfadefc
chirp: migrate to by-name 2024-09-01 23:08:58 +04:00
R. Ryantm
dc4cf9eb9d chirp: 0.4.0-unstable-2024-08-06 -> 0.4.0-unstable-2024-08-31 2024-09-01 07:07:23 +00:00
R. Ryantm
0d5bd8cc65 qlog: 0.37.2 -> 0.38.0 2024-08-29 17:32:59 +00:00
Ben Darwin
5ac1c03ace python311Packages.soapysdr: unpin swig 2024-08-27 00:24:38 -04:00
Emily
e02a25ddb7
swig1, swig2: remove (#336845) 2024-08-26 15:16:02 +01:00
Nick Cao
e98fa26915
Merge pull request #337103 from r-ryantm/auto-update/flex-ncat
flex-ncat: 0.4-20240702 -> 0.4-20240817.1
2024-08-25 09:57:41 -04:00