Commit Graph

17 Commits

Author SHA1 Message Date
Wes Payne
54fba0f92d x32edit, m32edit: fix source URLs after upstream website migration
Resolves #521002.
2026-05-19 21:24:49 -07:00
Aliaksandr
3f26693a02 various: use finalAttrs instead of rec 2026-02-18 04:21:56 +02:00
Sergei Trofimovich
14b42ff886 m32edit.deps.buildCommand: fix the eval
Without the change the eval fails as:

    $ nix eval --impure --expr 'with import ./. {}; m32edit.deps.buildCommand'
    error:
       … while evaluating the attribute 'deps.buildCommand'
         at pkgs/build-support/trivial-builders/default.nix:80:17:
           79|         enableParallelBuilding = true;
           80|         inherit buildCommand name;
             |                 ^
           81|         passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]);

       … while calling the 'toString' builtin
         at /home/slyfox/dev/git/nixpkgs-master/pkgs/build-support/vm/default.nix:951:20:
          950|       ''
          951|         for i in ${toString packagesLists}; do
             |                    ^
          952|           echo "adding $i..."

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute 'packagesList' missing
       at pkgs/applications/audio/midas/generic.nix:65:25:
           64|       inherit (distro) urlPrefix;
           65|       packagesLists = [ distro.packagesList ];
             |                         ^
           66|       packages = [
       Did you mean packagesLists?

After the change the eval succeeds as expected:

    $ nix eval --impure --expr 'with import ./. {}; m32edit.deps.buildCommand'
    "for i in /nix/store/2zznbnkcn08fy1hsfjrz2zyh2bsk5v56-Packages.xz /nix/store/nagl6k96w1pwdglf8dwhvv8kh9hqn7d9-Packages.xz; do\n  echo \"adding $i...\"\n  case $i in\n    *.xz | *.lzma)\n      xz -d < $i >> ./Packages\n      ;;\n    *.bz2)\n      bunzip2 < $i >> ./Packages\n      ;;\n    *.gz)\n      gzip -dc < $i >> ./Packages\n      ;;\n  esac\ndone\n\nperl -w /nix/store/jiv4hmh6ckp2kzsn2wy17ylmrwfkc7zi-deb-closure.pl \\\n  ./Packages https://snapshot.debian.org/archive/debian/20260105T082626Z libstdc++6 libcurl4 libfreetype6 libasound2 libx11-6 libxext6 > $out\nnixfmt $out\n"
2026-01-08 09:48:55 +00:00
Bart Brouns
97fa48f702 m32-edit: 4.4 -> 4.4.1, x32-edit: 4.4 -> 4.4.1 2025-11-18 01:54:05 +01:00
Wes Payne
1bb9a0aa64 x32edit,m32edit: 4.3 -> 4.4 2025-07-08 15:26:20 -07:00
Christian Kögler
c5ef1d68ae x32edit,m32edit: 4.1 -> 4.3 2024-12-28 16:32:35 +01: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
Reno Dakota
52bf1163fa treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Rouven Seifert
518b25708a m/x32edit: fix source urls 2023-05-12 11:56:19 +02:00
Robert Scott
466c2e342a treewide/applications: add sourceType binaryNativeCode for many packages 2022-06-23 18:38:19 +01:00
Felix Buehler
e0476d93fe treewide: rename name to pname&version 2022-03-23 22:34:54 +01:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Bart Brouns
248be693b3 m/x32edit: 3.2 -> 4.1 2020-11-19 23:38:53 +01:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Antoine Eiche
5892931182 midas: fix package name (x32edit and m32edit) 2018-06-06 21:16:07 +02:00
Bart Brouns
468f820983 m32edit and x32edit: init at 3.2 2018-05-25 11:32:46 +02:00