Commit Graph

60 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Anderson Torres
ecaa6df062 higan: 115-unstable-2024-02-17 -> 115-unstable-2024-09-04 2024-12-09 20:05:50 -03:00
Anderson Torres
ef169558cd higan: refactor
- nixfmt-rfc-style
2024-12-09 20:05:50 -03:00
Anderson Torres
6a1c2b2dba higan: remove darwin references
Since `apple-sdk` is included by default on Darwin stdenv.
2024-12-09 20:05:50 -03:00
Aleksana
a616046311
hiddify-app: 2.5.7-unstable-2024-10-30 -> 2.5.7-unstable-2024-11-18 (#360605) 2024-12-05 19:33:51 +08:00
aucub
39de3af3b1 hiddify-app: 2.5.7-unstable-2024-10-30 -> 2.5.7-unstable-2024-11-18 2024-12-05 15:56:37 +08:00
R. Ryantm
b9829aec83 highfive-mpi: 2.10.0 -> 2.10.1 2024-12-04 20:37:10 +00:00
Weijia Wang
2a3d58a2ad
highs: 1.8.0 -> 1.8.1 (#360451) 2024-12-04 10:54:36 +01:00
DSeeLP
f5267ad9e8 hickory-dns: 0.25.0-alpha.3 -> 0.25.0-alpha.4
https://github.com/hickory-dns/hickory-dns/releases/tag/v0.25.0-alpha.4
2024-12-01 08:19:30 +01:00
R. Ryantm
44c7083746 highs: 1.8.0 -> 1.8.1 2024-11-30 13:55:46 +00:00
R. Ryantm
a149b3de32 hishtory: 0.304 -> 0.318 2024-11-24 15:02:52 +00:00
Masum Reza
76e7cb3fac
rustPlatform.fetchCargoVendor: init (#349360) 2024-11-16 09:30:53 +05:30
TomaSajt
bbda9b4352
hieroglypic: migrate to new fetcher 2024-11-15 13:09:17 +01:00
Peder Bergebakken Sundt
c365c90ec5
hifile: 0.9.9.13 -> 0.9.9.15, add update script; maintainers/ymstnt: update name (#348540) 2024-11-14 01:48:40 +01:00
Adam C. Stephens
e3d5090392
hickory-dns: 0.25.0-alpha.2 -> 0.25.0-alpha.3 (#354793) 2024-11-09 19:33:16 -05:00
Adam Stephens
312ce1b65c
hickory-dns: 0.25.0-alpha.2 -> 0.25.0-alpha.3
https://github.com/hickory-dns/hickory-dns/releases/tag/v0.25.0-alpha.3
2024-11-09 10:17:25 -05:00
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
Colin
6568cbf7f0
hickory-dns: 0.24.0 -> 0.25.0-alpha.2 (#353977) 2024-11-08 08:05:30 +00:00
wxt
28623f8163
hickory-dns: 0.24.0 -> 0.25.0-alpha.2 2024-11-06 17:18:02 +08:00
wxt
319f3c98a7
hickory-dns: add passthru.updateScript 2024-11-06 17:08:24 +08:00
wxt
82dc05c26d
hickory-dns: nixfmt 2024-11-06 17:07:39 +08:00
TomaSajt
3d7142eb1f
hieroglyphic: remove stuff already included by apple-sdk 2024-10-31 21:12:40 +01:00
dr56ekgbb
03cb16eb2e hiddify-app: init at 2.5.7-unstable-2024-10-30 2024-10-30 19:49:35 +08:00
YMSTNT
3ff2adbb80 hifile: add update script 2024-10-24 16:45:43 +02:00
YMSTNT
13f2e60293 hifile: 0.9.9.13 -> 0.9.9.15 2024-10-24 16:45:31 +02:00
R. Ryantm
08c4968a3d highs: 1.7.2 -> 1.8.0 2024-10-18 06:37:08 +00:00
h7x4
8f55b011e0
treewide: add meta.changelog (#346488)
* guix: add meta.changelog

* zile: add meta.changelog

* zoom: add meta.changelog

* zotify: add meta.changelog

* zpaqfranz: add meta.changelog

* zunit: add meta.changelog

* zxwing-cpp: add meta.changelog

* zxpy: add meta.changelog

* zydis: add meta.changelog

* zziplib: add meta.changelog

* j: add meta.changelog

* kyua: add meta.changelog

* json2ts: add meta.changelog

* igir: add meta.changelog

* ios-webkit-debug-proxy: add meta.changelog

* gpaste: add meta.changelog

* polkit_gnome: add meta.changelog

* papers: add meta.changelog

* libmsgraph: add meta.changelog

* quadrapassel: add meta.changelog

* gnome-nibbles: add meta.changelog

* decibels: add meta.changelog

* libgedit-amtk: add meta.changelog

* simple-scan: add meta.changelog

* gnome-klotski: add meta.changelog

* gnome-sound-recorder: add meta.changelog

* gnome-remote-desktop: add meta.changelog

* gnome-robots: add meta.changelog

* gnome-shell-extensions: add meta.changelog

* gnome-panel: add meta.changelog

* gnome-session: add meta.changelog

* gnome-keyring: add meta.changelog

* devhelp: add meta.changelog

* libgnome-keyring: add meta.changelog

* ghex: add meta.changelog

* gnome-connections: add meta.changelog

* lightsoff: add meta.changelog

* gnome-flashback: add meta.changelog

* livi: add meta.changelog

* mutter: add meta.changelog

* hitori: add meta.changelog

* gnome-initial-setup: add meta.changelog

* gnome-bluetooth: add meta.changelog

* gnome-shell: add meta.changelog

* gnome-sudoku: add meta.changelog

* ideamaker: add meta.changelog

* i2p: add meta.changelog

* lms: add meta.changelog

* adwaita-icon-theme: add meta.changelog

* gnome-applets: add meta.changelog

* flac123: add meta.changelog

* flaca: add meta.changelog

* flameshot: add meta.changelog

* flaresolverr: add meta.changelog

* a52dec: add meta.changelog

* hexbinhex: add meta.changelog

* dwl: add meta.changelog

* msolve: add meta.changelog

* jcli: add meta.changelog

* nmap: add meta.changelog

* nmapsi4: add meta.changelog

* labctl: add meta.changelog

* _1oom: add meta.changelog

* libipuz: add meta.changelog

* metacity: add meta.changelog

* sushi: add meta.changelog

* rygel: add meta.changelog

* zenity: add meta.changelog

* crosswords: add meta.changelog

* gnome-mahjongg: add meta.changelog

* alacarte: add meta.changelog

* loupe: add meta.changelog

* cheese: add meta.changelog

* atomix: add meta.changelog

* swell-foop: add meta.changelog

* alfis: add meta.changelog

* aperture: add meta.changelog

* atomic-swap: add meta.changelog

* besu: add meta.changelog

* bisq: add meta.changelog

* bitcoin-abc: add meta.changelog

* bitcoin-knots: add meta.changelog

* bitcd: add meta.changelog

* btcdeb: add meta.changelog

* btcpayserver: add meta.changelog

* 86box: add meta.changelog

* darling: add meta.changelog

* dosbox: add meta.changelog

* firebird-emu: add meta.changelog

* maiko: add meta.changelog

* accerciser: add meta.changelog

* adwaita-icon-theme-legacy: add meta.changelog

* dconf-editor: add meta.changelog

* eog: add meta.changelog

* evolution-data-server: add meta.changelog

* file-roller: add meta.changelog

* four-in-a-row: add meta.changelog

* gdm: add meta.changelog

* geary: add meta.changelog

* gitg: add meta.changelog

* gnome2048: add meta.changelog

* gnome-backgrounds: add meta.changelog

* gnome-text-editor: add meta.changelog

* gnome-tour: add meta.changelog

* gnome-user-share: add meta.changelog

* gxml: add meta.changelog

* tali: add meta.changelog

* totem: add meta.changelog

* mobile-broadband-provider-info: add meta.changelog

* avr: add meta.changelog

* brev-cli: add meta.changelog

* juce: add meta.changelog

* loc: add meta.changelog

* resholve: add meta.changelog

* rpiboot: add meta.changelog

* gerbera: add meta.changelog

* kdocker: add meta.changelog

* pmenu: add meta.changelog

* advancecomp: add meta.changelog

* adriconf: add meta.changelog

* interception-tools: add meta.changelog

* nabi: add meta.changelog

* gorilla-cli: add meta.changelog

* heygpt: add meta.changelog

* 6tunnel: add meta.changelog

* aria2: add meta.changelog

* logmein-hamachi: add meta.changelog

* maphosts: add meta.changelog

* qcal: add meta.changelog

* adreaper: add meta.changelog

* aflplusplus: add meta.changelog

* aide: add meta.changelog

* cameradar: add meta.changelog

* wpscan: add meta.changelog

* aha: add meta.changelog

* xcat: add meta.changelog
2024-10-04 22:35:12 +03: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
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
Jan Tojnar
b8f3c78021
Merge pull request #333917 from jtojnar/gnome-top-level
gnome: Move more packages to top-level
2024-08-24 01:43:31 +02:00
Jan Tojnar
8c4f0fc73e hitori: Move from gnome scope to top-level 2024-08-12 00:29:06 +02:00
Colin
f9df9508f4 hickory-dns: rename from trust-dns 2024-08-11 07:59:32 +00:00
Julius Michaelis
87e574e110 treewide: rewrite some uses of hostPlatform == buildPlatform to canExecute
This rewrites uses of

stdenv.hostPlatform == stdenv.buildPlatform

to

stdenv.buildPlatform.canExecute stdenv.hostPlatform

when guarding postInstall scripts that use $out/bin/… to generate shell completions
2024-08-04 10:50:48 +09:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
aleksana
1862813d11 treewide: convert cargoSha256 to cargoHash
This is done with the following bash script:

```
#!/usr/bin/env bash
process_line() {
    local filename=${1%:}
    if [[ $4 =~ \"(.*)\"\; ]]; then
      local sha256="${BASH_REMATCH[1]}"
    fi
    [[ -z $sha256 ]] && return 0
    local hash=$(nix hash to-sri --type sha256 $sha256)
    echo "Processing: $filename"
    echo "  $sha256 => $hash"
    sed -i "s|cargoSha256 = \"$sha256\"|cargoHash = \"$hash\"|"
$filename
}

# split output by line
grep -r 'cargoSha256 = ' . | while IFS= read -r line; do
    # split them further by space
    read -r -a parts <<< "$line"
    process_line "${parts[@]}"
done

```
2024-07-03 21:54:10 +08:00
Nick Cao
c3e5bd3cc3
Merge pull request #323922 from r-ryantm/auto-update/highs
highs: 1.7.1 -> 1.7.2
2024-07-02 16:32:12 -04:00
fly
d332243360 maintainers: remove nayala
Signed-off-by: fly <merspieler@alwaysdata.net>
2024-07-02 14:07:53 +02:00
R. Ryantm
65f7019e4f highs: 1.7.1 -> 1.7.2 2024-07-02 01:29:11 +00:00
YMSTNT
18e68bffae hifile: 0.9.9.12 -> 0.9.9.13
https://www.hifile.app/changelog
2024-06-21 20:53:40 +02:00
R. Ryantm
8370411eea highs: 1.7.0 -> 1.7.1 2024-06-11 14:14:41 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Pol Dellaiera
2d714285a5
Merge pull request #312321 from DCsunset/highlight-pointer-init
highlight-pointer: init at 1.1.3
2024-06-04 17:54:20 +02:00
DCsunset
f5bef14d31 highlight-pointer: init at 1.1.3 2024-06-02 10:00:23 -04:00
Nick Cao
b4c5757e84
Merge pull request #314960 from YMSTNT/update-hifile
hifile: 0.9.9.11 -> 0.9.9.12
2024-05-27 10:47:16 -04:00
YMSTNT
37eb521827 hifile: 0.9.9.11 -> 0.9.9.12
https://www.hifile.app/changelog
2024-05-27 00:33:31 +02:00
Dawid Dziurla
b18b35e105
hieroglyphic: 1.0.1 -> 1.1.0 2024-05-23 20:25:39 +02:00
TomaSajt
a2bd19b1d4
hieroglypic: fix darwin build 2024-05-05 19:47:59 +02:00
TomaSajt
defd278422
hieroglyphic: init at 1.0.1 2024-05-02 23:43:28 +02:00
Peder Bergebakken Sundt
985aa8174d treewide: unbreak appimageTools.wrapType2 builds
`appimageTools.wrapType2` no longer creates a binary `$out/bin/${name}` if `pname` and `version` is provided.
Derivations that have worked around this behavior with a `mv $out/bin/{${name},${pname}}` broke as a result.
This should fix most instances.

contex: #271071
2024-04-24 15:26:52 +02:00