| Commit message (Expand) | Author | Age | Files | Lines |
| * | treewide: conform descriptions to the standards | mivorasu | 2025-07-22 | 1 | -1/+1 |
| * | treewide: strip trailing punctuation from description strings | mivorasu | 2025-07-22 | 1 | -1/+1 |
| * | treewide: remove usage of deprecated apple_sdk framework stubs•••They are not doing anything right now. This is in preparation for their
complete removal from the tree.
Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.
Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
| Ihar Hrachyshka | 2025-04-19 | 1 | -4/+0 |
| * | treewide: replace substituteAll with replaceVars | Wolfgang Walther | 2025-02-10 | 1 | -3/+2 |
| * | treewide: format all inactive Nix files•••After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
--argstr baseRev 57b193d8ddeaf4f5219d2bae1d23b081e4906e57
result/bin/apply-formatting $NIXPKGS_PATH
| Silvan Mosberger | 2024-12-10 | 1 | -6/+14 |
| * | 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 |
| * | pkgs/development: remove unused arguments | Sigmanificient | 2024-08-03 | 1 | -1/+1 |
| * | lua51Packages.nfd: feat added postInstallCheck for test•••lua51Packages.nfd: cleanup duplicate line
lua51Packages.nfd: cleanup useless undefined hooks
lua51Packages.nfd: squashed commits
lua51Packages.nfd: change to generic buster
| Petingoso | 2024-05-09 | 1 | -3/+9 |
| * | lua51Packages.nfd: fix module not loading•••As this (issue)[https://github.com/NixOS/nixpkgs/issues/295022] complains, it wasn't
finding symbols properly.
I traced it to the (migration)[https://github.com/NixOS/nixpkgs/pull/288669] from buildLuarocksPackage.extraVariables to
buildLuarocksPackage.luarocksConfig.variables where someone forgot to
add .variables.
It now launches the dialogue properly.
| Petingoso | 2024-05-09 | 1 | -1/+1 |
| * | buildLuarocksPackage: accept structured luarocks config•••There is an arbitrary mapping being done right now between
nixpkgs lua infrastructre and luarocks config schema.
This is confusing if you use lua so let's make it possible to use the
lua names in the nixpkgs, thanks to the lib.generators.toLua convertor.
The only nixpkgs thing to remember should be to put the config into `luarocksConfig`
`buildLuarocksPackage.extraVariables` should become `buildLuarocksPackage.luarocksConfig.variables`
| Matthieu Coudron | 2024-02-17 | 1 | -1/+1 |
| * | buildLuarocksPackage: remove rockspecDir (#288036)•••it was used only once and complexifies the buildLuarocksPackage function uselessly.
because buildLuarocksPackage accepts ... args, it wont trigger eval failures but this may break out of tree packages where the build can't find the rockspec anymore. Specify the path via `knownRockspec` if that's the case. | Matthieu Coudron | 2024-02-11 | 1 | -3/+2 |
| * | luaPackages.nfd: fix build on darwin | Travis A. Everett | 2022-12-09 | 1 | -2/+4 |
| * | lua-packages: try splicing | Artturin | 2022-08-26 | 1 | -3/+3 |
| * | luaPackages.nfd: init at scm-1 | Spencer Pogorzelski | 2022-08-10 | 2 | -0/+88 |