Commit Graph

21 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
Ryan Yin
43ccd1d4e5 maintainers: add ryan4yin 2024-10-24 14:24:31 +08:00
Alyssa Ross
4a29ed175a bcachefs-tools: 1.11.0 -> 1.13.0 2024-10-11 12:16:49 +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
John Titor
fc851ed483
bcachefs-tools: remove johnrtitor as maintainer
I have moved to ext4 LVM to look for stability.
After constant breaking changes for the past 6 months, even in mid rc kernel, and with each kernel update requiring fscks (and data corruption), I have decided to give in. Due to me no longer using bcachefs, I don't think I can be a maintainer of this.

I am still willing to merge non-complex updates and such if necesary, but keep in mind that I can not test them.
2024-09-16 00:01:18 +05:30
Ryan Yin
fb27fe2102 python3Packages.bcc: init at 0.31.0 2024-09-04 17:30:57 +08:00
Masum Reza
adb49b6cbf
Merge pull request #335954 from reedriley/bcachefs-tools
bcachefs-tools: 1.9.4 -> 1.11.0
2024-08-20 18:50:19 +05:30
Reed Riley
0f1ab3b9a7 bcachefs-tools: 1.9.4 -> 1.11.0 2024-08-19 17:44:04 -07:00
R. Ryantm
4cd87f9ba9 bcc: 0.30.0 -> 0.31.0 2024-08-08 06:41:47 +00:00
R. Ryantm
4ff96312ba bcachefs-tools: 1.9.3 -> 1.9.4 2024-07-19 12:38:03 +00:00
John Titor
989666769f
bcachefs-tools: add version-test and mainProgram
and more cleanup
2024-07-18 22:08:23 +05:30
aktaboot
6caafcba3b
bcachefs-tools: add fish,bash,zsh completions 2024-07-18 21:36:15 +05:30
Reed Riley
8166a4cc8b bcachefs-tools: 1.9.2 -> 1.9.3 2024-07-15 15:12:10 -07:00
John Titor
fbe749d237
bcachefs-tools: 1.7.0-unstable-2024-05-09 -> 1.9.2
remove already merged upstream patches
2024-06-29 23:33:48 +05:30
Artturin
4b0b8ae5c3 bcachefs-tools: Fix cross
The substitute would be good to transfer upstream but I don't know of a
way to do it in the makefile
2024-06-25 22:39:23 +03:00
John Titor
4f1739c86a bcachefs-tools: replace -> replace-fail 2024-05-26 10:43:01 +02:00
John Titor
beb7b9b0dc bcachefs-tools: 1.7.0 -> 1.7.0-unstable-2024-05-09
Moved temporarily to unstable to fix https://github.com/NixOS/nixpkgs/issues/313350

Also vendor the updated patch for https://github.com/NixOS/nixpkgs/issues/309388
from https://github.com/koverstreet/bcachefs-tools/pull/263
2024-05-26 10:43:01 +02:00
John Titor
33bfd9f34a bcachefs-tools: move to pkgs/by-name 2024-05-26 10:43:01 +02:00
Dominique Martinet
c87348b2c1 bcc/bpftrace: add missing platforms=linux
bcc and bpftrace depend on bpf which is linux-specific
2024-05-14 14:38:09 +09:00
Dominique Martinet
e9531dec25 bcc: migrate to by-name
The package is left in all-packages to allow setting llvmPackages more
easily
2024-05-12 19:05:44 +09:00
nat
96937447e7
bc-ur: init at 0.3.0 2023-12-17 20:28:59 +01:00