227 Commits
Author SHA1 Message Date
JoandGitHub 134518cebe treewide: avoid using singleton lists for licenses (#535754) 2026-07-15 18:25:37 +00:00
Eman Resu ff094f60ad treewide: replace more singleton license lists 2026-07-15 14:04:39 -04:00
Emily fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
David Wronek 66b694f83e wine: add option for smartcard support
Signed-off-by: David Wronek <david.wronek@mainlining.org>
2026-07-05 20:36:14 +02:00
R. Ryantm 4cfe3ba2c3 wine-staging: 11.9 -> 11.12 2026-06-30 06:06:26 +00:00
Gaétan LepageandGitHub df58ad8106 wine-staging: 11.8 -> 11.9 (#521264) 2026-05-28 14:07:34 +00:00
Sigmanificient 0bbc8dffae treewide: set meta.license on hooks 2026-05-25 13:48:20 +02:00
R. Ryantm 8f5d7b0988 wine-staging: 11.8 -> 11.9 2026-05-17 11:41:57 +00:00
eveeifyeve a218ed93e4 wine: use installFonts hook 2026-05-12 15:24:31 +10:00
liberodark 88dc2a2cf3 wine-staging: 11.7 -> 11.8 2026-05-08 16:40:08 +02:00
7c6f434candGitHub b8a03f559a wine{64, Wow}Packages.*: add aarch64 support (#515625) 2026-05-07 07:39:00 +00:00
7c6f434candGitHub cef44accc9 wine-staging: 11.6 -> 11.7 (#512145) 2026-05-06 06:43:07 +00:00
liberodark 194b54cf4c wine: add aarch64 support 2026-05-02 22:54:48 +02:00
R. Ryantm 684fdce34e wine-staging: 11.6 -> 11.7 2026-04-21 14:28:32 +00:00
nixpkgs-ci[bot]andGitHub a72eb26222 Merge master into staging-next 2026-04-14 00:32:41 +00:00
R. Ryantm b139eab700 wine-staging: 11.5 -> 11.6 2026-04-13 13:14:55 +00:00
nixpkgs-ci[bot]andGitHub dd1e2edc2f Merge staging-next into staging 2026-03-31 12:20:24 +00:00
R. Ryantm ca5631ef75 wine-staging: 11.1 -> 11.5 2026-03-27 19:41:54 +00:00
nixpkgs-ci[bot]andGitHub 6554ffb2e0 Merge staging-next into staging 2026-03-22 06:18:41 +00:00
Philip TaronandGitHub cc39ca56a1 treewide: eliminate unnecessary __curPos usage in nixpkgs (#491160) 2026-03-22 05:37:19 +00:00
Philip Taron ec813775ca wine: hardcode sources_file path in update script
Replace `__curPos.file` with a hardcoded path. The update script
already assumes it runs from the nixpkgs root (via `import ./. {}`),
so the path is stable.
2026-03-19 11:45:37 -07:00
sternenseemannandGitHub b1f31b6634 haskellPackages: stackage LTS 24.29 -> LTS 24.32 (#493468) 2026-03-12 22:32:27 +00:00
quantenzitrone 2226596501 unixodbc: refactor and rename from unixODBC
rename to lowercase to fit package naming conventions
2026-02-27 10:52:14 +01:00
Michael Daniels 031b5938e7 Merge commit '2d52ed7a3277b3d2c5308322e2b140dfdc8ffd54' into haskell-updates 2026-02-22 20:21:59 -05:00
Gergő GutyinaandGitHub 0c1f517e7a various: use finalAttrs instead of rec, part 1 (#489110) 2026-02-21 12:32:25 +00:00
sternenseemann bae984db2d Merge branch staging-next into haskell-updates 2026-02-19 11:45:24 +01:00
Aliaksandr 3f26693a02 various: use finalAttrs instead of rec 2026-02-18 04:21:56 +02:00
Alexandre Esteves a4e653d56f wine: accept device paths when loading DLLs
Fixes error:
  addLibrarySearchPath: \\?\Z:\nix\store\... (Win32 error 87): Invalid parameter.
2026-02-10 20:14:25 +00:00
John Ericson 5c02baae7a wine: Inline supportFlags in base.nix
I would like to get rid of `default.nix` entirely, but doing so involves
some back-compat issues. This seems like it might be the last change I
can make before those back-compat issues become unavoidable?
2026-02-09 11:54:16 -05:00
hideyosh1 2f293e1fe3 wine: move packages that depend on "wine64" binary to require "wine"
according to upstream: "The wine64 loader binary is removed, in favor of
a single wine loader that selects the correct mode based on the binary
being executed. For binaries that have both 32-bit and 64-bit versions
installed, it defaults to 64-bit. The 32-bit version can then be
launched with an explicit path, e.g. wine
c:\\windows\\syswow64\\notepad.exe.",

I have changed all the references to the wine64 binary to only need the
wine binary -- tentative.
2026-02-07 17:03:12 -06:00
hideyosh1 4853fd1eb6 wine-staging: 10.20->11.1 2026-02-07 13:40:07 -06:00
hideyosh1 b84ad96a14 wine: 10.0->11.0 2026-02-07 13:40:07 -06:00
AnthonyandGitHub 0440181da6 winetricks: 20250102 -> 20260125 (#484159) 2026-02-06 20:02:15 +00:00
John Ericson 1fe3462276 wine: Make base.nix and package.nix not know about wineRelease
`wineRelease` is a higher-level "policy argument" --- it makes sense
that there are different versions/variations of wine being built, and
those have names. But conversely, it is far for clear what sort of
concrete changes these flags actually effect in the package recipe.

It turns out, the answer for the lower-level `base.nix` is: "not that
much". So it is better to just replace this flag with lower-level knobs
that "just do one thing", and are not choosing from within some
underspecified set of variations (freeform string is misleading).

We move the "policy choice" logic to `default.nix`, despite the fact
that we want to get rid of that indirection longer term (`base.nix`,
`packages.nix`, and `wine-packages.nix` are surely enough already!) this
is because by doing so, we keep back compat (while still doing our
cleanup), allowing this cleanup commit to also be backported.

Finally, we do the `-std=gnu17` forcing for yabridge with
`overrideAttrs` as its a temp hack anyways, and not really worth a
permenant flag.
2026-02-06 10:26:23 -05:00
John Ericson 85ed8a0cf1 wine: Get rid of unnecessary eta expansion in default.nix
No point making a function just to call it with a single (tiny) argument
just once!
2026-02-05 16:17:11 -05:00
John EricsonandArtemis Tosini ccf48cf16b wine: Get rid of overcomplicated overrride dance in default.nix
The new logic is much easier to read, and (I hope!) better documented.

As an added bonus, replace with the `with src` with a more targeted `let
inherit`.
2026-02-05 14:37:23 -05:00
John Ericson 7136764d0f wine: Inline staging.nix and util.nix
Re `staging.nix`: It wasn't carrying its weight, and it interacted with
`base.nix` vs `default.nix` in bad ways.

Re `util.nix`: Once `staging.nix` is gone, `util.nix` is only used in
one file, and only one definition of it is used. Move that binding to
`base.nix`, and delete the rest.
2026-02-05 13:26:05 -05:00
hideyosh1 cfcd72b91e winetricks: add versionCheckHook
also add postInstall to replace PATH hacks
2026-02-01 13:30:06 -06:00
hideyosh1 a2b61e7e03 winetricks: add unrar-free dependency
winetricks: add unrar-free dependency
2026-02-01 13:28:23 -06:00
hideyosh1 88e1287a99 winetricks: 20250102 -> 20260125 2026-01-26 15:30:53 -06:00
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
quantenzitrone c7c77c1aee treewide: remove all uses of 'with xorg;' in pkgs
this shouldn't create any rebuilds

this was done manually by grepping for `with xorg` and `with pkgs.xorg`
2026-01-25 22:26:00 +01:00
Austin HorstmanandGitHub 5f3cf20c15 wine-staging: 10.19 -> 10.20 (#476095) 2026-01-09 21:46:02 +00:00
Yuxuan Shui 1d73fd16de yabridge: fix build with gcc15
Fixes #476178
2026-01-03 01:48:21 +00:00
Ryan Omasta d2d3ccbb6c wine-staging: 10.19 -> 10.20 2026-01-01 18:31:28 -07:00
Rick van SchijndelandGitHub 955e274e0d wine: prepare for structuredAttrs (#474313) 2025-12-30 19:28:59 +00:00
Stefan Frijters 36b1cf2fad wine: prepare for structuredAttrs 2025-12-26 12:10:53 +01:00
aleksana feb165758f wine: fix build with gcc 15
This does not fix yabridge. As it's wine9, it probably requires around
10 patches to compile with gcc 15.
2025-12-25 00:59:26 +08:00
nixpkgs-ci[bot]andGitHub 9d2c4f809f Merge staging-next into staging 2025-11-17 10:56:09 +00:00
John Chadwick 33ae8c3ce4 wine: fix missing runpath entries 2025-11-15 16:32:33 -05:00