39 Commits

Author SHA1 Message Date
quantenzitrone 7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
René Neumann c3b80e5f78 maintainers: drop urandom 2026-01-14 15:46:03 +01:00
Guy Chronister 693d7a42d3 various: fix superfluous use of pname 2025-09-23 18:19:55 -05:00
R. Ryantm 9e989bf6b1 netmaker-full: 1.0.0 -> 1.1.0 2025-09-11 14:55:06 +00:00
R. Ryantm b748b34bda netmaker-full: 0.99.0 -> 1.0.0 2025-07-05 07:24:29 +00:00
R. Ryantm d59dedca67 netmaker: 0.90.0 -> 0.99.0 2025-06-16 10:13:31 +00:00
liberodark 51104bca6e treewide: remove with lib Part 1 2025-06-03 18:27:59 +05:30
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 886c08adcc netmaker: 0.30.0 -> 0.90.0 2025-03-25 08:23:34 +00:00
R. Ryantm 2b3bcc2bba netmaker: 0.26.0 -> 0.30.0 2024-12-17 13:49:45 +00: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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
R. Ryantm 7d05609d5b netmaker-full: 0.25.0 -> 0.26.0 2024-11-08 19:42:07 +00:00
R. Ryantm 5cd4859ef5 netmaker-full: 0.24.3 -> 0.25.0 2024-09-09 20:48:33 +02:00
Sigmanificient 2ee703dccb pkgs/applications: remove unused arguments 2024-07-26 11:36:49 +02:00
R. Ryantm 67cdb4b058 netmaker: 0.24.2 -> 0.24.3 2024-07-19 03:40:07 +00:00
R. Ryantm f4a664b4ef netmaker: 0.24.1 -> 0.24.2 2024-06-14 02:33:49 +00:00
R. Ryantm f641233b9b netmaker-full: 0.24.0 -> 0.24.1 2024-05-16 01:28:11 +00:00
R. Ryantm db43ff38d5 netmaker: 0.23.0 -> 0.24.0 2024-04-18 01:59:56 +00:00
R. Ryantm 4bf0f8c391 netmaker-full: 0.21.2 -> 0.23.0 2024-02-29 03:37:23 +00:00
R. Ryantm 5e1281845b netmaker-full: 0.21.1 -> 0.21.2 2023-12-17 06:26:39 +00:00
h7x4 41974d5ed9 treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Yannick Markus 8cf2ea8537 netmaker: change license to Apache 2023-11-20 16:30:39 +01:00
R. Ryantm 85050022f7 netmaker-full: 0.21.0 -> 0.21.1 2023-10-17 14:28:04 +00:00
R. Ryantm 651e743e20 netmaker: 0.20.6 -> 0.21.0 2023-09-12 11:59:06 +00:00
QJoly 4c95c9f31e netmaker: also, add qjoly as maintainer 2023-08-24 12:07:34 +02:00
QJoly 40b403a6f7 netmaker: 0.20.5 -> 0.20.6 2023-08-24 12:06:56 +02:00
R. Ryantm 2f55027df8 netmaker: 0.20.4 -> 0.20.5 2023-08-07 04:47:40 +00:00
R. Ryantm f01a131d16 netmaker-full: 0.20.3 -> 0.20.4 2023-07-23 00:45:14 +00:00
R. Ryantm b23da2b3fe netmaker: 0.20.2 -> 0.20.3 2023-07-08 08:21:16 +00:00
R. Ryantm d593a19150 netmaker-full: 0.20.1 -> 0.20.2 2023-06-24 11:54:52 +00:00
R. Ryantm d46120e097 netmaker: 0.20.0 -> 0.20.1 2023-06-09 12:29:44 +00:00
R. Ryantm 11596df949 netmaker-full: 0.19.0 -> 0.20.0 2023-05-26 05:01:55 +00:00
R. Ryantm daf34dc6e2 netmaker: 0.18.7 -> 0.19.0 2023-05-06 16:50:29 +08:00
R. Ryantm bf39580064 netmaker-full: 0.18.6 -> 0.18.7 2023-04-29 16:54:09 +00:00
R. Ryantm 40a3f85a7b netmaker: 0.18.5 -> 0.18.6 2023-04-20 15:00:56 +00:00
R. Ryantm 87865f3c8d netmaker-full: 0.17.1 -> 0.18.5 2023-04-09 23:54:12 +00:00
Colin Arnott 486132e97c netmaker-full: init at 0.17.1
We got complaints that netclient is not really netmaker. So like other
monorepo packages, we have split out netmaker to contain just the server
binary, and netmaker-full contains everything in the repo.

Updates #207802
2023-01-06 00:15:11 +00:00
Colin Arnott d328e92f3d netmaker: init at 0.17.1
Fixes #207654
2022-12-31 23:24:21 +00:00