Commit Graph

47 Commits

Author SHA1 Message Date
R. Ryantm
8db7f5701d dgraph: 25.3.8 -> 25.4.0 2026-07-30 18:39:03 +00:00
R. Ryantm
ff78533791 dgraph: 25.3.7 -> 25.3.8 2026-07-09 01:35:04 +00:00
Peder Bergebakken Sundt
b385b32e9c dgraph: 25.3.4 -> 25.3.7 (#536594) 2026-06-30 17:57:52 +00:00
R. Ryantm
f302b00003 dgop: 0.2.2 -> 0.2.3 2026-06-30 08:36:11 +00:00
R. Ryantm
5cc27f046b dgraph: 25.3.4 -> 25.3.7 2026-06-29 09:35:17 +00:00
R. Ryantm
437a3e0ee1 dgraph: 25.3.3 -> 25.3.4 2026-05-28 15:09:08 +00:00
Travis A. Everett
1641b0188d various: switch resholve + rec packages to finalAttrs
These likely would have been switched long ago by various automated
PRs if not for lack of support in resholve.mkDerivation.
2026-05-15 19:46:05 -05:00
LuckShiba
7da09142de dgop: 0.2.0 -> 0.2.2 2026-04-27 00:32:32 -03:00
R. Ryantm
2512819c65 dgraph: 25.3.2 -> 25.3.3 2026-04-22 03:45:16 +00:00
Sarah Clark
aad39cb395 dgraph: 25.3.1 -> 25.3.2
https://github.com/dgraph-io/dgraph/releases/tag/v25.3.2
2026-04-16 09:53:17 -07:00
R. Ryantm
225a55bcfa dgraph: 25.3.0 -> 25.3.1 2026-04-02 00:50:12 +00:00
R. Ryantm
2fe9aa93d2 dgraph: 25.2.0 -> 25.3.0 2026-03-07 11:51:35 +00:00
R. Ryantm
b3df7e4081 dgraph: 25.1.0 -> 25.2.0 2026-02-27 05:51:59 +00:00
quantenzitrone
9380e05c3c various: switch buildGoModule packages to use finalAttrs
this shouldn't create any rebuilds

the following script was used to generate this:
```fish
#!/usr/bin/env fish

# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}

set base (git rev-parse HEAD)

set scope pkgs/by-name
set builder buildGoModule

set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u)

for file in $files
    echo $file
    sd -F "$builder rec {" "$builder (finalAttrs: {" $file
    # version
    sd -F 'version}' 'finalAttrs.version}' $file
    sd -F '${version' '${finalAttrs.version' $file
    sd -F '= version' '= finalAttrs.version' $file
    sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
    sd -F ' + version;' ' + finalAttrs.version;' $file
    sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
    sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
    sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
    sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
    # src
    sd -F 'src}' 'finalAttrs.src}' $file
    sd -F '${src' '${finalAttrs.src' $file
    sd -F '= src' '= finalAttrs.src' $file
    sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
    sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
    # meta
    sd -F '${meta' '${finalAttrs.meta' $file
    sd -F '= meta' '= finalAttrs.meta' $file
    sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
    # other
    sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
    sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
    sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
    sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
    sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
    sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
    sd -F 'libPath}' 'finalAttrs.libPath}' $file
    sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
    sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
    sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
    sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
    sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
    sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
    # pname (restored afterwards)
    sd -F 'pname}' 'finalAttrs.pname}' $file
    sd -F '${pname' '${finalAttrs.pname' $file
    sd -F '= pname' '= finalAttrs.pname' $file
    # close finalAttrs lambda
    echo ')' >>$file
    # catch some errors early
    if ! nixfmt $file
        git restore $file
        continue
    end
    if ! nixf-diagnose -i sema-primop-overridden $file
        git restore $file
        continue
    end
end

set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end

# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore

for file in $files
    # file hasn't changed
    if git diff --quiet $base $file
        continue
    end
    # try to eval the package to definitely catch all errors
    echo $file
    set pname (string split / $file -f 4)
    if ! nix eval .#$pname
        set torestore $torestore $file
    end
end

# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
    git restore $torestore
end
```

after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
2026-02-07 09:28:59 +01:00
Gergő Gutyina
1b9d1caaff various: fix pname misuse in urls (#483962) 2026-02-05 10:12:27 +00:00
quantenzitrone
9c8e96055a various: fix pname misuse in urls 2026-02-05 01:51:59 +01:00
R. Ryantm
9624291ebc dgop: 0.1.13 -> 0.2.0 2026-02-01 03:12:18 +00:00
R. Ryantm
3ec2c7692b dgop: 0.1.12 -> 0.1.13 2026-01-18 11:43:27 +00:00
Anthony
26d5744ee1 dgoss: allow overriding GOSS_PATH (#479563) 2026-01-17 21:28:58 +00:00
Miroslav Vadkerti
01086d4c7e dgoss: allow overriding GOSS_PATH
Allow users to override GOSS_PATH environment variable while
defaulting to the nix-provided goss binary. This is useful in
environments where the real goss binary needs to be volume mounted
into containers instead of the bash wrapper that the goss nix
package provides.

This aligns with upstream dgoss behavior where GOSS_PATH can be set
to specify the goss binary location.
2026-01-13 04:43:41 +01:00
nixpkgs-ci[bot]
f25abdd77e dgraph: 25.0.0 -> 25.1.0 (#471813) 2025-12-17 22:01:32 +00:00
R. Ryantm
230024966f dgraph: 25.0.0 -> 25.1.0 2025-12-17 21:09:28 +00:00
R. Ryantm
f7c6d4fda7 dgop: 0.1.11 -> 0.1.12 2025-12-17 15:22:43 +00:00
LuckShiba
e60e3f9ded teams/danklinux: inherit packages and modules 2025-12-14 03:52:04 -03:00
Ihar Hrachyshka
567e8dfd8e 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>
2025-12-10 18:09:49 +01:00
Marcus Ramberg
9053a25e06 dgop: switch to finalAttrs 2025-12-05 18:08:32 +01:00
LuckShiba
1b2e065a3b dgop: init at 0.1.11 2025-12-03 19:18:00 -03:00
Sarah Clark
5d2af6d429 dgraph: 24.1.4 -> 25.0.0 2025-11-11 15:12:45 -08:00
Sarah Clark
bc6006a0b2 dgraph: add sarahec as maintainer 2025-11-11 15:07:40 -08:00
Sarah Clark
ec7071e847 dgraph: remove 'with lib;' 2025-11-11 15:06:44 -08:00
Wolfgang Walther
c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
R. Ryantm
0c347d3596 dgraph: 24.1.3 -> 24.1.4 2025-08-18 22:19:53 +00:00
liberodark
c6729488de treewide: remove with lib Part 4 2025-06-07 00:48:50 +02:00
R. Ryantm
ce1ce11450 dgraph: 24.1.2 -> 24.1.3 2025-05-26 14:14:12 +00:00
R. Ryantm
5aba3d723a dgraph: 24.1.1 -> 24.1.2 2025-04-09 11:23:25 +00:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
R. Ryantm
443594abf0 dgraph: 24.1.0 -> 24.1.1 2025-03-29 15:14:26 +00:00
R. Ryantm
e049cfc0fb dgraph: 24.0.5 -> 24.1.0 2025-03-06 18:48:20 +00:00
Anderson Torres
cab2a1296e treewide: remove AndersonTorres from maintainers
As I said before, I want to keep a narrow focus on Nixpkgs. Now that I am back
at undergrad, this focus should be even narrower: I will keep my eyes on Emacs,
and nothing else.
2025-02-12 00:36:02 -03:00
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
R. Ryantm
61b63f3c19 dgraph: 24.0.4 -> 24.0.5 2024-11-25 23:13:29 +00: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
Martin Weinelt
eb2009ec57 dgen-sdl: fix darwin build
Disables sdltest, because it times out on hydra.
2024-11-04 05:02:23 +01:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Anthony Roussel
636742652d dgoss: sync with goss 2024-05-29 10:26:55 +02:00
Anthony Roussel
381cfad636 dgoss: move to pkgs/by-name 2024-03-25 18:49:47 +01:00