| Commit message (Expand) | Author | Age | Files | Lines |
| * | treewide: remove superfluous disabled•••There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
| Robert Schütz | 2026-01-11 | 1 | -3/+0 |
| * | treewide: clean up 'meta = with' pattern•••This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
| Ihar Hrachyshka | 2025-12-10 | 1 | -3/+3 |
| * | treewide: migrate fetchgit `rev = "refs/tags/..."` to `tag` | Peder Bergebakken Sundt | 2025-01-04 | 1 | -1/+1 |
| * | treewide: replace passthru.optional-dependencies with optional-dependencies | Robert Schütz | 2024-09-29 | 1 | -1/+1 |
| * | 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"
```
| Artturin | 2024-09-25 | 1 | -1/+1 |
| * | python3Packages: remove unused arguments | Sigmanificient | 2024-07-30 | 1 | -1/+0 |
| * | python3Packages: format with nixfmt | Martin Weinelt | 2024-05-22 | 1 | -27/+18 |
| * | python312Packages.base2048: fix darwin | Fabian Affolter | 2024-01-23 | 1 | -0/+6 |
| * | python311Packages.base2048: init at 0.1.3•••Binary encoding with base-2048 in Python with Rust
https://github.com/ionite34/base2048
| Fabian Affolter | 2024-01-12 | 2 | -0/+561 |