From 581372390f4793f003acbbfd28b7e84a31cc7f0d Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Thu, 4 Sep 2025 09:04:03 +0100 Subject: [PATCH 01/52] tayga: fix build on 32-bit host platform --- pkgs/by-name/ta/tayga/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ta/tayga/package.nix b/pkgs/by-name/ta/tayga/package.nix index 718bf40dbd0d..b665e0ff2ed3 100644 --- a/pkgs/by-name/ta/tayga/package.nix +++ b/pkgs/by-name/ta/tayga/package.nix @@ -18,6 +18,10 @@ stdenv.mkDerivation (finalAttrs: { makeFlags = [ "CC=${lib.getExe stdenv.cc}" ]; + env = lib.optionalAttrs stdenv.hostPlatform.is32bit { + NIX_CFLAGS_COMPILE = "-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64"; + }; + preBuild = '' echo "#define TAYGA_VERSION \"${finalAttrs.version}\"" > version.h ''; From 546906f142cd0249872c8fa5b2ad4b5e55705f01 Mon Sep 17 00:00:00 2001 From: William Bezuidenhout Date: Tue, 23 Sep 2025 12:02:24 +0200 Subject: [PATCH 02/52] maintainers: add burmudar --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 09ca05897dba..27be7614e63a 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3929,6 +3929,12 @@ name = "Builditluc"; keys = [ { fingerprint = "FF16E475723B8C1E57A6B2569374074AE2D6F20E"; } ]; }; + burmudar = { + email = "william.bezuidenhout@gmail.com"; + github = "burmudar"; + githubId = 1001709; + name = "William Bezuidenhout"; + }; buurro = { email = "marcoburro98@gmail.com"; github = "buurro"; From beb4a5b188db3416f9d06e7e943bc0d24999f445 Mon Sep 17 00:00:00 2001 From: William Bezuidenhout Date: Tue, 23 Sep 2025 12:37:47 +0200 Subject: [PATCH 03/52] add burmudar as amp-cli maintainer --- pkgs/by-name/am/amp-cli/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/am/amp-cli/package.nix b/pkgs/by-name/am/amp-cli/package.nix index 72b03dbfa0c7..8785e649825c 100644 --- a/pkgs/by-name/am/amp-cli/package.nix +++ b/pkgs/by-name/am/amp-cli/package.nix @@ -82,6 +82,7 @@ buildNpmPackage (finalAttrs: { license = lib.licenses.unfree; maintainers = with lib.maintainers; [ keegancsmith + burmudar ]; mainProgram = "amp"; }; From 44450c705d330555e4b56e283810d740fbbf5e9b Mon Sep 17 00:00:00 2001 From: "git@71rd.net" Date: Fri, 26 Sep 2025 02:41:29 +0000 Subject: [PATCH 04/52] biboumi: use botan3 and cleanup Switch to codeberg repos for biboumi sources as old source is broken. Apply patch from main branch to use botan3 instead of EOL botan2. --- pkgs/by-name/bi/biboumi/package.nix | 54 ++++++++++++++++++----------- 1 file changed, 34 insertions(+), 20 deletions(-) diff --git a/pkgs/by-name/bi/biboumi/package.nix b/pkgs/by-name/bi/biboumi/package.nix index 107c6e79c1a1..ea9b4688c9fa 100644 --- a/pkgs/by-name/bi/biboumi/package.nix +++ b/pkgs/by-name/bi/biboumi/package.nix @@ -1,13 +1,13 @@ { lib, stdenv, - fetchurl, - fetchgit, + fetchFromGitea, + fetchpatch, cmake, libuuid, expat, libiconv, - botan2, + botan3, systemd, pkg-config, python3Packages, @@ -26,22 +26,36 @@ assert lib.assertMsg ( ) "At least one Biboumi database provider required"; let - louiz_catch = fetchgit { - url = "https://lab.louiz.org/louiz/Catch.git"; - rev = "0a34cc201ef28bf25c88b0062f331369596cb7b7"; # v2.2.1 - sha256 = "0ad0sjhmzx61a763d2ali4vkj8aa1sbknnldks7xlf4gy83jfrbl"; + catch = fetchFromGitea { + domain = "codeberg.org"; + owner = "poezio"; + repo = "catch"; + tag = "v2.2.1"; + hash = "sha256-dGUnB/KPONqPno1aO5cOSiE5N4lUiTbMUcH0X6HUoCk="; }; -in -stdenv.mkDerivation rec { + pname = "biboumi"; version = "9.0"; +in +stdenv.mkDerivation { + inherit pname version; - src = fetchurl { - url = "https://git.louiz.org/biboumi/snapshot/biboumi-${version}.tar.xz"; - sha256 = "1jvygri165aknmvlinx3jb8cclny6cxdykjf8dp0a3l3228rmzqy"; + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "poezio"; + repo = "biboumi"; + tag = version; + hash = "sha256-yjh9WFuFjaoZLfXTfZajmdRO+3KZqJYBEd0HgqcC28A="; }; - patches = [ ./catch.patch ]; + patches = [ + ./catch.patch + (fetchpatch { + name = "update_botan_to_version_3.patch"; + url = "https://codeberg.org/poezio/biboumi/commit/e4d32f939240ed726e9981e42c0dc251cd9879da.patch"; + hash = "sha256-QUt2ZQtoouLHAeEUlJh+yfCYEmLboL/tk6O2TbHR67Q="; + }) + ]; nativeBuildInputs = [ cmake @@ -53,7 +67,7 @@ stdenv.mkDerivation rec { expat libiconv systemd - botan2 + botan3 ] ++ lib.optional withIDN libidn ++ lib.optional withPostgreSQL libpq @@ -67,17 +81,17 @@ stdenv.mkDerivation rec { preConfigure = '' substituteInPlace CMakeLists.txt --replace /etc/biboumi $out/etc/biboumi - cp ${louiz_catch}/single_include/catch.hpp tests/ + cp ${catch}/single_include/catch.hpp tests/ ''; doCheck = true; - meta = with lib; { + meta = { description = "Modern XMPP IRC gateway"; mainProgram = "biboumi"; - platforms = platforms.unix; - homepage = "https://lab.louiz.org/louiz/biboumi"; - license = licenses.zlib; - maintainers = [ maintainers.woffs ]; + platforms = lib.platforms.unix; + homepage = "https://codeberg.org/poezio/biboumi"; + license = lib.licenses.zlib; + maintainers = [ lib.maintainers.woffs ]; }; } From 859945032c81420b54e6e499e2c9d6783ff36f77 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 27 Sep 2025 01:47:46 +0000 Subject: [PATCH 05/52] flix: 0.62.0 -> 0.64.0 --- pkgs/by-name/fl/flix/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/fl/flix/package.nix b/pkgs/by-name/fl/flix/package.nix index 0b85a7f7a726..3b8195269131 100644 --- a/pkgs/by-name/fl/flix/package.nix +++ b/pkgs/by-name/fl/flix/package.nix @@ -8,11 +8,11 @@ stdenvNoCC.mkDerivation rec { pname = "flix"; - version = "0.62.0"; + version = "0.64.0"; src = fetchurl { url = "https://github.com/flix/flix/releases/download/v${version}/flix.jar"; - sha256 = "sha256-YUFeEeDpgRQ9nciOMtyoFjEJ81D8ATQFBgb1H707FtM="; + sha256 = "sha256-/iBzYJY3YPPexvZTMF1A9Qz4j67qEcrRWckGuTg87XI="; }; dontUnpack = true; From 2ba7fc3b9dd5f95db7da67ada3573371bac4b87d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 28 Sep 2025 01:17:18 +0000 Subject: [PATCH 06/52] alfaview: 9.23.1 -> 9.23.2 --- pkgs/by-name/al/alfaview/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/al/alfaview/package.nix b/pkgs/by-name/al/alfaview/package.nix index bbf41d9cfd1d..8db08d541eb0 100644 --- a/pkgs/by-name/al/alfaview/package.nix +++ b/pkgs/by-name/al/alfaview/package.nix @@ -27,11 +27,11 @@ stdenv.mkDerivation rec { pname = "alfaview"; - version = "9.23.1"; + version = "9.23.2"; src = fetchurl { url = "https://assets.alfaview.com/stable/linux/deb/${pname}_${version}.deb"; - hash = "sha256-T1RsG/8uuPtma7TCNww4V6tKzPK0Ds8zmdjk2duhMEw="; + hash = "sha256-0EGjm/EYozGXDM/IvmopN04kzJfPM+6wjMpJesyW55U="; }; nativeBuildInputs = [ From bf2e0d4ec8a629819d7fd0070d9db77faa4b0407 Mon Sep 17 00:00:00 2001 From: Ryan Omasta Date: Tue, 30 Sep 2025 01:57:50 -0600 Subject: [PATCH 07/52] yubioath-flutter: 7.2.3 -> 7.3.0 https://github.com/Yubico/yubioath-flutter/releases/tag/7.3.0 Diff: https://github.com/Yubico/yubioath-flutter/compare/7.2.3...7.3.0 --- pkgs/by-name/yu/yubioath-flutter/package.nix | 8 +- .../yu/yubioath-flutter/pubspec.lock.json | 293 +++++++++--------- 2 files changed, 151 insertions(+), 150 deletions(-) diff --git a/pkgs/by-name/yu/yubioath-flutter/package.nix b/pkgs/by-name/yu/yubioath-flutter/package.nix index fc2f05b6d545..4cc2f0100e89 100644 --- a/pkgs/by-name/yu/yubioath-flutter/package.nix +++ b/pkgs/by-name/yu/yubioath-flutter/package.nix @@ -1,6 +1,6 @@ { lib, - flutter332, + flutter335, python3, fetchFromGitHub, pcre2, @@ -17,15 +17,15 @@ gitUpdater, }: -flutter332.buildFlutterApplication rec { +flutter335.buildFlutterApplication rec { pname = "yubioath-flutter"; - version = "7.2.3"; + version = "7.3.0"; src = fetchFromGitHub { owner = "Yubico"; repo = "yubioath-flutter"; tag = version; - hash = "sha256-n7BfstsuOTv8d16Y5oE/LDqlj0nVs/6196SnLaLN7h4="; + hash = "sha256-1Hr8ZDHXiLiYfQg4PEpmIuIJR/USbsGCgI4YZSex2Eg="; }; pubspecLock = lib.importJSON ./pubspec.lock.json; diff --git a/pkgs/by-name/yu/yubioath-flutter/pubspec.lock.json b/pkgs/by-name/yu/yubioath-flutter/pubspec.lock.json index 31cfa0f8a9eb..81dfc5fd4ac8 100644 --- a/pkgs/by-name/yu/yubioath-flutter/pubspec.lock.json +++ b/pkgs/by-name/yu/yubioath-flutter/pubspec.lock.json @@ -4,31 +4,31 @@ "dependency": "transitive", "description": { "name": "_fe_analyzer_shared", - "sha256": "e55636ed79578b9abca5fecf9437947798f5ef7456308b5cb85720b793eac92f", + "sha256": "f0bb5d1648339c8308cc0b9838d8456b3cfe5c91f9dc1a735b4d003269e5da9a", "url": "https://pub.dev" }, "source": "hosted", - "version": "82.0.0" + "version": "88.0.0" }, "analyzer": { "dependency": "direct dev", "description": { "name": "analyzer", - "sha256": "904ae5bb474d32c38fb9482e2d925d5454cda04ddd0e55d2e6826bc72f6ba8c0", + "sha256": "0b7b9c329d2879f8f05d6c05b32ee9ec025f39b077864bdb5ac9a7b63418a98f", "url": "https://pub.dev" }, "source": "hosted", - "version": "7.4.5" + "version": "8.1.1" }, "analyzer_plugin": { "dependency": "direct dev", "description": { "name": "analyzer_plugin", - "sha256": "ee188b6df6c85f1441497c7171c84f1392affadc0384f71089cb10a3bc508cef", + "sha256": "dd574a0ab77de88b7d9c12bc4b626109a5ca9078216a79041a5c24c3a1bd103c", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.13.1" + "version": "0.13.7" }, "archive": { "dependency": "direct main", @@ -64,11 +64,11 @@ "dependency": "direct main", "description": { "name": "base32", - "sha256": "ddad4ebfedf93d4500818ed8e61443b734ffe7cf8a45c668c9b34ef6adde02e2", + "sha256": "37548444aaee8bd5e91db442ce69ee3a79d3652ed47c1fa7568aa3bb9af0aea5", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.1.3" + "version": "2.2.0" }, "boolean_selector": { "dependency": "transitive", @@ -84,21 +84,21 @@ "dependency": "transitive", "description": { "name": "build", - "sha256": "cef23f1eda9b57566c81e2133d196f8e3df48f244b317368d65c5943d91148f0", + "sha256": "5b887c55a0f734b433b3b2d89f9cd1f99eb636b17e268a5b4259258bc916504b", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.2" + "version": "4.0.0" }, "build_config": { "dependency": "transitive", "description": { "name": "build_config", - "sha256": "4ae2de3e1e67ea270081eaee972e1bd8f027d459f249e0f1186730784c2e7e33", + "sha256": "4f64382b97504dc2fcdf487d5aae33418e08b4703fc21249e4db6d804a4d0187", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.1.2" + "version": "1.2.0" }, "build_daemon": { "dependency": "transitive", @@ -110,35 +110,15 @@ "source": "hosted", "version": "4.0.4" }, - "build_resolvers": { - "dependency": "transitive", - "description": { - "name": "build_resolvers", - "sha256": "b9e4fda21d846e192628e7a4f6deda6888c36b5b69ba02ff291a01fd529140f0", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "2.4.4" - }, "build_runner": { "dependency": "direct dev", "description": { "name": "build_runner", - "sha256": "058fe9dce1de7d69c4b84fada934df3e0153dd000758c4d65964d0166779aa99", + "sha256": "804c47c936df75e1911c19a4fb8c46fa8ff2b3099b9f2b2aa4726af3774f734b", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.15" - }, - "build_runner_core": { - "dependency": "transitive", - "description": { - "name": "build_runner_core", - "sha256": "22e3aa1c80e0ada3722fe5b63fd43d9c8990759d0a2cf489c8c5d7b2bdebc021", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "8.0.0" + "version": "2.8.0" }, "built_collection": { "dependency": "transitive", @@ -154,11 +134,11 @@ "dependency": "transitive", "description": { "name": "built_value", - "sha256": "082001b5c3dc495d4a42f1d5789990505df20d8547d42507c29050af6933ee27", + "sha256": "a30f0a0e38671e89a492c44d005b5545b830a961575bbd8336d42869ff71066d", "url": "https://pub.dev" }, "source": "hosted", - "version": "8.10.1" + "version": "8.12.0" }, "chalkdart": { "dependency": "transitive", @@ -184,11 +164,11 @@ "dependency": "transitive", "description": { "name": "checked_yaml", - "sha256": "feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff", + "sha256": "959525d3162f249993882720d52b7e0c833978df229be20702b33d48d91de70f", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.0.3" + "version": "2.0.4" }, "ci": { "dependency": "transitive", @@ -224,11 +204,11 @@ "dependency": "transitive", "description": { "name": "code_builder", - "sha256": "0ec10bf4a89e4c613960bf1e8b42c64127021740fb21640c29c909826a5eea3e", + "sha256": "11654819532ba94c34de52ff5feb52bd81cba1de00ef2ed622fd50295f9d4243", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.10.1" + "version": "4.11.0" }, "collection": { "dependency": "direct main", @@ -274,61 +254,91 @@ "dependency": "direct dev", "description": { "name": "custom_lint", - "sha256": "409c485fd14f544af1da965d5a0d160ee57cd58b63eeaa7280a4f28cf5bda7f1", + "sha256": "751ee9440920f808266c3ec2553420dea56d3c7837dd2d62af76b11be3fcece5", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.5" + "version": "0.8.1" }, "custom_lint_builder": { "dependency": "direct dev", "description": { "name": "custom_lint_builder", - "sha256": "107e0a43606138015777590ee8ce32f26ba7415c25b722ff0908a6f5d7a4c228", + "sha256": "1128db6f58e71d43842f3b9be7465c83f0c47f4dd8918f878dd6ad3b72a32072", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.5" + "version": "0.8.1" }, "custom_lint_core": { "dependency": "transitive", "description": { "name": "custom_lint_core", - "sha256": "31110af3dde9d29fb10828ca33f1dce24d2798477b167675543ce3d208dee8be", + "sha256": "85b339346154d5646952d44d682965dfe9e12cae5febd706f0db3aa5010d6423", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.5" + "version": "0.8.1" }, "custom_lint_visitor": { "dependency": "transitive", "description": { "name": "custom_lint_visitor", - "sha256": "cba5b6d7a6217312472bf4468cdf68c949488aed7ffb0eab792cd0b6c435054d", + "sha256": "446d68322747ec1c36797090de776aa72228818d3d80685a91ff524d163fee6d", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.0.0+7.4.5" + "version": "1.0.0+8.1.1" }, "dart_style": { "dependency": "transitive", "description": { "name": "dart_style", - "sha256": "5b236382b47ee411741447c1f1e111459c941ea1b3f2b540dde54c210a3662af", + "sha256": "c87dfe3d56f183ffe9106a18aebc6db431fc7c98c31a54b952a77f3d54a85697", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.1.0" + "version": "3.1.2" + }, + "dbus": { + "dependency": "transitive", + "description": { + "name": "dbus", + "sha256": "79e0c23480ff85dc68de79e2cd6334add97e48f7f4865d17686dd6ea81a47e8c", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "0.7.11" }, "desktop_drop": { "dependency": "direct main", "description": { "name": "desktop_drop", - "sha256": "bd21017e0415632c85f6b813c846bc8c9811742507776dcf6abf91a14d946e98", + "sha256": "927511f590ce01ee90d0d80f79bc71b9c919d8522d01e495e89a00c6f4a4fb5b", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.6.0" + "version": "0.6.1" + }, + "dispose_scope": { + "dependency": "transitive", + "description": { + "name": "dispose_scope", + "sha256": "48ec38ca2631c53c4f8fa96b294c801e55c335db5e3fb9f82cede150cfe5a2af", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "2.1.0" + }, + "equatable": { + "dependency": "transitive", + "description": { + "name": "equatable", + "sha256": "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "2.0.7" }, "fake_async": { "dependency": "transitive", @@ -364,11 +374,11 @@ "dependency": "direct main", "description": { "name": "file_picker", - "sha256": "77f8e81d22d2a07d0dee2c62e1dda71dc1da73bf43bb2d45af09727406167964", + "sha256": "f2d9f173c2c14635cc0e9b14c143c49ef30b4934e8d1d274d6206fcb0086a06f", "url": "https://pub.dev" }, "source": "hosted", - "version": "10.1.9" + "version": "10.3.3" }, "fixnum": { "dependency": "transitive", @@ -412,11 +422,11 @@ "dependency": "transitive", "description": { "name": "flutter_plugin_android_lifecycle", - "sha256": "f948e346c12f8d5480d2825e03de228d0eb8c3a737e4cdaa122267b89c022b5e", + "sha256": "b0694b7fb1689b0e6cc193b3f1fcac6423c4f93c74fb20b806c6b6f196db0c31", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.0.28" + "version": "2.0.30" }, "flutter_riverpod": { "dependency": "direct main", @@ -444,21 +454,21 @@ "dependency": "direct dev", "description": { "name": "freezed", - "sha256": "6022db4c7bfa626841b2a10f34dd1e1b68e8f8f9650db6112dcdeeca45ca793c", + "sha256": "13065f10e135263a4f5a4391b79a8efc5fb8106f8dd555a9e49b750b45393d77", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.0.6" + "version": "3.2.3" }, "freezed_annotation": { "dependency": "direct main", "description": { "name": "freezed_annotation", - "sha256": "c87ff004c8aa6af2d531668b46a4ea379f7191dc6dfa066acd53d506da6e044b", + "sha256": "7294967ff0a6d98638e7acb774aac3af2550777accd8149c90af5b014e6d44d8", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.0.0" + "version": "3.1.0" }, "frontend_server_client": { "dependency": "transitive", @@ -510,11 +520,11 @@ "dependency": "transitive", "description": { "name": "http", - "sha256": "2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b", + "sha256": "bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.4.0" + "version": "1.5.0" }, "http_multi_server": { "dependency": "transitive", @@ -562,16 +572,6 @@ "source": "hosted", "version": "1.0.5" }, - "js": { - "dependency": "transitive", - "description": { - "name": "js", - "sha256": "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "0.7.2" - }, "json_annotation": { "dependency": "direct main", "description": { @@ -586,41 +586,41 @@ "dependency": "direct dev", "description": { "name": "json_serializable", - "sha256": "c50ef5fc083d5b5e12eef489503ba3bf5ccc899e487d691584699b4bdefeea8c", + "sha256": "33a040668b31b320aafa4822b7b1e177e163fc3c1e835c6750319d4ab23aa6fe", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.9.5" + "version": "6.11.1" }, "leak_tracker": { "dependency": "transitive", "description": { "name": "leak_tracker", - "sha256": "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0", + "sha256": "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de", "url": "https://pub.dev" }, "source": "hosted", - "version": "10.0.9" + "version": "11.0.2" }, "leak_tracker_flutter_testing": { "dependency": "transitive", "description": { "name": "leak_tracker_flutter_testing", - "sha256": "f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573", + "sha256": "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.0.9" + "version": "3.0.10" }, "leak_tracker_testing": { "dependency": "transitive", "description": { "name": "leak_tracker_testing", - "sha256": "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3", + "sha256": "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.0.1" + "version": "3.0.2" }, "lint": { "dependency": "direct dev", @@ -685,11 +685,11 @@ "dependency": "direct main", "description": { "name": "material_symbols_icons", - "sha256": "7c50901b39d1ad645ee25d920aed008061e1fd541a897b4ebf2c01d966dbf16b", + "sha256": "9e2042673fda5dda0b77e262220b3c34cac5806a3833da85522e41bb27fbf6c0", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.2815.1" + "version": "4.2873.0" }, "menu_base": { "dependency": "transitive", @@ -702,7 +702,7 @@ "version": "0.1.1" }, "meta": { - "dependency": "transitive", + "dependency": "direct dev", "description": { "name": "meta", "sha256": "e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c", @@ -765,21 +765,21 @@ "dependency": "transitive", "description": { "name": "path_provider_android", - "sha256": "d0d310befe2c8ab9e7f393288ccbb11b60c019c6b5afc21973eeee4dda2b35e9", + "sha256": "993381400e94d18469750e5b9dcb8206f15bc09f9da86b9e44a9b0092a0066db", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.2.17" + "version": "2.2.18" }, "path_provider_foundation": { "dependency": "transitive", "description": { "name": "path_provider_foundation", - "sha256": "4843174df4d288f5e29185bd6e72a6fbdf5a4a4602717eed565497429f179942", + "sha256": "16eef174aacb07e09c351502740fa6254c165757638eba1e9116b0a781201bbd", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.1" + "version": "2.4.2" }, "path_provider_linux": { "dependency": "transitive", @@ -811,15 +811,35 @@ "source": "hosted", "version": "2.3.0" }, + "patrol_finders": { + "dependency": "direct dev", + "description": { + "name": "patrol_finders", + "sha256": "4a658d7d560de523f92deb3fa3326c78747ca0bf7e7f4b8788c012463138b628", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "2.9.0" + }, + "patrol_log": { + "dependency": "transitive", + "description": { + "name": "patrol_log", + "sha256": "9fed4143980df1e3bbcfa00d0b443c7d68f04f9132317b7698bbc37f8a5a58c5", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "0.5.0" + }, "petitparser": { "dependency": "transitive", "description": { "name": "petitparser", - "sha256": "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646", + "sha256": "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.1.0" + "version": "7.0.1" }, "platform": { "dependency": "transitive", @@ -855,21 +875,21 @@ "dependency": "transitive", "description": { "name": "posix", - "sha256": "f0d7856b6ca1887cfa6d1d394056a296ae33489db914e365e2044fdada449e62", + "sha256": "6323a5b0fa688b6a010df4905a56b00181479e6d10534cecfecede2aa55add61", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.0.2" + "version": "6.0.3" }, "process": { "dependency": "transitive", "description": { "name": "process", - "sha256": "107d8be718f120bbba9dcd1e95e3bd325b1b4a4f07db64154635ba03f2567a0d", + "sha256": "c6248e4526673988586e8c00bb22a49210c258dc91df5227d5da9748ecf79744", "url": "https://pub.dev" }, "source": "hosted", - "version": "5.0.3" + "version": "5.0.5" }, "pub_semver": { "dependency": "transitive", @@ -984,11 +1004,11 @@ "dependency": "transitive", "description": { "name": "shared_preferences_android", - "sha256": "20cbd561f743a342c76c151d6ddb93a9ce6005751e7aa458baad3858bfbfb6ac", + "sha256": "a2608114b1ffdcbc9c120eb71a0e207c71da56202852d4aab8a5e30a82269e74", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.10" + "version": "2.4.12" }, "shared_preferences_foundation": { "dependency": "transitive", @@ -1080,21 +1100,21 @@ "dependency": "transitive", "description": { "name": "source_gen", - "sha256": "35c8150ece9e8c8d263337a265153c3329667640850b9304861faea59fc98f6b", + "sha256": "ccf30b0c9fbcd79d8b6f5bfac23199fb354938436f62475e14aea0f29ee0f800", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.0.0" + "version": "4.0.1" }, "source_helper": { "dependency": "transitive", "description": { "name": "source_helper", - "sha256": "86d247119aedce8e63f4751bd9626fc9613255935558447569ad42f9f5b48b3c", + "sha256": "6a3c6cc82073a8797f8c4dc4572146114a39652851c157db37e964d9c7038723", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.3.5" + "version": "1.3.8" }, "source_span": { "dependency": "transitive", @@ -1190,40 +1210,21 @@ "dependency": "transitive", "description": { "name": "test_api", - "sha256": "fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd", + "sha256": "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.4" - }, - "test_res": { - "dependency": "direct dev", - "description": { - "path": "integration_test/test_res", - "relative": true - }, - "source": "path", - "version": "0.0.0" - }, - "timing": { - "dependency": "transitive", - "description": { - "name": "timing", - "sha256": "62ee18aca144e4a9f29d212f5a4c6a053be252b895ab14b5821996cff4ed90fe", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.0.2" + "version": "0.7.6" }, "tray_manager": { "dependency": "direct main", "description": { "name": "tray_manager", - "sha256": "ad18c4cd73003097d182884bacb0578ad2865f3ab842a0ad00f6d043ed49eaf0", + "sha256": "537e539f48cd82d8ee2240d4330158c7b44c7e043e8e18b5811f2f8f6b7df25a", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.5.0" + "version": "0.5.1" }, "typed_data": { "dependency": "transitive", @@ -1249,31 +1250,31 @@ "dependency": "direct main", "description": { "name": "url_launcher", - "sha256": "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603", + "sha256": "f6a7e5c4835bb4e3026a04793a4199ca2d14c739ec378fdfe23fc8075d0439f8", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.3.1" + "version": "6.3.2" }, "url_launcher_android": { "dependency": "transitive", "description": { "name": "url_launcher_android", - "sha256": "8582d7f6fe14d2652b4c45c9b6c14c0b678c2af2d083a11b604caeba51930d79", + "sha256": "07cffecb7d68cbc6437cd803d5f11a86fe06736735c3dfe46ff73bcb0f958eed", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.3.16" + "version": "6.3.21" }, "url_launcher_ios": { "dependency": "transitive", "description": { "name": "url_launcher_ios", - "sha256": "7f2022359d4c099eea7df3fdf739f7d3d3b9faf3166fb1dd390775176e0b76cb", + "sha256": "d80b3f567a617cb923546034cc94bfe44eb15f989fe670b37f26abdb9d939cb7", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.3.3" + "version": "6.3.4" }, "url_launcher_linux": { "dependency": "transitive", @@ -1289,11 +1290,11 @@ "dependency": "transitive", "description": { "name": "url_launcher_macos", - "sha256": "17ba2000b847f334f16626a574c702b196723af2a289e7a93ffcb79acff855c2", + "sha256": "c043a77d6600ac9c38300567f33ef12b0ef4f4783a2c1f00231d2b1941fea13f", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.2.2" + "version": "3.2.3" }, "url_launcher_platform_interface": { "dependency": "transitive", @@ -1339,11 +1340,11 @@ "dependency": "direct main", "description": { "name": "vector_graphics", - "sha256": "44cc7104ff32563122a929e4620cf3efd584194eec6d1d913eb5ba593dbcf6de", + "sha256": "a4f059dc26fc8295b5921376600a194c4ec7d55e72f2fe4c7d2831e103d461e6", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.1.18" + "version": "1.1.19" }, "vector_graphics_codec": { "dependency": "transitive", @@ -1359,41 +1360,41 @@ "dependency": "direct main", "description": { "name": "vector_graphics_compiler", - "sha256": "557a315b7d2a6dbb0aaaff84d857967ce6bdc96a63dc6ee2a57ce5a6ee5d3331", + "sha256": "d354a7ec6931e6047785f4db12a1f61ec3d43b207fc0790f863818543f8ff0dc", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.1.17" + "version": "1.1.19" }, "vector_math": { "dependency": "transitive", "description": { "name": "vector_math", - "sha256": "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803", + "sha256": "d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.1.4" + "version": "2.2.0" }, "vm_service": { "dependency": "transitive", "description": { "name": "vm_service", - "sha256": "ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02", + "sha256": "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60", "url": "https://pub.dev" }, "source": "hosted", - "version": "15.0.0" + "version": "15.0.2" }, "watcher": { "dependency": "transitive", "description": { "name": "watcher", - "sha256": "69da27e49efa56a15f8afe8f4438c4ec02eff0a117df1b22ea4aad194fe1c104", + "sha256": "5bf046f41320ac97a469d506261797f35254fa61c641741ef32dacda98b7d39c", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.1.1" + "version": "1.1.3" }, "web": { "dependency": "transitive", @@ -1439,11 +1440,11 @@ "dependency": "transitive", "description": { "name": "win32", - "sha256": "329edf97fdd893e0f1e3b9e88d6a0e627128cc17cc316a8d67fda8f1451178ba", + "sha256": "66814138c3562338d05613a6e368ed8cfb237ad6d64a9e9334be3f309acfca03", "url": "https://pub.dev" }, "source": "hosted", - "version": "5.13.0" + "version": "5.14.0" }, "window_manager": { "dependency": "direct main", @@ -1470,11 +1471,11 @@ "dependency": "transitive", "description": { "name": "xml", - "sha256": "b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226", + "sha256": "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.5.0" + "version": "6.6.1" }, "yaml": { "dependency": "transitive", @@ -1488,7 +1489,7 @@ } }, "sdks": { - "dart": ">=3.8.0 <4.0.0", - "flutter": ">=3.27.0" + "dart": ">=3.9.0 <4.0.0", + "flutter": ">=3.35.0" } } From 5d5acb3df94ef9d97bafb738a208ff8c0051ff3d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 30 Sep 2025 22:04:31 +0000 Subject: [PATCH 08/52] sydbox: 3.38.2 -> 3.39.1 --- pkgs/by-name/sy/sydbox/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/sy/sydbox/package.nix b/pkgs/by-name/sy/sydbox/package.nix index 1968fe74d70d..9951760b51ec 100644 --- a/pkgs/by-name/sy/sydbox/package.nix +++ b/pkgs/by-name/sy/sydbox/package.nix @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "sydbox"; - version = "3.38.2"; + version = "3.39.1"; outputs = [ "out" @@ -24,10 +24,10 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "Sydbox"; repo = "sydbox"; tag = "v${finalAttrs.version}"; - hash = "sha256-yxe3U+n9FL58wI/uk8EM24Mcmxzlk8wmgi0wCu+dcnk="; + hash = "sha256-LJHZb4TGo+Lep7yiej2G1H6mXAoEk5ixn/lGDxAWqvg="; }; - cargoHash = "sha256-17Ri1QGQFWL/DTjpGEMb4SubsnvHcVTYW6wsjiFR36w="; + cargoHash = "sha256-mUeJ3A2HW2pXWXW3Abb+aqTaZjVrchYJNCJCDC2Em9s="; nativeBuildInputs = [ mandoc From b0dd0515e4ec7ba706115e0732ff6b7f9f98d176 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 1 Oct 2025 16:51:13 +0000 Subject: [PATCH 09/52] python3Packages.rpy2-robjects: 3.6.2 -> 3.6.3 --- pkgs/development/python-modules/rpy2-robjects/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rpy2-robjects/default.nix b/pkgs/development/python-modules/rpy2-robjects/default.nix index 566cf7581068..a4c039e47c71 100644 --- a/pkgs/development/python-modules/rpy2-robjects/default.nix +++ b/pkgs/development/python-modules/rpy2-robjects/default.nix @@ -16,7 +16,7 @@ }: buildPythonPackage rec { - version = "3.6.2"; + version = "3.6.3"; format = "pyproject"; pname = "rpy2-robjects"; @@ -25,7 +25,7 @@ buildPythonPackage rec { url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${ builtins.replaceStrings [ "-" ] [ "_" ] pname }-${version}.tar.gz"; - hash = "sha256-rJGvMtXE2iNrBaPNaNr7JM2PWogPAHhim48r8CUFQjs="; + hash = "sha256-cxqhpJBcSyXAVk1yy/2F+SMBAvmJ56IlFYhekdTfPUA="; }; patches = [ From 8d141eccad4427d374e0a9514bd0b56c1a3fd676 Mon Sep 17 00:00:00 2001 From: pilz0 Date: Thu, 2 Oct 2025 08:27:21 +0200 Subject: [PATCH 10/52] pmacct: add optional apache-kafka dependency --- pkgs/by-name/pm/pmacct/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/pm/pmacct/package.nix b/pkgs/by-name/pm/pmacct/package.nix index b7124af8a101..97f9a078c631 100644 --- a/pkgs/by-name/pm/pmacct/package.nix +++ b/pkgs/by-name/pm/pmacct/package.nix @@ -8,6 +8,8 @@ libpcap, libcdada, # Optional Dependencies + withKafka ? true, + rdkafka, withJansson ? true, jansson, withNflog ? true, @@ -45,6 +47,7 @@ stdenv.mkDerivation (finalAttrs: { libcdada libpcap ] + ++ lib.optional withKafka rdkafka ++ lib.optional withJansson jansson ++ lib.optional withNflog libnetfilter_log ++ lib.optional withSQLite sqlite @@ -61,6 +64,7 @@ stdenv.mkDerivation (finalAttrs: { configureFlags = [ "--with-pcap-includes=${libpcap}/include" ] + ++ lib.optional withKafka "--enable-kafka" ++ lib.optional withJansson "--enable-jansson" ++ lib.optional withNflog "--enable-nflog" ++ lib.optional withSQLite "--enable-sqlite3" From 2a574fe34c894ef2a343ee006f4228f4e006e5b9 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Tue, 2 Sep 2025 12:32:58 -0400 Subject: [PATCH 11/52] davinci-resolve: 20.0.1 -> 20.1.1 The "Apple Immersive/Calibration" dir is, like others here, attempted to be created in the store dir during launch and the application exits if it cannot create it; so create it during build. Changelogs: https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=225417 https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=226348 --- pkgs/by-name/da/davinci-resolve/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/da/davinci-resolve/package.nix b/pkgs/by-name/da/davinci-resolve/package.nix index 1929c022a5f9..1e17f3516aca 100644 --- a/pkgs/by-name/da/davinci-resolve/package.nix +++ b/pkgs/by-name/da/davinci-resolve/package.nix @@ -35,7 +35,7 @@ let davinci = ( stdenv.mkDerivation rec { pname = "davinci-resolve${lib.optionalString studioVariant "-studio"}"; - version = "20.0.1"; + version = "20.1.1"; nativeBuildInputs = [ (appimage-run.override { buildFHSEnv = buildFHSEnvChroot; }) @@ -57,9 +57,9 @@ let outputHashAlgo = "sha256"; outputHash = if studioVariant then - "sha256-20ZmxkniX4rbKqxxjqGJOCSeZt6i+HN72Vm8HtsONUg=" + "sha256-VU/OUUgE/Oz9H8qtN/oVEidaLaiWDdmUzkviVCda7XU=" else - "sha256-ZbiQdsm0zoVe0Riw8K6ZBRKd+v73OdplS0Db7P1DE6E="; + "sha256-3vTXDVxYnuDdNJRYAWSnc+zt+52saeY/xXS3j2rGLrI="; impureEnvVars = lib.fetchers.proxyImpureEnvVars; @@ -150,7 +150,7 @@ let test -e ${lib.escapeShellArg appimageName} appimage-run ${lib.escapeShellArg appimageName} -i -y -n -C $out - mkdir -p $out/{configs,DolbyVision,easyDCP,Fairlight,GPUCache,logs,Media,"Resolve Disk Database",.crashreport,.license,.LUT,Extras} + mkdir -p $out/{"Apple Immersive/Calibration",configs,DolbyVision,easyDCP,Extras,Fairlight,GPUCache,logs,Media,"Resolve Disk Database",.crashreport,.license,.LUT} runHook postInstall ''; From a575a1a5774987735ffef7278debf7ebf81d9c1d Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Wed, 10 Sep 2025 11:22:36 -0400 Subject: [PATCH 12/52] davinci-resolve: 20.1.1 -> 20.2.1 Changelog: https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=227008 https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=227789 --- pkgs/by-name/da/davinci-resolve/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/da/davinci-resolve/package.nix b/pkgs/by-name/da/davinci-resolve/package.nix index 1e17f3516aca..fd90be690af0 100644 --- a/pkgs/by-name/da/davinci-resolve/package.nix +++ b/pkgs/by-name/da/davinci-resolve/package.nix @@ -35,7 +35,7 @@ let davinci = ( stdenv.mkDerivation rec { pname = "davinci-resolve${lib.optionalString studioVariant "-studio"}"; - version = "20.1.1"; + version = "20.2.1"; nativeBuildInputs = [ (appimage-run.override { buildFHSEnv = buildFHSEnvChroot; }) @@ -57,9 +57,9 @@ let outputHashAlgo = "sha256"; outputHash = if studioVariant then - "sha256-VU/OUUgE/Oz9H8qtN/oVEidaLaiWDdmUzkviVCda7XU=" + "sha256-emAVfA9mclwJSiT9oVvLVhCy2GXGQVsvg4pj3vodxk8=" else - "sha256-3vTXDVxYnuDdNJRYAWSnc+zt+52saeY/xXS3j2rGLrI="; + "sha256-/OQhi4y07TOyeIdD18URBr4qAfuPhd2mr0giqgTEfk0="; impureEnvVars = lib.fetchers.proxyImpureEnvVars; From a5f11947f99956c8cd3efd476dfff926f0e388ac Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Thu, 2 Oct 2025 18:06:38 -0300 Subject: [PATCH 13/52] microsoft-edge: 140.0.3485.94 -> 141.0.3537.57 --- pkgs/by-name/mi/microsoft-edge/package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/mi/microsoft-edge/package.nix b/pkgs/by-name/mi/microsoft-edge/package.nix index 1335eeada7e7..330851a5b5a6 100644 --- a/pkgs/by-name/mi/microsoft-edge/package.nix +++ b/pkgs/by-name/mi/microsoft-edge/package.nix @@ -162,11 +162,11 @@ let in stdenvNoCC.mkDerivation (finalAttrs: { pname = "microsoft-edge"; - version = "140.0.3485.94"; + version = "141.0.3537.57"; src = fetchurl { url = "https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_${finalAttrs.version}-1_amd64.deb"; - hash = "sha256-UvnAT87X9YMlyF1i9z7bBCWpz3CU2ZWe9hoABgGSXY8="; + hash = "sha256-xqHu6OdB6BFJVi+YmQJjMjh7CbL2m9drUHgtRVHBhrk="; }; # With strictDeps on, some shebangs were not being patched correctly @@ -216,9 +216,6 @@ stdenvNoCC.mkDerivation (finalAttrs: { --replace-fail /usr/bin/microsoft-edge-$dist $exe substituteInPlace $out/share/gnome-control-center/default-apps/microsoft-edge.xml \ --replace-fail /opt/microsoft/msedge $exe - substituteInPlace $out/share/menu/microsoft-edge.menu \ - --replace-fail /opt $out/share \ - --replace-fail $out/share/microsoft/$appname/microsoft-edge $exe for icon_file in $out/share/microsoft/msedge/product_logo_[0-9]*.png; do num_and_suffix="''${icon_file##*logo_}" From d3ad5c595abf68f073310cc8234ec49a0e0bb6ed Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 3 Oct 2025 00:39:58 +0000 Subject: [PATCH 14/52] babl: 0.1.114 -> 0.1.116 --- pkgs/by-name/ba/babl/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ba/babl/package.nix b/pkgs/by-name/ba/babl/package.nix index 4028e7a9716c..779330f42be6 100644 --- a/pkgs/by-name/ba/babl/package.nix +++ b/pkgs/by-name/ba/babl/package.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "babl"; - version = "0.1.114"; + version = "0.1.116"; outputs = [ "out" @@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor finalAttrs.version}/babl-${finalAttrs.version}.tar.xz"; - hash = "sha256-vLt3hsHkR3A9s7x/o01i0NLRF7IvBNiDTHstXe1FZIc="; + hash = "sha256-UPrgaYZ8et4SWYiP8ePbhf7IbXCCUuU4W1pPOaeOxIM="; }; patches = [ From 95710371de0f9819a1e59d0cac4d0184c64e058b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 3 Oct 2025 01:12:00 +0000 Subject: [PATCH 15/52] factorio-demo: 2.0.66 -> 2.0.69 --- pkgs/by-name/fa/factorio/versions.json | 84 +++++++++++++------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/pkgs/by-name/fa/factorio/versions.json b/pkgs/by-name/fa/factorio/versions.json index d0da34ab3ad8..5f8e931e9abc 100644 --- a/pkgs/by-name/fa/factorio/versions.json +++ b/pkgs/by-name/fa/factorio/versions.json @@ -3,99 +3,99 @@ "alpha": { "experimental": { "candidateHashFilenames": [ - "factorio_linux_2.0.66.tar.xz" + "factorio_linux_2.0.69.tar.xz" ], - "name": "factorio_alpha_x64-2.0.66.tar.xz", + "name": "factorio_alpha_x64-2.0.69.tar.xz", "needsAuth": true, - "sha256": "8140abc1017b00de329244e62ae7866406a96c2b5ee6f3d481aeaf86c7f8738a", + "sha256": "f3ea6a475eaf6157475169b302753f70f3ac6b6a357a4f682fec2e515339e678", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/2.0.66/alpha/linux64", - "version": "2.0.66" + "url": "https://factorio.com/get-download/2.0.69/alpha/linux64", + "version": "2.0.69" }, "stable": { "candidateHashFilenames": [ - "factorio_linux_2.0.66.tar.xz" + "factorio_linux_2.0.69.tar.xz" ], - "name": "factorio_alpha_x64-2.0.66.tar.xz", + "name": "factorio_alpha_x64-2.0.69.tar.xz", "needsAuth": true, - "sha256": "8140abc1017b00de329244e62ae7866406a96c2b5ee6f3d481aeaf86c7f8738a", + "sha256": "f3ea6a475eaf6157475169b302753f70f3ac6b6a357a4f682fec2e515339e678", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/2.0.66/alpha/linux64", - "version": "2.0.66" + "url": "https://factorio.com/get-download/2.0.69/alpha/linux64", + "version": "2.0.69" } }, "demo": { "experimental": { "candidateHashFilenames": [ - "factorio-demo_linux_2.0.66.tar.xz" + "factorio-demo_linux_2.0.69.tar.xz" ], - "name": "factorio_demo_x64-2.0.66.tar.xz", + "name": "factorio_demo_x64-2.0.69.tar.xz", "needsAuth": false, - "sha256": "74250b0717d41406dc297d0a75103c91413b2b68395e4f3260c5c67cbeec4bda", + "sha256": "a670a4cd2fa59cb8dc6db10d969867266080f171e47ebed78880ccd5ed42356c", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/2.0.66/demo/linux64", - "version": "2.0.66" + "url": "https://factorio.com/get-download/2.0.69/demo/linux64", + "version": "2.0.69" }, "stable": { "candidateHashFilenames": [ - "factorio-demo_linux_2.0.66.tar.xz" + "factorio-demo_linux_2.0.69.tar.xz" ], - "name": "factorio_demo_x64-2.0.66.tar.xz", + "name": "factorio_demo_x64-2.0.69.tar.xz", "needsAuth": false, - "sha256": "74250b0717d41406dc297d0a75103c91413b2b68395e4f3260c5c67cbeec4bda", + "sha256": "a670a4cd2fa59cb8dc6db10d969867266080f171e47ebed78880ccd5ed42356c", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/2.0.66/demo/linux64", - "version": "2.0.66" + "url": "https://factorio.com/get-download/2.0.69/demo/linux64", + "version": "2.0.69" } }, "expansion": { "experimental": { "candidateHashFilenames": [ - "factorio-space-age_linux_2.0.66.tar.xz" + "factorio-space-age_linux_2.0.69.tar.xz" ], - "name": "factorio_expansion_x64-2.0.66.tar.xz", + "name": "factorio_expansion_x64-2.0.69.tar.xz", "needsAuth": true, - "sha256": "98443ba14d65ba8f4b268a73b6c40e4a27d6fc50ddf80e7286bb4a3b49cc4bbb", + "sha256": "a44bf364c4a0037b1d21b8770d604f278e45b397481908cb4212b49411f3ddd2", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/2.0.66/expansion/linux64", - "version": "2.0.66" + "url": "https://factorio.com/get-download/2.0.69/expansion/linux64", + "version": "2.0.69" }, "stable": { "candidateHashFilenames": [ - "factorio-space-age_linux_2.0.66.tar.xz" + "factorio-space-age_linux_2.0.69.tar.xz" ], - "name": "factorio_expansion_x64-2.0.66.tar.xz", + "name": "factorio_expansion_x64-2.0.69.tar.xz", "needsAuth": true, - "sha256": "98443ba14d65ba8f4b268a73b6c40e4a27d6fc50ddf80e7286bb4a3b49cc4bbb", + "sha256": "a44bf364c4a0037b1d21b8770d604f278e45b397481908cb4212b49411f3ddd2", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/2.0.66/expansion/linux64", - "version": "2.0.66" + "url": "https://factorio.com/get-download/2.0.69/expansion/linux64", + "version": "2.0.69" } }, "headless": { "experimental": { "candidateHashFilenames": [ - "factorio-headless_linux_2.0.66.tar.xz", - "factorio_headless_x64_2.0.66.tar.xz" + "factorio-headless_linux_2.0.69.tar.xz", + "factorio_headless_x64_2.0.69.tar.xz" ], - "name": "factorio_headless_x64-2.0.66.tar.xz", + "name": "factorio_headless_x64-2.0.69.tar.xz", "needsAuth": false, - "sha256": "f1b3976eacc4e233800d399d90006c356fa366f5d64341c504c95c0cba321c06", + "sha256": "235147bb3ed6b5f0a6993893c6c92fdfe535ba95ab866046f51f865284b57341", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/2.0.66/headless/linux64", - "version": "2.0.66" + "url": "https://factorio.com/get-download/2.0.69/headless/linux64", + "version": "2.0.69" }, "stable": { "candidateHashFilenames": [ - "factorio-headless_linux_2.0.66.tar.xz", - "factorio_headless_x64_2.0.66.tar.xz" + "factorio-headless_linux_2.0.69.tar.xz", + "factorio_headless_x64_2.0.69.tar.xz" ], - "name": "factorio_headless_x64-2.0.66.tar.xz", + "name": "factorio_headless_x64-2.0.69.tar.xz", "needsAuth": false, - "sha256": "f1b3976eacc4e233800d399d90006c356fa366f5d64341c504c95c0cba321c06", + "sha256": "235147bb3ed6b5f0a6993893c6c92fdfe535ba95ab866046f51f865284b57341", "tarDirectory": "x64", - "url": "https://factorio.com/get-download/2.0.66/headless/linux64", - "version": "2.0.66" + "url": "https://factorio.com/get-download/2.0.69/headless/linux64", + "version": "2.0.69" } } } From 69535dae76b71c5821f844d63b03a038285b6e7a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 3 Oct 2025 02:55:02 +0000 Subject: [PATCH 16/52] yoshimi: 2.3.4.1 -> 2.3.5.1 --- pkgs/by-name/yo/yoshimi/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/yo/yoshimi/package.nix b/pkgs/by-name/yo/yoshimi/package.nix index f7cf1f740c8a..f27f33c179a6 100644 --- a/pkgs/by-name/yo/yoshimi/package.nix +++ b/pkgs/by-name/yo/yoshimi/package.nix @@ -23,13 +23,13 @@ stdenv.mkDerivation rec { pname = "yoshimi"; - version = "2.3.4.1"; + version = "2.3.5.1"; src = fetchFromGitHub { owner = "Yoshimi"; repo = "yoshimi"; rev = version; - hash = "sha256-d0NA4/uCC1jhksM7KOi+SXqeLiq9XZimXV0KUyRhWGs="; + hash = "sha256-A6laO4JhYFjuqBYmaQzZduHbDwdC+8zAVPqifbpJ8JQ="; }; sourceRoot = "${src.name}/src"; From d970ba4fc2113e4142528a12b6f67ccaa85b8e13 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 3 Oct 2025 08:16:07 +0200 Subject: [PATCH 17/52] python313Packages.aioshelly: 13.10.0 -> 13.11.0 Diff: https://github.com/home-assistant-libs/aioshelly/compare/13.10.0...13.11.0 Changelog: https://github.com/home-assistant-libs/aioshelly/releases/tag/13.11.0 --- pkgs/development/python-modules/aioshelly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioshelly/default.nix b/pkgs/development/python-modules/aioshelly/default.nix index f4c3e6a2fbd5..588291f38598 100644 --- a/pkgs/development/python-modules/aioshelly/default.nix +++ b/pkgs/development/python-modules/aioshelly/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "aioshelly"; - version = "13.10.0"; + version = "13.11.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "home-assistant-libs"; repo = "aioshelly"; tag = version; - hash = "sha256-sN8Qr+ZgKBaZbTgQSGujdZmA3N0fBMFEPnUIWiBkPhg="; + hash = "sha256-Nx7CFGCQ5lJO21fjkR5yis3Rh+TzqWKAiK52BaKBAts="; }; build-system = [ setuptools ]; From 2ebf757637f970a551227bf82f0c45484a6297ea Mon Sep 17 00:00:00 2001 From: NullCube Date: Thu, 25 Sep 2025 16:33:47 -0700 Subject: [PATCH 18/52] nixos/tests/syncthing: move tests to folder --- nixos/tests/all-tests.nix | 12 ++++++------ .../{syncthing-folders.nix => syncthing/folders.nix} | 0 .../tests/{syncthing-init.nix => syncthing/init.nix} | 0 nixos/tests/{syncthing.nix => syncthing/main.nix} | 0 .../many-devices.nix} | 0 .../no-settings.nix} | 0 .../{syncthing-relay.nix => syncthing/relay.nix} | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename nixos/tests/{syncthing-folders.nix => syncthing/folders.nix} (100%) rename nixos/tests/{syncthing-init.nix => syncthing/init.nix} (100%) rename nixos/tests/{syncthing.nix => syncthing/main.nix} (100%) rename nixos/tests/{syncthing-many-devices.nix => syncthing/many-devices.nix} (100%) rename nixos/tests/{syncthing-no-settings.nix => syncthing/no-settings.nix} (100%) rename nixos/tests/{syncthing-relay.nix => syncthing/relay.nix} (100%) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 1870ae999872..7cdf9352822c 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1404,12 +1404,12 @@ in switchTest = runTest ./switch-test.nix; sx = runTest ./sx.nix; sympa = runTest ./sympa.nix; - syncthing = runTest ./syncthing.nix; - syncthing-folders = runTest ./syncthing-folders.nix; - syncthing-init = runTest ./syncthing-init.nix; - syncthing-many-devices = runTest ./syncthing-many-devices.nix; - syncthing-no-settings = runTest ./syncthing-no-settings.nix; - syncthing-relay = runTest ./syncthing-relay.nix; + syncthing = runTest ./syncthing/main.nix; + syncthing-folders = runTest ./syncthing/folders.nix; + syncthing-init = runTest ./syncthing/init.nix; + syncthing-many-devices = runTest ./syncthing/many-devices.nix; + syncthing-no-settings = runTest ./syncthing/no-settings.nix; + syncthing-relay = runTest ./syncthing/relay.nix; sysfs = runTest ./sysfs.nix; sysinit-reactivation = runTest ./sysinit-reactivation.nix; systemd = runTest ./systemd.nix; diff --git a/nixos/tests/syncthing-folders.nix b/nixos/tests/syncthing/folders.nix similarity index 100% rename from nixos/tests/syncthing-folders.nix rename to nixos/tests/syncthing/folders.nix diff --git a/nixos/tests/syncthing-init.nix b/nixos/tests/syncthing/init.nix similarity index 100% rename from nixos/tests/syncthing-init.nix rename to nixos/tests/syncthing/init.nix diff --git a/nixos/tests/syncthing.nix b/nixos/tests/syncthing/main.nix similarity index 100% rename from nixos/tests/syncthing.nix rename to nixos/tests/syncthing/main.nix diff --git a/nixos/tests/syncthing-many-devices.nix b/nixos/tests/syncthing/many-devices.nix similarity index 100% rename from nixos/tests/syncthing-many-devices.nix rename to nixos/tests/syncthing/many-devices.nix diff --git a/nixos/tests/syncthing-no-settings.nix b/nixos/tests/syncthing/no-settings.nix similarity index 100% rename from nixos/tests/syncthing-no-settings.nix rename to nixos/tests/syncthing/no-settings.nix diff --git a/nixos/tests/syncthing-relay.nix b/nixos/tests/syncthing/relay.nix similarity index 100% rename from nixos/tests/syncthing-relay.nix rename to nixos/tests/syncthing/relay.nix From 02795dee2c0946cb4c8a4111d896675550debd0b Mon Sep 17 00:00:00 2001 From: Kimberly Swanson Date: Sun, 22 Jun 2025 10:14:44 +0100 Subject: [PATCH 19/52] nixos/syncthing: add guiPasswordFile option --- .../modules/services/networking/syncthing.nix | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/syncthing.nix b/nixos/modules/services/networking/syncthing.nix index aa4d08a7f74a..c3baf59db455 100644 --- a/nixos/modules/services/networking/syncthing.nix +++ b/nixos/modules/services/networking/syncthing.nix @@ -236,13 +236,14 @@ let + /* Now we update the other settings defined in cleanedConfig which are not - "folders" or "devices". + "folders", "devices", or "guiPasswordFile". */ (lib.pipe cleanedConfig [ builtins.attrNames (lib.subtractLists [ "folders" "devices" + "guiPasswordFile" ]) (map (subOption: '' curl -X PUT -d ${ @@ -251,6 +252,12 @@ let '')) (lib.concatStringsSep "\n") ]) + + + # Now we hash the contents of guiPasswordFile and use the result to update the gui password + (lib.optionalString (cfg.guiPasswordFile != null) '' + ${pkgs.mkpasswd}/bin/mkpasswd -m bcrypt --stdin <"${cfg.guiPasswordFile}" | tr -d "\n" > "$RUNTIME_DIRECTORY/password_bcrypt" + curl -X PATCH --variable "pw_bcrypt@$RUNTIME_DIRECTORY/password_bcrypt" --expand-json '{ "password": "{{pw_bcrypt}}" }' ${curlAddressArgs "/rest/config/gui"} + '') + '' # restart Syncthing if required if curl ${curlAddressArgs "/rest/config/restart-required"} | @@ -285,6 +292,14 @@ in ''; }; + guiPasswordFile = mkOption { + type = types.nullOr types.str; + default = null; + description = '' + Path to file containing the plaintext password for Syncthing's GUI. + ''; + }; + overrideDevices = mkOption { type = types.bool; default = true; @@ -837,6 +852,12 @@ in from the configuration, creating path conflicts. ''; } + { + assertion = (lib.hasAttrByPath [ "gui" "password" ] cfg.settings) -> cfg.guiPasswordFile == null; + message = '' + Please use only one of services.syncthing.settings.gui.password or services.syncthing.guiPasswordFile. + ''; + } ]; networking.firewall = mkIf cfg.openDefaultPorts { From 7f483bbc0002e0ef0424eeddb8b3c948cc8f29cf Mon Sep 17 00:00:00 2001 From: NullCube Date: Fri, 21 Mar 2025 23:25:23 -0700 Subject: [PATCH 20/52] nixos/tests/syncthing: add guiPassword and guiPasswordFile tests --- nixos/tests/all-tests.nix | 2 + nixos/tests/syncthing/guiPassword.nix | 56 +++++++++++++++++++ nixos/tests/syncthing/guiPasswordFile.nix | 56 +++++++++++++++++++ .../networking/syncthing/default.nix | 2 + 4 files changed, 116 insertions(+) create mode 100644 nixos/tests/syncthing/guiPassword.nix create mode 100644 nixos/tests/syncthing/guiPasswordFile.nix diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 7cdf9352822c..03af2e0a1ecc 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1406,6 +1406,8 @@ in sympa = runTest ./sympa.nix; syncthing = runTest ./syncthing/main.nix; syncthing-folders = runTest ./syncthing/folders.nix; + syncthing-guiPassword = runTest ./syncthing/guiPassword.nix; + syncthing-guiPasswordFile = runTest ./syncthing/guiPasswordFile.nix; syncthing-init = runTest ./syncthing/init.nix; syncthing-many-devices = runTest ./syncthing/many-devices.nix; syncthing-no-settings = runTest ./syncthing/no-settings.nix; diff --git a/nixos/tests/syncthing/guiPassword.nix b/nixos/tests/syncthing/guiPassword.nix new file mode 100644 index 000000000000..ab802b68f6c0 --- /dev/null +++ b/nixos/tests/syncthing/guiPassword.nix @@ -0,0 +1,56 @@ +{ lib, pkgs, ... }: +{ + name = "syncthing-guiPassword"; + meta.maintainers = with lib.maintainers; [ nullcube ]; + enableOCR = true; + + nodes.machine = { + imports = [ ../common/x11.nix ]; + environment.systemPackages = with pkgs; [ + syncthing + xdotool + ]; + + programs.firefox = { + enable = true; + preferences = { + # Prevent firefox from asking to save the password + "signon.rememberSignons" = false; + }; + }; + + services.syncthing = { + enable = true; + settings.options.urAccepted = -1; + settings.gui = { + insecureAdminAccess = false; + user = "alice"; + password = "alice_password"; + }; + }; + }; + + testScript = '' + machine.wait_for_unit("syncthing.service") + machine.wait_for_x() + machine.execute("xterm -e 'firefox 127.0.0.1:8384' >&2 &") + machine.wait_for_window("Syncthing") + machine.screenshot("pre-login") + + with subtest("Syncthing requests authentication"): + machine.wait_for_text("Authentication Required", 10) + + with subtest("Syncthing password is valid"): + machine.execute("xdotool type \"alice\"") + machine.execute("xdotool key Tab") + machine.execute("xdotool type \"alice_password\"") + machine.execute("xdotool key Enter") + machine.sleep(2) + machine.wait_for_text("This Device", 10) + machine.screenshot("post-login") + + with subtest("Plaintext Syncthing password is not in final config"): + config = machine.succeed("cat /var/lib/syncthing/.config/syncthing/config.xml") + assert "alice_password" not in config + ''; +} diff --git a/nixos/tests/syncthing/guiPasswordFile.nix b/nixos/tests/syncthing/guiPasswordFile.nix new file mode 100644 index 000000000000..fa25fe946c6a --- /dev/null +++ b/nixos/tests/syncthing/guiPasswordFile.nix @@ -0,0 +1,56 @@ +{ lib, pkgs, ... }: +{ + name = "syncthing-guiPasswordFile"; + meta.maintainers = with lib.maintainers; [ nullcube ]; + enableOCR = true; + + nodes.machine = { + imports = [ ../common/x11.nix ]; + environment.systemPackages = with pkgs; [ + syncthing + xdotool + ]; + + programs.firefox = { + enable = true; + preferences = { + # Prevent firefox from asking to save the password + "signon.rememberSignons" = false; + }; + }; + + services.syncthing = { + enable = true; + settings.options.urAccepted = -1; + settings.gui = { + insecureAdminAccess = false; + user = "alice"; + }; + guiPasswordFile = (pkgs.writeText "syncthing-password-file" ''alice_password'').outPath; + }; + }; + + testScript = '' + machine.wait_for_unit("syncthing.service") + machine.wait_for_x() + machine.execute("xterm -e 'firefox 127.0.0.1:8384' >&2 &") + machine.wait_for_window("Syncthing") + machine.screenshot("pre-login") + + with subtest("Syncthing requests authentication"): + machine.wait_for_text("Authentication Required", 10) + + with subtest("Syncthing password is valid"): + machine.execute("xdotool type \"alice\"") + machine.execute("xdotool key Tab") + machine.execute("xdotool type \"alice_password\"") + machine.execute("xdotool key Enter") + machine.sleep(2) + machine.wait_for_text("This Device", 10) + machine.screenshot("post-login") + + with subtest("Plaintext Syncthing password is not in final config"): + config = machine.succeed("cat /var/lib/syncthing/.config/syncthing/config.xml") + assert "alice_password" not in config + ''; +} diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index 50506a77f795..e1a5709cd23a 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -67,6 +67,8 @@ let tests = { inherit (nixosTests) syncthing + syncthing-guiPassword + syncthing-guiPasswordFile syncthing-init syncthing-many-devices syncthing-no-settings From cc0f5822823dd9e88b25e6728a5fde2072767d55 Mon Sep 17 00:00:00 2001 From: NullCube Date: Fri, 26 Sep 2025 03:07:00 -0700 Subject: [PATCH 21/52] syncthing: add missing syncthing-folders test --- pkgs/applications/networking/syncthing/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index e1a5709cd23a..9e8356ba0425 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -67,6 +67,7 @@ let tests = { inherit (nixosTests) syncthing + syncthing-folders syncthing-guiPassword syncthing-guiPasswordFile syncthing-init From dffad9dff3a71cd916322b807bc3a31af6bd09b8 Mon Sep 17 00:00:00 2001 From: NullCube Date: Sun, 28 Sep 2025 07:03:36 -0700 Subject: [PATCH 22/52] nixos/tests/syncthing: disable syncthing-many-devices test The `syncthing-many-devices` test has been failing since at least 2025-07-06, and there doesn't appear to be any issue reports relating to it. Disabling is done simply out of convenience, and an issue has been reported about it. Tracking issue: https://github.com/NixOS/nixpkgs/issues/447674 First failing hydra build: https://hydra.nixos.org/build/302090970 --- nixos/tests/all-tests.nix | 4 +++- pkgs/applications/networking/syncthing/default.nix | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index 03af2e0a1ecc..94614883b2d5 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1409,7 +1409,9 @@ in syncthing-guiPassword = runTest ./syncthing/guiPassword.nix; syncthing-guiPasswordFile = runTest ./syncthing/guiPasswordFile.nix; syncthing-init = runTest ./syncthing/init.nix; - syncthing-many-devices = runTest ./syncthing/many-devices.nix; + # FIXME: Test has been failing since 2025-07-06: + # https://github.com/NixOS/nixpkgs/issues/447674 + # syncthing-many-devices = runTest ./syncthing/many-devices.nix; syncthing-no-settings = runTest ./syncthing/no-settings.nix; syncthing-relay = runTest ./syncthing/relay.nix; sysfs = runTest ./sysfs.nix; diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix index 9e8356ba0425..97b84cd59dbc 100644 --- a/pkgs/applications/networking/syncthing/default.nix +++ b/pkgs/applications/networking/syncthing/default.nix @@ -71,7 +71,6 @@ let syncthing-guiPassword syncthing-guiPasswordFile syncthing-init - syncthing-many-devices syncthing-no-settings syncthing-relay ; From 37fde138c429577e456c70cab68cbb98b2614119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 3 Oct 2025 04:45:59 -0700 Subject: [PATCH 23/52] python3Packages.eq3btsmart: 2.3.0 -> 2.4.1 Diff: https://github.com/EuleMitKeule/eq3btsmart/compare/2.3.0...2.4.1 Changelog: https://github.com/EuleMitKeule/eq3btsmart/releases/tag/2.4.1 --- pkgs/development/python-modules/eq3btsmart/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/eq3btsmart/default.nix b/pkgs/development/python-modules/eq3btsmart/default.nix index f8e0c902c4da..3edb4644d4c0 100644 --- a/pkgs/development/python-modules/eq3btsmart/default.nix +++ b/pkgs/development/python-modules/eq3btsmart/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "eq3btsmart"; - version = "2.3.0"; + version = "2.4.1"; pyproject = true; src = fetchFromGitHub { owner = "EuleMitKeule"; repo = "eq3btsmart"; tag = version; - hash = "sha256-9x2uQUpLl0bSOiEBTvt6IPZCJ3Oj+U4knlvrTXPGs3I="; + hash = "sha256-iT3XojEvD2FH+2/ybZ8xOkh7DE1FlFdRLu3tml3HA4A="; }; build-system = [ setuptools ]; From fce4e36f8edce9f327dc0e37f7550c04229c9d04 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 3 Oct 2025 12:24:39 +0000 Subject: [PATCH 24/52] python3Packages.cysignals: 1.12.4 -> 1.12.5 --- pkgs/development/python-modules/cysignals/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cysignals/default.nix b/pkgs/development/python-modules/cysignals/default.nix index 12d72fb74cf1..090a8fccd1da 100644 --- a/pkgs/development/python-modules/cysignals/default.nix +++ b/pkgs/development/python-modules/cysignals/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "cysignals"; - version = "1.12.4"; + version = "1.12.5"; pyproject = true; src = fetchFromGitHub { owner = "sagemath"; repo = "cysignals"; tag = version; - hash = "sha256-VwjAgJTrK703Eg+H9c8lJt2+5DGSSKv49YeWl7SPDck="; + hash = "sha256-y7CA0aih2vATLz0Fhwf19/wRw6GnQvNhGo9lS4+VrgI="; }; build-system = [ From f698d0f25b56ec86961993085fed22463a1aa26f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 3 Oct 2025 20:36:29 +0000 Subject: [PATCH 25/52] dnglab: 0.7.0 -> 0.7.1 --- pkgs/by-name/dn/dnglab/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/dn/dnglab/package.nix b/pkgs/by-name/dn/dnglab/package.nix index c09927e50d50..24b6f1811cca 100644 --- a/pkgs/by-name/dn/dnglab/package.nix +++ b/pkgs/by-name/dn/dnglab/package.nix @@ -5,7 +5,7 @@ }: rustPlatform.buildRustPackage rec { pname = "dnglab"; - version = "0.7.0"; + version = "0.7.1"; src = fetchFromGitHub { owner = "dnglab"; @@ -15,10 +15,10 @@ rustPlatform.buildRustPackage rec { postFetch = '' rm -rf "$out"/rawler/data/testdata/cameras/Canon/{"EOS REBEL T7i","EOS Rebel T7i"} ''; - hash = "sha256-nUZZgVDnFH+TYx9eltI7edsAiWYPkvc3wwnkSNXr0Jw="; + hash = "sha256-KBv7HhsGSPo1fa2QGXZi7zjh5Bu9wEtKwZ9X2TRkg2g="; }; - cargoHash = "sha256-n7p16cCk1sJaTBQ/E7e4BmPeMvcApzTGBrd+CmJ8E3k="; + cargoHash = "sha256-0Fxhs6Igi5kf/I5wgQ6bM01ka3Favo4AhfIL2DSvLAw="; postInstall = '' rm $out/bin/benchmark $out/bin/identify From 52ecff93700b2e8569c93386c4a5ed5804cc117d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Oct 2025 00:50:08 +0200 Subject: [PATCH 26/52] burpsuite: 2025.9.3 -> 2025.9.4 --- pkgs/by-name/bu/burpsuite/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/bu/burpsuite/package.nix b/pkgs/by-name/bu/burpsuite/package.nix index fb21a68824fe..00e54d0cc095 100644 --- a/pkgs/by-name/bu/burpsuite/package.nix +++ b/pkgs/by-name/bu/burpsuite/package.nix @@ -9,20 +9,20 @@ }: let - version = "2025.9.3"; + version = "2025.9.4"; product = if proEdition then { productName = "pro"; productDesktop = "Burp Suite Professional Edition"; - hash = "sha256-gLcSx+AZdHW+LP4kPez1KVamTrp7IfGMF/caHDKAxK4="; + hash = "sha256-Q6fltYCkmVXXh/nhIalMKmLoV7lqNWcM6LjyfPIkORw="; } else { productName = "community"; productDesktop = "Burp Suite Community Edition"; - hash = "sha256-LmlmQ6UaIFMGFIFI9r7i9LV81ZcisuNygJo3/oUaWSM="; + hash = "sha256-8USmaNI1OZrbo33WkKIEybzGOTIAhIE+0J8tld4Kysg="; }; src = fetchurl { From 97387aef91335e711504536ba031ede47378d071 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 3 Oct 2025 23:01:59 +0000 Subject: [PATCH 27/52] python3Packages.array-record: 0.7.2 -> 0.8.1 --- .../python-modules/array-record/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/array-record/default.nix b/pkgs/development/python-modules/array-record/default.nix index 6cde9151bb55..bf52312777c5 100644 --- a/pkgs/development/python-modules/array-record/default.nix +++ b/pkgs/development/python-modules/array-record/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "array-record"; - version = "0.7.2"; + version = "0.8.1"; format = "wheel"; disabled = pythonOlder "3.10" || pythonAtLeast "3.14"; @@ -26,13 +26,12 @@ buildPythonPackage rec { dist = pyShortVersion; python = pyShortVersion; abi = pyShortVersion; - platform = "manylinux_2_17_x86_64.manylinux2014_x86_64"; + platform = "manylinux2014_x86_64.manylinux_2_17_x86_64"; hash = { - cp310 = "sha256-UmMEehSqMqgLy1TcYoKUX/tG4Tf8UM2xgnuUrXOiHGo="; - cp311 = "sha256-cUN9Ws8A1xIN/n+/oGfv3mGUfmlsojLS69iWRpA2meM="; - cp312 = "sha256-S+cV0NhXXlOzSTr2ED1oUuk6U1gQA0ZXoGPaWxGp/ZQ="; - cp313 = "sha256-C7UvwXV0/NXA5dhr7NbUCW/KeUWg5w5F18aN2oAUXAQ="; + cp311 = "sha256-CQ2ChYqTHjdU4QYvXGLCCudk8+XyTnnqkFQ5OAQ4Oo0="; + cp312 = "sha256-AF+29PToM7LeHE5RxiCtajCok7RtwWgDnZuzG3FGYHA="; + cp313 = "sha256-N7uALh/cmO22CoWVUsfn1JThQc85C/tzUKz9Y0Z9rq4="; } .${pyShortVersion} or (throw "${pname} is missing hash for ${pyShortVersion}"); }; From 84de5e65e8ca8ddcd2a094fbce5e8cdf7e8be026 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Oct 2025 01:09:50 +0200 Subject: [PATCH 28/52] python313Packages.twilio: 9.8.2 -> 9.8.3 Diff: https://github.com/twilio/twilio-python/compare/9.8.2...9.8.3 Changelog: https://github.com/twilio/twilio-python/blob/9.8.3/CHANGES.md --- pkgs/development/python-modules/twilio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/twilio/default.nix b/pkgs/development/python-modules/twilio/default.nix index 3f87185b719e..3c956d0f6735 100644 --- a/pkgs/development/python-modules/twilio/default.nix +++ b/pkgs/development/python-modules/twilio/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "twilio"; - version = "9.8.2"; + version = "9.8.3"; pyproject = true; disabled = pythonOlder "3.7"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "twilio"; repo = "twilio-python"; tag = version; - hash = "sha256-ZOkXJ1NN3qmHABfOBpR1tECCIfAwwVMGyLBbU1jYowc="; + hash = "sha256-bmDgzlI9W61uHbQHkaQ3VKu2Fwbr+y0N5Tec2AzjNBE="; }; build-system = [ setuptools ]; From f16c774df17b81b6f775576c1c1aaf8701b4727c Mon Sep 17 00:00:00 2001 From: Mateus Auler Date: Sun, 28 Sep 2025 20:41:30 -0300 Subject: [PATCH 29/52] git-worktree-switcher: 0.2.4 -> 0.2.6 --- pkgs/by-name/gi/git-worktree-switcher/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gi/git-worktree-switcher/package.nix b/pkgs/by-name/gi/git-worktree-switcher/package.nix index adec0677d5f9..eed927c03043 100644 --- a/pkgs/by-name/gi/git-worktree-switcher/package.nix +++ b/pkgs/by-name/gi/git-worktree-switcher/package.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "git-worktree-switcher"; - version = "0.2.4"; + version = "0.2.6"; src = fetchFromGitHub { owner = "mateusauler"; repo = "git-worktree-switcher"; tag = "${finalAttrs.version}-fork"; - hash = "sha256-N+bDsLEUM6FWhyliUav2n5hwMa5EEuVPoIK+Cja0DxA="; + hash = "sha256-vPnAXiizCU5nXce+aE2x2G5ei+7A+eBTUpxcGleSSa8="; }; buildInputs = [ From bcc9d03d40dfe373b3ed4630ae904432a55b37ad Mon Sep 17 00:00:00 2001 From: Mateus Auler Date: Sun, 28 Sep 2025 20:41:30 -0300 Subject: [PATCH 30/52] git-worktree-switcher: add package option --- nixos/modules/programs/git-worktree-switcher.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/modules/programs/git-worktree-switcher.nix b/nixos/modules/programs/git-worktree-switcher.nix index c85ebfbd49cd..e96e57eeb0f2 100644 --- a/nixos/modules/programs/git-worktree-switcher.nix +++ b/nixos/modules/programs/git-worktree-switcher.nix @@ -12,17 +12,18 @@ let shell: if (shell == "fish") then '' - ${lib.getExe pkgs.git-worktree-switcher} init ${shell} | source + ${lib.getExe cfg.package} init ${shell} | source '' else '' - eval "$(${lib.getExe pkgs.git-worktree-switcher} init ${shell})" + eval "$(${lib.getExe cfg.package} init ${shell})" ''; in { options = { programs.git-worktree-switcher = { enable = lib.mkEnableOption "git-worktree-switcher, switch between git worktrees with speed."; + package = lib.mkPackageOption pkgs "git-worktree-switcher" { }; }; }; From ff62c64d7c992d20ce2c548108579eae77777e90 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 4 Oct 2025 03:19:12 +0200 Subject: [PATCH 31/52] qiv: 2.3.3 -> 3.0.2 --- pkgs/applications/graphics/qiv/default.nix | 19 ++++++++++--------- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/graphics/qiv/default.nix b/pkgs/applications/graphics/qiv/default.nix index 311ed40220f3..2f0d4d99d131 100644 --- a/pkgs/applications/graphics/qiv/default.nix +++ b/pkgs/applications/graphics/qiv/default.nix @@ -1,28 +1,29 @@ { lib, stdenv, - fetchurl, + fetchFromGitea, pkg-config, - gtk2, - imlib2, + gtk3, file, lcms2, libexif, }: stdenv.mkDerivation (rec { - version = "2.3.3"; pname = "qiv"; + version = "3.0.2"; - src = fetchurl { - url = "https://spiegl.de/qiv/download/${pname}-${version}.tgz"; - sha256 = "sha256-7whf/eLUiwWzZlk55a4eNZ06OBAI+4J2hPfW/UxTNwQ="; + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "ciberandy"; + repo = "qiv"; + tag = "v${version}"; + hash = "sha256-U++ZyJ0cVa5x/1Me7Em1W33jAYe3Q/TfMZgPj71ZaFA="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ - gtk2 - imlib2 + gtk3 file lcms2 libexif diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8c5a33b35044..a43dbe9fd434 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12418,9 +12418,7 @@ with pkgs; pothos = libsForQt5.callPackage ../applications/radio/pothos { }; - qiv = callPackage ../applications/graphics/qiv { - imlib2 = imlib2Full; - }; + qiv = callPackage ../applications/graphics/qiv { }; # perhaps there are better apps for this task? It's how I had configured my previous system. # And I don't want to rewrite all rules From d6c87a552c8be3e0a967e2ef51576bcc5fb93124 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 4 Oct 2025 03:20:00 +0200 Subject: [PATCH 32/52] qiv: modernize --- pkgs/applications/graphics/qiv/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/graphics/qiv/default.nix b/pkgs/applications/graphics/qiv/default.nix index 2f0d4d99d131..03615b74947d 100644 --- a/pkgs/applications/graphics/qiv/default.nix +++ b/pkgs/applications/graphics/qiv/default.nix @@ -9,7 +9,7 @@ libexif, }: -stdenv.mkDerivation (rec { +stdenv.mkDerivation (finalAttrs: { pname = "qiv"; version = "3.0.2"; @@ -17,7 +17,7 @@ stdenv.mkDerivation (rec { domain = "codeberg.org"; owner = "ciberandy"; repo = "qiv"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-U++ZyJ0cVa5x/1Me7Em1W33jAYe3Q/TfMZgPj71ZaFA="; }; @@ -30,16 +30,17 @@ stdenv.mkDerivation (rec { ]; preBuild = '' - substituteInPlace Makefile --replace /usr/local "$out" - substituteInPlace Makefile --replace /man/ /share/man/ - substituteInPlace Makefile --replace /share/share/ /share/ + substituteInPlace Makefile \ + --replace-fail /usr/local "$out" \ + --replace-fail /man/ /share/man/ \ + --replace-fail /share/share/ /share/ ''; - meta = with lib; { + meta = { description = "Quick image viewer"; homepage = "http://spiegl.de/qiv/"; - license = licenses.gpl2; - platforms = platforms.linux; + license = lib.licenses.gpl2Only; + platforms = lib.platforms.linux; mainProgram = "qiv"; }; }) From 55321d21dd562c2d562ba9c7165b43e0b4b5fe97 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 4 Oct 2025 03:20:42 +0200 Subject: [PATCH 33/52] qiv: migrate to by-name --- .../graphics/qiv/default.nix => by-name/qi/qiv/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{applications/graphics/qiv/default.nix => by-name/qi/qiv/package.nix} (100%) diff --git a/pkgs/applications/graphics/qiv/default.nix b/pkgs/by-name/qi/qiv/package.nix similarity index 100% rename from pkgs/applications/graphics/qiv/default.nix rename to pkgs/by-name/qi/qiv/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a43dbe9fd434..077b81c86b3e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12418,8 +12418,6 @@ with pkgs; pothos = libsForQt5.callPackage ../applications/radio/pothos { }; - qiv = callPackage ../applications/graphics/qiv { }; - # perhaps there are better apps for this task? It's how I had configured my previous system. # And I don't want to rewrite all rules profanity = callPackage ../applications/networking/instant-messengers/profanity ( From 5986595fb7c6937d394eadbddc391e1a5cfee377 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 4 Oct 2025 03:29:52 +0200 Subject: [PATCH 34/52] slurm: drop gtk2 --- nixos/doc/manual/release-notes/rl-2511.section.md | 2 ++ pkgs/by-name/sl/slurm/package.nix | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2511.section.md b/nixos/doc/manual/release-notes/rl-2511.section.md index 7203addaa835..4ac8d3cbd5e1 100644 --- a/nixos/doc/manual/release-notes/rl-2511.section.md +++ b/nixos/doc/manual/release-notes/rl-2511.section.md @@ -373,6 +373,8 @@ - `strongSwan` has been updated to 6.0. See [strongSwan 6.0.0 release notes](https://github.com/strongswan/strongswan/releases/tag/6.0.0) for a complete list of changes. +- `slurm` no longer supports gtk2. + - `amdgpu` kernel driver overdrive mode can now be enabled by setting [hardware.amdgpu.overdrive.enable](#opt-hardware.amdgpu.overdrive.enable) and customized through [hardware.amdgpu.overdrive.ppfeaturemask](#opt-hardware.amdgpu.overdrive.ppfeaturemask). This allows for fine-grained control over the GPU's performance and maybe required by overclocking softwares like Corectrl and Lact. These new options replace old options such as {option}`programs.corectrl.gpuOverclock.enable` and {option}`programs.tuxclocker.enableAMD`. diff --git a/pkgs/by-name/sl/slurm/package.nix b/pkgs/by-name/sl/slurm/package.nix index 5b8872a81de6..7912050f5bea 100644 --- a/pkgs/by-name/sl/slurm/package.nix +++ b/pkgs/by-name/sl/slurm/package.nix @@ -33,8 +33,6 @@ http-parser, # enable internal X11 support via libssh2 enableX11 ? true, - enableGtk2 ? false, - gtk2, enableNVML ? config.cudaSupport, nvml, }: @@ -109,7 +107,6 @@ stdenv.mkDerivation rec { http-parser ] ++ lib.optionals enableX11 [ xorg.xauth ] - ++ lib.optionals enableGtk2 [ gtk2 ] ++ lib.optionals enableNVML [ (runCommand "collect-nvml" { } '' mkdir $out @@ -133,7 +130,6 @@ stdenv.mkDerivation rec { "--with-bpf=${libbpf}" "--without-rpath" # Required for configure to pick up the right dlopen path ] - ++ (lib.optional enableGtk2 "--disable-gtktest") ++ (lib.optional (!enableX11) "--disable-x11") ++ (lib.optional (enableNVML) "--with-nvml"); From ff87bc4d9491e075ee3c45a7030ab9dc451955db Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 4 Oct 2025 01:45:17 +0000 Subject: [PATCH 35/52] oxker: 0.11.1 -> 0.12.0 --- pkgs/by-name/ox/oxker/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ox/oxker/package.nix b/pkgs/by-name/ox/oxker/package.nix index 3ede127f6f52..d3683ec30059 100644 --- a/pkgs/by-name/ox/oxker/package.nix +++ b/pkgs/by-name/ox/oxker/package.nix @@ -7,14 +7,14 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "oxker"; - version = "0.11.1"; + version = "0.12.0"; src = fetchCrate { inherit (finalAttrs) pname version; - hash = "sha256-YJe1WiKlvExrcpB8LZSLzrLcMaw84oL4OoHSRo+lqRo="; + hash = "sha256-cTusvvxr2ec2Qy6iWwGRmPcvGpRMOKxzrAx/qRvj+BE="; }; - cargoHash = "sha256-V/9s5T+Ofkt22hmjxxFtgkDBdwfeyFUr98xXChrFKwM="; + cargoHash = "sha256-X5iNAwp0DcXoT82ZLq37geifztvJ/zZgOgM3SycAazA="; passthru.updateScript = nix-update-script { }; From 97f5cfddc8b5756cb40da0dff3c04b158f4d150b Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 4 Oct 2025 05:03:09 +0200 Subject: [PATCH 36/52] python3Packages.pygeocodio: fix build --- pkgs/development/python-modules/pygeocodio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pygeocodio/default.nix b/pkgs/development/python-modules/pygeocodio/default.nix index cf06e8687ca9..96350f02b599 100644 --- a/pkgs/development/python-modules/pygeocodio/default.nix +++ b/pkgs/development/python-modules/pygeocodio/default.nix @@ -3,7 +3,7 @@ stdenv, buildPythonPackage, fetchFromGitHub, - setuptools, + hatchling, requests, pytestCheckHook, httpretty, @@ -22,7 +22,7 @@ buildPythonPackage rec { }; build-system = [ - setuptools + hatchling ]; dependencies = [ From f1905828947795ef44aa35bfdf5248149976b3e7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 4 Oct 2025 04:26:54 +0000 Subject: [PATCH 37/52] spacetimedb: 1.4.0 -> 1.5.0 --- pkgs/by-name/sp/spacetimedb/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/sp/spacetimedb/package.nix b/pkgs/by-name/sp/spacetimedb/package.nix index 523bfc391df3..ddda40733761 100644 --- a/pkgs/by-name/sp/spacetimedb/package.nix +++ b/pkgs/by-name/sp/spacetimedb/package.nix @@ -13,16 +13,16 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "spacetimedb"; - version = "1.4.0"; + version = "1.5.0"; src = fetchFromGitHub { owner = "clockworklabs"; repo = "spacetimedb"; tag = "v${finalAttrs.version}"; - hash = "sha256-SB8OWHWsYc2nrnap9BoHefTQx8BufIbfy//ga9M4N4I="; + hash = "sha256-fUs3EdyOzUogEEhSOnpFrA1LeivEa/crmlhQcf2lGUE="; }; - cargoHash = "sha256-MOx1jBKVX69Hhn8BomnVb0UUOCvzrW2HTPPulIJMYY4="; + cargoHash = "sha256-EWLfAyYN/U2kt03lmR8mVXc+j/DbjFat+RysNUt99QI="; nativeBuildInputs = [ pkg-config From fd1eb14a1637c1d3f490025ef692ac9f0b6eb85c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 4 Oct 2025 06:40:34 +0000 Subject: [PATCH 38/52] lock: 1.7.6 -> 1.8.0 --- pkgs/by-name/lo/lock/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/lo/lock/package.nix b/pkgs/by-name/lo/lock/package.nix index 92cab5748015..e4c969a6b776 100644 --- a/pkgs/by-name/lo/lock/package.nix +++ b/pkgs/by-name/lo/lock/package.nix @@ -19,13 +19,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "lock"; - version = "1.7.6"; + version = "1.8.0"; src = fetchFromGitHub { owner = "konstantintutsch"; repo = "Lock"; tag = "v${finalAttrs.version}"; - hash = "sha256-DfHQKz+DuBnISsX4s0I4+3dvSsCDVGHYp5kcSaUrfjM="; + hash = "sha256-t472uLuuT5QPmfxkRP6wPalblMU68iD2wyKOxSrJfeU="; }; strictDeps = true; From 136056887888c4ee914c0873f1d23bff07f0209a Mon Sep 17 00:00:00 2001 From: Luis Alberto Santos Date: Mon, 29 Sep 2025 18:54:49 +0200 Subject: [PATCH 39/52] maintainers: add lasantosr --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index cd20d19d5c32..65e8a706ba24 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14284,6 +14284,11 @@ githubId = 2034420; name = "Luke Sandell"; }; + lasantosr = { + github = "lasantosr"; + githubId = 5946707; + name = "Luis Santos"; + }; lassulus = { email = "lassulus@gmail.com"; matrix = "@lassulus:lassul.us"; From 6dd8ec6dea48c0169e27ead51eb23ad54a593cd3 Mon Sep 17 00:00:00 2001 From: Luis Alberto Santos Date: Wed, 1 Oct 2025 19:09:56 +0200 Subject: [PATCH 40/52] intelli-shell: 0.2.7 -> 3.2.3 --- pkgs/by-name/in/intelli-shell/package.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/in/intelli-shell/package.nix b/pkgs/by-name/in/intelli-shell/package.nix index 789c6c76b03d..f105fe38466a 100644 --- a/pkgs/by-name/in/intelli-shell/package.nix +++ b/pkgs/by-name/in/intelli-shell/package.nix @@ -11,21 +11,26 @@ rustPlatform.buildRustPackage rec { pname = "intelli-shell"; - version = "0.2.7"; + version = "3.2.3"; src = fetchFromGitHub { owner = "lasantosr"; repo = "intelli-shell"; rev = "v${version}"; - hash = "sha256-D7hB1vKi54L7hU3TqTvzxXIr6XohfYLUTidR6wFJmfo="; + hash = "sha256-kwwZzuo/eH+bssSFjBWC3YwP6X/CoRPo8OCa/0wGrp8="; }; - cargoHash = "sha256-vzmUmznY5uqPhaTzfT0KR+k2nvPmB0Jm9/N4lgzEe2E="; + cargoHash = "sha256-0wS751jE0VK/FaoL7WNc2OezJeDmYJNO+IKezB7Ma1Q="; nativeBuildInputs = [ pkg-config ]; + buildNoDefaultFeatures = true; + buildFeatures = [ + "extra-features" + ]; + buildInputs = [ libgit2 openssl @@ -41,7 +46,7 @@ rustPlatform.buildRustPackage rec { description = "Like IntelliSense, but for shells"; homepage = "https://github.com/lasantosr/intelli-shell"; license = licenses.asl20; - maintainers = [ ]; + maintainers = with maintainers; [ lasantosr ]; mainProgram = "intelli-shell"; }; } From a7d95643693b71373a3c82a81b85a6d9360f441f Mon Sep 17 00:00:00 2001 From: kpbaks Date: Thu, 4 Sep 2025 21:01:41 +0200 Subject: [PATCH 41/52] gonzo: init at 0.2.1 --- pkgs/by-name/go/gonzo/package.nix | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pkgs/by-name/go/gonzo/package.nix diff --git a/pkgs/by-name/go/gonzo/package.nix b/pkgs/by-name/go/gonzo/package.nix new file mode 100644 index 000000000000..c6b6b6ba69c4 --- /dev/null +++ b/pkgs/by-name/go/gonzo/package.nix @@ -0,0 +1,47 @@ +{ + lib, + go, + buildGoModule, + fetchFromGitHub, + nix-update-script, + versionCheckHook, +}: + +buildGoModule (finalAttrs: { + pname = "gonzo"; + version = "0.2.1"; + + src = fetchFromGitHub { + owner = "control-theory"; + repo = "gonzo"; + tag = "v${finalAttrs.version}"; + hash = "sha256-P8Ntt8Dj5zq+Ff5MkZEvWabk2w5Cm6tXxl3ssMxDNok="; + }; + + vendorHash = "sha256-XKwtq8EF774lHLHtyFzveFa5agJa15CvhsuwwaQdJwU="; + + ldflags = [ + "-s" + "-w" + "-X=main.version=${finalAttrs.version}" + "-X=main.commit=${finalAttrs.src.tag}" + "-X=main.buildTime=1970-01-01T00:00:00Z" + "-X=main.goVersion=${lib.getVersion go}" + ]; + + passthru.updateScript = nix-update-script { }; + + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + versionCheckProgramArg = "--version"; + + meta = { + description = "TUI log analysis tool"; + homepage = "https://gonzo.controltheory.com/"; + downloadPage = "https://github.com/control-theory/gonzo"; + changelog = "https://github.com/control-theory/gonzo/releases/tag/v${finalAttrs.src.tag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ kpbaks ]; + mainProgram = "gonzo"; + }; +}) From 072dd2663dd3cb8ded3c1e4c1efee0edf2f97328 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 4 Oct 2025 10:20:12 +0000 Subject: [PATCH 42/52] sketchybar-app-font: 2.0.43 -> 2.0.46 --- pkgs/by-name/sk/sketchybar-app-font/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sk/sketchybar-app-font/package.nix b/pkgs/by-name/sk/sketchybar-app-font/package.nix index 7a7016bca2d7..836cc6dd25c3 100644 --- a/pkgs/by-name/sk/sketchybar-app-font/package.nix +++ b/pkgs/by-name/sk/sketchybar-app-font/package.nix @@ -9,13 +9,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "sketchybar-app-font"; - version = "2.0.43"; + version = "2.0.46"; src = fetchFromGitHub { owner = "kvndrsslr"; repo = "sketchybar-app-font"; tag = "v${finalAttrs.version}"; - hash = "sha256-F2Zg3sg56lftY1NWqwUZiYhEP/JCebWUg5ICAnB4Mu8="; + hash = "sha256-s4R0kxLbaWrjoLacnfZcLdtcRD0rC1na2JOV3B+p6T8="; }; pnpmDeps = pnpm_9.fetchDeps { From cf2677a918075e1dd0a7f834b2b8a67fb0961501 Mon Sep 17 00:00:00 2001 From: codgician <15964984+codgician@users.noreply.github.com> Date: Sat, 4 Oct 2025 18:20:59 +0800 Subject: [PATCH 43/52] prl-tools: 26.0.1-57243 -> 26.1.1-57288 --- .../manual/release-notes/rl-2511.section.md | 2 + .../virtualisation/parallels-guest.nix | 18 +---- .../pr/prl-tools/package.nix} | 72 +++++++------------ .../linux => by-name/pr}/prl-tools/update.sh | 2 +- pkgs/top-level/linux-kernels.nix | 3 +- 5 files changed, 32 insertions(+), 65 deletions(-) rename pkgs/{os-specific/linux/prl-tools/default.nix => by-name/pr/prl-tools/package.nix} (80%) rename pkgs/{os-specific/linux => by-name/pr}/prl-tools/update.sh (97%) diff --git a/nixos/doc/manual/release-notes/rl-2511.section.md b/nixos/doc/manual/release-notes/rl-2511.section.md index 0357e6fa5b66..bedd014d2cc9 100644 --- a/nixos/doc/manual/release-notes/rl-2511.section.md +++ b/nixos/doc/manual/release-notes/rl-2511.section.md @@ -361,3 +361,5 @@ - `sparkleshare` has been removed as it no longer builds and has been abandoned upstream. - The `open-webui` package's postgres support have been moved to optional dependencies to comply with upstream changes in 0.6.26. + +- `prl-tools` has been moved out of `linuxPackages` because Parallels Guest Tools become driverless since 26.1.0. diff --git a/nixos/modules/virtualisation/parallels-guest.nix b/nixos/modules/virtualisation/parallels-guest.nix index 8d4d1851b45d..490a6beab3f6 100644 --- a/nixos/modules/virtualisation/parallels-guest.nix +++ b/nixos/modules/virtualisation/parallels-guest.nix @@ -1,6 +1,7 @@ { config, lib, + pkgs, ... }: @@ -27,20 +28,11 @@ in type = types.bool; default = false; description = '' - This enables Parallels Tools for Linux guests, along with provided - video, mouse and other hardware drivers. + This enables Parallels Tools for Linux guests. ''; }; - package = mkOption { - type = types.nullOr types.package; - default = config.boot.kernelPackages.prl-tools; - defaultText = "config.boot.kernelPackages.prl-tools"; - example = literalExpression "config.boot.kernelPackages.prl-tools"; - description = '' - Defines which package to use for prl-tools. Override to change the version. - ''; - }; + package = lib.mkPackageOption pkgs "prl-tools" { }; }; }; @@ -53,10 +45,6 @@ in boot.extraModulePackages = [ prl-tools ]; - boot.kernelModules = [ - "prl_tg" - ]; - services.timesyncd.enable = false; systemd.services.prltoolsd = { diff --git a/pkgs/os-specific/linux/prl-tools/default.nix b/pkgs/by-name/pr/prl-tools/package.nix similarity index 80% rename from pkgs/os-specific/linux/prl-tools/default.nix rename to pkgs/by-name/pr/prl-tools/package.nix index 1f9cf0e7651c..7c78f14257bb 100644 --- a/pkgs/os-specific/linux/prl-tools/default.nix +++ b/pkgs/by-name/pr/prl-tools/package.nix @@ -1,32 +1,28 @@ { - lib, - stdenv, - fetchurl, autoPatchelfHook, + bash, bbe, + coreutils, + cups, + dbus, + fetchurl, + fuse, + gawk, + glib, + lib, makeWrapper, + netcat, p7zip, perl, - undmg, - dbus-glib, - fuse, - glib, - xorg, - zlib, - kernel, - bash, - cups, - gawk, - netcat, + stdenv, timetrap, + undmg, util-linux, wayland, + xorg, }: let - kernelVersion = kernel.modDirVersion; - kernelDir = "${kernel.dev}/lib/modules/${kernelVersion}"; - libPath = lib.concatStringsSep ":" [ "${glib.out}/lib" "${xorg.libXrandr}/lib" @@ -34,6 +30,7 @@ let ]; scriptPath = lib.concatStringsSep ":" [ "${bash}/bin" + "${coreutils}/bin" "${cups}/sbin" "${gawk}/bin" "${netcat}/bin" @@ -43,13 +40,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "prl-tools"; - version = "26.0.1-57243"; + version = "26.1.1-57288"; # We download the full distribution to extract prl-tools-lin.iso from # => ${dmg}/Parallels\ Desktop.app/Contents/Resources/Tools/prl-tools-lin.iso src = fetchurl { url = "https://download.parallels.com/desktop/v${lib.versions.major finalAttrs.version}/${finalAttrs.version}/ParallelsDesktop-${finalAttrs.version}.dmg"; - hash = "sha256-jAOP9g3JCKxOFyiDdYJvvM9ecGDbMuCARCEu4sE7Cfs="; + hash = "sha256-11IyKI2oOffzSPTB65XksZI3PD9W2+0SPZIfpb0RLuU="; }; hardeningDisable = [ @@ -64,11 +61,9 @@ stdenv.mkDerivation (finalAttrs: { p7zip perl undmg - ] - ++ kernel.moduleBuildDependencies; + ]; buildInputs = [ - dbus-glib fuse glib xorg.libX11 @@ -77,10 +72,10 @@ stdenv.mkDerivation (finalAttrs: { xorg.libXrandr xorg.libXi xorg.libXinerama - zlib ]; runtimeDependencies = [ + dbus glib xorg.libXrandr ]; @@ -91,36 +86,14 @@ stdenv.mkDerivation (finalAttrs: { undmg $src export sourceRoot=prl-tools-build 7z x "Parallels Desktop.app/Contents/Resources/Tools/prl-tools-lin${lib.optionalString stdenv.hostPlatform.isAarch64 "-arm"}.iso" -o$sourceRoot - ( cd $sourceRoot/kmods; tar -xaf prl_mod.tar.gz ) - runHook postUnpack ''; - buildPhase = '' - runHook preBuild - - ( # kernel modules - cd kmods - make -f Makefile.kmods \ - KSRC=${kernelDir}/source \ - HEADERS_CHECK_DIR=${kernelDir}/source \ - KERNEL_DIR=${kernelDir}/build \ - SRC=${kernelDir}/build \ - KVER=${kernelVersion} - ) - - runHook postBuild - ''; + dontBuild = true; installPhase = '' runHook preInstall - ( # kernel modules - cd kmods - mkdir -p $out/lib/modules/${kernelVersion}/extra - cp prl_tg/Toolgate/Guest/Linux/prl_tg/prl_tg.ko $out/lib/modules/${kernelVersion}/extra - ) - ( # tools cd tools/tools${ if stdenv.hostPlatform.isAarch64 then @@ -139,6 +112,10 @@ stdenv.mkDerivation (finalAttrs: { rm -f bin/prltoolsd mv bin/prltoolsd.tmp bin/prltoolsd + # replace hardcoded /usr/bin/prl_fsd + substituteInPlace ../mount.fuse.prl_fsd \ + --replace-fail "/usr/bin/prl_fsd" "$out/bin/prl_fsd" + # install binaries for i in bin/* sbin/prl_nettool sbin/prl_snapshot; do # also patch binaries to replace /usr/bin/XXX to XXX @@ -156,6 +133,7 @@ stdenv.mkDerivation (finalAttrs: { install -Dm755 $i $out/$i done + install -Dm755 ../../tools/mount.fuse.prl_fsd $out/sbin/mount.fuse.prl_fsd install -Dm755 ../../tools/prlfsmountd.sh $out/sbin/prlfsmountd install -Dm755 ../../tools/prlbinfmtconfig.sh $out/sbin/prlbinfmtconfig for f in $out/bin/* $out/sbin/*; do @@ -170,7 +148,7 @@ stdenv.mkDerivation (finalAttrs: { done substituteInPlace ../99prltoolsd-hibernate \ - --replace "/bin/bash" "${bash}/bin/bash" + --replace-fail "/bin/bash" "${bash}/bin/bash" mkdir -p $out/etc/pm/sleep.d install -Dm644 ../99prltoolsd-hibernate $out/etc/pm/sleep.d diff --git a/pkgs/os-specific/linux/prl-tools/update.sh b/pkgs/by-name/pr/prl-tools/update.sh similarity index 97% rename from pkgs/os-specific/linux/prl-tools/update.sh rename to pkgs/by-name/pr/prl-tools/update.sh index c6999c494d01..cd2a9ff22b57 100755 --- a/pkgs/os-specific/linux/prl-tools/update.sh +++ b/pkgs/by-name/pr/prl-tools/update.sh @@ -4,7 +4,7 @@ set -eu -o pipefail nixpkgs="$(git rev-parse --show-toplevel)" -path="$nixpkgs/pkgs/os-specific/linux/prl-tools/default.nix" +path="$nixpkgs/pkgs/by-name/pr/prl-tools/default.nix" # Currently this script only supports Parallels 26 # Please change the knowledge base url after each major release diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 9e76135f3b81..2bb279aea480 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -598,8 +598,6 @@ in netatop = callPackage ../os-specific/linux/netatop { }; - prl-tools = callPackage ../os-specific/linux/prl-tools { }; - isgx = callPackage ../os-specific/linux/isgx { }; rr-zen_workaround = callPackage ../development/tools/analysis/rr/zen_workaround.nix { }; @@ -731,6 +729,7 @@ in system76-scheduler = lib.warnOnInstantiate "kernelPackages.system76-scheduler is now pkgs.system76-scheduler" pkgs.system76-scheduler; # Added 2024-10-16 tuxedo-keyboard = self.tuxedo-drivers; # Added 2024-09-28 phc-intel = throw "phc-intel drivers are no longer supported by any kernel >=4.17"; # added 2025-07-18 + prl-tools = throw "Parallel Tools no longer provide any kernel module, please use pkgs.prl-tools instead."; # added 2025-10-04 } ); From 68d5f25ccfbd0f9c2c4d412e7e187bb3d8fcc2a3 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sat, 4 Oct 2025 16:31:15 +0400 Subject: [PATCH 44/52] oxker: fix build on darwin --- pkgs/by-name/ox/oxker/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/ox/oxker/package.nix b/pkgs/by-name/ox/oxker/package.nix index d3683ec30059..4741fd5b4726 100644 --- a/pkgs/by-name/ox/oxker/package.nix +++ b/pkgs/by-name/ox/oxker/package.nix @@ -1,5 +1,6 @@ { lib, + stdenv, fetchCrate, rustPlatform, nix-update-script, @@ -16,6 +17,12 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-X5iNAwp0DcXoT82ZLq37geifztvJ/zZgOgM3SycAazA="; + checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [ + "--skip ui::draw_blocks::help::tests::test_draw_blocks_help_custom_keymap_one_definition" + "--skip ui::draw_blocks::help::tests::test_draw_blocks_help_custom_keymap_two_definitions" + "--skip ui::draw_blocks::help::tests::test_draw_blocks_help_one_and_two_definitions" + ]; + passthru.updateScript = nix-update-script { }; meta = { From 472191175dfeed45d84783a2914b103b090af642 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 4 Oct 2025 12:56:04 +0000 Subject: [PATCH 45/52] ultrastardx: 2025.9.0 -> 2025.10.0 --- pkgs/by-name/ul/ultrastardx/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ul/ultrastardx/package.nix b/pkgs/by-name/ul/ultrastardx/package.nix index 0535089cbba6..adbe207a32b9 100644 --- a/pkgs/by-name/ul/ultrastardx/package.nix +++ b/pkgs/by-name/ul/ultrastardx/package.nix @@ -45,13 +45,13 @@ let in stdenv.mkDerivation rec { pname = "ultrastardx"; - version = "2025.9.0"; + version = "2025.10.0"; src = fetchFromGitHub { owner = "UltraStar-Deluxe"; repo = "USDX"; rev = "v${version}"; - hash = "sha256-SQqmcFchXaYNKzQHjBcisZTjAN9TTWuKXv657yWGghw="; + hash = "sha256-rJhPVq6rheAtPHkDi8zPb1OGKHP56rl7jG9sKVDEqUw="; }; nativeBuildInputs = [ From b0ecc55d9c170177035da0237d9d5a39351b7562 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 4 Oct 2025 03:34:20 +0200 Subject: [PATCH 46/52] slurm: modernize --- pkgs/by-name/sl/slurm/package.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pkgs/by-name/sl/slurm/package.nix b/pkgs/by-name/sl/slurm/package.nix index 7912050f5bea..96e3ce98b91f 100644 --- a/pkgs/by-name/sl/slurm/package.nix +++ b/pkgs/by-name/sl/slurm/package.nix @@ -22,7 +22,7 @@ numactl, readline, freeipmi, - xorg, + xauth, lz4, rdma-core, nixosTests, @@ -37,7 +37,7 @@ nvml, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "slurm"; version = "25.05.3.1"; @@ -47,7 +47,7 @@ stdenv.mkDerivation rec { owner = "SchedMD"; repo = "slurm"; # The release tags use - instead of . - rev = "${pname}-${builtins.replaceStrings [ "." ] [ "-" ] version}"; + rev = "slurm-${builtins.replaceStrings [ "." ] [ "-" ] finalAttrs.version}"; hash = "sha256-W/q9eN4Ov3pxp2qyr3b7G4ayDaNtFUPQeAcOHCB23Q8="; }; @@ -58,7 +58,7 @@ stdenv.mkDerivation rec { prePatch = '' substituteInPlace src/common/env.c \ - --replace "/bin/echo" "${coreutils}/bin/echo" + --replace "/bin/echo" "${lib.getExe' coreutils "echo"}" # Autoconf does not support split packages for pmix (libs and headers). # Fix the path to the pmix libraries, so dlopen can find it. @@ -69,7 +69,7 @@ stdenv.mkDerivation rec { '' + (lib.optionalString enableX11 '' substituteInPlace src/common/x11_util.c \ - --replace '"/usr/bin/xauth"' '"${xorg.xauth}/bin/xauth"' + --replace '"/usr/bin/xauth"' '"${lib.getExe xauth}"' ''); # nixos test fails to start slurmd with 'undefined symbol: slurm_job_preempt_mode' @@ -106,12 +106,12 @@ stdenv.mkDerivation rec { libbpf http-parser ] - ++ lib.optionals enableX11 [ xorg.xauth ] + ++ lib.optionals enableX11 [ xauth ] ++ lib.optionals enableNVML [ (runCommand "collect-nvml" { } '' mkdir $out - ln -s ${nvml.dev}/include $out/include - ln -s ${nvml.lib}/lib/stubs $out/lib + ln -s ${lib.getDev nvml}/include $out/include + ln -s ${lib.getLib nvml}/lib/stubs $out/lib '') ]; @@ -146,14 +146,14 @@ stdenv.mkDerivation rec { passthru.tests.slurm = nixosTests.slurm; - meta = with lib; { + meta = { homepage = "http://www.schedmd.com/"; description = "Simple Linux Utility for Resource Management"; - platforms = platforms.linux; - license = licenses.gpl2Only; - maintainers = with maintainers; [ + platforms = lib.platforms.linux; + license = lib.licenses.gpl2Only; + maintainers = with lib.maintainers; [ jagajaga markuskowa ]; }; -} +}) From 9b1586e48056354efe75a66c825dcee549683b77 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 4 Oct 2025 14:40:50 +0000 Subject: [PATCH 47/52] anytype: 0.49.2 -> 0.50.3 --- pkgs/by-name/an/anytype-heart/package.nix | 6 +++--- pkgs/by-name/an/anytype/package.nix | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/an/anytype-heart/package.nix b/pkgs/by-name/an/anytype-heart/package.nix index 1924fd37f68e..cf0e7dd49934 100644 --- a/pkgs/by-name/an/anytype-heart/package.nix +++ b/pkgs/by-name/an/anytype-heart/package.nix @@ -26,16 +26,16 @@ buildGoModule (finalAttrs: { # Use only versions specified in anytype-ts middleware.version file: # https://github.com/anyproto/anytype-ts/blob/v/middleware.version - version = "0.43.0-rc02"; + version = "0.44.1"; src = fetchFromGitHub { owner = "anyproto"; repo = "anytype-heart"; tag = "v${finalAttrs.version}"; - hash = "sha256-hqDwzW1Tl44ipL1EAwlXUoKaQ0Wvfa2rtZMQy4pgQ8k="; + hash = "sha256-Kb5Z484zeKJT8oBmfqbHszcxYPwnx7mvssseNyRDMWE="; }; - vendorHash = "sha256-Rs+CusvMksyXUplGk09J4CiFgl/D4KtsI9C15dSCjOI="; + vendorHash = "sha256-T7CPD6mbxkN1x53oe9jsS2XMqluqWv8VPPd1pnXZvlc="; subPackages = [ "cmd/grpcserver" ]; tags = [ diff --git a/pkgs/by-name/an/anytype/package.nix b/pkgs/by-name/an/anytype/package.nix index b63dfebf77e2..c870f19706ba 100644 --- a/pkgs/by-name/an/anytype/package.nix +++ b/pkgs/by-name/an/anytype/package.nix @@ -14,23 +14,23 @@ buildNpmPackage (finalAttrs: { pname = "anytype"; - version = "0.49.2"; + version = "0.50.3"; src = fetchFromGitHub { owner = "anyproto"; repo = "anytype-ts"; tag = "v${finalAttrs.version}"; - hash = "sha256-8+x2FmyR5x9Zrm3t71RSyxAKcJCvnR98+fqHXjBE7aU="; + hash = "sha256-D2B8DY9VogRc0YP/NKEmg0uVT1ZaqQrOA/4AS845phU="; }; locales = fetchFromGitHub { owner = "anyproto"; repo = "l10n-anytype-ts"; - rev = "873b42df7320ebbbc80d7e2477914dac70363ef7"; - hash = "sha256-Mr0KfXn9NO86QqgBhVjSs2przN/GtjuhJHJ9djo8Feg="; + rev = "27d713f500ed375aabb57b551dbc0561cd1983b3"; + hash = "sha256-1SyCVwicUoxj/xxlYe3dElYYXWtzbw2bHiHZ0FKgYDw="; }; - npmDepsHash = "sha256-fuNTSZl+4DG/YL34f/+bYK26ruRFAc1hyHVAm256LiE="; + npmDepsHash = "sha256-pC1hT85Lk4asGRkQf4ZGlNULtmdlKX/2X1eDHMi6BZ0="; env = { ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; From 9fc608e171920520b96d34fb1fde1994aec2b903 Mon Sep 17 00:00:00 2001 From: Axel Karjalainen Date: Sun, 7 Sep 2025 12:41:45 +0300 Subject: [PATCH 48/52] hgrep: init at 0.3.8 --- pkgs/by-name/hg/hgrep/package.nix | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/hg/hgrep/package.nix diff --git a/pkgs/by-name/hg/hgrep/package.nix b/pkgs/by-name/hg/hgrep/package.nix new file mode 100644 index 000000000000..c110c9814d37 --- /dev/null +++ b/pkgs/by-name/hg/hgrep/package.nix @@ -0,0 +1,40 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + versionCheckHook, + nix-update-script, +}: + +let + version = "0.3.8"; +in +rustPlatform.buildRustPackage { + pname = "hgrep"; + inherit version; + + src = fetchFromGitHub { + owner = "rhysd"; + repo = "hgrep"; + tag = "v${version}"; + hash = "sha256-GcV6tZLhAtBE0/husOqZ3Gib9nXXg7kcxrNp9IK0eTo="; + }; + + cargoHash = "sha256-NxfWY9OoMNASlWE48njuAdTI11JAV+rzjD0OU2cHLsc="; + + nativeInstallCheckInputs = [ + versionCheckHook + ]; + versionCheckProgramArg = "--version"; + doInstallCheck = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Grep with human-friendly search results"; + homepage = "https://github.com/rhysd/hgrep"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ axka ]; + mainProgram = "hgrep"; + }; +} From 74728b8b4ef8a902827a61ee7d821aa41588368d Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 4 Oct 2025 17:53:26 +0200 Subject: [PATCH 49/52] ovhcloud-cli: init at 0.5.0 A Command Line Interface to manage your OVHcloud services. https://github.com/ovh/ovhcloud-cli --- pkgs/by-name/ov/ovhcloud-cli/package.nix | 47 ++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pkgs/by-name/ov/ovhcloud-cli/package.nix diff --git a/pkgs/by-name/ov/ovhcloud-cli/package.nix b/pkgs/by-name/ov/ovhcloud-cli/package.nix new file mode 100644 index 000000000000..98bf05847bb5 --- /dev/null +++ b/pkgs/by-name/ov/ovhcloud-cli/package.nix @@ -0,0 +1,47 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + installShellFiles, + testers, +}: + +buildGoModule (finalAttrs: { + pname = "ovhcloud-cli"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "ovh"; + repo = "ovhcloud-cli"; + tag = "v${finalAttrs.version}"; + hash = "sha256-vf8z2jOcN76BIS6AamWxrBIVUMxlerd4dNwVxpuxQZg="; + }; + + vendorHash = "sha256-WNONEceR/cDVloosQ/BMYjPTk9elQ1oTX89lgzENSAI="; + + env.CGO_ENABLED = 0; + + ldflags = [ + "-s" + "-w" + "-X github.com/ovh/ovhcloud-cli/internal/version.Version=${finalAttrs.version}" + ]; + + excludedPackages = [ "cmd/docgen" ]; + + nativeBuildInputs = [ installShellFiles ]; + + passthru.tests.version = testers.testVersion { + package = finalAttrs.finalPackage; + command = "ovhcloud version"; + }; + + meta = { + homepage = "https://github.com/ovh/ovhcloud-cli"; + changelog = "https://github.com/ovh/ovhcloud-cli/releases/tag/v${finalAttrs.version}"; + description = "Command Line Interface to manage your OVHcloud services"; + mainProgram = "ovhcloud"; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.anthonyroussel ]; + }; +}) From c8d4dabc4357a22d1c249a9363998bdb00122544 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Tue, 30 Sep 2025 08:49:04 +0200 Subject: [PATCH 50/52] pkgs: remove optional builtins prefixes from prelude functions Remove optional builtins prefixes from prelude functions by running: builtins=( abort baseNameOf break derivation derivationStrict dirOf false fetchGit fetchMercurial fetchTarball fetchTree fromTOML import isNull map null placeholder removeAttrs scopedImport throw toString true ) fd \ --type file \ . \ pkgs \ --exec-batch sed --in-place --regexp-extended " s/\/\1/g " nix fmt --- .../audio/mellowplayer/default.nix | 2 +- pkgs/applications/audio/pianoteq/default.nix | 2 +- pkgs/applications/audio/sonic-pi/update.sh | 2 +- .../blockchains/bitcoin-knots/default.nix | 2 +- .../blockchains/bitcoin/default.nix | 2 +- .../emacs-application-framework/package.nix | 6 ++-- .../applications/editors/emacs/make-emacs.nix | 2 +- .../editors/jetbrains/plugins/tests.nix | 2 +- .../editors/jetbrains/source/build.nix | 2 +- .../jupyter-kernels/clojupyter/deps.nix | 2 +- .../kakoune/plugins/build-kakoune-plugin.nix | 2 +- pkgs/applications/editors/neovim/utils.nix | 2 +- .../applications/editors/sublime/3/common.nix | 2 +- .../applications/editors/sublime/4/common.nix | 2 +- .../vim/plugins/nvim-treesitter/overrides.nix | 2 +- .../editors/vim/plugins/utils/vim-utils.nix | 2 +- .../vscode/extensions/updateSettings.nix | 2 +- .../vscode/extensions/vscode-utils.nix | 2 +- .../graphics/sane/backends/default.nix | 2 +- pkgs/applications/misc/sweethome3d/linux.nix | 2 +- .../networking/browsers/chromium/common.nix | 2 +- .../networking/browsers/firefox/wrapper.nix | 10 +++--- .../networking/cluster/k3s/builder.nix | 4 +-- .../networking/cluster/k3s/default.nix | 2 +- .../networking/cluster/kops/default.nix | 2 +- .../networking/cluster/nomad/default.nix | 2 +- .../networking/cluster/rke2/default.nix | 2 +- .../networking/cluster/terraform/default.nix | 2 +- .../instant-messengers/franz/generic.nix | 2 +- .../networking/irc/weechat/wrapper.nix | 4 +-- .../mailreaders/mailnag/default.nix | 2 +- .../mailreaders/thunderbird/update.nix | 2 +- .../office/libreoffice/darwin/default.nix | 4 +-- .../office/libreoffice/wrapper.nix | 6 ++-- pkgs/applications/radio/gnuradio/wrapper.nix | 8 ++--- .../chemistry/quantum-espresso/default.nix | 2 +- .../sublime-merge/common.nix | 2 +- .../obs-studio/plugins/obs-gstreamer.nix | 2 +- .../obs-studio/plugins/obs-vaapi/default.nix | 2 +- .../virtualization/cri-o/wrapper.nix | 2 +- .../bintools-wrapper/default.nix | 2 +- pkgs/build-support/buildenv/default.nix | 2 +- pkgs/build-support/cc-wrapper/default.nix | 2 +- pkgs/build-support/compress-drv/default.nix | 2 +- pkgs/build-support/coq/meta-fetch/default.nix | 2 +- .../dart/build-dart-application/default.nix | 2 +- pkgs/build-support/docker/default.nix | 8 ++--- pkgs/build-support/docker/examples.nix | 2 +- .../dotnet/add-nuget-deps/default.nix | 2 +- .../dotnet/build-dotnet-package/default.nix | 2 +- .../dotnet/make-nuget-deps/default.nix | 2 +- pkgs/build-support/fetchdocker/default.nix | 4 +-- .../fetchmavenartifact/default.nix | 2 +- pkgs/build-support/fetchpatch/default.nix | 6 ++-- pkgs/build-support/fetchpypi/default.nix | 4 +-- pkgs/build-support/fetchs3/default.nix | 2 +- pkgs/build-support/make-impure-test.nix | 4 +-- pkgs/build-support/mkshell/default.nix | 2 +- .../node/fetch-npm-deps/default.nix | 2 +- .../node/import-npm-lock/default.nix | 2 +- pkgs/build-support/ocaml/topkg.nix | 2 +- pkgs/build-support/release/source-tarball.nix | 2 +- .../replace-vars/replace-vars-with.nix | 2 +- .../rust/build-rust-crate/default.nix | 2 +- .../rust/build-rust-crate/test/default.nix | 6 ++-- .../build-rust-crate/test/rcgen-crates.nix | 16 ++++----- .../build-support/rust/fetch-cargo-vendor.nix | 2 +- pkgs/build-support/rust/import-cargo-lock.nix | 10 +++--- .../arrayUtilities/isDeclaredArray/tests.nix | 2 +- .../arrayUtilities/isDeclaredMap/tests.nix | 2 +- pkgs/build-support/src-only/default.nix | 4 +-- pkgs/build-support/testers/default.nix | 2 +- .../trivial-builders/default.nix | 8 ++--- .../trivial-builders/test-overriding.nix | 2 +- .../trivial-builders/test/concat-test.nix | 2 +- .../test/writeShellApplication.nix | 2 +- pkgs/build-support/writers/scripts.nix | 16 ++++----- pkgs/by-name/_1/_1password-cli/package.nix | 2 +- pkgs/by-name/ab/aba/package.nix | 2 +- .../al/alsa-lib-with-plugins/package.nix | 4 +-- .../am/amazon-cloudwatch-agent/package.nix | 2 +- pkgs/by-name/ap/apfsprogs/package.nix | 2 +- pkgs/by-name/ap/aporetic/package.nix | 2 +- .../ay/ayatana-indicator-messages/package.nix | 2 +- pkgs/by-name/bo/bonsai/package.nix | 2 +- pkgs/by-name/ca/catppuccin-gtk/package.nix | 4 +-- pkgs/by-name/co/colloid-gtk-theme/package.nix | 8 ++--- .../by-name/co/colloid-icon-theme/package.nix | 4 +-- pkgs/by-name/co/coredns/package.nix | 4 +-- pkgs/by-name/cp/cppitertools/package.nix | 4 +-- .../cu/cups-brother-hll2350dw/package.nix | 2 +- .../cu/cups-brother-hll2375dw/package.nix | 2 +- .../cu/cups-brother-mfcl2750dw/package.nix | 2 +- .../cu/cups-brother-mfcl2800dw/package.nix | 2 +- .../cu/curl-impersonate/chrome/update.sh | 2 +- .../cu/curl-impersonate/firefox/update.sh | 2 +- pkgs/by-name/cy/cyrus-imapd/package.nix | 2 +- pkgs/by-name/di/digiham/package.nix | 2 +- pkgs/by-name/dm/dmd/generic.nix | 2 +- .../do/docker-credential-helpers/package.nix | 4 +-- pkgs/by-name/dr/dropbear/package.nix | 2 +- pkgs/by-name/dv/dvdplusrwtools/package.nix | 2 +- pkgs/by-name/ej/ejabberd/package.nix | 2 +- pkgs/by-name/el/element-desktop/package.nix | 2 +- .../el/element-web-unwrapped/package.nix | 2 +- pkgs/by-name/en/engage/package.nix | 4 +-- pkgs/by-name/ep/epson-escpr2/package.nix | 4 +-- pkgs/by-name/eu/eurofurence/package.nix | 2 +- pkgs/by-name/fc/fcft/package.nix | 4 +-- pkgs/by-name/fi/fishnet/package.nix | 2 +- pkgs/by-name/fl/fluent-bit/package.nix | 2 +- pkgs/by-name/fl/fluent-gtk-theme/package.nix | 8 ++--- pkgs/by-name/fl/fluent-icon-theme/package.nix | 2 +- pkgs/by-name/fr/freecad/freecad-utils.nix | 4 +-- pkgs/by-name/fr/freeswitch/package.nix | 2 +- pkgs/by-name/ga/ganttproject-bin/package.nix | 2 +- pkgs/by-name/ge/geoserver/package.nix | 2 +- pkgs/by-name/ge/getxbook/package.nix | 2 +- pkgs/by-name/gi/giflib/package.nix | 2 +- pkgs/by-name/gi/git-quick-stats/package.nix | 2 +- pkgs/by-name/go/go-ethereum/package.nix | 2 +- .../go/google-cloud-sdk/components.nix | 8 ++--- .../google-cloud-sdk/withExtraComponents.nix | 4 +-- pkgs/by-name/gr/graphhopper/package.nix | 2 +- .../by-name/gr/graphite-gtk-theme/package.nix | 10 +++--- pkgs/by-name/gr/grcov/package.nix | 2 +- pkgs/by-name/gu/guile-gnutls/package.nix | 6 ++-- .../ha/hare/cross-compilation-tests.nix | 4 +-- pkgs/by-name/ha/hare/package.nix | 2 +- pkgs/by-name/ha/harec/package.nix | 4 +-- pkgs/by-name/ha/haredo/package.nix | 2 +- pkgs/by-name/hi/himitsu/package.nix | 2 +- pkgs/by-name/hy/hylafaxplus/package.nix | 4 +-- pkgs/by-name/ib/ibm-plex/package.nix | 2 +- pkgs/by-name/im/immich/package.nix | 2 +- pkgs/by-name/im/imv/package.nix | 4 +-- pkgs/by-name/in/inspircd/package.nix | 4 +-- .../in/intel-compute-runtime/package.nix | 2 +- pkgs/by-name/io/iosevka-bin/package.nix | 2 +- pkgs/by-name/is/isabelle/package.nix | 2 +- pkgs/by-name/ja/jasper-gtk-theme/package.nix | 8 ++--- pkgs/by-name/ja/jazz2-content/package.nix | 2 +- pkgs/by-name/ko/kodelife/update.sh | 2 +- .../ku/kubo-fs-repo-migrations/package.nix | 6 ++-- .../ld/ld-audit-search-mod/package.nix | 2 +- pkgs/by-name/le/lemminx/package.nix | 2 +- pkgs/by-name/li/libdynd/package.nix | 2 +- .../li/libpsl-with-scripts/package.nix | 2 +- pkgs/by-name/ll/llama-swap/ui.nix | 2 +- .../lu/luarocks-packages-updater/package.nix | 2 +- pkgs/by-name/ma/magma/package.nix | 2 +- pkgs/by-name/ma/matcha-gtk-theme/package.nix | 4 +-- pkgs/by-name/ma/maven/build-maven-package.nix | 6 ++-- pkgs/by-name/me/meson/package.nix | 2 +- pkgs/by-name/mf/mfcl5750dw/package.nix | 2 +- pkgs/by-name/mi/mission-center/package.nix | 2 +- pkgs/by-name/mi/mitm-cache/fetch.nix | 4 +-- pkgs/by-name/mo/mojave-gtk-theme/package.nix | 12 +++---- pkgs/by-name/my/mylvmbackup/package.nix | 4 +-- .../ne/nemo-with-extensions/package.nix | 2 +- pkgs/by-name/ni/nim-unwrapped-1_0/package.nix | 2 +- pkgs/by-name/ni/nim-unwrapped-2_0/package.nix | 2 +- .../ni/nix-required-mounts/package.nix | 2 +- pkgs/by-name/ni/nixos-init/package.nix | 2 +- pkgs/by-name/ol/ollama/package.nix | 2 +- pkgs/by-name/op/opa-envoy-plugin/package.nix | 2 +- pkgs/by-name/op/open-policy-agent/package.nix | 2 +- pkgs/by-name/op/openutau/update.sh | 2 +- pkgs/by-name/or/orchis-theme/package.nix | 6 ++-- pkgs/by-name/pi/pigpio/package.nix | 3 +- pkgs/by-name/pi/pihole/package.nix | 2 +- pkgs/by-name/pi/pixinsight/package.nix | 2 +- pkgs/by-name/pl/plymouth/package.nix | 2 +- pkgs/by-name/po/podman-desktop/package.nix | 2 +- pkgs/by-name/pr/prek/package.nix | 2 +- pkgs/by-name/pr/prowlarr/update.py | 2 +- pkgs/by-name/pu/pulsar/package.nix | 2 +- pkgs/by-name/qo/qogir-icon-theme/package.nix | 4 +-- pkgs/by-name/qo/qogir-theme/package.nix | 6 ++-- pkgs/by-name/qr/qrq/package.nix | 2 +- pkgs/by-name/ra/racket/minimal.nix | 2 +- .../racket/tests/get-version-and-variant.nix | 2 +- pkgs/by-name/ra/radarr/update.py | 2 +- pkgs/by-name/re/reposilite/package.nix | 2 +- .../re/reversal-icon-theme/package.nix | 2 +- pkgs/by-name/ru/rust-streamdeck/package.nix | 2 +- pkgs/by-name/sh/shogihome/package.nix | 2 +- pkgs/by-name/si/sierra-gtk-theme/package.nix | 8 ++--- pkgs/by-name/so/solana-cli/package.nix | 2 +- pkgs/by-name/so/sonarlint-ls/package.nix | 2 +- pkgs/by-name/so/sonarr/update.py | 2 +- pkgs/by-name/st/steam/package.nix | 2 +- pkgs/by-name/st/stockfish/package.nix | 2 +- pkgs/by-name/st/streamdeck-ui/package.nix | 2 +- pkgs/by-name/st/structurizr-cli/package.nix | 2 +- pkgs/by-name/sw/swi-prolog/package.nix | 4 +-- pkgs/by-name/ta/tabby/package.nix | 2 +- .../te/tela-circle-icon-theme/package.nix | 2 +- pkgs/by-name/to/touchosc/update.sh | 2 +- pkgs/by-name/tr/treecat/package.nix | 2 +- pkgs/by-name/tr/treefmt/functions-doc.nix | 2 +- pkgs/by-name/tr/treefmt/options-doc.nix | 2 +- pkgs/by-name/tr/triton-llvm/package.nix | 2 +- pkgs/by-name/uc/ucc/package.nix | 2 +- pkgs/by-name/uw/uwsgi/package.nix | 2 +- pkgs/by-name/va/vanillatd/package.nix | 2 +- pkgs/by-name/vi/vimix-gtk-themes/package.nix | 8 ++--- pkgs/by-name/vi/vimix-icon-theme/package.nix | 2 +- pkgs/by-name/wa/wasilibc/package.nix | 6 ++-- pkgs/by-name/wg/wgpu-native/examples.nix | 2 +- .../wh/whitesur-icon-theme/package.nix | 2 +- pkgs/by-name/xe/xevd/package.nix | 6 ++-- pkgs/by-name/xe/xeve/package.nix | 6 ++-- pkgs/by-name/xg/xgboost/package.nix | 2 +- pkgs/by-name/ya/yandex-cloud/update.py | 2 +- pkgs/by-name/zx/zxtune/package.nix | 6 ++-- pkgs/common-updater/combinators.nix | 8 ++--- pkgs/common-updater/unstable-updater.nix | 2 +- pkgs/data/fonts/iosevka/comfy.nix | 2 +- .../gnome/extensions/buildGnomeExtension.nix | 4 +-- pkgs/desktops/gnome/update.nix | 2 +- .../lomiri-calculator-app/default.nix | 2 +- .../lomiri-filemanager-app/default.nix | 2 +- .../lomiri-gallery-app/default.nix | 2 +- .../lomiri-mediaplayer-app/default.nix | 2 +- .../applications/lomiri-music-app/default.nix | 2 +- .../lomiri-system-settings/default.nix | 2 +- .../lomiri-terminal-app/default.nix | 2 +- .../lomiri-download-manager/default.nix | 2 +- .../lomiri-indicator-network/default.nix | 2 +- .../services/lomiri-polkit-agent/default.nix | 2 +- .../lomiri-url-dispatcher/default.nix | 2 +- .../lomiri/services/mediascanner2/default.nix | 2 +- .../ada-modules/gnatprove/default.nix | 2 +- pkgs/development/beam-modules/mix-release.nix | 2 +- .../compilers/chicken/4/eggDerivation.nix | 2 +- .../compilers/chicken/5/eggDerivation.nix | 2 +- .../compilers/crystal/build-package.nix | 2 +- .../compilers/gcc/ng/common/default.nix | 5 ++- .../gcc/ng/common/libgfortran/default.nix | 2 +- .../community-edition/buildGraalvm.nix | 2 +- .../community-edition/buildGraalvmProduct.nix | 2 +- .../compilers/idris2/build-idris.nix | 2 +- .../compilers/llvm/common/default.nix | 5 ++- .../compilers/llvm/common/llvm/default.nix | 2 +- .../compilers/opensmalltalk-vm/default.nix | 2 +- pkgs/development/compilers/rust/1_89.nix | 2 +- pkgs/development/compilers/sbcl/default.nix | 4 +-- .../compilers/temurin-bin/jdk-darwin-base.nix | 2 +- .../compilers/temurin-bin/jdk-linux-base.nix | 2 +- pkgs/development/compilers/vala/default.nix | 2 +- pkgs/development/compilers/zulu/11.nix | 2 +- pkgs/development/compilers/zulu/17.nix | 2 +- pkgs/development/compilers/zulu/21.nix | 2 +- pkgs/development/compilers/zulu/23.nix | 2 +- pkgs/development/compilers/zulu/24.nix | 2 +- pkgs/development/compilers/zulu/25.nix | 2 +- pkgs/development/compilers/zulu/8.nix | 2 +- .../cuda-library-samples/generic.nix | 2 +- .../hare-compress/default.nix | 2 +- .../hare-third-party/hare-ev/default.nix | 2 +- .../hare-third-party/hare-json/default.nix | 2 +- .../hare-third-party/hare-png/default.nix | 2 +- .../hare-third-party/hare-ssh/default.nix | 2 +- .../hare-third-party/hare-toml/default.nix | 2 +- .../haskell-modules/generic-builder.nix | 6 ++-- pkgs/development/haskell-modules/hoogle.nix | 2 +- .../haskell-modules/lib/compose.nix | 4 +-- .../haskell-modules/make-package-set.nix | 4 +-- .../haskell-modules/with-packages-wrapper.nix | 2 +- .../idris-modules/build-idris-package.nix | 2 +- .../interpreters/clisp/default.nix | 2 +- .../interpreters/elixir/generic-builder.nix | 2 +- .../octave/build-octave-package.nix | 2 +- pkgs/development/interpreters/php/generic.nix | 2 +- .../interpreters/python/conda/default.nix | 2 +- .../interpreters/python/cpython/default.nix | 2 +- .../python/python2/mk-python-derivation.nix | 4 +-- .../interpreters/ruby/ruby-version.nix | 2 +- .../interpreters/tcl/mk-tcl-derivation.nix | 2 +- .../libraries/astal/buildAstalModule.nix | 2 +- pkgs/development/libraries/glibc/locales.nix | 2 +- .../gobject-introspection/wrapper.nix | 4 +-- pkgs/development/libraries/kerberos/krb5.nix | 2 +- pkgs/development/libraries/libint/default.nix | 36 +++++++++---------- pkgs/development/libraries/mesa/default.nix | 4 +-- .../development/libraries/openssl/default.nix | 4 +-- .../qt-6/modules/qtdeclarative/default.nix | 4 +-- pkgs/development/lua-modules/lib.nix | 2 +- .../misc/resholve/resholve-utils.nix | 2 +- .../androidenv/compose-android-packages.nix | 8 ++--- .../examples/shell-with-emulator.nix | 2 +- .../examples/shell-without-emulator.nix | 2 +- .../mobile/androidenv/examples/shell.nix | 2 +- pkgs/development/node-packages/overrides.nix | 2 +- .../ocaml-modules/atdgen/default.nix | 2 +- .../ocaml-freestanding/default.nix | 4 +-- .../ocaml-modules/ocaml-gettext/camomile.nix | 2 +- .../ocaml-modules/ocaml-gettext/stub.nix | 2 +- .../ocaml-modules/uucp/default.nix | 2 +- .../php-packages/relay/default.nix | 5 +-- .../python-modules/faiss/default.nix | 2 +- .../python-modules/fast-histogram/default.nix | 2 +- .../python-modules/fontpens/default.nix | 2 +- .../development/python-modules/hy/default.nix | 2 +- .../invisible-watermark/default.nix | 2 +- .../python-modules/scikit-image/default.nix | 2 +- .../python-modules/sentencepiece/default.nix | 2 +- .../development/python-modules/uv/default.nix | 2 +- .../python-modules/warp-lang/default.nix | 2 +- pkgs/development/rocm-modules/6/default.nix | 2 +- .../rocm-modules/6/llvm/default.nix | 6 ++-- pkgs/development/ruby-modules/gem/default.nix | 2 +- .../tools/analysis/binlore/default.nix | 2 +- .../build-managers/gradle/fetch-deps.nix | 4 +-- pkgs/development/tools/buildah/wrapper.nix | 2 +- .../haskell/ghc-settings-edit/default.nix | 2 +- .../tools/ocaml/js_of_ocaml/default.nix | 2 +- .../tools/pnpm/fetch-deps/default.nix | 4 +-- .../tools/yarn2nix-moretea/default.nix | 9 +++-- .../yarn2nix/lib/generateNix.js | 6 ++-- pkgs/games/anki/default.nix | 4 +-- pkgs/games/anki/with-addons.nix | 2 +- pkgs/games/blightmud/default.nix | 2 +- .../dwarf-therapist/wrapper.nix | 2 +- pkgs/games/scummvm/games.nix | 2 +- .../games/shattered-pixel-dungeon/generic.nix | 2 +- pkgs/kde/lib/mk-kde-derivation.nix | 2 +- pkgs/misc/arm-trusted-firmware/default.nix | 2 +- pkgs/misc/uboot/default.nix | 2 +- pkgs/os-specific/bsd/freebsd/lib/default.nix | 4 +-- .../bsd/freebsd/pkgs/drm-kmod-firmware.nix | 2 +- .../bsd/freebsd/pkgs/drm-kmod/package.nix | 2 +- pkgs/os-specific/bsd/freebsd/pkgs/install.nix | 2 +- .../bsd/freebsd/pkgs/mkDerivation.nix | 2 +- .../bsd/freebsd/pkgs/sys/package.nix | 8 ++--- .../bsd/openbsd/pkgs/libcMinimal/package.nix | 2 +- .../bsd/openbsd/pkgs/mkDerivation.nix | 2 +- pkgs/os-specific/linux/kernel/generic.nix | 2 +- pkgs/os-specific/linux/kernel/mainline.nix | 2 +- .../linux/minimal-bootstrap/bash/2.nix | 2 +- .../linux/minimal-bootstrap/bash/default.nix | 2 +- .../minimal-bootstrap/gnumake/default.nix | 2 +- .../minimal-bootstrap/gnupatch/default.nix | 2 +- .../linux/minimal-bootstrap/mes/default.nix | 2 +- .../stage0-posix/bootstrap-sources.nix | 2 +- .../stage0-posix/kaem/default.nix | 2 +- .../linux/minimal-bootstrap/utils.nix | 6 ++-- pkgs/os-specific/linux/nvidia-x11/generic.nix | 6 ++-- pkgs/os-specific/linux/systemd/default.nix | 6 +--- .../build-custom-component/default.nix | 2 +- pkgs/servers/http/openresty/default.nix | 2 +- .../grafana/plugins/grafana-plugin.nix | 2 +- pkgs/servers/sql/postgresql/ext/omnigres.nix | 4 +-- pkgs/servers/web-apps/discourse/default.nix | 2 +- .../shells/fish/plugins/build-fish-plugin.nix | 2 +- pkgs/stdenv/adapters.nix | 2 +- pkgs/stdenv/booter.nix | 2 +- pkgs/stdenv/cross/default.nix | 2 +- pkgs/stdenv/custom/default.nix | 2 +- pkgs/stdenv/darwin/bootstrap-tools.nix | 4 +-- pkgs/stdenv/darwin/default.nix | 4 +-- pkgs/stdenv/darwin/test-bootstrap-tools.nix | 2 +- pkgs/stdenv/freebsd/default.nix | 4 +-- pkgs/stdenv/generic/check-meta.nix | 2 +- pkgs/stdenv/generic/make-derivation.nix | 10 +++--- pkgs/stdenv/linux/test-bootstrap-tools.nix | 4 +-- pkgs/test/auto-patchelf-hook/package.nix | 4 +-- .../make-hardcode-gsettings-patch/default.nix | 2 +- pkgs/test/texlive/default.nix | 2 +- .../misc/bat-extras/buildBatExtrasPkg.nix | 2 +- .../networking/maubot/plugins/default.nix | 2 +- pkgs/tools/networking/maubot/wrapper.nix | 2 +- .../akku/akkuDerivation.nix | 2 +- .../tools/package-management/akku/default.nix | 4 +-- .../lix/revert-toml11-bump.patch | 6 ++-- pkgs/tools/system/collectd/plugins.nix | 4 +-- pkgs/tools/system/nvtop/default.nix | 4 +-- pkgs/tools/typesetting/tex/texlive/bin.nix | 4 +-- .../tex/texlive/combine-wrapper.nix | 2 +- .../tools/typesetting/tex/texlive/default.nix | 6 ++-- pkgs/top-level/all-packages.nix | 2 +- pkgs/top-level/config.nix | 2 +- pkgs/top-level/factor-packages.nix | 2 +- pkgs/top-level/impure.nix | 2 +- pkgs/top-level/php-packages.nix | 4 +-- .../test-defaultPkgConfigPackages.nix | 2 +- pkgs/top-level/release-haskell.nix | 2 +- pkgs/top-level/splice.nix | 4 +-- pkgs/top-level/stage.nix | 2 +- 390 files changed, 568 insertions(+), 597 deletions(-) diff --git a/pkgs/applications/audio/mellowplayer/default.nix b/pkgs/applications/audio/mellowplayer/default.nix index 4e272459bcd4..418e80e15c20 100644 --- a/pkgs/applications/audio/mellowplayer/default.nix +++ b/pkgs/applications/audio/mellowplayer/default.nix @@ -55,7 +55,7 @@ mkDerivation rec { # TODO: The tests are failing because it can't locate QT plugins. Is there a better way to do this? + (builtins.concatStringsSep "\n" ( lib.lists.flatten ( - builtins.map (pkg: [ + map (pkg: [ (lib.optionalString (pkg ? qtPluginPrefix) '' export QT_PLUGIN_PATH="${pkg}/${pkg.qtPluginPrefix}"''${QT_PLUGIN_PATH:+':'}$QT_PLUGIN_PATH '') diff --git a/pkgs/applications/audio/pianoteq/default.nix b/pkgs/applications/audio/pianoteq/default.nix index 3d654cba8733..fc65c1475f06 100644 --- a/pkgs/applications/audio/pianoteq/default.nix +++ b/pkgs/applications/audio/pianoteq/default.nix @@ -84,7 +84,7 @@ let installPhase = '' runHook preInstall mkdir -p $out/bin - mv -t $out/bin ${builtins.concatStringsSep " " (builtins.map (dir: "Pianoteq*/${dir}/*") archdirs)} + mv -t $out/bin ${builtins.concatStringsSep " " (map (dir: "Pianoteq*/${dir}/*") archdirs)} install -Dm644 ${./pianoteq.svg} $out/share/icons/hicolor/scalable/apps/pianoteq.svg for size in 16 22 32 48 64 128 256; do dir=$out/share/icons/hicolor/"$size"x"$size"/apps diff --git a/pkgs/applications/audio/sonic-pi/update.sh b/pkgs/applications/audio/sonic-pi/update.sh index 014af49e73a8..1d1cdbc0ff5b 100755 --- a/pkgs/applications/audio/sonic-pi/update.sh +++ b/pkgs/applications/audio/sonic-pi/update.sh @@ -19,7 +19,7 @@ vendorhash() { findpath() { path="$(nix --extra-experimental-features nix-command eval --json --impure -f "$nixpkgs" "$1.meta.position" | jq -r . | cut -d: -f1)" - outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "builtins.fetchGit \"$nixpkgs\"")" + outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "fetchGit \"$nixpkgs\"")" if [ -n "$outpath" ]; then path="${path/$(echo "$outpath" | jq -r .)/$nixpkgs}" diff --git a/pkgs/applications/blockchains/bitcoin-knots/default.nix b/pkgs/applications/blockchains/bitcoin-knots/default.nix index 49e97d731593..14519496f5f6 100644 --- a/pkgs/applications/blockchains/bitcoin-knots/default.nix +++ b/pkgs/applications/blockchains/bitcoin-knots/default.nix @@ -98,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: { echo "OK" ''; in - builtins.concatStringsSep "\n" (builtins.map script builderKeys); + builtins.concatStringsSep "\n" (map script builderKeys); in '' pushd $(mktemp -d) diff --git a/pkgs/applications/blockchains/bitcoin/default.nix b/pkgs/applications/blockchains/bitcoin/default.nix index 2a1b52daceb7..b79e33beca2b 100644 --- a/pkgs/applications/blockchains/bitcoin/default.nix +++ b/pkgs/applications/blockchains/bitcoin/default.nix @@ -109,7 +109,7 @@ stdenv.mkDerivation (finalAttrs: { echo "OK" ''; in - builtins.concatStringsSep "\n" (builtins.map script builderKeys); + builtins.concatStringsSep "\n" (map script builderKeys); in '' pushd $(mktemp -d) diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/emacs-application-framework/package.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/emacs-application-framework/package.nix index a4bd5c27198e..4b53e05ffa0d 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/emacs-application-framework/package.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/emacs-application-framework/package.nix @@ -21,8 +21,8 @@ let - appPythonDeps = builtins.map (item: item.eafPythonDeps) enabledApps; - appOtherDeps = builtins.map (item: item.eafOtherDeps) enabledApps; + appPythonDeps = map (item: item.eafPythonDeps) enabledApps; + appOtherDeps = map (item: item.eafOtherDeps) enabledApps; pythonPackageLists = [ ( @@ -38,7 +38,7 @@ let ) ] ++ appPythonDeps; - pythonPkgs = ps: builtins.concatLists (builtins.map (f: f ps) pythonPackageLists); + pythonPkgs = ps: builtins.concatLists (map (f: f ps) pythonPackageLists); pythonEnv = python3.withPackages pythonPkgs; otherPackageLists = [ diff --git a/pkgs/applications/editors/emacs/make-emacs.nix b/pkgs/applications/editors/emacs/make-emacs.nix index f1505d45f4f9..e74e21254b71 100644 --- a/pkgs/applications/editors/emacs/make-emacs.nix +++ b/pkgs/applications/editors/emacs/make-emacs.nix @@ -172,7 +172,7 @@ stdenv.mkDerivation (finalAttrs: { { backendPath = ( lib.concatStringsSep " " ( - builtins.map (x: ''"-B${x}"'') ( + map (x: ''"-B${x}"'') ( [ # Paths necessary so the JIT compiler finds its libraries: "${lib.getLib libgccjit}/lib" diff --git a/pkgs/applications/editors/jetbrains/plugins/tests.nix b/pkgs/applications/editors/jetbrains/plugins/tests.nix index 8ebfc4194fc2..f260a8560287 100644 --- a/pkgs/applications/editors/jetbrains/plugins/tests.nix +++ b/pkgs/applications/editors/jetbrains/plugins/tests.nix @@ -59,7 +59,7 @@ in plugins-for = with lib.asserts; ide: - builtins.map (plugin: plugin.name) ( + map (plugin: plugin.name) ( builtins.filter ( plugin: ( diff --git a/pkgs/applications/editors/jetbrains/source/build.nix b/pkgs/applications/editors/jetbrains/source/build.nix index ecf8de4257b0..90f412953372 100644 --- a/pkgs/applications/editors/jetbrains/source/build.nix +++ b/pkgs/applications/editors/jetbrains/source/build.nix @@ -185,7 +185,7 @@ let mkRepoEntry = entry: { name = ".m2/repository/" + entry.path; path = fetchurl { - urls = builtins.map (url: "${url}/${entry.url}") repositories; + urls = map (url: "${url}/${entry.url}") repositories; sha256 = entry.hash; }; }; diff --git a/pkgs/applications/editors/jupyter-kernels/clojupyter/deps.nix b/pkgs/applications/editors/jupyter-kernels/clojupyter/deps.nix index 00d19b291523..1a2b6a62258b 100644 --- a/pkgs/applications/editors/jupyter-kernels/clojupyter/deps.nix +++ b/pkgs/applications/editors/jupyter-kernels/clojupyter/deps.nix @@ -18,7 +18,7 @@ rec { { extraClasspaths ? [ ], }: - (builtins.map (dep: if builtins.hasAttr "jar" dep.path then dep.path.jar else dep.path) packages) + (map (dep: if builtins.hasAttr "jar" dep.path then dep.path.jar else dep.path) packages) ++ extraClasspaths; makeClasspaths = { diff --git a/pkgs/applications/editors/kakoune/plugins/build-kakoune-plugin.nix b/pkgs/applications/editors/kakoune/plugins/build-kakoune-plugin.nix index 11a615cfba82..15020deb91b4 100644 --- a/pkgs/applications/editors/kakoune/plugins/build-kakoune-plugin.nix +++ b/pkgs/applications/editors/kakoune/plugins/build-kakoune-plugin.nix @@ -18,7 +18,7 @@ rec { ... }: stdenv.mkDerivation ( - (builtins.removeAttrs attrs [ + (removeAttrs attrs [ "namePrefix" "path" ]) diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index 354b2b0c42fc..8669a4849aba 100644 --- a/pkgs/applications/editors/neovim/utils.nix +++ b/pkgs/applications/editors/neovim/utils.nix @@ -230,7 +230,7 @@ let nvimGrammars = lib.mapAttrsToList ( name: value: value.origGrammar - or (builtins.throw "additions to `pkgs.vimPlugins.nvim-treesitter.grammarPlugins` set should be passed through `pkgs.neovimUtils.grammarToPlugin` first") + or (throw "additions to `pkgs.vimPlugins.nvim-treesitter.grammarPlugins` set should be passed through `pkgs.neovimUtils.grammarToPlugin` first") ) vimPlugins.nvim-treesitter.grammarPlugins; isNvimGrammar = x: builtins.elem x nvimGrammars; diff --git a/pkgs/applications/editors/sublime/3/common.nix b/pkgs/applications/editors/sublime/3/common.nix index da26b2a046c7..38452146e105 100644 --- a/pkgs/applications/editors/sublime/3/common.nix +++ b/pkgs/applications/editors/sublime/3/common.nix @@ -42,7 +42,7 @@ let ]; downloadUrl = "https://download.sublimetext.com/sublime_text_3_build_${buildVersion}_${arch}.tar.bz2"; versionUrl = "https://download.sublimetext.com/latest/${if dev then "dev" else "stable"}"; - versionFile = builtins.toString ./packages.nix; + versionFile = toString ./packages.nix; archSha256 = if stdenv.hostPlatform.system == "i686-linux" then x32sha256 else x64sha256; arch = if stdenv.hostPlatform.system == "i686-linux" then "x32" else "x64"; diff --git a/pkgs/applications/editors/sublime/4/common.nix b/pkgs/applications/editors/sublime/4/common.nix index 6aff26de3622..89f155373d16 100644 --- a/pkgs/applications/editors/sublime/4/common.nix +++ b/pkgs/applications/editors/sublime/4/common.nix @@ -46,7 +46,7 @@ let downloadUrl = arch: "https://download.sublimetext.com/sublime_text_build_${buildVersion}_${arch}.tar.xz"; versionUrl = "https://download.sublimetext.com/latest/${if dev then "dev" else "stable"}"; - versionFile = builtins.toString ./packages.nix; + versionFile = toString ./packages.nix; neededLibraries = [ xorg.libX11 diff --git a/pkgs/applications/editors/vim/plugins/nvim-treesitter/overrides.nix b/pkgs/applications/editors/vim/plugins/nvim-treesitter/overrides.nix index fba459a0689d..f9b35edcf583 100644 --- a/pkgs/applications/editors/vim/plugins/nvim-treesitter/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/nvim-treesitter/overrides.nix @@ -111,7 +111,7 @@ in tree-sitter-queries-are-present-for-custom-grammars = let pluginsToCheck = - builtins.map (grammar: grammarToPlugin grammar) + map (grammar: grammarToPlugin grammar) # true is here because there is `recurseForDerivations = true` (lib.remove true (lib.attrValues tree-sitter-grammars)); in diff --git a/pkgs/applications/editors/vim/plugins/utils/vim-utils.nix b/pkgs/applications/editors/vim/plugins/utils/vim-utils.nix index dbe41260ca06..0f6aa0f404fe 100644 --- a/pkgs/applications/editors/vim/plugins/utils/vim-utils.nix +++ b/pkgs/applications/editors/vim/plugins/utils/vim-utils.nix @@ -202,7 +202,7 @@ let startWithDeps = findDependenciesRecursively start; allPlugins = lib.unique (startWithDeps ++ depsOfOptionalPlugins); allPython3Dependencies = - ps: lib.flatten (builtins.map (plugin: (plugin.python3Dependencies or (_: [ ])) ps) allPlugins); + ps: lib.flatten (map (plugin: (plugin.python3Dependencies or (_: [ ])) ps) allPlugins); python3Env = python3.withPackages allPython3Dependencies; packdirStart = vimFarm "pack/${packageName}/start" "packdir-start" allPlugins; diff --git a/pkgs/applications/editors/vscode/extensions/updateSettings.nix b/pkgs/applications/editors/vscode/extensions/updateSettings.nix index fe23e099b536..843bcf4fd270 100644 --- a/pkgs/applications/editors/vscode/extensions/updateSettings.nix +++ b/pkgs/applications/editors/vscode/extensions/updateSettings.nix @@ -24,7 +24,7 @@ let )''; createEmptySettingsCmd = ''mkdir -p .vscode && echo "{}" > ${vscodeSettingsFile}''; - fileName = builtins.baseNameOf vscodeSettingsFile; + fileName = baseNameOf vscodeSettingsFile; symlinkFromUserSettingCmd = lib.optionalString symlinkFromUserSetting ''&& mkdir -p "${userSettingsFolder}" && ln -sfv "$(pwd)/${vscodeSettingsFile}" "${userSettingsFolder}/" ''; in diff --git a/pkgs/applications/editors/vscode/extensions/vscode-utils.nix b/pkgs/applications/editors/vscode/extensions/vscode-utils.nix index bb15fecc67d2..4719b4ab97dc 100644 --- a/pkgs/applications/editors/vscode/extensions/vscode-utils.nix +++ b/pkgs/applications/editors/vscode/extensions/vscode-utils.nix @@ -127,7 +127,7 @@ let extensionFromVscodeMarketplace = mktplcExtRefToExtDrv; extensionsFromVscodeMarketplace = - mktplcExtRefList: builtins.map extensionFromVscodeMarketplace mktplcExtRefList; + mktplcExtRefList: map extensionFromVscodeMarketplace mktplcExtRefList; vscodeWithConfiguration = import ./vscodeWithConfiguration.nix { inherit lib extensionsFromVscodeMarketplace writeShellScriptBin; diff --git a/pkgs/applications/graphics/sane/backends/default.nix b/pkgs/applications/graphics/sane/backends/default.nix index a473613ad5e7..361ba67a2678 100644 --- a/pkgs/applications/graphics/sane/backends/default.nix +++ b/pkgs/applications/graphics/sane/backends/default.nix @@ -169,7 +169,7 @@ stdenv.mkDerivation (finalAttrs: { rmdir $out/share/sane/epjitsu ln -svT ${scanSnapDriversPackage} $out/share/sane/epjitsu '' - + lib.concatStrings (builtins.map installFirmware compatFirmware); + + lib.concatStrings (map installFirmware compatFirmware); # parallel install creates a bad symlink at $out/lib/sane/libsane.so.1 which prevents finding plugins # https://github.com/NixOS/nixpkgs/issues/224569 diff --git a/pkgs/applications/misc/sweethome3d/linux.nix b/pkgs/applications/misc/sweethome3d/linux.nix index 11d5fee2ffb9..46f24c071cf9 100644 --- a/pkgs/applications/misc/sweethome3d/linux.nix +++ b/pkgs/applications/misc/sweethome3d/linux.nix @@ -26,7 +26,7 @@ let # TODO: Should we move this to `lib`? Seems like its would be useful in many cases. extensionOf = - filePath: lib.concatStringsSep "." (lib.tail (lib.splitString "." (builtins.baseNameOf filePath))); + filePath: lib.concatStringsSep "." (lib.tail (lib.splitString "." (baseNameOf filePath))); installIcons = iconName: icons: diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index feac9db09d2e..491da6c1aba0 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -256,7 +256,7 @@ let '' else '' - mkdir -p ${builtins.dirOf path} + mkdir -p ${dirOf path} cp -r ${dep}/. ${path} '' ) diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index cdb5ff484a9a..be43ccc85ad6 100644 --- a/pkgs/applications/networking/browsers/firefox/wrapper.nix +++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix @@ -76,7 +76,7 @@ let # PCSC-Lite daemon (services.pcscd) also must be enabled for firefox to access smartcards smartcardSupport = cfg.smartcardSupport or false; - allNativeMessagingHosts = builtins.map lib.getBin nativeMessagingHosts; + allNativeMessagingHosts = map lib.getBin nativeMessagingHosts; libs = lib.optionals stdenv.hostPlatform.isLinux ( @@ -130,7 +130,7 @@ let usesNixExtensions = nixExtensions != null; - nameArray = builtins.map (a: a.name) (lib.optionals usesNixExtensions nixExtensions); + nameArray = map (a: a.name) (lib.optionals usesNixExtensions nixExtensions); # Check that every extension has a unique .name attribute # and an extid attribute @@ -140,7 +140,7 @@ let else if browser.requireSigning || !browser.allowAddonSideload then throw "Nix addons are only supported with signature enforcement disabled and addon sideloading enabled (eg. LibreWolf)" else - builtins.map ( + map ( a: if !(builtins.hasAttr "extid" a) then throw "nixExtensions has an invalid entry. Missing extid attribute. Please use fetchFirefoxAddon" @@ -516,7 +516,7 @@ let rm -f "$POL_PATH" cat ${policiesJson} >> "$POL_PATH" - extraPoliciesFiles=(${builtins.toString extraPoliciesFiles}) + extraPoliciesFiles=(${toString extraPoliciesFiles}) for extraPoliciesFile in "''${extraPoliciesFiles[@]}"; do jq -s '.[0] * .[1]' $extraPoliciesFile "$POL_PATH" > .tmp.json mv .tmp.json "$POL_PATH" @@ -533,7 +533,7 @@ let ${mozillaCfg} EOF - extraPrefsFiles=(${builtins.toString extraPrefsFiles}) + extraPrefsFiles=(${toString extraPrefsFiles}) for extraPrefsFile in "''${extraPrefsFiles[@]}"; do cat "$extraPrefsFile" >> "$libDir/mozilla.cfg" done diff --git a/pkgs/applications/networking/cluster/k3s/builder.nix b/pkgs/applications/networking/cluster/k3s/builder.nix index 41dcb8722d34..d26de30846ba 100644 --- a/pkgs/applications/networking/cluster/k3s/builder.nix +++ b/pkgs/applications/networking/cluster/k3s/builder.nix @@ -129,11 +129,11 @@ let # bundled into the k3s binary traefik = { chart = fetchurl chartVersions.traefik; - name = builtins.baseNameOf chartVersions.traefik.url; + name = baseNameOf chartVersions.traefik.url; }; traefik-crd = { chart = fetchurl chartVersions.traefik-crd; - name = builtins.baseNameOf chartVersions.traefik-crd.url; + name = baseNameOf chartVersions.traefik-crd.url; }; # a shortcut that provides the images archive for the host platform. Currently only supports diff --git a/pkgs/applications/networking/cluster/k3s/default.nix b/pkgs/applications/networking/cluster/k3s/default.nix index a758355d32df..c1e6635c0c65 100644 --- a/pkgs/applications/networking/cluster/k3s/default.nix +++ b/pkgs/applications/networking/cluster/k3s/default.nix @@ -9,7 +9,7 @@ let # let k3s_1_23 = (callPackage ./path/to/k3s { # commonK3sArg = .... # }).k3s_1_23; - extraArgs = builtins.removeAttrs args [ "callPackage" ]; + extraArgs = removeAttrs args [ "callPackage" ]; in { k3s_1_31 = common ( diff --git a/pkgs/applications/networking/cluster/kops/default.nix b/pkgs/applications/networking/cluster/kops/default.nix index 418392b89040..927e6ac75a6a 100644 --- a/pkgs/applications/networking/cluster/kops/default.nix +++ b/pkgs/applications/networking/cluster/kops/default.nix @@ -14,7 +14,7 @@ let ... }@attrs: let - attrs' = builtins.removeAttrs attrs [ + attrs' = removeAttrs attrs [ "version" "sha256" "rev" diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix index 089958bb7a7b..c21adc70c2b7 100644 --- a/pkgs/applications/networking/cluster/nomad/default.nix +++ b/pkgs/applications/networking/cluster/nomad/default.nix @@ -18,7 +18,7 @@ let ... }@attrs: let - attrs' = builtins.removeAttrs attrs [ + attrs' = removeAttrs attrs [ "buildGoModule" "version" "hash" diff --git a/pkgs/applications/networking/cluster/rke2/default.nix b/pkgs/applications/networking/cluster/rke2/default.nix index 31fadb41ac29..3ae92345d3da 100644 --- a/pkgs/applications/networking/cluster/rke2/default.nix +++ b/pkgs/applications/networking/cluster/rke2/default.nix @@ -2,7 +2,7 @@ let common = opts: callPackage (import ./builder.nix lib opts); - extraArgs = builtins.removeAttrs args [ "callPackage" ]; + extraArgs = removeAttrs args [ "callPackage" ]; in rec { rke2_1_30 = common ( diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 12b0a90ed4b1..5a0224bc33ab 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -21,7 +21,7 @@ let ... }@attrs: let - attrs' = builtins.removeAttrs attrs [ + attrs' = removeAttrs attrs [ "version" "hash" "vendorHash" diff --git a/pkgs/applications/networking/instant-messengers/franz/generic.nix b/pkgs/applications/networking/instant-messengers/franz/generic.nix index f7e6833ec59d..d9326450a3f0 100644 --- a/pkgs/applications/networking/instant-messengers/franz/generic.nix +++ b/pkgs/applications/networking/instant-messengers/franz/generic.nix @@ -40,7 +40,7 @@ ... }@args: let - cleanedArgs = builtins.removeAttrs args [ + cleanedArgs = removeAttrs args [ "pname" "name" "version" diff --git a/pkgs/applications/networking/irc/weechat/wrapper.nix b/pkgs/applications/networking/irc/weechat/wrapper.nix index 019b730608a5..1ac3a3dc006d 100644 --- a/pkgs/applications/networking/irc/weechat/wrapper.nix +++ b/pkgs/applications/networking/irc/weechat/wrapper.nix @@ -19,7 +19,7 @@ let { # Do not include PHP by default, because it bloats the closure, doesn't # build on Darwin, and there are no official PHP scripts. - plugins = builtins.attrValues (builtins.removeAttrs availablePlugins [ "php" ]); + plugins = builtins.attrValues (removeAttrs availablePlugins [ "php" ]); }, }: @@ -122,7 +122,7 @@ let ln -sf ${weechat}/share $out/share '') ]; - meta = builtins.removeAttrs weechat.meta [ "outputsToInstall" ]; + meta = removeAttrs weechat.meta [ "outputsToInstall" ]; }; in diff --git a/pkgs/applications/networking/mailreaders/mailnag/default.nix b/pkgs/applications/networking/mailreaders/mailnag/default.nix index fdde80e8f0b5..ca78b5510d27 100644 --- a/pkgs/applications/networking/mailreaders/mailnag/default.nix +++ b/pkgs/applications/networking/mailreaders/mailnag/default.nix @@ -95,7 +95,7 @@ python3Packages.buildPythonApplication rec { # Actually install plugins postInstall = '' - for plug in ${builtins.toString userPlugins}; do + for plug in ${toString userPlugins}; do lndir $plug/${python3Packages.python.sitePackages} $out/${python3Packages.python.sitePackages} done ''; diff --git a/pkgs/applications/networking/mailreaders/thunderbird/update.nix b/pkgs/applications/networking/mailreaders/thunderbird/update.nix index e584a88b7030..789550e80add 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird/update.nix +++ b/pkgs/applications/networking/mailreaders/thunderbird/update.nix @@ -7,5 +7,5 @@ callPackage ../../browsers/firefox/update.nix ( { baseUrl = "https://archive.mozilla.org/pub/thunderbird/releases/"; } - // (builtins.removeAttrs args [ "callPackage" ]) + // (removeAttrs args [ "callPackage" ]) ) diff --git a/pkgs/applications/office/libreoffice/darwin/default.nix b/pkgs/applications/office/libreoffice/darwin/default.nix index f5e25e49c69f..54a0b8a221d4 100644 --- a/pkgs/applications/office/libreoffice/darwin/default.nix +++ b/pkgs/applications/office/libreoffice/darwin/default.nix @@ -57,8 +57,8 @@ stdenvNoCC.mkDerivation { passthru.updateScript = let - defaultNixFile = builtins.toString ./default.nix; - updateNix = builtins.toString ./update.nix; + defaultNixFile = toString ./default.nix; + updateNix = toString ./update.nix; aarch64Url = dist."aarch64-darwin".url; x86_64Url = dist."x86_64-darwin".url; in diff --git a/pkgs/applications/office/libreoffice/wrapper.nix b/pkgs/applications/office/libreoffice/wrapper.nix index 8e7eea39e440..59fbc699961d 100644 --- a/pkgs/applications/office/libreoffice/wrapper.nix +++ b/pkgs/applications/office/libreoffice/wrapper.nix @@ -67,13 +67,11 @@ let "--prefix" "QT_PLUGIN_PATH" ":" - "${lib.makeSearchPath unwrapped.qtbase.qtPluginPrefix ( - builtins.map lib.getBin unwrapped.qtPackages - )}" + "${lib.makeSearchPath unwrapped.qtbase.qtPluginPrefix (map lib.getBin unwrapped.qtPackages)}" "--prefix" "QML2_IMPORT_PATH" ":" - "${lib.makeSearchPath unwrapped.qtbase.qtQmlPrefix (builtins.map lib.getBin unwrapped.qmlPackages)}" + "${lib.makeSearchPath unwrapped.qtbase.qtQmlPrefix (map lib.getBin unwrapped.qmlPackages)}" ] ++ [ # Add dictionaries from all NIX_PROFILES diff --git a/pkgs/applications/radio/gnuradio/wrapper.nix b/pkgs/applications/radio/gnuradio/wrapper.nix index 85c50fc52033..59e7dd7fa5d5 100644 --- a/pkgs/applications/radio/gnuradio/wrapper.nix +++ b/pkgs/applications/radio/gnuradio/wrapper.nix @@ -67,7 +67,7 @@ let (unwrapped.python.pkgs.toPythonModule unwrapped.passthru.uhd) ] # Add the extraPackages as python modules as well - ++ (builtins.map unwrapped.python.pkgs.toPythonModule extraPackages) + ++ (map unwrapped.python.pkgs.toPythonModule extraPackages) ++ lib.flatten ( lib.mapAttrsToList ( feat: info: @@ -167,7 +167,7 @@ let "QT_PLUGIN_PATH" ":" "${lib.makeSearchPath unwrapped.qt.qtbase.qtPluginPrefix ( - builtins.map lib.getBin ( + map lib.getBin ( [ unwrapped.qt.qtbase ] @@ -180,7 +180,7 @@ let "QML2_IMPORT_PATH" ":" "${lib.makeSearchPath unwrapped.qt.qtbase.qtQmlPrefix ( - builtins.map lib.getBin ( + map lib.getBin ( [ unwrapped.qt.qtbase ] @@ -225,7 +225,7 @@ let lndir -silent ${unwrapped} ${lib.optionalString (extraPackages != [ ]) ( builtins.concatStringsSep "\n" ( - builtins.map (pkg: '' + map (pkg: '' if [[ -d ${lib.getBin pkg}/bin/ ]]; then lndir -silent ${pkg}/bin ./bin fi diff --git a/pkgs/applications/science/chemistry/quantum-espresso/default.nix b/pkgs/applications/science/chemistry/quantum-espresso/default.nix index 42f482e9e016..a09f27004e4a 100644 --- a/pkgs/applications/science/chemistry/quantum-espresso/default.nix +++ b/pkgs/applications/science/chemistry/quantum-espresso/default.nix @@ -64,7 +64,7 @@ stdenv.mkDerivation rec { --replace "qe_git_submodule_update(external/d3q)" "" \ --replace "qe_git_submodule_update(external/qe-gipaw)" "" - ${builtins.toString ( + ${toString ( builtins.attrValues ( builtins.mapAttrs (name: val: '' cp -r ${val}/* external/${name}/. diff --git a/pkgs/applications/version-management/sublime-merge/common.nix b/pkgs/applications/version-management/sublime-merge/common.nix index f586b7e64cbf..0b1d36fc2d99 100644 --- a/pkgs/applications/version-management/sublime-merge/common.nix +++ b/pkgs/applications/version-management/sublime-merge/common.nix @@ -45,7 +45,7 @@ let downloadUrl = arch: "https://download.sublimetext.com/sublime_merge_build_${buildVersion}_${arch}.tar.xz"; versionUrl = "https://www.sublimemerge.com/${if dev then "dev" else "download"}"; - versionFile = builtins.toString ./default.nix; + versionFile = toString ./default.nix; neededLibraries = [ xorg.libX11 diff --git a/pkgs/applications/video/obs-studio/plugins/obs-gstreamer.nix b/pkgs/applications/video/obs-studio/plugins/obs-gstreamer.nix index 27a571d0229d..837de444b22c 100644 --- a/pkgs/applications/video/obs-studio/plugins/obs-gstreamer.nix +++ b/pkgs/applications/video/obs-studio/plugins/obs-gstreamer.nix @@ -47,7 +47,7 @@ stdenv.mkDerivation rec { package: "--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : ${lib.getLib package}/lib/gstreamer-1.0"; in with gst_all_1; - builtins.map gstreamerHook [ + map gstreamerHook [ gstreamer gst-plugins-base gst-plugins-bad diff --git a/pkgs/applications/video/obs-studio/plugins/obs-vaapi/default.nix b/pkgs/applications/video/obs-studio/plugins/obs-vaapi/default.nix index debefca16f52..fd7837eb5cc3 100644 --- a/pkgs/applications/video/obs-studio/plugins/obs-vaapi/default.nix +++ b/pkgs/applications/video/obs-studio/plugins/obs-vaapi/default.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation rec { package: "--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : ${lib.getLib package}/lib/gstreamer-1.0"; in with gst_all_1; - builtins.map gstreamerHook [ + map gstreamerHook [ gstreamer gst-plugins-base gst-plugins-bad diff --git a/pkgs/applications/virtualization/cri-o/wrapper.nix b/pkgs/applications/virtualization/cri-o/wrapper.nix index e0f546dbe956..0b4bffb90528 100644 --- a/pkgs/applications/virtualization/cri-o/wrapper.nix +++ b/pkgs/applications/virtualization/cri-o/wrapper.nix @@ -33,7 +33,7 @@ runCommand cri-o-unwrapped.name preferLocalBuild = true; - meta = builtins.removeAttrs cri-o-unwrapped.meta [ "outputsToInstall" ]; + meta = removeAttrs cri-o-unwrapped.meta [ "outputsToInstall" ]; outputs = [ "out" diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix index 178607421f09..4ceddfa59db5 100644 --- a/pkgs/build-support/bintools-wrapper/default.nix +++ b/pkgs/build-support/bintools-wrapper/default.nix @@ -481,7 +481,7 @@ stdenvNoCC.mkDerivation { libc_dev libc_lib ; - default_hardening_flags_str = builtins.toString defaultHardeningFlags; + default_hardening_flags_str = toString defaultHardeningFlags; } // lib.mapAttrs (_: lib.optionalString targetPlatform.isDarwin) { # These will become empty strings when not targeting Darwin. diff --git a/pkgs/build-support/buildenv/default.nix b/pkgs/build-support/buildenv/default.nix index 6aaa59df0642..dbeb2a629f20 100644 --- a/pkgs/build-support/buildenv/default.nix +++ b/pkgs/build-support/buildenv/default.nix @@ -79,7 +79,7 @@ lib.makeOverridable ( [ drv ] ) # Add any extra outputs specified by the caller of `buildEnv`. - ++ lib.filter (p: p != null) (builtins.map (outName: drv.${outName} or null) extraOutputsToInstall); + ++ lib.filter (p: p != null) (map (outName: drv.${outName} or null) extraOutputsToInstall); priority = drv.meta.priority or lib.meta.defaultPriority; }) paths; diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index 6d9780b3913c..4484739d0e59 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -980,7 +980,7 @@ stdenvNoCC.mkDerivation { inherit suffixSalt coreutils_bin bintools; inherit libc_bin libc_dev libc_lib; inherit darwinPlatformForCC; - default_hardening_flags_str = builtins.toString defaultHardeningFlags; + default_hardening_flags_str = toString defaultHardeningFlags; inherit useMacroPrefixMap; } // lib.mapAttrs (_: lib.optionalString targetPlatform.isDarwin) { diff --git a/pkgs/build-support/compress-drv/default.nix b/pkgs/build-support/compress-drv/default.nix index 47987f171892..d45c556fcb54 100644 --- a/pkgs/build-support/compress-drv/default.nix +++ b/pkgs/build-support/compress-drv/default.nix @@ -66,7 +66,7 @@ let in lib.assertMsg ( matches == 1 - ) "compressor ${ext} needs to have exactly one '{}', found ${builtins.toString matches}"; + ) "compressor ${ext} needs to have exactly one '{}', found ${toString matches}"; mkCmd = ext: prog: assert validProg ext prog; diff --git a/pkgs/build-support/coq/meta-fetch/default.nix b/pkgs/build-support/coq/meta-fetch/default.nix index 84819993c48a..394809cbea2f 100644 --- a/pkgs/build-support/coq/meta-fetch/default.nix +++ b/pkgs/build-support/coq/meta-fetch/default.nix @@ -68,7 +68,7 @@ let { ext = "tar.gz"; fmt = "tarball"; - fetchfun = builtins.fetchTarball; + fetchfun = fetchTarball; }; in with kind; diff --git a/pkgs/build-support/dart/build-dart-application/default.nix b/pkgs/build-support/dart/build-dart-application/default.nix index 5b1526b5977e..aa847b0efdf9 100644 --- a/pkgs/build-support/dart/build-dart-application/default.nix +++ b/pkgs/build-support/dart/build-dart-application/default.nix @@ -130,7 +130,7 @@ let baseDerivation = stdenv.mkDerivation ( finalAttrs: - (builtins.removeAttrs args [ + (removeAttrs args [ "gitHashes" "sdkSourceBuilders" "pubspecLock" diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 1f2c8b26e01b..0d6952465563 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -582,7 +582,7 @@ rec { ... }@args: let - stream = streamLayeredImage (builtins.removeAttrs args [ "compressor" ]); + stream = streamLayeredImage (removeAttrs args [ "compressor" ]); compress = compressorForImage compressor name; in runCommand "${baseNameOf name}.tar${compress.ext}" { @@ -1043,8 +1043,8 @@ rec { ); contentsList = if builtins.isList contents then contents else [ contents ]; - bind-paths = builtins.toString ( - builtins.map (path: "--bind=${path}:${path}!") [ + bind-paths = toString ( + map (path: "--bind=${path}:${path}!") [ "/dev/" "/proc/" "/sys/" @@ -1413,7 +1413,7 @@ rec { ... }@args: let - stream = streamNixShellImage (builtins.removeAttrs args [ "compressor" ]); + stream = streamNixShellImage (removeAttrs args [ "compressor" ]); compress = compressorForImage compressor drv.name; in runCommand "${drv.name}-env.tar${compress.ext}" { diff --git a/pkgs/build-support/docker/examples.nix b/pkgs/build-support/docker/examples.nix index aa522350a3f2..b904f188a4af 100644 --- a/pkgs/build-support/docker/examples.nix +++ b/pkgs/build-support/docker/examples.nix @@ -699,7 +699,7 @@ rec { " --program-prefix=layeredImageWithFakeRootCommands-" ]; doCheck = false; - versionCheckProgram = "${builtins.placeholder "out"}/bin/${finalAttrs.meta.mainProgram}"; + versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}"; meta = prevAttrs.meta // { mainProgram = "layeredImageWithFakeRootCommands-hello"; }; diff --git a/pkgs/build-support/dotnet/add-nuget-deps/default.nix b/pkgs/build-support/dotnet/add-nuget-deps/default.nix index 05cba02f79b7..a2c1fd63cc0e 100644 --- a/pkgs/build-support/dotnet/add-nuget-deps/default.nix +++ b/pkgs/build-support/dotnet/add-nuget-deps/default.nix @@ -49,7 +49,7 @@ let assert (lib.isPath nugetDeps); callPackage nugetDeps { fetchNuGet = fetchNupkg; } else - builtins.map fetchNupkg (lib.importJSON nugetDeps); + map fetchNupkg (lib.importJSON nugetDeps); finalPackage = finalAttrs.finalPackage; diff --git a/pkgs/build-support/dotnet/build-dotnet-package/default.nix b/pkgs/build-support/dotnet/build-dotnet-package/default.nix index 582084095e3d..803dc2c7ddfe 100644 --- a/pkgs/build-support/dotnet/build-dotnet-package/default.nix +++ b/pkgs/build-support/dotnet/build-dotnet-package/default.nix @@ -122,4 +122,4 @@ let ''; }; in -stdenv.mkDerivation (attrs // (builtins.removeAttrs attrsOrig [ "nativeBuildInputs" ])) +stdenv.mkDerivation (attrs // (removeAttrs attrsOrig [ "nativeBuildInputs" ])) diff --git a/pkgs/build-support/dotnet/make-nuget-deps/default.nix b/pkgs/build-support/dotnet/make-nuget-deps/default.nix index 668ce30404f2..75ff45cd2a27 100644 --- a/pkgs/build-support/dotnet/make-nuget-deps/default.nix +++ b/pkgs/build-support/dotnet/make-nuget-deps/default.nix @@ -21,7 +21,7 @@ lib.makeOverridable ( assert (lib.isPath sourceFile); import sourceFile else - { fetchNuGet }: builtins.map fetchNuGet (lib.importJSON sourceFile); + { fetchNuGet }: map fetchNuGet (lib.importJSON sourceFile); in loadDeps { fetchNuGet = args: fetchNupkg (args // { inherit installable; }); diff --git a/pkgs/build-support/fetchdocker/default.nix b/pkgs/build-support/fetchdocker/default.nix index 795c37b3c698..d851f982086d 100644 --- a/pkgs/build-support/fetchdocker/default.nix +++ b/pkgs/build-support/fetchdocker/default.nix @@ -29,10 +29,10 @@ assert null == lib.findFirst (c: "/" == c) null (lib.stringToCharacters imageNam let # Abuse paths to collapse possible double slashes - repoTag0 = builtins.toString (/. + "/${stripScheme registry}/${repository}/${imageName}"); + repoTag0 = toString (/. + "/${stripScheme registry}/${repository}/${imageName}"); repoTag1 = lib.removePrefix "/" repoTag0; - layers = builtins.map stripNixStore imageLayers; + layers = map stripNixStore imageLayers; manifest = writeText "manifest.json" ( builtins.toJSON [ diff --git a/pkgs/build-support/fetchmavenartifact/default.nix b/pkgs/build-support/fetchmavenartifact/default.nix index 1da312f5d100..67fcdc48c9c5 100644 --- a/pkgs/build-support/fetchmavenartifact/default.nix +++ b/pkgs/build-support/fetchmavenartifact/default.nix @@ -66,7 +66,7 @@ let else map mkJarUrl repos; jar = fetchurl ( - builtins.removeAttrs args [ + removeAttrs args [ "groupId" "artifactId" "version" diff --git a/pkgs/build-support/fetchpatch/default.nix b/pkgs/build-support/fetchpatch/default.nix index 428001bba7ad..d42d7eedcdb1 100644 --- a/pkgs/build-support/fetchpatch/default.nix +++ b/pkgs/build-support/fetchpatch/default.nix @@ -88,8 +88,8 @@ lib.throwIfNot (excludes == [ ] || includes == [ ]) filterdiff \ -p1 \ - ${builtins.toString (builtins.map (x: "-x ${lib.escapeShellArg x}") excludes)} \ - ${builtins.toString (builtins.map (x: "-i ${lib.escapeShellArg x}") includes)} \ + ${toString (map (x: "-x ${lib.escapeShellArg x}") excludes)} \ + ${toString (map (x: "-i ${lib.escapeShellArg x}") includes)} \ "$tmpfile" > "$out" if [ ! -s "$out" ]; then @@ -106,7 +106,7 @@ lib.throwIfNot (excludes == [ ] || includes == [ ]) '' + postFetch; } - // builtins.removeAttrs args [ + // removeAttrs args [ "relative" "stripLen" "decode" diff --git a/pkgs/build-support/fetchpypi/default.nix b/pkgs/build-support/fetchpypi/default.nix index cb7e443ab7ef..d291c57429c1 100644 --- a/pkgs/build-support/fetchpypi/default.nix +++ b/pkgs/build-support/fetchpypi/default.nix @@ -43,7 +43,7 @@ let ); in - compute (builtins.removeAttrs attrs [ "format" ]); + compute (removeAttrs attrs [ "format" ]); in makeOverridable ( @@ -55,7 +55,7 @@ makeOverridable ( }@attrs: let url = computeUrl ( - builtins.removeAttrs attrs [ + removeAttrs attrs [ "sha256" "hash" ] diff --git a/pkgs/build-support/fetchs3/default.nix b/pkgs/build-support/fetchs3/default.nix index 4935806ece18..5bebbb4f1e88 100644 --- a/pkgs/build-support/fetchs3/default.nix +++ b/pkgs/build-support/fetchs3/default.nix @@ -6,7 +6,7 @@ lib.fetchers.withNormalizedHash { } ( { s3url, - name ? builtins.baseNameOf s3url, + name ? baseNameOf s3url, outputHash, outputHashAlgo, region ? "us-east-1", diff --git a/pkgs/build-support/make-impure-test.nix b/pkgs/build-support/make-impure-test.nix index 2ff1ed0bcc2d..3a462964b3d2 100644 --- a/pkgs/build-support/make-impure-test.nix +++ b/pkgs/build-support/make-impure-test.nix @@ -45,7 +45,7 @@ }@args: let - sandboxPathsTests = builtins.map (path: "[[ ! -e '${path}' ]]") sandboxPaths; + sandboxPathsTests = map (path: "[[ ! -e '${path}' ]]") sandboxPaths; sandboxPathsTest = lib.concatStringsSep " || " sandboxPathsTests; sandboxPathsList = lib.concatStringsSep " " sandboxPaths; @@ -71,7 +71,7 @@ let passthru.runScript = runScript; } ( - builtins.removeAttrs args [ + removeAttrs args [ "lib" "stdenv" "writeShellScript" diff --git a/pkgs/build-support/mkshell/default.nix b/pkgs/build-support/mkshell/default.nix index ad34882b3891..83dfeca87fce 100644 --- a/pkgs/build-support/mkshell/default.nix +++ b/pkgs/build-support/mkshell/default.nix @@ -29,7 +29,7 @@ let # this leaves actual dependencies of the derivations in `inputsFrom`, but never the derivations themselves (lib.subtractLists inputsFrom (lib.flatten (lib.catAttrs name inputsFrom))); - rest = builtins.removeAttrs attrs [ + rest = removeAttrs attrs [ "name" "packages" "inputsFrom" diff --git a/pkgs/build-support/node/fetch-npm-deps/default.nix b/pkgs/build-support/node/fetch-npm-deps/default.nix index c8c4a9030163..cac50cb7401a 100644 --- a/pkgs/build-support/node/fetch-npm-deps/default.nix +++ b/pkgs/build-support/node/fetch-npm-deps/default.nix @@ -24,7 +24,7 @@ filter = name: type: let - name' = builtins.baseNameOf name; + name' = baseNameOf name; in name' != "default.nix" && name' != "target"; }; diff --git a/pkgs/build-support/node/import-npm-lock/default.nix b/pkgs/build-support/node/import-npm-lock/default.nix index cfea6ef4e1b5..c299ca46928d 100644 --- a/pkgs/build-support/node/import-npm-lock/default.nix +++ b/pkgs/build-support/node/import-npm-lock/default.nix @@ -52,7 +52,7 @@ let // fetcherOpts )) else if lib.hasPrefix "git" module.resolved then - (builtins.fetchGit ( + (fetchGit ( { url = module.resolved; } diff --git a/pkgs/build-support/ocaml/topkg.nix b/pkgs/build-support/ocaml/topkg.nix index 4c2d5d26d6c6..4326a61913e9 100644 --- a/pkgs/build-support/ocaml/topkg.nix +++ b/pkgs/build-support/ocaml/topkg.nix @@ -32,7 +32,7 @@ lib.throwIf (args ? minimalOCamlVersion && lib.versionOlder ocaml.version args.m inherit (topkg) buildPhase installPhase; } - // (builtins.removeAttrs args [ "minimalOCamlVersion" ]) + // (removeAttrs args [ "minimalOCamlVersion" ]) // { name = "ocaml${ocaml.version}-${pname}-${version}"; diff --git a/pkgs/build-support/release/source-tarball.nix b/pkgs/build-support/release/source-tarball.nix index 5abd4e97f327..bce23c7c90e9 100644 --- a/pkgs/build-support/release/source-tarball.nix +++ b/pkgs/build-support/release/source-tarball.nix @@ -81,7 +81,7 @@ stdenv.mkDerivation ( } # Then, the caller-supplied attributes. - // (builtins.removeAttrs args [ "lib" ]) + // (removeAttrs args [ "lib" ]) // # And finally, our own stuff. diff --git a/pkgs/build-support/replace-vars/replace-vars-with.nix b/pkgs/build-support/replace-vars/replace-vars-with.nix index 42be45b6dcf1..c863c6fb617f 100644 --- a/pkgs/build-support/replace-vars/replace-vars-with.nix +++ b/pkgs/build-support/replace-vars/replace-vars-with.nix @@ -72,7 +72,7 @@ let optionalAttrs = if (builtins.intersectAttrs attrs forcedAttrs == { }) then - builtins.removeAttrs attrs [ "replacements" ] + removeAttrs attrs [ "replacements" ] else throw "Passing any of ${builtins.concatStringsSep ", " (builtins.attrNames forcedAttrs)} to replaceVarsWith is not supported."; diff --git a/pkgs/build-support/rust/build-rust-crate/default.nix b/pkgs/build-support/rust/build-rust-crate/default.nix index e54e76ff8aa4..c931d920d191 100644 --- a/pkgs/build-support/rust/build-rust-crate/default.nix +++ b/pkgs/build-support/rust/build-rust-crate/default.nix @@ -250,7 +250,7 @@ lib.makeOverridable "codegenUnits" "links" ]; - extraDerivationAttrs = builtins.removeAttrs crate processedAttrs; + extraDerivationAttrs = removeAttrs crate processedAttrs; nativeBuildInputs_ = nativeBuildInputs; buildInputs_ = buildInputs; extraRustcOpts_ = extraRustcOpts; diff --git a/pkgs/build-support/rust/build-rust-crate/test/default.nix b/pkgs/build-support/rust/build-rust-crate/test/default.nix index e2e89d1fa338..208714152c56 100644 --- a/pkgs/build-support/rust/build-rust-crate/test/default.nix +++ b/pkgs/build-support/rust/build-rust-crate/test/default.nix @@ -91,7 +91,7 @@ let mkTest = crateArgs: let - crate = mkHostCrate (builtins.removeAttrs crateArgs [ "expectedTestOutput" ]); + crate = mkHostCrate (removeAttrs crateArgs [ "expectedTestOutput" ]); hasTests = crateArgs.buildTests or false; expectedTestOutputs = crateArgs.expectedTestOutputs or null; binaries = map (v: lib.escapeShellArg v.name) (crateArgs.crateBin or [ ]); @@ -182,7 +182,7 @@ let assert (builtins.isList expectedFiles); let - crate = mkCrate (builtins.removeAttrs crateArgs [ "expectedTestOutput" ]); + crate = mkCrate (removeAttrs crateArgs [ "expectedTestOutput" ]); crateOutput = if output == null then crate else crate."${output}"; expectedFilesFile = writeTextFile { name = "expected-files-${name}"; @@ -706,7 +706,7 @@ rec { rustCargoTomlInTopDir = let - withoutCargoTomlSearch = builtins.removeAttrs rustCargoTomlInSubDir [ "workspace_member" ]; + withoutCargoTomlSearch = removeAttrs rustCargoTomlInSubDir [ "workspace_member" ]; in withoutCargoTomlSearch // { diff --git a/pkgs/build-support/rust/build-rust-crate/test/rcgen-crates.nix b/pkgs/build-support/rust/build-rust-crate/test/rcgen-crates.nix index 08219db54930..69905245b2d7 100644 --- a/pkgs/build-support/rust/build-rust-crate/test/rcgen-crates.nix +++ b/pkgs/build-support/rust/build-rust-crate/test/rcgen-crates.nix @@ -73,7 +73,7 @@ rec { let members = builtins.attrValues workspaceMembers; in - builtins.map (m: m.build) members; + map (m: m.build) members; }; # @@ -4347,7 +4347,7 @@ rec { sourceFilter = name: type: let - baseName = builtins.baseNameOf (builtins.toString name); + baseName = baseNameOf (toString name); in !( # Filter out git @@ -4603,7 +4603,7 @@ rec { let features = mergedFeatures."${packageId}" or [ ]; crateConfig' = crateConfigs."${packageId}"; - crateConfig = builtins.removeAttrs crateConfig' [ + crateConfig = removeAttrs crateConfig' [ "resolvedDefaultFeatures" "devDependencies" ]; @@ -4657,7 +4657,7 @@ rec { version = package.version; }; in - lib.mapAttrs (name: choices: builtins.map versionAndRename choices) grouped; + lib.mapAttrs (name: choices: map versionAndRename choices) grouped; in buildRustCrateForPkgsFunc pkgs ( crateConfig @@ -4715,7 +4715,7 @@ rec { if builtins.isAttrs val then lib.mapAttrs (n: v: sanitizeForJson v) val else if builtins.isList val then - builtins.map sanitizeForJson val + map sanitizeForJson val else if builtins.isFunction val then "function" else @@ -4826,7 +4826,7 @@ rec { assert (builtins.isAttrs target); assert (builtins.isBool runTests); let - crateConfig = crateConfigs."${packageId}" or (builtins.throw "Package not found: ${packageId}"); + crateConfig = crateConfigs."${packageId}" or (throw "Package not found: ${packageId}"); expandedFeatures = expandFeatures (crateConfig.features or { }) features; enabledFeatures = enableFeatures (crateConfig.dependencies or [ ]) expandedFeatures; depWithResolvedFeatures = @@ -4984,7 +4984,7 @@ rec { dependencyPrefix = (dependency.rename or dependency.name) + "/"; dependencyFeatures = builtins.filter (f: lib.hasPrefix dependencyPrefix f) features; in - builtins.map (lib.removePrefix dependencyPrefix) dependencyFeatures; + map (lib.removePrefix dependencyPrefix) dependencyFeatures; in defaultOrNil ++ explicitFeatures ++ additionalDependencyFeatures; @@ -5002,7 +5002,7 @@ rec { deprecationWarning = message: value: if strictDeprecation then - builtins.throw "strictDeprecation enabled, aborting: ${message}" + throw "strictDeprecation enabled, aborting: ${message}" else builtins.trace message value; diff --git a/pkgs/build-support/rust/fetch-cargo-vendor.nix b/pkgs/build-support/rust/fetch-cargo-vendor.nix index ff9b8a87ebbf..3297764bb4bb 100644 --- a/pkgs/build-support/rust/fetch-cargo-vendor.nix +++ b/pkgs/build-support/rust/fetch-cargo-vendor.nix @@ -86,7 +86,7 @@ let outputHashAlgo = if hash == "" then "sha256" else null; outputHashMode = "recursive"; } - // builtins.removeAttrs args removedArgs + // removeAttrs args removedArgs ); in diff --git a/pkgs/build-support/rust/import-cargo-lock.nix b/pkgs/build-support/rust/import-cargo-lock.nix index ded382f42247..a3cd9b825ffc 100644 --- a/pkgs/build-support/rust/import-cargo-lock.nix +++ b/pkgs/build-support/rust/import-cargo-lock.nix @@ -16,7 +16,7 @@ # Cargo lock file contents as string lockFileContents ? null, - # Allow `builtins.fetchGit` to be used to not require hashes for git dependencies + # Allow `fetchGit` to be used to not require hashes for git dependencies allowBuiltinFetchGit ? false, # Additional registries to pull sources from @@ -57,7 +57,7 @@ let # shadows args.lockFileContents lockFileContents = if lockFile != null then builtins.readFile lockFile else args.lockFileContents; - parsedLockFile = builtins.fromTOML lockFileContents; + parsedLockFile = fromTOML lockFileContents; # lockfile v1 and v2 don't have the `version` key, so assume v2 # we can implement more fine-grained detection later, if needed @@ -75,11 +75,11 @@ let # Force evaluation of the git SHA -> hash mapping, so that an error is # thrown if there are stale hashes. We cannot rely on gitShaOutputHash # being evaluated otherwise, since there could be no git dependencies. - depCrates = builtins.deepSeq gitShaOutputHash (builtins.map mkCrate depPackages); + depCrates = builtins.deepSeq gitShaOutputHash (map mkCrate depPackages); # Map package name + version to git commit SHA for packages with a git source. namesGitShas = builtins.listToAttrs ( - builtins.map nameGitSha (builtins.filter (pkg: lib.hasPrefix "git+" pkg.source) depPackages) + map nameGitSha (builtins.filter (pkg: lib.hasPrefix "git+" pkg.source) depPackages) ); nameGitSha = @@ -188,7 +188,7 @@ let sha256 = gitShaOutputHash.${gitParts.sha}; } else if allowBuiltinFetchGit then - builtins.fetchGit { + fetchGit { inherit (gitParts) url; rev = gitParts.sha; allRefs = true; diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/tests.nix b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/tests.nix index 72ea53ce45f8..ac95f33b4840 100644 --- a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/tests.nix +++ b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/tests.nix @@ -33,7 +33,7 @@ let foo '' else - builtins.throw "Invalid scope: ${scope}"; + throw "Invalid scope: ${scope}"; in { name, diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/tests.nix b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/tests.nix index ef77291d64c7..feb585adb508 100644 --- a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/tests.nix +++ b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/tests.nix @@ -33,7 +33,7 @@ let foo '' else - builtins.throw "Invalid scope: ${scope}"; + throw "Invalid scope: ${scope}"; in { name, diff --git a/pkgs/build-support/src-only/default.nix b/pkgs/build-support/src-only/default.nix index b732c6156041..dfd82df54b71 100644 --- a/pkgs/build-support/src-only/default.nix +++ b/pkgs/build-support/src-only/default.nix @@ -60,9 +60,9 @@ in # If we are passed a derivation (based on stdenv*), we can use overrideAttrs to # update the arguments to mkDerivation. This gives us the proper awareness of # what arguments were effectively passed *to* mkDerivation as opposed to -# builtins.derivation (by mkDerivation). For example, stdenv.mkDerivation +# derivation (by mkDerivation). For example, stdenv.mkDerivation # accepts an `env` attribute set which is postprocessed before being passed to -# builtins.derivation. This can lead to evaluation failures, if we assume +# derivation. This can lead to evaluation failures, if we assume # that drvAttrs is equivalent to the arguments passed to mkDerivation. # See https://github.com/NixOS/nixpkgs/issues/269539. if lib.isDerivation attrs && attrs ? overrideAttrs then diff --git a/pkgs/build-support/testers/default.nix b/pkgs/build-support/testers/default.nix index 9bd25940a194..c35e03cada76 100644 --- a/pkgs/build-support/testers/default.nix +++ b/pkgs/build-support/testers/default.nix @@ -225,7 +225,7 @@ "testers.hasPkgConfigModule has been deprecated in favor of testers.hasPkgConfigModules. It accepts a list of strings via the moduleNames argument instead of a single moduleName." ( testers.hasPkgConfigModules ( - builtins.removeAttrs args [ "moduleName" ] + removeAttrs args [ "moduleName" ] // { moduleNames = [ moduleName ]; } diff --git a/pkgs/build-support/trivial-builders/default.nix b/pkgs/build-support/trivial-builders/default.nix index 2bbf568f79ee..620efd0cfad2 100644 --- a/pkgs/build-support/trivial-builders/default.nix +++ b/pkgs/build-support/trivial-builders/default.nix @@ -94,7 +94,7 @@ rec { preferLocalBuild = true; allowSubstitutes = false; }) - // builtins.removeAttrs derivationArgs [ "passAsFile" ] + // removeAttrs derivationArgs [ "passAsFile" ] ); # Docs in doc/build-helpers/trivial-build-helpers.chapter.md @@ -182,7 +182,7 @@ rec { path: text: writeTextFile { inherit text; - name = builtins.baseNameOf path; + name = baseNameOf path; destination = "/${path}"; }; @@ -983,7 +983,7 @@ rec { # TODO: move copyPathsToStore docs to the Nixpkgs manual # Copy a list of paths to the Nix store. - copyPathsToStore = builtins.map copyPathToStore; + copyPathsToStore = map copyPathToStore; # TODO: move applyPatches docs to the Nixpkgs manual /* @@ -1009,7 +1009,7 @@ rec { name ? ( if builtins.typeOf src == "path" then - builtins.baseNameOf src + baseNameOf src else if builtins.isAttrs src && builtins.hasAttr "name" src then src.name else diff --git a/pkgs/build-support/trivial-builders/test-overriding.nix b/pkgs/build-support/trivial-builders/test-overriding.nix index 33823aa0cd25..dbb756579de7 100644 --- a/pkgs/build-support/trivial-builders/test-overriding.nix +++ b/pkgs/build-support/trivial-builders/test-overriding.nix @@ -104,7 +104,7 @@ let runTest = script: let - name = script.name or (builtins.baseNameOf script); + name = script.name or (baseNameOf script); in writeShellScript "run-${name}" '' if [ "$(${script})" != "success" ]; then diff --git a/pkgs/build-support/trivial-builders/test/concat-test.nix b/pkgs/build-support/trivial-builders/test/concat-test.nix index 583d0910f4bc..bb9983ae908b 100644 --- a/pkgs/build-support/trivial-builders/test/concat-test.nix +++ b/pkgs/build-support/trivial-builders/test/concat-test.nix @@ -8,7 +8,7 @@ let stri = writeText "pathToTest"; txt1 = stri "abc"; - txt2 = stri (builtins.toString hello); + txt2 = stri (toString hello); res = concatText "textToTest" [ txt1 txt2 diff --git a/pkgs/build-support/trivial-builders/test/writeShellApplication.nix b/pkgs/build-support/trivial-builders/test/writeShellApplication.nix index 3c9e695486c2..1325d18366fc 100644 --- a/pkgs/build-support/trivial-builders/test/writeShellApplication.nix +++ b/pkgs/build-support/trivial-builders/test/writeShellApplication.nix @@ -13,7 +13,7 @@ let checkShellApplication = args@{ name, expected, ... }: let - writeShellApplicationArgs = builtins.removeAttrs args [ "expected" ]; + writeShellApplicationArgs = removeAttrs args [ "expected" ]; script = writeShellApplication writeShellApplicationArgs; executable = lib.getExe script; expected' = writeTextFile { diff --git a/pkgs/build-support/writers/scripts.nix b/pkgs/build-support/writers/scripts.nix index e7bb27f4ac92..bd4e9209ce67 100644 --- a/pkgs/build-support/writers/scripts.nix +++ b/pkgs/build-support/writers/scripts.nix @@ -599,7 +599,7 @@ rec { ... }@args: makeScriptWriter ( - (builtins.removeAttrs args [ + (removeAttrs args [ "babashka" ]) // { @@ -692,7 +692,7 @@ rec { in makeScriptWriter ( - (builtins.removeAttrs config [ + (removeAttrs config [ "guile" "libraries" "r6rs" @@ -728,7 +728,7 @@ rec { [ "--no-auto-compile" ] ++ lib.optional r6rs "--r6rs" ++ lib.optional r7rs "--r7rs" - ++ lib.optional (srfi != [ ]) ("--use-srfi=" + concatMapStringsSep "," builtins.toString srfi) + ++ lib.optional (srfi != [ ]) ("--use-srfi=" + concatMapStringsSep "," toString srfi) ++ [ "-s" ] )) "!#" @@ -921,7 +921,7 @@ rec { ... }@args: makeScriptWriter ( - (builtins.removeAttrs args [ "libraries" ]) + (removeAttrs args [ "libraries" ]) // { interpreter = if libraries == [ ] then "${ruby}/bin/ruby" else "${(ruby.withPackages (ps: libraries))}/bin/ruby"; @@ -963,7 +963,7 @@ rec { ... }@args: makeScriptWriter ( - (builtins.removeAttrs args [ "libraries" ]) + (removeAttrs args [ "libraries" ]) // { interpreter = lua.interpreter; # if libraries == [] @@ -1134,7 +1134,7 @@ rec { ... }@args: makeScriptWriter ( - (builtins.removeAttrs args [ "libraries" ]) + (removeAttrs args [ "libraries" ]) // { interpreter = "${lib.getExe (pkgs.perl.withPackages (p: libraries))}"; } @@ -1186,7 +1186,7 @@ rec { "--ignore ${concatMapStringsSep "," escapeShellArg flakeIgnore}"; in makeScriptWriter ( - (builtins.removeAttrs args [ + (removeAttrs args [ "libraries" "flakeIgnore" "doCheck" @@ -1333,7 +1333,7 @@ rec { content: makeScriptWriter ( - (builtins.removeAttrs args [ + (removeAttrs args [ "dotnet-sdk" "fsi-flags" "libraries" diff --git a/pkgs/by-name/_1/_1password-cli/package.nix b/pkgs/by-name/_1/_1password-cli/package.nix index 1ab0fa692dba..203aac1dbe54 100644 --- a/pkgs/by-name/_1/_1password-cli/package.nix +++ b/pkgs/by-name/_1/_1password-cli/package.nix @@ -79,7 +79,7 @@ stdenv.mkDerivation { doInstallCheck = true; - versionCheckProgram = "${builtins.placeholder "out"}/bin/op"; + versionCheckProgram = "${placeholder "out"}/bin/op"; versionCheckProgramArg = "--version"; passthru = { diff --git a/pkgs/by-name/ab/aba/package.nix b/pkgs/by-name/ab/aba/package.nix index 50b022ae117f..075de6a1cd24 100644 --- a/pkgs/by-name/ab/aba/package.nix +++ b/pkgs/by-name/ab/aba/package.nix @@ -35,7 +35,7 @@ rustPlatform.buildRustPackage { preBuild = '' justFlagsArray+=( - PREFIX=${builtins.placeholder "out"} + PREFIX=${placeholder "out"} MANIFEST_OPTS="--frozen --locked --profile=release" INSTALL_OPTS="--no-track" ) diff --git a/pkgs/by-name/al/alsa-lib-with-plugins/package.nix b/pkgs/by-name/al/alsa-lib-with-plugins/package.nix index d1d397132ba5..e26a0be172ce 100644 --- a/pkgs/by-name/al/alsa-lib-with-plugins/package.nix +++ b/pkgs/by-name/al/alsa-lib-with-plugins/package.nix @@ -24,9 +24,9 @@ runCommand "${alsa-lib.pname}-${alsa-lib.version}" } ( (lib.concatMapStringsSep "\n" (output: '' - mkdir ${builtins.placeholder output} + mkdir ${placeholder output} ${lndir}/bin/lndir ${lib.attrByPath [ output ] null alsa-lib} \ - ${builtins.placeholder output} + ${placeholder output} '') alsa-lib.outputs) + '' cp -r ${merged}/lib/alsa-lib $out/lib diff --git a/pkgs/by-name/am/amazon-cloudwatch-agent/package.nix b/pkgs/by-name/am/amazon-cloudwatch-agent/package.nix index 95ff87707a68..cdaf829d7581 100644 --- a/pkgs/by-name/am/amazon-cloudwatch-agent/package.nix +++ b/pkgs/by-name/am/amazon-cloudwatch-agent/package.nix @@ -43,7 +43,7 @@ buildGoModule rec { nativeInstallCheckInputs = [ versionCheckHook ]; - versionCheckProgram = "${builtins.placeholder "out"}/bin/amazon-cloudwatch-agent"; + versionCheckProgram = "${placeholder "out"}/bin/amazon-cloudwatch-agent"; versionCheckProgramArg = "-version"; diff --git a/pkgs/by-name/ap/apfsprogs/package.nix b/pkgs/by-name/ap/apfsprogs/package.nix index b8b18f6bd563..1ea1b3595633 100644 --- a/pkgs/by-name/ap/apfsprogs/package.nix +++ b/pkgs/by-name/ap/apfsprogs/package.nix @@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: { version = "v${finalAttrs.version}"; }; }; - versionTestList = builtins.map mkVersionTest tools; + versionTestList = map mkVersionTest tools; versionTests = lib.mergeAttrsList versionTestList; in diff --git a/pkgs/by-name/ap/aporetic/package.nix b/pkgs/by-name/ap/aporetic/package.nix index 9c05714c594a..cad2fbd57404 100644 --- a/pkgs/by-name/ap/aporetic/package.nix +++ b/pkgs/by-name/ap/aporetic/package.nix @@ -52,7 +52,7 @@ in symlinkJoin { inherit pname version; - paths = (builtins.map makeIosevkaFont sets); + paths = (map makeIosevkaFont sets); meta = { inherit (src.meta) homepage; diff --git a/pkgs/by-name/ay/ayatana-indicator-messages/package.nix b/pkgs/by-name/ay/ayatana-indicator-messages/package.nix index b839b089fd9e..51bd2f68da83 100644 --- a/pkgs/by-name/ay/ayatana-indicator-messages/package.nix +++ b/pkgs/by-name/ay/ayatana-indicator-messages/package.nix @@ -158,7 +158,7 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://github.com/AyatanaIndicators/ayatana-indicator-messages"; changelog = "https://github.com/AyatanaIndicators/ayatana-indicator-messages/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = lib.licenses.gpl3Only; platforms = lib.platforms.linux; diff --git a/pkgs/by-name/bo/bonsai/package.nix b/pkgs/by-name/bo/bonsai/package.nix index a8cb48e55294..6a33d21a259d 100644 --- a/pkgs/by-name/bo/bonsai/package.nix +++ b/pkgs/by-name/bo/bonsai/package.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { hareThirdParty.hare-json ]; - makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; enableParallelBuilding = true; diff --git a/pkgs/by-name/ca/catppuccin-gtk/package.nix b/pkgs/by-name/ca/catppuccin-gtk/package.nix index 922f6973e979..256f5d549fe3 100644 --- a/pkgs/by-name/ca/catppuccin-gtk/package.nix +++ b/pkgs/by-name/ca/catppuccin-gtk/package.nix @@ -95,9 +95,9 @@ lib.checkListOfEnum "${pname}: theme accent" validAccents accents lib.checkListO mkdir -p $out/share/themes python3 build.py ${variant} \ - --accent ${builtins.toString accents} \ + --accent ${toString accents} \ ${lib.optionalString (size != [ ]) "--size " + size} \ - ${lib.optionalString (tweaks != [ ]) "--tweaks " + builtins.toString tweaks} \ + ${lib.optionalString (tweaks != [ ]) "--tweaks " + toString tweaks} \ --dest $out/share/themes runHook postInstall diff --git a/pkgs/by-name/co/colloid-gtk-theme/package.nix b/pkgs/by-name/co/colloid-gtk-theme/package.nix index 2d5e8d5b0774..7f2c05aa7875 100644 --- a/pkgs/by-name/co/colloid-gtk-theme/package.nix +++ b/pkgs/by-name/co/colloid-gtk-theme/package.nix @@ -87,10 +87,10 @@ lib.checkListOfEnum "colloid-gtk-theme: theme variants" runHook preInstall name= HOME="$TMPDIR" ./install.sh \ - ${lib.optionalString (themeVariants != [ ]) "--theme " + builtins.toString themeVariants} \ - ${lib.optionalString (colorVariants != [ ]) "--color " + builtins.toString colorVariants} \ - ${lib.optionalString (sizeVariants != [ ]) "--size " + builtins.toString sizeVariants} \ - ${lib.optionalString (tweaks != [ ]) "--tweaks " + builtins.toString tweaks} \ + ${lib.optionalString (themeVariants != [ ]) "--theme " + toString themeVariants} \ + ${lib.optionalString (colorVariants != [ ]) "--color " + toString colorVariants} \ + ${lib.optionalString (sizeVariants != [ ]) "--size " + toString sizeVariants} \ + ${lib.optionalString (tweaks != [ ]) "--tweaks " + toString tweaks} \ --dest $out/share/themes jdupes --quiet --link-soft --recurse $out/share diff --git a/pkgs/by-name/co/colloid-icon-theme/package.nix b/pkgs/by-name/co/colloid-icon-theme/package.nix index 1713fcd89b54..566897e0df59 100644 --- a/pkgs/by-name/co/colloid-icon-theme/package.nix +++ b/pkgs/by-name/co/colloid-icon-theme/package.nix @@ -77,8 +77,8 @@ lib.checkListOfEnum "colloid-icon-theme: scheme variants" runHook preInstall name= ./install.sh \ - ${lib.optionalString (schemeVariants != [ ]) ("--scheme " + builtins.toString schemeVariants)} \ - ${lib.optionalString (colorVariants != [ ]) ("--theme " + builtins.toString colorVariants)} \ + ${lib.optionalString (schemeVariants != [ ]) ("--scheme " + toString schemeVariants)} \ + ${lib.optionalString (colorVariants != [ ]) ("--theme " + toString colorVariants)} \ --dest $out/share/icons jdupes --quiet --link-soft --recurse $out/share diff --git a/pkgs/by-name/co/coredns/package.nix b/pkgs/by-name/co/coredns/package.nix index 57a01b6aa50b..375fbe28733c 100644 --- a/pkgs/by-name/co/coredns/package.nix +++ b/pkgs/by-name/co/coredns/package.nix @@ -10,7 +10,7 @@ }: let - attrsToSources = attrs: builtins.map ({ repo, version, ... }: "${repo}@${version}") attrs; + attrsToSources = attrs: map ({ repo, version, ... }: "${repo}@${version}") attrs; in buildGoModule (finalAttrs: { pname = "coredns"; @@ -75,7 +75,7 @@ buildGoModule (finalAttrs: { ) externalPlugins) } diff -u plugin.cfg.orig plugin.cfg || true - for src in ${builtins.toString (attrsToSources externalPlugins)}; do go get $src; done + for src in ${toString (attrsToSources externalPlugins)}; do go get $src; done GOOS= GOARCH= go generate go mod vendor ''; diff --git a/pkgs/by-name/cp/cppitertools/package.nix b/pkgs/by-name/cp/cppitertools/package.nix index 99c363273d52..90a73ff7f9d9 100644 --- a/pkgs/by-name/cp/cppitertools/package.nix +++ b/pkgs/by-name/cp/cppitertools/package.nix @@ -47,8 +47,8 @@ stdenv.mkDerivation (finalAttrs: { # files that are also in that repo. cmakeBuildDir = "cmake-build"; - includeInstallDir = "${builtins.placeholder "out"}/include/cppitertools"; - cmakeInstallDir = "${builtins.placeholder "out"}/share/cmake"; + includeInstallDir = "${placeholder "out"}/include/cppitertools"; + cmakeInstallDir = "${placeholder "out"}/share/cmake"; # This version of cppitertools considers itself as having used the default value, # and issues warning, unless -Dcppitertools_INSTALL_CMAKE_DIR is present as an diff --git a/pkgs/by-name/cu/cups-brother-hll2350dw/package.nix b/pkgs/by-name/cu/cups-brother-hll2350dw/package.nix index 515370a06f0b..8aecaf789d8a 100644 --- a/pkgs/by-name/cu/cups-brother-hll2350dw/package.nix +++ b/pkgs/by-name/cu/cups-brother-hll2350dw/package.nix @@ -99,7 +99,7 @@ stdenv.mkDerivation rec { description = "Brother HL-L2350DW printer driver"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; - platforms = builtins.map (arch: "${arch}-linux") arches; + platforms = map (arch: "${arch}-linux") arches; downloadPage = "https://support.brother.com/g/b/downloadlist.aspx?c=us_ot&lang=en&prod=hll2350dw_us_eu_as&os=128"; maintainers = [ maintainers.sternenseemann ]; }; diff --git a/pkgs/by-name/cu/cups-brother-hll2375dw/package.nix b/pkgs/by-name/cu/cups-brother-hll2375dw/package.nix index 8cfaf540ecba..12ba4dd2982b 100644 --- a/pkgs/by-name/cu/cups-brother-hll2375dw/package.nix +++ b/pkgs/by-name/cu/cups-brother-hll2375dw/package.nix @@ -105,7 +105,7 @@ stdenv.mkDerivation rec { homepage = "http://www.brother.com/"; description = "Brother HLL2375DW printer driver"; license = licenses.unfree; - platforms = builtins.map (arch: "${arch}-linux") arches; + platforms = map (arch: "${arch}-linux") arches; maintainers = [ maintainers.gador ]; }; } diff --git a/pkgs/by-name/cu/cups-brother-mfcl2750dw/package.nix b/pkgs/by-name/cu/cups-brother-mfcl2750dw/package.nix index 2e286d529ad6..18fb22ed747b 100644 --- a/pkgs/by-name/cu/cups-brother-mfcl2750dw/package.nix +++ b/pkgs/by-name/cu/cups-brother-mfcl2750dw/package.nix @@ -99,7 +99,7 @@ stdenv.mkDerivation rec { description = "Brother MFC-L2750DW printer driver"; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; - platforms = builtins.map (arch: "${arch}-linux") arches; + platforms = map (arch: "${arch}-linux") arches; maintainers = [ maintainers.lovesegfault ]; }; } diff --git a/pkgs/by-name/cu/cups-brother-mfcl2800dw/package.nix b/pkgs/by-name/cu/cups-brother-mfcl2800dw/package.nix index 6de620531193..3096053861d7 100644 --- a/pkgs/by-name/cu/cups-brother-mfcl2800dw/package.nix +++ b/pkgs/by-name/cu/cups-brother-mfcl2800dw/package.nix @@ -96,7 +96,7 @@ stdenv.mkDerivation { description = "Brother MFC-L2750DW printer driver"; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; license = lib.licenses.unfree; - platforms = builtins.map (arch: "${arch}-linux") arches; + platforms = map (arch: "${arch}-linux") arches; maintainers = [ lib.maintainers.luftmensch-luftmensch ]; }; } diff --git a/pkgs/by-name/cu/curl-impersonate/chrome/update.sh b/pkgs/by-name/cu/curl-impersonate/chrome/update.sh index 31f8349eb702..429bc3700e11 100755 --- a/pkgs/by-name/cu/curl-impersonate/chrome/update.sh +++ b/pkgs/by-name/cu/curl-impersonate/chrome/update.sh @@ -23,7 +23,7 @@ vendorhash() { findpath() { path="$(nix --extra-experimental-features nix-command eval --json --impure -f "$nixpkgs" "$1.meta.position" | jq -r . | cut -d: -f1)" - outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "builtins.fetchGit \"$nixpkgs\"")" + outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "fetchGit \"$nixpkgs\"")" if [ -n "$outpath" ]; then path="${path/$(echo "$outpath" | jq -r .)/$nixpkgs}" diff --git a/pkgs/by-name/cu/curl-impersonate/firefox/update.sh b/pkgs/by-name/cu/curl-impersonate/firefox/update.sh index 76dd6099d417..3202ed1c9057 100644 --- a/pkgs/by-name/cu/curl-impersonate/firefox/update.sh +++ b/pkgs/by-name/cu/curl-impersonate/firefox/update.sh @@ -23,7 +23,7 @@ vendorhash() { findpath() { path="$(nix --extra-experimental-features nix-command eval --json --impure -f "$nixpkgs" "$1.meta.position" | jq -r . | cut -d: -f1)" - outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "builtins.fetchGit \"$nixpkgs\"")" + outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "fetchGit \"$nixpkgs\"")" if [ -n "$outpath" ]; then path="${path/$(echo "$outpath" | jq -r .)/$nixpkgs}" diff --git a/pkgs/by-name/cy/cyrus-imapd/package.nix b/pkgs/by-name/cy/cyrus-imapd/package.nix index d59565107167..1850b328def1 100644 --- a/pkgs/by-name/cy/cyrus-imapd/package.nix +++ b/pkgs/by-name/cy/cyrus-imapd/package.nix @@ -180,7 +180,7 @@ stdenv.mkDerivation (finalAttrs: { checkInputs = [ cunit ]; doCheck = true; - versionCheckProgram = "${builtins.placeholder "out"}/libexec/master"; + versionCheckProgram = "${placeholder "out"}/libexec/master"; versionCheckProgramArg = "-V"; nativeInstallCheckInputs = [ versionCheckHook diff --git a/pkgs/by-name/di/digiham/package.nix b/pkgs/by-name/di/digiham/package.nix index 2e002cfbcd05..e373f97e082e 100644 --- a/pkgs/by-name/di/digiham/package.nix +++ b/pkgs/by-name/di/digiham/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { ]; nativeInstallCheckInputs = [ versionCheckHook ]; - versionCheckProgram = "${builtins.placeholder "out"}/bin/dmr_decoder"; + versionCheckProgram = "${placeholder "out"}/bin/dmr_decoder"; doInstallCheck = true; meta = { diff --git a/pkgs/by-name/dm/dmd/generic.nix b/pkgs/by-name/dm/dmd/generic.nix index 433b894e3822..a837dedac7c6 100644 --- a/pkgs/by-name/dm/dmd/generic.nix +++ b/pkgs/by-name/dm/dmd/generic.nix @@ -40,7 +40,7 @@ let ); }; - bits = builtins.toString stdenv.hostPlatform.parsed.cpu.bits; + bits = toString stdenv.hostPlatform.parsed.cpu.bits; osname = if stdenv.hostPlatform.isDarwin then "osx" else stdenv.hostPlatform.parsed.kernel.name; pathToDmd = "\${NIX_BUILD_TOP}/dmd/generated/${osname}/release/${bits}/dmd"; diff --git a/pkgs/by-name/do/docker-credential-helpers/package.nix b/pkgs/by-name/do/docker-credential-helpers/package.nix index a262b00423e3..e692bf9eb4ff 100644 --- a/pkgs/by-name/do/docker-credential-helpers/package.nix +++ b/pkgs/by-name/do/docker-credential-helpers/package.nix @@ -47,8 +47,8 @@ buildGoModule rec { ]; in '' - for cmd in ${builtins.toString cmds}; do - go build -ldflags "${builtins.toString ldflags}" -trimpath -o bin/docker-credential-$cmd ./$cmd/cmd + for cmd in ${toString cmds}; do + go build -ldflags "${toString ldflags}" -trimpath -o bin/docker-credential-$cmd ./$cmd/cmd done ''; diff --git a/pkgs/by-name/dr/dropbear/package.nix b/pkgs/by-name/dr/dropbear/package.nix index fb46cd50916f..edd8f75f7367 100644 --- a/pkgs/by-name/dr/dropbear/package.nix +++ b/pkgs/by-name/dr/dropbear/package.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { }; CFLAGS = lib.pipe (lib.attrNames dflags) [ - (builtins.map (name: "-D${name}=\\\"${dflags.${name}}\\\"")) + (map (name: "-D${name}=\\\"${dflags.${name}}\\\"")) (lib.concatStringsSep " ") ]; diff --git a/pkgs/by-name/dv/dvdplusrwtools/package.nix b/pkgs/by-name/dv/dvdplusrwtools/package.nix index d61702cc13d6..f99641a856db 100644 --- a/pkgs/by-name/dv/dvdplusrwtools/package.nix +++ b/pkgs/by-name/dv/dvdplusrwtools/package.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { ] # Patches from Gentoo ++ - builtins.map + map ( { pfile, sha256 }: fetchpatch { diff --git a/pkgs/by-name/ej/ejabberd/package.nix b/pkgs/by-name/ej/ejabberd/package.nix index 4243e5b578de..d6c6534257cb 100644 --- a/pkgs/by-name/ej/ejabberd/package.nix +++ b/pkgs/by-name/ej/ejabberd/package.nix @@ -127,7 +127,7 @@ let }; }; - beamDeps = builtins.removeAttrs allBeamDeps [ + beamDeps = removeAttrs allBeamDeps [ "sqlite3" "p1_pgsql" "p1_mysql" diff --git a/pkgs/by-name/el/element-desktop/package.nix b/pkgs/by-name/el/element-desktop/package.nix index af332edd8748..371e6612f14a 100644 --- a/pkgs/by-name/el/element-desktop/package.nix +++ b/pkgs/by-name/el/element-desktop/package.nix @@ -30,7 +30,7 @@ let in stdenv.mkDerivation ( finalAttrs: - builtins.removeAttrs pinData [ "hashes" ] + removeAttrs pinData [ "hashes" ] // { pname = "element-desktop"; name = "${finalAttrs.pname}-${finalAttrs.version}"; diff --git a/pkgs/by-name/el/element-web-unwrapped/package.nix b/pkgs/by-name/el/element-web-unwrapped/package.nix index 1c842d2fe8ec..284a790e4a05 100644 --- a/pkgs/by-name/el/element-web-unwrapped/package.nix +++ b/pkgs/by-name/el/element-web-unwrapped/package.nix @@ -18,7 +18,7 @@ let in stdenv.mkDerivation ( finalAttrs: - builtins.removeAttrs pinData [ "hashes" ] + removeAttrs pinData [ "hashes" ] // { pname = "element-web"; diff --git a/pkgs/by-name/en/engage/package.nix b/pkgs/by-name/en/engage/package.nix index 59c8c0f59952..6ae2bde48e24 100644 --- a/pkgs/by-name/en/engage/package.nix +++ b/pkgs/by-name/en/engage/package.nix @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; env = { - ENGAGE_DOCS_LINK = "file://${builtins.placeholder "doc"}/share/doc/${finalAttrs.pname}/index.html"; + ENGAGE_DOCS_LINK = "file://${placeholder "doc"}/share/doc/${finalAttrs.pname}/index.html"; }; src = fetchFromGitLab { @@ -42,7 +42,7 @@ rustPlatform.buildRustPackage (finalAttrs: { postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd engage ${ builtins.concatStringsSep " " ( - builtins.map (shell: "--${shell} <($out/bin/engage completions ${shell})") [ + map (shell: "--${shell} <($out/bin/engage completions ${shell})") [ "bash" "zsh" "fish" diff --git a/pkgs/by-name/ep/epson-escpr2/package.nix b/pkgs/by-name/ep/epson-escpr2/package.nix index caba87f35644..bbfe2d0e2508 100644 --- a/pkgs/by-name/ep/epson-escpr2/package.nix +++ b/pkgs/by-name/ep/epson-escpr2/package.nix @@ -33,8 +33,8 @@ stdenv.mkDerivation { ]; configureFlags = [ - "--with-cupsfilterdir=${builtins.placeholder "out"}/lib/cups/filter" - "--with-cupsppddir=${builtins.placeholder "out"}/share/cups/model" + "--with-cupsfilterdir=${placeholder "out"}/lib/cups/filter" + "--with-cupsppddir=${placeholder "out"}/share/cups/model" ]; meta = { diff --git a/pkgs/by-name/eu/eurofurence/package.nix b/pkgs/by-name/eu/eurofurence/package.nix index aa341e70a9ba..3da21b84c6c7 100644 --- a/pkgs/by-name/eu/eurofurence/package.nix +++ b/pkgs/by-name/eu/eurofurence/package.nix @@ -13,7 +13,7 @@ stdenvNoCC.mkDerivation { ( { url, hash }: fetchzip { - name = builtins.baseNameOf url; + name = baseNameOf url; stripRoot = false; inherit url hash; } diff --git a/pkgs/by-name/fc/fcft/package.nix b/pkgs/by-name/fc/fcft/package.nix index 1e2392b7b544..4f23760a704c 100644 --- a/pkgs/by-name/fc/fcft/package.nix +++ b/pkgs/by-name/fc/fcft/package.nix @@ -65,9 +65,7 @@ stdenv.mkDerivation rec { mesonFlags = [ (lib.mesonEnable "system-nanosvg" true) ] - ++ builtins.map ( - t: lib.mesonEnable "${t}-shaping" (lib.elem t withShapingTypes) - ) availableShapingTypes; + ++ map (t: lib.mesonEnable "${t}-shaping" (lib.elem t withShapingTypes)) availableShapingTypes; doCheck = true; diff --git a/pkgs/by-name/fi/fishnet/package.nix b/pkgs/by-name/fi/fishnet/package.nix index dc36b15d8e4a..26fe09dfc89d 100644 --- a/pkgs/by-name/fi/fishnet/package.nix +++ b/pkgs/by-name/fi/fishnet/package.nix @@ -67,7 +67,7 @@ rustPlatform.buildRustPackage (finalAttrs: { runtimeEnv = { PNAME = finalAttrs.pname; - PKG_FILE = builtins.toString ./package.nix; + PKG_FILE = toString ./package.nix; GITHUB_REPOSITORY = "${finalAttrs.src.owner}/${finalAttrs.src.repo}"; NNUE_BIG_FILE = nnueBigFile; NNUE_BIG_HASH = nnueBigHash; diff --git a/pkgs/by-name/fl/fluent-bit/package.nix b/pkgs/by-name/fl/fluent-bit/package.nix index a6142a33e129..8a2a154b4d3c 100644 --- a/pkgs/by-name/fl/fluent-bit/package.nix +++ b/pkgs/by-name/fl/fluent-bit/package.nix @@ -102,7 +102,7 @@ stdenv.mkDerivation (finalAttrs: { # We fix this by setting the systemd package's `systemdsystemunitdir` pkg-config variable. # # https://man.openbsd.org/pkg-config.1#PKG_CONFIG_$PACKAGE_$VARIABLE - PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${builtins.placeholder "out"}/lib/systemd/system"; + PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system"; outputs = [ "out" diff --git a/pkgs/by-name/fl/fluent-gtk-theme/package.nix b/pkgs/by-name/fl/fluent-gtk-theme/package.nix index 3b5b4be1c1ad..a2dc6a21bf3a 100644 --- a/pkgs/by-name/fl/fluent-gtk-theme/package.nix +++ b/pkgs/by-name/fl/fluent-gtk-theme/package.nix @@ -86,10 +86,10 @@ lib.checkListOfEnum "${pname}: theme variants" runHook preInstall name= HOME="$TMPDIR" ./install.sh \ - ${lib.optionalString (themeVariants != [ ]) "--theme " + builtins.toString themeVariants} \ - ${lib.optionalString (colorVariants != [ ]) "--color " + builtins.toString colorVariants} \ - ${lib.optionalString (sizeVariants != [ ]) "--size " + builtins.toString sizeVariants} \ - ${lib.optionalString (tweaks != [ ]) "--tweaks " + builtins.toString tweaks} \ + ${lib.optionalString (themeVariants != [ ]) "--theme " + toString themeVariants} \ + ${lib.optionalString (colorVariants != [ ]) "--color " + toString colorVariants} \ + ${lib.optionalString (sizeVariants != [ ]) "--size " + toString sizeVariants} \ + ${lib.optionalString (tweaks != [ ]) "--tweaks " + toString tweaks} \ --icon nixos \ --dest $out/share/themes diff --git a/pkgs/by-name/fl/fluent-icon-theme/package.nix b/pkgs/by-name/fl/fluent-icon-theme/package.nix index 355ce29e499a..bd02e441ff11 100644 --- a/pkgs/by-name/fl/fluent-icon-theme/package.nix +++ b/pkgs/by-name/fl/fluent-icon-theme/package.nix @@ -60,7 +60,7 @@ lib.checkListOfEnum "${pname}: available color variants" ./install.sh --dest $out/share/icons \ --name Fluent \ - ${builtins.toString colorVariants} \ + ${toString colorVariants} \ ${lib.optionalString allColorVariants "--all"} \ ${lib.optionalString roundedIcons "--round"} \ ${lib.optionalString blackPanelIcons "--black"} diff --git a/pkgs/by-name/fr/freecad/freecad-utils.nix b/pkgs/by-name/fr/freecad/freecad-utils.nix index 3fb384705a06..8d440540d7bf 100644 --- a/pkgs/by-name/fr/freecad/freecad-utils.nix +++ b/pkgs/by-name/fr/freecad/freecad-utils.nix @@ -31,7 +31,7 @@ let in lib.optionalString (val != null) "--run ${installer}"; - pythonsProcessed = builtins.map ( + pythonsProcessed = map ( pyt: if builtins.isString pyt then pyt @@ -57,7 +57,7 @@ let let modulesStr = wrapPathsStr "--module-path" modules; pythonsStr = wrapPathsStr "--python-path" (pythonsProcessed pythons); - makeWrapperFlagsStr = builtins.concatStringsSep " " (builtins.map (f: "'${f}'") makeWrapperFlags); + makeWrapperFlagsStr = builtins.concatStringsSep " " (map (f: "'${f}'") makeWrapperFlags); userCfgStr = wrapCfgStr "user" userCfg; systemCfgStr = wrapCfgStr "system" systemCfg; diff --git a/pkgs/by-name/fr/freeswitch/package.nix b/pkgs/by-name/fr/freeswitch/package.nix index 04f6be81d886..3b88653441ef 100644 --- a/pkgs/by-name/fr/freeswitch/package.nix +++ b/pkgs/by-name/fr/freeswitch/package.nix @@ -100,7 +100,7 @@ let modulesConf = let - lst = builtins.map (mod: mod.path) enabledModules; + lst = map (mod: mod.path) enabledModules; str = lib.strings.concatStringsSep "\n" lst; in builtins.toFile "modules.conf" str; diff --git a/pkgs/by-name/ga/ganttproject-bin/package.nix b/pkgs/by-name/ga/ganttproject-bin/package.nix index ab7fbcac624e..b8ba41626fc5 100644 --- a/pkgs/by-name/ga/ganttproject-bin/package.nix +++ b/pkgs/by-name/ga/ganttproject-bin/package.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { mkdir -pv "$out/bin" wrapProgram "$out/share/ganttproject/ganttproject" \ --set JAVA_HOME "${jre}" \ - --prefix _JAVA_OPTIONS " " "${builtins.toString javaOptions}" + --prefix _JAVA_OPTIONS " " "${toString javaOptions}" mv -v "$out/share/ganttproject/ganttproject" "$out/bin" diff --git a/pkgs/by-name/ge/geoserver/package.nix b/pkgs/by-name/ge/geoserver/package.nix index 9364e1e84384..7d03232a5d76 100644 --- a/pkgs/by-name/ge/geoserver/package.nix +++ b/pkgs/by-name/ge/geoserver/package.nix @@ -72,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: { (previousAttrs.buildInputs or [ ]) ++ lib.lists.concatMap (drv: drv.buildInputs) selectedExtensions ); postInstall = (previousAttrs.postInstall or "") + '' - for extension in ${builtins.toString selectedExtensions} ; do + for extension in ${toString selectedExtensions} ; do cp -r $extension/* $out # Some files are the same for all/several extensions. We allow overwriting them again. chmod -R +w $out diff --git a/pkgs/by-name/ge/getxbook/package.nix b/pkgs/by-name/ge/getxbook/package.nix index e30d863f46fb..11dbf45848f1 100644 --- a/pkgs/by-name/ge/getxbook/package.nix +++ b/pkgs/by-name/ge/getxbook/package.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { sha256 = "0ihwrx4gspj8l7fc8vxch6dpjrw1lvv9z3c19f0wxnmnxhv1cjvs"; }; - env.NIX_CFLAGS_COMPILE = builtins.toString ( + env.NIX_CFLAGS_COMPILE = toString ( [ "-Wno-error=deprecated-declarations" ] ++ lib.optionals (!stdenv.cc.isClang) [ "-Wno-error=format-truncation" diff --git a/pkgs/by-name/gi/giflib/package.nix b/pkgs/by-name/gi/giflib/package.nix index bf6a84007ab8..5855c5b902e4 100644 --- a/pkgs/by-name/gi/giflib/package.nix +++ b/pkgs/by-name/gi/giflib/package.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { ]; makeFlags = [ - "PREFIX=${builtins.placeholder "out"}" + "PREFIX=${placeholder "out"}" ]; postPatch = '' diff --git a/pkgs/by-name/gi/git-quick-stats/package.nix b/pkgs/by-name/gi/git-quick-stats/package.nix index c27447e798fc..b3d3b7231f44 100644 --- a/pkgs/by-name/gi/git-quick-stats/package.nix +++ b/pkgs/by-name/gi/git-quick-stats/package.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper ]; installFlags = [ - "PREFIX=${builtins.placeholder "out"}" + "PREFIX=${placeholder "out"}" ]; postInstall = diff --git a/pkgs/by-name/go/go-ethereum/package.nix b/pkgs/by-name/go/go-ethereum/package.nix index e984f8f2480a..fd3f655978c7 100644 --- a/pkgs/by-name/go/go-ethereum/package.nix +++ b/pkgs/by-name/go/go-ethereum/package.nix @@ -33,7 +33,7 @@ buildGoModule rec { # Move binaries to separate outputs and symlink them back to $out postInstall = lib.concatStringsSep "\n" ( - builtins.map ( + map ( bin: "mkdir -p \$${bin}/bin && mv $out/bin/${bin} \$${bin}/bin/ && ln -s \$${bin}/bin/${bin} $out/bin/" ) bins diff --git a/pkgs/by-name/go/google-cloud-sdk/components.nix b/pkgs/by-name/go/google-cloud-sdk/components.nix index 690afb80e5df..b603f3492452 100644 --- a/pkgs/by-name/go/google-cloud-sdk/components.nix +++ b/pkgs/by-name/go/google-cloud-sdk/components.nix @@ -69,7 +69,7 @@ let lib.fix ( self: builtins.listToAttrs ( - builtins.map (component: { + map (component: { name = component.id; value = componentFromSnapshot self { inherit @@ -96,7 +96,7 @@ let version, }@attrs: let - baseUrl = builtins.dirOf schema_version.url; + baseUrl = dirOf schema_version.url; # Architectures supported by this component. Defaults to all available # architectures. architectures = builtins.filter (arch: builtins.elem arch (builtins.attrNames arches)) ( @@ -115,12 +115,12 @@ let "source" ] component) "${baseUrl}/${component.data.source}"; sha256 = lib.attrByPath [ "data" "checksum" ] "" component; - dependencies = builtins.map (dep: builtins.getAttr dep components) component.dependencies; + dependencies = map (dep: builtins.getAttr dep components) component.dependencies; platforms = if component.platform == { } then lib.platforms.all else - builtins.concatMap (arch: builtins.map (os: toNixPlatform arch os) operating_systems) architectures; + builtins.concatMap (arch: map (os: toNixPlatform arch os) operating_systems) architectures; snapshot = snapshotFromComponent attrs; }; diff --git a/pkgs/by-name/go/google-cloud-sdk/withExtraComponents.nix b/pkgs/by-name/go/google-cloud-sdk/withExtraComponents.nix index 2e704194f69a..986ee2ba4884 100644 --- a/pkgs/by-name/go/google-cloud-sdk/withExtraComponents.nix +++ b/pkgs/by-name/go/google-cloud-sdk/withExtraComponents.nix @@ -43,11 +43,11 @@ let installCheck = let - compNames = builtins.map lib.getName comps_; + compNames = map lib.getName comps_; in '' $out/bin/gcloud components list --only-local-state --format 'value(id)' > component_list.txt - for comp in ${builtins.toString compNames}; do + for comp in ${toString compNames}; do snapshot_file="$out/google-cloud-sdk/.install/$comp.snapshot.json" if ! [ -f "$snapshot_file" ]; then diff --git a/pkgs/by-name/gr/graphhopper/package.nix b/pkgs/by-name/gr/graphhopper/package.nix index b4dd2b989b11..fe3572224f55 100644 --- a/pkgs/by-name/gr/graphhopper/package.nix +++ b/pkgs/by-name/gr/graphhopper/package.nix @@ -11,7 +11,7 @@ ... }: let - version = builtins.fromTOML (builtins.readFile ./version.toml); + version = fromTOML (builtins.readFile ./version.toml); src = fetchFromGitHub { owner = "graphhopper"; diff --git a/pkgs/by-name/gr/graphite-gtk-theme/package.nix b/pkgs/by-name/gr/graphite-gtk-theme/package.nix index 0208957a2e4f..e91f3485181b 100644 --- a/pkgs/by-name/gr/graphite-gtk-theme/package.nix +++ b/pkgs/by-name/gr/graphite-gtk-theme/package.nix @@ -96,10 +96,10 @@ lib.checkListOfEnum "${pname}: theme variants" runHook preInstall name= ./install.sh \ - ${lib.optionalString (themeVariants != [ ]) "--theme " + builtins.toString themeVariants} \ - ${lib.optionalString (colorVariants != [ ]) "--color " + builtins.toString colorVariants} \ - ${lib.optionalString (sizeVariants != [ ]) "--size " + builtins.toString sizeVariants} \ - ${lib.optionalString (tweaks != [ ]) "--tweaks " + builtins.toString tweaks} \ + ${lib.optionalString (themeVariants != [ ]) "--theme " + toString themeVariants} \ + ${lib.optionalString (colorVariants != [ ]) "--color " + toString colorVariants} \ + ${lib.optionalString (sizeVariants != [ ]) "--size " + toString sizeVariants} \ + ${lib.optionalString (tweaks != [ ]) "--tweaks " + toString tweaks} \ --dest $out/share/themes ${lib.optionalString wallpapers "sh -x wallpaper/install-wallpapers.sh"} @@ -112,7 +112,7 @@ lib.checkListOfEnum "${pname}: theme variants" ./install.sh --justcopy --dest $out/share/grub/themes \ ${lib.optionalString (builtins.elem "nord" tweaks) "--theme nord"} \ - ${lib.optionalString (grubScreens != [ ]) "--screen " + builtins.toString grubScreens} + ${lib.optionalString (grubScreens != [ ]) "--screen " + toString grubScreens} ) ''} diff --git a/pkgs/by-name/gr/grcov/package.nix b/pkgs/by-name/gr/grcov/package.nix index f73b64f76c7e..2197d4fafd72 100644 --- a/pkgs/by-name/gr/grcov/package.nix +++ b/pkgs/by-name/gr/grcov/package.nix @@ -32,7 +32,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ]; skipFlag = test: "--skip " + test; in - builtins.concatStringsSep " " (builtins.map skipFlag skipList); + builtins.concatStringsSep " " (map skipFlag skipList); meta = { description = "Rust tool to collect and aggregate code coverage data for multiple source files"; diff --git a/pkgs/by-name/gu/guile-gnutls/package.nix b/pkgs/by-name/gu/guile-gnutls/package.nix index a19f0469c217..8371a934cea9 100644 --- a/pkgs/by-name/gu/guile-gnutls/package.nix +++ b/pkgs/by-name/gu/guile-gnutls/package.nix @@ -39,9 +39,9 @@ stdenv.mkDerivation rec { ]; configureFlags = [ - "--with-guile-site-dir=${builtins.placeholder "out"}/${guile.siteDir}" - "--with-guile-site-ccache-dir=${builtins.placeholder "out"}/${guile.siteCcacheDir}" - "--with-guile-extension-dir=${builtins.placeholder "out"}/lib/guile/${guile.effectiveVersion}/extensions" + "--with-guile-site-dir=${placeholder "out"}/${guile.siteDir}" + "--with-guile-site-ccache-dir=${placeholder "out"}/${guile.siteCcacheDir}" + "--with-guile-extension-dir=${placeholder "out"}/lib/guile/${guile.effectiveVersion}/extensions" ]; meta = with lib; { diff --git a/pkgs/by-name/ha/hare/cross-compilation-tests.nix b/pkgs/by-name/ha/hare/cross-compilation-tests.nix index c5797a9a1566..45245d730e5b 100644 --- a/pkgs/by-name/ha/hare/cross-compilation-tests.nix +++ b/pkgs/by-name/ha/hare/cross-compilation-tests.nix @@ -7,9 +7,7 @@ }: let archs = lib.concatStringsSep " " ( - builtins.map (lib.removeSuffix "-linux") ( - builtins.filter (lib.hasSuffix "-linux") hare.meta.platforms - ) + map (lib.removeSuffix "-linux") (builtins.filter (lib.hasSuffix "-linux") hare.meta.platforms) ); mainDotHare = writeText "main.ha" '' export fn main() void = void; diff --git a/pkgs/by-name/ha/hare/package.nix b/pkgs/by-name/ha/hare/package.nix index 8f9b1bc89fbe..4db503b574b4 100644 --- a/pkgs/by-name/ha/hare/package.nix +++ b/pkgs/by-name/ha/hare/package.nix @@ -121,7 +121,7 @@ stdenv.mkDerivation (finalAttrs: { makeFlags = [ "HARECACHE=.harecache" - "PREFIX=${builtins.placeholder "out"}" + "PREFIX=${placeholder "out"}" "ARCH=${arch}" "VERSION=${finalAttrs.version}-nixpkgs" "QBEFLAGS=-t${qbePlatform}" diff --git a/pkgs/by-name/ha/harec/package.nix b/pkgs/by-name/ha/harec/package.nix index c80e8cb0126b..73257d0296ad 100644 --- a/pkgs/by-name/ha/harec/package.nix +++ b/pkgs/by-name/ha/harec/package.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ qbe ]; makeFlags = [ - "PREFIX=${builtins.placeholder "out"}" + "PREFIX=${placeholder "out"}" "ARCH=${arch}" "VERSION=${finalAttrs.version}-nixpkgs" "QBEFLAGS=-t${qbePlatform}" @@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: { passthru = { updateScript = _experimental-update-script-combinators.sequence ( - builtins.map (item: item.command) [ + map (item: item.command) [ (gitUpdater { attrPath = "harec"; ignoredVersions = [ "-rc[0-9]{1,}" ]; diff --git a/pkgs/by-name/ha/haredo/package.nix b/pkgs/by-name/ha/haredo/package.nix index ee937f9a0c3c..62fd701f099f 100644 --- a/pkgs/by-name/ha/haredo/package.nix +++ b/pkgs/by-name/ha/haredo/package.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: { enableParallelChecking = true; - env.PREFIX = builtins.placeholder "out"; + env.PREFIX = placeholder "out"; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; diff --git a/pkgs/by-name/hi/himitsu/package.nix b/pkgs/by-name/hi/himitsu/package.nix index dd3e09a7797e..ac9dd0c25dc0 100644 --- a/pkgs/by-name/hi/himitsu/package.nix +++ b/pkgs/by-name/hi/himitsu/package.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: { scdoc ]; - installFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; + installFlags = [ "PREFIX=${placeholder "out"}" ]; meta = with lib; { homepage = "https://himitsustore.org/"; diff --git a/pkgs/by-name/hy/hylafaxplus/package.nix b/pkgs/by-name/hy/hylafaxplus/package.nix index b81bd67847b7..044198f267c9 100644 --- a/pkgs/by-name/hy/hylafaxplus/package.nix +++ b/pkgs/by-name/hy/hylafaxplus/package.nix @@ -33,7 +33,7 @@ let configSite = replaceVars ./config.site { - config_maxgid = lib.optionalString (maxgid != null) ''CONFIG_MAXGID=${builtins.toString maxgid}''; + config_maxgid = lib.optionalString (maxgid != null) ''CONFIG_MAXGID=${toString maxgid}''; ghostscript_version = ghostscript.version; out = null; # "out" will be resolved in post-install.sh inherit coreutils ghostscript libtiff; @@ -41,7 +41,7 @@ let postPatch = replaceVars ./post-patch.sh { inherit configSite; - maxuid = lib.optionalString (maxuid != null) (builtins.toString maxuid); + maxuid = lib.optionalString (maxuid != null) (toString maxuid); faxcover_binpath = lib.makeBinPath [ stdenv.shellPackage coreutils diff --git a/pkgs/by-name/ib/ibm-plex/package.nix b/pkgs/by-name/ib/ibm-plex/package.nix index ac07709c7b95..b1f48169c21d 100644 --- a/pkgs/by-name/ib/ibm-plex/package.nix +++ b/pkgs/by-name/ib/ibm-plex/package.nix @@ -18,7 +18,7 @@ stdenvNoCC.mkDerivation { pname = "ibm-plex"; inherit version; - srcs = builtins.map ( + srcs = map ( family: fetchzip { url = "https://github.com/IBM/plex/releases/download/%40ibm%2Fplex-${family}%40${version}/ibm-plex-${family}.zip"; diff --git a/pkgs/by-name/im/immich/package.nix b/pkgs/by-name/im/immich/package.nix index 05bdb0427dde..0c002e42fbf4 100644 --- a/pkgs/by-name/im/immich/package.nix +++ b/pkgs/by-name/im/immich/package.nix @@ -56,7 +56,7 @@ let buildLock = { sources = - builtins.map + map (p: { name = p.pname; inherit (p) version; diff --git a/pkgs/by-name/im/imv/package.nix b/pkgs/by-name/im/imv/package.nix index af7faf513f2d..47e257e65e2e 100644 --- a/pkgs/by-name/im/imv/package.nix +++ b/pkgs/by-name/im/imv/package.nix @@ -61,7 +61,7 @@ let libjpeg = libjpeg_turbo; }; - backendFlags = builtins.map ( + backendFlags = map ( b: if builtins.elem b withBackends then "-D${b}=enabled" else "-D${b}=disabled" ) (builtins.attrNames backends); in @@ -114,7 +114,7 @@ stdenv.mkDerivation rec { inih ] ++ windowSystems."${withWindowSystem}" - ++ builtins.map (b: backends."${b}") withBackends; + ++ map (b: backends."${b}") withBackends; patches = [ (fetchpatch { diff --git a/pkgs/by-name/in/inspircd/package.nix b/pkgs/by-name/in/inspircd/package.nix index 38c995ee32a4..6245b34a2a7d 100644 --- a/pkgs/by-name/in/inspircd/package.nix +++ b/pkgs/by-name/in/inspircd/package.nix @@ -123,9 +123,7 @@ let }; # buildInputs necessary for the enabled extraModules - extraInputs = lib.concatMap ( - m: extras."${m}" or (builtins.throw "Unknown extra module ${m}") - ) extraModules; + extraInputs = lib.concatMap (m: extras."${m}" or (throw "Unknown extra module ${m}")) extraModules; # if true, we can't provide a binary version of this # package without violating the GPL 2 diff --git a/pkgs/by-name/in/intel-compute-runtime/package.nix b/pkgs/by-name/in/intel-compute-runtime/package.nix index e158e3fb5c0c..7d00ee756764 100644 --- a/pkgs/by-name/in/intel-compute-runtime/package.nix +++ b/pkgs/by-name/in/intel-compute-runtime/package.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ (lib.cmakeBool "SKIP_UNIT_TESTS" true) - (lib.cmakeFeature "IGC_DIR" (builtins.toString intel-graphics-compiler)) + (lib.cmakeFeature "IGC_DIR" (toString intel-graphics-compiler)) (lib.cmakeFeature "OCL_ICD_VENDORDIR" "${placeholder "out"}/etc/OpenCL/vendors") # The install script assumes this path is relative to CMAKE_INSTALL_PREFIX (lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib") diff --git a/pkgs/by-name/io/iosevka-bin/package.nix b/pkgs/by-name/io/iosevka-bin/package.nix index fa16d73cbbf6..69a3b7b1c887 100644 --- a/pkgs/by-name/io/iosevka-bin/package.nix +++ b/pkgs/by-name/io/iosevka-bin/package.nix @@ -12,7 +12,7 @@ let variantHashes = import ./variants.nix; validVariants = map (lib.removePrefix "Iosevka") ( - builtins.attrNames (builtins.removeAttrs variantHashes [ "Iosevka" ]) + builtins.attrNames (removeAttrs variantHashes [ "Iosevka" ]) ); in stdenv.mkDerivation rec { diff --git a/pkgs/by-name/is/isabelle/package.nix b/pkgs/by-name/is/isabelle/package.nix index 21edd614080b..15e3c2a5c81a 100644 --- a/pkgs/by-name/is/isabelle/package.nix +++ b/pkgs/by-name/is/isabelle/package.nix @@ -258,7 +258,7 @@ stdenv.mkDerivation (finalAttrs: { in symlinkJoin { name = "isabelle-with-components-${isabelle.version}"; - paths = [ isabelle ] ++ (builtins.map (c: c.override { inherit isabelle; }) components); + paths = [ isabelle ] ++ (map (c: c.override { inherit isabelle; }) components); postBuild = '' rm $out/bin/* diff --git a/pkgs/by-name/ja/jasper-gtk-theme/package.nix b/pkgs/by-name/ja/jasper-gtk-theme/package.nix index 33ffeaeefa71..662f84cc033e 100644 --- a/pkgs/by-name/ja/jasper-gtk-theme/package.nix +++ b/pkgs/by-name/ja/jasper-gtk-theme/package.nix @@ -81,10 +81,10 @@ lib.checkListOfEnum "${pname}: theme variants" runHook preInstall name= HOME="$TMPDIR" ./install.sh \ - ${lib.optionalString (themeVariants != [ ]) "--theme " + builtins.toString themeVariants} \ - ${lib.optionalString (colorVariants != [ ]) "--color " + builtins.toString colorVariants} \ - ${lib.optionalString (sizeVariants != [ ]) "--size " + builtins.toString sizeVariants} \ - ${lib.optionalString (tweaks != [ ]) "--tweaks " + builtins.toString tweaks} \ + ${lib.optionalString (themeVariants != [ ]) "--theme " + toString themeVariants} \ + ${lib.optionalString (colorVariants != [ ]) "--color " + toString colorVariants} \ + ${lib.optionalString (sizeVariants != [ ]) "--size " + toString sizeVariants} \ + ${lib.optionalString (tweaks != [ ]) "--tweaks " + toString tweaks} \ --dest $out/share/themes jdupes --quiet --link-soft --recurse $out/share diff --git a/pkgs/by-name/ja/jazz2-content/package.nix b/pkgs/by-name/ja/jazz2-content/package.nix index 2a7032322ec0..39a8661412e2 100644 --- a/pkgs/by-name/ja/jazz2-content/package.nix +++ b/pkgs/by-name/ja/jazz2-content/package.nix @@ -8,7 +8,7 @@ runCommandLocal "jazz2-content" { inherit (jazz2) version src; - meta = (builtins.removeAttrs jazz2.meta [ "mainProgram" ]) // { + meta = (removeAttrs jazz2.meta [ "mainProgram" ]) // { description = "Assets needed for jazz2"; platforms = lib.platforms.all; }; diff --git a/pkgs/by-name/ko/kodelife/update.sh b/pkgs/by-name/ko/kodelife/update.sh index 992f7c2bf434..13f93c515321 100755 --- a/pkgs/by-name/ko/kodelife/update.sh +++ b/pkgs/by-name/ko/kodelife/update.sh @@ -24,7 +24,7 @@ nixeval() { findpath() { path="$(nix --extra-experimental-features nix-command eval --json --impure -f "$nixpkgs" "$1.meta.position" | jq -r . | cut -d: -f1)" - outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "builtins.fetchGit \"$nixpkgs\"")" + outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "fetchGit \"$nixpkgs\"")" if [ -n "$outpath" ]; then path="${path/$(echo "$outpath" | jq -r .)/$nixpkgs}" diff --git a/pkgs/by-name/ku/kubo-fs-repo-migrations/package.nix b/pkgs/by-name/ku/kubo-fs-repo-migrations/package.nix index 2285e65c80d0..7496c1ed274c 100644 --- a/pkgs/by-name/ku/kubo-fs-repo-migrations/package.nix +++ b/pkgs/by-name/ku/kubo-fs-repo-migrations/package.nix @@ -241,11 +241,11 @@ let builder = if x.from >= minRepoVersionValidated then mkMigration else stubBecauseDisabled; in builder x.from x.to x.release x.hash; - migrations = builtins.map mkMigrationOrStub releases; + migrations = map mkMigrationOrStub releases; packageNotBroken = package: !package.meta.broken; migrationsBrokenRemoved = builtins.filter packageNotBroken migrations; - migrationsBrokenStubbed = builtins.map ( + migrationsBrokenStubbed = map ( x: if packageNotBroken x then x else (stubBecauseBroken x.pname) ) migrations; in @@ -253,7 +253,7 @@ in symlinkJoin { name = "kubo-fs-repo-migrations-${version}"; paths = if stubBrokenMigrations then migrationsBrokenStubbed else migrationsBrokenRemoved; - meta = (builtins.removeAttrs kubo-migrator-unwrapped.meta [ "mainProgram" ]) // { + meta = (removeAttrs kubo-migrator-unwrapped.meta [ "mainProgram" ]) // { description = "Several individual migrations for migrating the filesystem repository of Kubo one version at a time"; longDescription = '' This package contains all the individual migrations in the bin directory. diff --git a/pkgs/by-name/ld/ld-audit-search-mod/package.nix b/pkgs/by-name/ld/ld-audit-search-mod/package.nix index 6ad048662edb..0f88d156b38a 100644 --- a/pkgs/by-name/ld/ld-audit-search-mod/package.nix +++ b/pkgs/by-name/ld/ld-audit-search-mod/package.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ]; cmakeFlags = [ - (lib.cmakeFeature "NIX_RTLD_NAME" (builtins.baseNameOf stdenv.cc.bintools.dynamicLinker)) + (lib.cmakeFeature "NIX_RTLD_NAME" (baseNameOf stdenv.cc.bintools.dynamicLinker)) (lib.cmakeFeature "NIX_STORE_DIR" storeDir) ]; diff --git a/pkgs/by-name/le/lemminx/package.nix b/pkgs/by-name/le/lemminx/package.nix index 828e81ed0812..3bb5229cdfab 100644 --- a/pkgs/by-name/le/lemminx/package.nix +++ b/pkgs/by-name/le/lemminx/package.nix @@ -86,7 +86,7 @@ maven.buildMavenPackage rec { passthru = { updateScript = let - pkgFile = builtins.toString ./package.nix; + pkgFile = toString ./package.nix; in lib.getExe (writeShellApplication { name = "update-${pname}"; diff --git a/pkgs/by-name/li/libdynd/package.nix b/pkgs/by-name/li/libdynd/package.nix index 8bfc3412e341..37065b69fee8 100644 --- a/pkgs/by-name/li/libdynd/package.nix +++ b/pkgs/by-name/li/libdynd/package.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { "-DDYND_BUILD_BENCHMARKS=OFF" ]; - env.NIX_CFLAGS_COMPILE = builtins.toString [ + env.NIX_CFLAGS_COMPILE = toString [ # added to fix build with gcc7+ "-Wno-error=implicit-fallthrough" "-Wno-error=nonnull" diff --git a/pkgs/by-name/li/libpsl-with-scripts/package.nix b/pkgs/by-name/li/libpsl-with-scripts/package.nix index cc31b95798f9..9338e74a9b03 100644 --- a/pkgs/by-name/li/libpsl-with-scripts/package.nix +++ b/pkgs/by-name/li/libpsl-with-scripts/package.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation { cd - ''; links = lib.concatMapStrings ( - output: linkOutput libpsl.${output} (builtins.placeholder output) + output: linkOutput libpsl.${output} (placeholder output) ) libpsl.outputs; in '' diff --git a/pkgs/by-name/ll/llama-swap/ui.nix b/pkgs/by-name/ll/llama-swap/ui.nix index 6a6ac83b4f6e..a54cf1382739 100644 --- a/pkgs/by-name/ll/llama-swap/ui.nix +++ b/pkgs/by-name/ll/llama-swap/ui.nix @@ -20,7 +20,7 @@ buildNpmPackage (finalAttrs: { rm -rf $out/lib ''; - meta = (builtins.removeAttrs llama-swap.meta [ "mainProgram" ]) // { + meta = (removeAttrs llama-swap.meta [ "mainProgram" ]) // { description = "${llama-swap.meta.description} - UI"; }; }) diff --git a/pkgs/by-name/lu/luarocks-packages-updater/package.nix b/pkgs/by-name/lu/luarocks-packages-updater/package.nix index 153b371bdcde..cf41d472435e 100644 --- a/pkgs/by-name/lu/luarocks-packages-updater/package.nix +++ b/pkgs/by-name/lu/luarocks-packages-updater/package.nix @@ -25,7 +25,7 @@ let luajit ]; - attrs = builtins.fromTOML (builtins.readFile ./pyproject.toml); + attrs = fromTOML (builtins.readFile ./pyproject.toml); pname = attrs.project.name; inherit (attrs.project) version; in diff --git a/pkgs/by-name/ma/magma/package.nix b/pkgs/by-name/ma/magma/package.nix index 9c5d762fd8eb..f3182f0b6eda 100644 --- a/pkgs/by-name/ma/magma/package.nix +++ b/pkgs/by-name/ma/magma/package.nix @@ -100,7 +100,7 @@ let minArch = let # E.g. [ "80" "86" "90" ] - cudaArchitectures = (builtins.map flags.dropDots flags.cudaCapabilities); + cudaArchitectures = (map flags.dropDots flags.cudaCapabilities); minArch' = builtins.head (builtins.sort strings.versionOlder cudaArchitectures); in # "75" -> "750" Cf. https://github.com/icl-utk-edu/magma/blob/v2.9.0/CMakeLists.txt#L200-L201 diff --git a/pkgs/by-name/ma/matcha-gtk-theme/package.nix b/pkgs/by-name/ma/matcha-gtk-theme/package.nix index 2f0f5d338649..9b6d4156f668 100644 --- a/pkgs/by-name/ma/matcha-gtk-theme/package.nix +++ b/pkgs/by-name/ma/matcha-gtk-theme/package.nix @@ -56,8 +56,8 @@ lib.checkListOfEnum "${pname}: color variants" [ "standard" "light" "dark" ] col mkdir -p $out/share/themes name= ./install.sh \ - ${lib.optionalString (colorVariants != [ ]) "--color " + builtins.toString colorVariants} \ - ${lib.optionalString (themeVariants != [ ]) "--theme " + builtins.toString themeVariants} \ + ${lib.optionalString (colorVariants != [ ]) "--color " + toString colorVariants} \ + ${lib.optionalString (themeVariants != [ ]) "--theme " + toString themeVariants} \ --dest $out/share/themes mkdir -p $out/share/doc/matcha-gtk-theme diff --git a/pkgs/by-name/ma/maven/build-maven-package.nix b/pkgs/by-name/ma/maven/build-maven-package.nix index 6b4aa51d8de5..2e167b02a9df 100644 --- a/pkgs/by-name/ma/maven/build-maven-package.nix +++ b/pkgs/by-name/ma/maven/build-maven-package.nix @@ -71,13 +71,13 @@ let + lib.optionalString buildOffline '' mvn $MAVEN_EXTRA_ARGS de.qaware.maven:go-offline-maven-plugin:1.2.8:resolve-dependencies -Dmaven.repo.local=$out/.m2 ${mvnDepsParameters} - for artifactId in ${builtins.toString manualMvnArtifacts} + for artifactId in ${toString manualMvnArtifacts} do echo "downloading manual $artifactId" mvn $MAVEN_EXTRA_ARGS dependency:get -Dartifact="$artifactId" -Dmaven.repo.local=$out/.m2 done - for artifactId in ${builtins.toString manualMvnSources} + for artifactId in ${toString manualMvnSources} do group=$(echo $artifactId | cut -d':' -f1) artifact=$(echo $artifactId | cut -d':' -f2) @@ -115,7 +115,7 @@ let ); in stdenv.mkDerivation ( - builtins.removeAttrs args [ "mvnFetchExtraArgs" ] + removeAttrs args [ "mvnFetchExtraArgs" ] // { inherit fetchedMavenDeps; diff --git a/pkgs/by-name/me/meson/package.nix b/pkgs/by-name/me/meson/package.nix index 52b186fcf432..1505f7c2a6b8 100644 --- a/pkgs/by-name/me/meson/package.nix +++ b/pkgs/by-name/me/meson/package.nix @@ -118,7 +118,7 @@ python3.pkgs.buildPythonApplication rec { '' ] # Remove problematic tests - ++ (builtins.map (f: ''rm -vr "${f}";'') ( + ++ (map (f: ''rm -vr "${f}";'') ( [ # requires git, creating cyclic dependency ''test cases/common/66 vcstag'' diff --git a/pkgs/by-name/mf/mfcl5750dw/package.nix b/pkgs/by-name/mf/mfcl5750dw/package.nix index 752edbc51b23..597330ef748c 100644 --- a/pkgs/by-name/mf/mfcl5750dw/package.nix +++ b/pkgs/by-name/mf/mfcl5750dw/package.nix @@ -113,7 +113,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { homepage = "https://www.brother.com/"; description = "Brother MFCL5750DW CUPS driver"; license = lib.licenses.unfree; - platforms = builtins.map (arch: "${arch}-linux") arches; + platforms = map (arch: "${arch}-linux") arches; maintainers = with lib.maintainers; [ qdlmcfresh ]; }; }) diff --git a/pkgs/by-name/mi/mission-center/package.nix b/pkgs/by-name/mi/mission-center/package.nix index d854f28325e1..bfdd8f48fab6 100644 --- a/pkgs/by-name/mi/mission-center/package.nix +++ b/pkgs/by-name/mi/mission-center/package.nix @@ -169,7 +169,7 @@ stdenv.mkDerivation (finalAttrs: { nativeInstallCheckInputs = [ versionCheckHook ]; - versionCheckProgram = "${builtins.placeholder "out"}/bin/missioncenter"; + versionCheckProgram = "${placeholder "out"}/bin/missioncenter"; doInstallCheck = true; postFixup = '' diff --git a/pkgs/by-name/mi/mitm-cache/fetch.nix b/pkgs/by-name/mi/mitm-cache/fetch.nix index 0136fb54f87b..6917bbeb8ce2 100644 --- a/pkgs/by-name/mi/mitm-cache/fetch.nix +++ b/pkgs/by-name/mi/mitm-cache/fetch.nix @@ -13,7 +13,7 @@ }@attrs: let - data' = builtins.removeAttrs (if builtins.isPath data then lib.importJSON data else data) [ + data' = removeAttrs (if builtins.isPath data then lib.importJSON data else data) [ "!version" ]; @@ -59,7 +59,7 @@ let ); in runCommand name ( - builtins.removeAttrs attrs [ + removeAttrs attrs [ "name" "data" ] diff --git a/pkgs/by-name/mo/mojave-gtk-theme/package.nix b/pkgs/by-name/mo/mojave-gtk-theme/package.nix index b483b58f762c..3b7f5b99aa48 100644 --- a/pkgs/by-name/mo/mojave-gtk-theme/package.nix +++ b/pkgs/by-name/mo/mojave-gtk-theme/package.nix @@ -137,13 +137,11 @@ lib.checkListOfEnum "${pname}: button size variants" [ "standard" "small" ] butt runHook preInstall name= ./install.sh \ - ${ - lib.optionalString (buttonSizeVariants != [ ]) "--small " + builtins.toString buttonSizeVariants - } \ - ${lib.optionalString (buttonVariants != [ ]) "--alt " + builtins.toString buttonVariants} \ - ${lib.optionalString (colorVariants != [ ]) "--color " + builtins.toString colorVariants} \ - ${lib.optionalString (opacityVariants != [ ]) "--opacity " + builtins.toString opacityVariants} \ - ${lib.optionalString (themeVariants != [ ]) "--theme " + builtins.toString themeVariants} \ + ${lib.optionalString (buttonSizeVariants != [ ]) "--small " + toString buttonSizeVariants} \ + ${lib.optionalString (buttonVariants != [ ]) "--alt " + toString buttonVariants} \ + ${lib.optionalString (colorVariants != [ ]) "--color " + toString colorVariants} \ + ${lib.optionalString (opacityVariants != [ ]) "--opacity " + toString opacityVariants} \ + ${lib.optionalString (themeVariants != [ ]) "--theme " + toString themeVariants} \ --icon nixos \ --dest $out/share/themes diff --git a/pkgs/by-name/my/mylvmbackup/package.nix b/pkgs/by-name/my/mylvmbackup/package.nix index b45d653fe045..d012ac3bbe22 100644 --- a/pkgs/by-name/my/mylvmbackup/package.nix +++ b/pkgs/by-name/my/mylvmbackup/package.nix @@ -23,8 +23,8 @@ stdenv.mkDerivation rec { postPatch = '' patchShebangs mylvmbackup substituteInPlace Makefile \ - --replace "prefix = /usr/local" "prefix = ${builtins.placeholder "out"}" \ - --replace "sysconfdir = /etc" "sysconfdir = ${builtins.placeholder "out"}/etc" \ + --replace "prefix = /usr/local" "prefix = ${placeholder "out"}" \ + --replace "sysconfdir = /etc" "sysconfdir = ${placeholder "out"}/etc" \ --replace "/usr/bin/install" "install" ''; diff --git a/pkgs/by-name/ne/nemo-with-extensions/package.nix b/pkgs/by-name/ne/nemo-with-extensions/package.nix index 52c081c774c8..9bdf5deba5ca 100644 --- a/pkgs/by-name/ne/nemo-with-extensions/package.nix +++ b/pkgs/by-name/ne/nemo-with-extensions/package.nix @@ -54,7 +54,7 @@ symlinkJoin { done ''; - meta = builtins.removeAttrs nemo.meta [ + meta = removeAttrs nemo.meta [ "name" "outputsToInstall" "position" diff --git a/pkgs/by-name/ni/nim-unwrapped-1_0/package.nix b/pkgs/by-name/ni/nim-unwrapped-1_0/package.nix index 09b50753bcfe..a210f22844c6 100644 --- a/pkgs/by-name/ni/nim-unwrapped-1_0/package.nix +++ b/pkgs/by-name/ni/nim-unwrapped-1_0/package.nix @@ -16,7 +16,7 @@ nim-unwrapped-2.overrideAttrs ( patches = builtins.filter ( p: - builtins.elem (builtins.baseNameOf p) [ + builtins.elem (baseNameOf p) [ "NIM_CONFIG_DIR.patch" "nixbuild.patch" ] diff --git a/pkgs/by-name/ni/nim-unwrapped-2_0/package.nix b/pkgs/by-name/ni/nim-unwrapped-2_0/package.nix index 168dacbff336..e459351c676d 100644 --- a/pkgs/by-name/ni/nim-unwrapped-2_0/package.nix +++ b/pkgs/by-name/ni/nim-unwrapped-2_0/package.nix @@ -15,7 +15,7 @@ nim-unwrapped-2_2.overrideAttrs ( patches = lib.lists.unique ( builtins.filter ( p: - builtins.elem (builtins.baseNameOf p) [ + builtins.elem (baseNameOf p) [ "NIM_CONFIG_DIR.patch" "nixbuild.patch" "extra-mangling.patch" diff --git a/pkgs/by-name/ni/nix-required-mounts/package.nix b/pkgs/by-name/ni/nix-required-mounts/package.nix index 2da30a868854..e37cba924edc 100644 --- a/pkgs/by-name/ni/nix-required-mounts/package.nix +++ b/pkgs/by-name/ni/nix-required-mounts/package.nix @@ -28,7 +28,7 @@ }: let - attrs = builtins.fromTOML (builtins.readFile ./pyproject.toml); + attrs = fromTOML (builtins.readFile ./pyproject.toml); pname = attrs.project.name; inherit (attrs.project) version; in diff --git a/pkgs/by-name/ni/nixos-init/package.nix b/pkgs/by-name/ni/nixos-init/package.nix index b34f6d570899..aab7354c8856 100644 --- a/pkgs/by-name/ni/nixos-init/package.nix +++ b/pkgs/by-name/ni/nixos-init/package.nix @@ -7,7 +7,7 @@ }: let - cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml); + cargoToml = fromTOML (builtins.readFile ./Cargo.toml); in rustPlatform.buildRustPackage (finalAttrs: { pname = cargoToml.package.name; diff --git a/pkgs/by-name/ol/ollama/package.nix b/pkgs/by-name/ol/ollama/package.nix index 63af415a6d6d..0fc029c214c1 100644 --- a/pkgs/by-name/ol/ollama/package.nix +++ b/pkgs/by-name/ol/ollama/package.nix @@ -179,7 +179,7 @@ goBuild (finalAttrs: { in if matched == null then str else builtins.head matched; - cudaArchitectures = builtins.concatStringsSep ";" (builtins.map removeSMPrefix cudaArches); + cudaArchitectures = builtins.concatStringsSep ";" (map removeSMPrefix cudaArches); rocmTargets = builtins.concatStringsSep ";" rocmGpuTargets; cmakeFlagsCudaArchitectures = lib.optionalString enableCuda "-DCMAKE_CUDA_ARCHITECTURES='${cudaArchitectures}'"; diff --git a/pkgs/by-name/op/opa-envoy-plugin/package.nix b/pkgs/by-name/op/opa-envoy-plugin/package.nix index 03ec4393af1c..2710fd3f7482 100644 --- a/pkgs/by-name/op/opa-envoy-plugin/package.nix +++ b/pkgs/by-name/op/opa-envoy-plugin/package.nix @@ -10,7 +10,7 @@ assert enableWasmEval && stdenv.hostPlatform.isDarwin - -> builtins.throw "building with wasm on darwin is failing in nixpkgs"; + -> throw "building with wasm on darwin is failing in nixpkgs"; buildGoModule rec { pname = "opa-envoy-plugin"; diff --git a/pkgs/by-name/op/open-policy-agent/package.nix b/pkgs/by-name/op/open-policy-agent/package.nix index 790e1b81741b..1516eaf56a78 100644 --- a/pkgs/by-name/op/open-policy-agent/package.nix +++ b/pkgs/by-name/op/open-policy-agent/package.nix @@ -10,7 +10,7 @@ assert enableWasmEval && stdenv.hostPlatform.isDarwin - -> builtins.throw "building with wasm on darwin is failing in nixpkgs"; + -> throw "building with wasm on darwin is failing in nixpkgs"; buildGoModule (finalAttrs: { pname = "open-policy-agent"; diff --git a/pkgs/by-name/op/openutau/update.sh b/pkgs/by-name/op/openutau/update.sh index d073923c933a..b129cca96e06 100755 --- a/pkgs/by-name/op/openutau/update.sh +++ b/pkgs/by-name/op/openutau/update.sh @@ -19,7 +19,7 @@ nixbuildscript() { findpath() { path="$(nix --extra-experimental-features nix-command eval --json --impure -f "$nixpkgs" "$1.meta.position" | jq -r . | cut -d: -f1)" - outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "builtins.fetchGit \"$nixpkgs\"")" + outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "fetchGit \"$nixpkgs\"")" if [ -n "$outpath" ]; then path="${path/$(echo "$outpath" | jq -r .)/$nixpkgs}" diff --git a/pkgs/by-name/or/orchis-theme/package.nix b/pkgs/by-name/or/orchis-theme/package.nix index af74db27205d..5ba9ce8ec43e 100644 --- a/pkgs/by-name/or/orchis-theme/package.nix +++ b/pkgs/by-name/or/orchis-theme/package.nix @@ -63,10 +63,8 @@ lib.checkListOfEnum "${pname}: theme tweaks" validTweaks tweaks installPhase = '' runHook preInstall bash install.sh -d $out/share/themes -t all \ - ${lib.optionalString (tweaks != [ ]) "--tweaks " + builtins.toString tweaks} \ - ${lib.optionalString (border-radius != null) ( - "--round " + builtins.toString border-radius + "px" - )} + ${lib.optionalString (tweaks != [ ]) "--tweaks " + toString tweaks} \ + ${lib.optionalString (border-radius != null) ("--round " + toString border-radius + "px")} ${lib.optionalString withWallpapers '' mkdir -p $out/share/backgrounds cp src/wallpaper/{1080p,2k,4k}.jpg $out/share/backgrounds diff --git a/pkgs/by-name/pi/pigpio/package.nix b/pkgs/by-name/pi/pigpio/package.nix index 41b85cc445e6..796847528482 100644 --- a/pkgs/by-name/pi/pigpio/package.nix +++ b/pkgs/by-name/pi/pigpio/package.nix @@ -7,8 +7,7 @@ }: let - mkDerivation = - if builtins.isNull buildPythonPackage then stdenv.mkDerivation else buildPythonPackage; + mkDerivation = if isNull buildPythonPackage then stdenv.mkDerivation else buildPythonPackage; in mkDerivation rec { pname = "pigpio"; diff --git a/pkgs/by-name/pi/pihole/package.nix b/pkgs/by-name/pi/pihole/package.nix index 73362403c25f..93b327eae971 100644 --- a/pkgs/by-name/pi/pihole/package.nix +++ b/pkgs/by-name/pi/pihole/package.nix @@ -72,7 +72,7 @@ solutions.default = let - out = builtins.placeholder "out"; + out = placeholder "out"; scriptsDir = "${out}/share/pihole/advanced/Scripts"; in { diff --git a/pkgs/by-name/pi/pixinsight/package.nix b/pkgs/by-name/pi/pixinsight/package.nix index 212512ef17b9..21e9fb9c924c 100644 --- a/pkgs/by-name/pi/pixinsight/package.nix +++ b/pkgs/by-name/pi/pixinsight/package.nix @@ -162,7 +162,7 @@ stdenv.mkDerivation (finalAttrs: { ]; dontWrapQtApps = true; postFixup = '' - wrapProgram $out/opt/PixInsight/bin/PixInsight ${builtins.toString finalAttrs.qtWrapperArgs} + wrapProgram $out/opt/PixInsight/bin/PixInsight ${toString finalAttrs.qtWrapperArgs} ''; meta = with lib; { diff --git a/pkgs/by-name/pl/plymouth/package.nix b/pkgs/by-name/pl/plymouth/package.nix index ee52b762baaa..63e5f9d65f1c 100644 --- a/pkgs/by-name/pl/plymouth/package.nix +++ b/pkgs/by-name/pl/plymouth/package.nix @@ -111,7 +111,7 @@ stdenv.mkDerivation (finalAttrs: { rm -r "$DESTDIR/''${!o}" done # Ensure the DESTDIR is removed. - rmdir "$DESTDIR/${builtins.storeDir}" "$DESTDIR/${builtins.dirOf builtins.storeDir}" "$DESTDIR" + rmdir "$DESTDIR/${builtins.storeDir}" "$DESTDIR/${dirOf builtins.storeDir}" "$DESTDIR" ''; # HACK: We want to install configuration files to $out/etc diff --git a/pkgs/by-name/po/podman-desktop/package.nix b/pkgs/by-name/po/podman-desktop/package.nix index 25afdcbf3ad0..87aaec7f1d78 100644 --- a/pkgs/by-name/po/podman-desktop/package.nix +++ b/pkgs/by-name/po/podman-desktop/package.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: { ]; runtimeEnv = { PNAME = "podman-desktop"; - PKG_FILE = builtins.toString ./package.nix; + PKG_FILE = toString ./package.nix; }; text = '' new_src="$(nix-build --attr "pkgs.$PNAME.src" --no-out-link)" diff --git a/pkgs/by-name/pr/prek/package.nix b/pkgs/by-name/pr/prek/package.nix index ee3467f2fc46..895959038d04 100644 --- a/pkgs/by-name/pr/prek/package.nix +++ b/pkgs/by-name/pr/prek/package.nix @@ -46,7 +46,7 @@ rustPlatform.buildRustPackage (finalAttrs: { # some python tests use uv, which in turn needs python UV_PYTHON = "${python312}/bin/python"; - checkFlags = builtins.map (t: "--skip ${t}") [ + checkFlags = map (t: "--skip ${t}") [ # these tests require internet access "check_added_large_files_hook" "check_json_hook" diff --git a/pkgs/by-name/pr/prowlarr/update.py b/pkgs/by-name/pr/prowlarr/update.py index aeee96d2c280..4bb133688138 100644 --- a/pkgs/by-name/pr/prowlarr/update.py +++ b/pkgs/by-name/pr/prowlarr/update.py @@ -53,7 +53,7 @@ package_attrs = json.loads(subprocess.run( "--json", "--file", nixpkgs_path, "--apply", """p: { - dir = builtins.dirOf p.meta.position; + dir = dirOf p.meta.position; version = p.version; sourceHash = p.src.src.outputHash; yarnHash = p.yarnOfflineCache.outputHash; diff --git a/pkgs/by-name/pu/pulsar/package.nix b/pkgs/by-name/pu/pulsar/package.nix index aa6d2f68966c..fe56d2b32d66 100644 --- a/pkgs/by-name/pu/pulsar/package.nix +++ b/pkgs/by-name/pu/pulsar/package.nix @@ -78,7 +78,7 @@ let ]; # Hunspell - hunspellDirs = builtins.map (lang: "${hunspellDicts.${lang}}/share/hunspell") languages; + hunspellDirs = map (lang: "${hunspellDicts.${lang}}/share/hunspell") languages; hunspellTargetDirs = "$out/opt/Pulsar/resources/app.asar.unpacked/node_modules/spellchecker/vendor/hunspell_dictionaries"; hunspellCopyCommands = lib.concatMapStringsSep "\n" ( lang: "cp -r ${lang}/* ${hunspellTargetDirs};" diff --git a/pkgs/by-name/qo/qogir-icon-theme/package.nix b/pkgs/by-name/qo/qogir-icon-theme/package.nix index 775b3e31cb0d..653f73c5dad4 100644 --- a/pkgs/by-name/qo/qogir-icon-theme/package.nix +++ b/pkgs/by-name/qo/qogir-icon-theme/package.nix @@ -55,8 +55,8 @@ lib.checkListOfEnum "${pname}: color variants" [ "standard" "dark" "all" ] color mkdir -p $out/share/icons name= ./install.sh \ - ${lib.optionalString (themeVariants != [ ]) ("--theme " + builtins.toString themeVariants)} \ - ${lib.optionalString (colorVariants != [ ]) ("--color " + builtins.toString colorVariants)} \ + ${lib.optionalString (themeVariants != [ ]) ("--theme " + toString themeVariants)} \ + ${lib.optionalString (colorVariants != [ ]) ("--color " + toString colorVariants)} \ --dest $out/share/icons jdupes --quiet --link-soft --recurse $out/share diff --git a/pkgs/by-name/qo/qogir-theme/package.nix b/pkgs/by-name/qo/qogir-theme/package.nix index 0e0c2c471735..00532e9d574e 100644 --- a/pkgs/by-name/qo/qogir-theme/package.nix +++ b/pkgs/by-name/qo/qogir-theme/package.nix @@ -67,9 +67,9 @@ lib.checkListOfEnum "${pname}: theme variants" [ "default" "manjaro" "ubuntu" "a mkdir -p $out/share/themes name= HOME="$TMPDIR" ./install.sh \ - ${lib.optionalString (themeVariants != [ ]) "--theme " + builtins.toString themeVariants} \ - ${lib.optionalString (colorVariants != [ ]) "--color " + builtins.toString colorVariants} \ - ${lib.optionalString (tweaks != [ ]) "--tweaks " + builtins.toString tweaks} \ + ${lib.optionalString (themeVariants != [ ]) "--theme " + toString themeVariants} \ + ${lib.optionalString (colorVariants != [ ]) "--color " + toString colorVariants} \ + ${lib.optionalString (tweaks != [ ]) "--tweaks " + toString tweaks} \ --dest $out/share/themes mkdir -p $out/share/doc/qogir-theme diff --git a/pkgs/by-name/qr/qrq/package.nix b/pkgs/by-name/qr/qrq/package.nix index 751d17b4c483..283eaba711b4 100644 --- a/pkgs/by-name/qr/qrq/package.nix +++ b/pkgs/by-name/qr/qrq/package.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { makeFlags = [ "BUILD_INFO=nix" - "DESTDIR=${builtins.placeholder "out"}" + "DESTDIR=${placeholder "out"}" ]; postPatch = '' diff --git a/pkgs/by-name/ra/racket/minimal.nix b/pkgs/by-name/ra/racket/minimal.nix index 17c4dcf61c17..57fbbf224b84 100644 --- a/pkgs/by-name/ra/racket/minimal.nix +++ b/pkgs/by-name/ra/racket/minimal.nix @@ -118,7 +118,7 @@ stdenv.mkDerivation (finalAttrs: { }@config: assert lib.assertMsg (libraries == [ ]) "library integration for Racket has not been implemented"; writers.makeScriptWriter ( - builtins.removeAttrs config [ "libraries" ] + removeAttrs config [ "libraries" ] // { interpreter = "${lib.getExe finalAttrs.finalPackage}"; } diff --git a/pkgs/by-name/ra/racket/tests/get-version-and-variant.nix b/pkgs/by-name/ra/racket/tests/get-version-and-variant.nix index 870542f8f6c0..f49d2e15b2e1 100644 --- a/pkgs/by-name/ra/racket/tests/get-version-and-variant.nix +++ b/pkgs/by-name/ra/racket/tests/get-version-and-variant.nix @@ -10,7 +10,7 @@ runCommandLocal "racket-test-get-version-and-variant" } ( lib.concatLines ( - builtins.map + map ( { expectation, output }: '' diff --git a/pkgs/by-name/ra/radarr/update.py b/pkgs/by-name/ra/radarr/update.py index 007e4583cae6..614abee64279 100644 --- a/pkgs/by-name/ra/radarr/update.py +++ b/pkgs/by-name/ra/radarr/update.py @@ -53,7 +53,7 @@ package_attrs = json.loads(subprocess.run( "--json", "--file", nixpkgs_path, "--apply", """p: { - dir = builtins.dirOf p.meta.position; + dir = dirOf p.meta.position; version = p.version; sourceHash = p.src.src.outputHash; yarnHash = p.yarnOfflineCache.outputHash; diff --git a/pkgs/by-name/re/reposilite/package.nix b/pkgs/by-name/re/reposilite/package.nix index 46ca11c74a69..b3bc0827d60c 100644 --- a/pkgs/by-name/re/reposilite/package.nix +++ b/pkgs/by-name/re/reposilite/package.nix @@ -10,7 +10,7 @@ }: let pluginsDir = linkFarm "reposilite-plugins" ( - builtins.map (p: { + map (p: { name = (builtins.parseDrvName p.name).name + ".jar"; path = p.outPath or p; }) plugins diff --git a/pkgs/by-name/re/reversal-icon-theme/package.nix b/pkgs/by-name/re/reversal-icon-theme/package.nix index dac5a4e8f82e..e61a5d6a15e7 100644 --- a/pkgs/by-name/re/reversal-icon-theme/package.nix +++ b/pkgs/by-name/re/reversal-icon-theme/package.nix @@ -73,7 +73,7 @@ lib.checkListOfEnum "${pname}: color variants" mkdir -p $out/share/icons name= ./install.sh \ - ${if allColorVariants then "-a" else builtins.toString colorVariants} \ + ${if allColorVariants then "-a" else toString colorVariants} \ -d $out/share/icons rm $out/share/icons/*/{AUTHORS,COPYING} diff --git a/pkgs/by-name/ru/rust-streamdeck/package.nix b/pkgs/by-name/ru/rust-streamdeck/package.nix index 8c8c8b2b5f31..e3a2f3e263ca 100644 --- a/pkgs/by-name/ru/rust-streamdeck/package.nix +++ b/pkgs/by-name/ru/rust-streamdeck/package.nix @@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec { doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; - versionCheckProgram = "${builtins.placeholder "out"}/bin/${meta.mainProgram}"; + versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}"; postInstall = '' install -Dm444 40-streamdeck.rules -t $out/lib/udev/rules.d/ diff --git a/pkgs/by-name/sh/shogihome/package.nix b/pkgs/by-name/sh/shogihome/package.nix index 9bb9999e0216..e90d2b63b645 100644 --- a/pkgs/by-name/sh/shogihome/package.nix +++ b/pkgs/by-name/sh/shogihome/package.nix @@ -143,7 +143,7 @@ buildNpmPackage (finalAttrs: { ]; runtimeEnv = { PNAME = finalAttrs.pname; - PKG_FILE = builtins.toString ./package.nix; + PKG_FILE = toString ./package.nix; }; text = '' new_src="$(nix-build --attr "pkgs.$PNAME.src" --no-out-link)" diff --git a/pkgs/by-name/si/sierra-gtk-theme/package.nix b/pkgs/by-name/si/sierra-gtk-theme/package.nix index 987a18a8d33e..e044f0c5176c 100644 --- a/pkgs/by-name/si/sierra-gtk-theme/package.nix +++ b/pkgs/by-name/si/sierra-gtk-theme/package.nix @@ -63,10 +63,10 @@ lib.checkListOfEnum "${pname}: button variants" [ "standard" "alt" ] buttonVaria mkdir -p $out/share/themes name= ./install.sh --dest $out/share/themes \ - ${lib.optionalString (buttonVariants != [ ]) "--alt " + builtins.toString buttonVariants} \ - ${lib.optionalString (colorVariants != [ ]) "--color " + builtins.toString colorVariants} \ - ${lib.optionalString (opacityVariants != [ ]) "--opacity " + builtins.toString opacityVariants} \ - ${lib.optionalString (sizeVariants != [ ]) "--flat " + builtins.toString sizeVariants} + ${lib.optionalString (buttonVariants != [ ]) "--alt " + toString buttonVariants} \ + ${lib.optionalString (colorVariants != [ ]) "--color " + toString colorVariants} \ + ${lib.optionalString (opacityVariants != [ ]) "--opacity " + toString opacityVariants} \ + ${lib.optionalString (sizeVariants != [ ]) "--flat " + toString sizeVariants} # Replace duplicate files with hardlinks to the first file in each # set of duplicates, reducing the installed size in about 79% diff --git a/pkgs/by-name/so/solana-cli/package.nix b/pkgs/by-name/so/solana-cli/package.nix index 9ac59650fae9..95d74c881c0c 100644 --- a/pkgs/by-name/so/solana-cli/package.nix +++ b/pkgs/by-name/so/solana-cli/package.nix @@ -53,7 +53,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-J7gyR7K1hauV+VrzoNzRrooLuSkjk8U6A3aFn9O2yFY="; strictDeps = true; - cargoBuildFlags = builtins.map (n: "--bin=${n}") solanaPkgs; + cargoBuildFlags = map (n: "--bin=${n}") solanaPkgs; RUSTFLAGS = "-Amismatched_lifetime_syntaxes -Adead_code"; LIBCLANG_PATH = "${libclang.lib}/lib"; diff --git a/pkgs/by-name/so/sonarlint-ls/package.nix b/pkgs/by-name/so/sonarlint-ls/package.nix index b5eabf16e0e4..7cdeed81fb4a 100644 --- a/pkgs/by-name/so/sonarlint-ls/package.nix +++ b/pkgs/by-name/so/sonarlint-ls/package.nix @@ -63,7 +63,7 @@ maven.buildMavenPackage rec { passthru.updateScript = let - pkgFile = builtins.toString ./package.nix; + pkgFile = toString ./package.nix; in lib.getExe (writeShellApplication { name = "update-${pname}"; diff --git a/pkgs/by-name/so/sonarr/update.py b/pkgs/by-name/so/sonarr/update.py index 05d1933a1d23..5c8fd4c83700 100644 --- a/pkgs/by-name/so/sonarr/update.py +++ b/pkgs/by-name/so/sonarr/update.py @@ -53,7 +53,7 @@ package_attrs = json.loads(subprocess.run( "--json", "--file", nixpkgs_path, "--apply", """p: { - dir = builtins.dirOf p.meta.position; + dir = dirOf p.meta.position; version = p.version; sourceHash = p.src.src.outputHash; yarnHash = p.yarnOfflineCache.outputHash; diff --git a/pkgs/by-name/st/steam/package.nix b/pkgs/by-name/st/steam/package.nix index 99b28d32bb68..fe3bc2dddf86 100644 --- a/pkgs/by-name/st/steam/package.nix +++ b/pkgs/by-name/st/steam/package.nix @@ -25,7 +25,7 @@ let ... }@args: buildFHSEnv ( - (builtins.removeAttrs args [ + (removeAttrs args [ "extraPkgs" "extraLibraries" "extraProfile" diff --git a/pkgs/by-name/st/stockfish/package.nix b/pkgs/by-name/st/stockfish/package.nix index 02cfd355f012..6e4b9ee9312c 100644 --- a/pkgs/by-name/st/stockfish/package.nix +++ b/pkgs/by-name/st/stockfish/package.nix @@ -91,7 +91,7 @@ stdenv.mkDerivation rec { ]; runtimeEnv = { PNAME = pname; - PKG_FILE = builtins.toString ./package.nix; + PKG_FILE = toString ./package.nix; NNUE_BIG_FILE = nnueBigFile; NNUE_BIG_HASH = nnueBigHash; NNUE_SMALL_FILE = nnueSmallFile; diff --git a/pkgs/by-name/st/streamdeck-ui/package.nix b/pkgs/by-name/st/streamdeck-ui/package.nix index daea5cb273c4..73e4062aa015 100644 --- a/pkgs/by-name/st/streamdeck-ui/package.nix +++ b/pkgs/by-name/st/streamdeck-ui/package.nix @@ -103,7 +103,7 @@ python3Packages.buildPythonApplication rec { categories = [ "Utility" ]; }; in - builtins.map makeDesktopItem [ + map makeDesktopItem [ common ( common diff --git a/pkgs/by-name/st/structurizr-cli/package.nix b/pkgs/by-name/st/structurizr-cli/package.nix index c3370146c581..5db3e8af4252 100644 --- a/pkgs/by-name/st/structurizr-cli/package.nix +++ b/pkgs/by-name/st/structurizr-cli/package.nix @@ -57,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: { } ]; in - builtins.map ( + map ( entry: fetchpatch { url = "https://github.com/structurizr/cli/commit/${entry.rev}.patch"; diff --git a/pkgs/by-name/sw/swi-prolog/package.nix b/pkgs/by-name/sw/swi-prolog/package.nix index 70dbac88c78e..ee6745c234a3 100644 --- a/pkgs/by-name/sw/swi-prolog/package.nix +++ b/pkgs/by-name/sw/swi-prolog/package.nix @@ -64,7 +64,7 @@ # url = "https://github.com/mndrix/list_util/archive/v0.13.0.zip"; # sha256 = "0lx7vffflak0y8l8vg8k0g8qddwwn23ksbz02hi3f8rbarh1n89q"; # }; - # typedef = builtins.fetchTarball { + # typedef = fetchTarball { # name = "swipl-pack-typedef"; # url = "https://raw.githubusercontent.com/samer--/prolog/master/typedef/release/typedef-0.1.9.tgz"; # sha256 = "056nqjn01g18fb1b2qivv9s7hb4azk24nx2d4kvkbmm1k91f44p3"; @@ -166,7 +166,7 @@ stdenv.mkDerivation { mkdir -p $out/lib/swipl/extra-pack ''; - postInstall = builtins.concatStringsSep "\n" (builtins.map (packInstall "$out") extraPacks); + postInstall = builtins.concatStringsSep "\n" (map (packInstall "$out") extraPacks); meta = { homepage = "https://www.swi-prolog.org"; diff --git a/pkgs/by-name/ta/tabby/package.nix b/pkgs/by-name/ta/tabby/package.nix index 9b70bfdc53c8..d46d201117d3 100644 --- a/pkgs/by-name/ta/tabby/package.nix +++ b/pkgs/by-name/ta/tabby/package.nix @@ -59,7 +59,7 @@ let # - metal if (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) # !! warn if multiple acceleration methods are enabled and default to the first one in the list featureDevice = - if (builtins.isNull acceleration) then + if (isNull acceleration) then (warnIfMultipleAccelerationMethods availableAccelerations) else acceleration; diff --git a/pkgs/by-name/te/tela-circle-icon-theme/package.nix b/pkgs/by-name/te/tela-circle-icon-theme/package.nix index 5cba50aae8b4..79e5e9bfe70c 100644 --- a/pkgs/by-name/te/tela-circle-icon-theme/package.nix +++ b/pkgs/by-name/te/tela-circle-icon-theme/package.nix @@ -72,7 +72,7 @@ lib.checkListOfEnum "tela-circle-icon-theme: color variants" ./install.sh -d $out/share/icons \ ${lib.optionalString circularFolder "-c"} \ - ${if allColorVariants then "-a" else builtins.toString colorVariants} + ${if allColorVariants then "-a" else toString colorVariants} jdupes --quiet --link-soft --recurse $out/share diff --git a/pkgs/by-name/to/touchosc/update.sh b/pkgs/by-name/to/touchosc/update.sh index dc3e2f088878..88315275bc22 100755 --- a/pkgs/by-name/to/touchosc/update.sh +++ b/pkgs/by-name/to/touchosc/update.sh @@ -24,7 +24,7 @@ nixeval() { findpath() { path="$(nix --extra-experimental-features nix-command eval --json --impure -f "$nixpkgs" "$1.meta.position" | jq -r . | cut -d: -f1)" - outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "builtins.fetchGit \"$nixpkgs\"")" + outpath="$(nix --extra-experimental-features nix-command eval --json --impure --expr "fetchGit \"$nixpkgs\"")" if [ -n "$outpath" ]; then path="${path/$(echo "$outpath" | jq -r .)/$nixpkgs}" diff --git a/pkgs/by-name/tr/treecat/package.nix b/pkgs/by-name/tr/treecat/package.nix index bb983196e8ab..20b4592f56ee 100644 --- a/pkgs/by-name/tr/treecat/package.nix +++ b/pkgs/by-name/tr/treecat/package.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: { scdoc ]; - env.PREFIX = builtins.placeholder "out"; + env.PREFIX = placeholder "out"; dontConfigure = true; diff --git a/pkgs/by-name/tr/treefmt/functions-doc.nix b/pkgs/by-name/tr/treefmt/functions-doc.nix index 86dc23b226ea..f02ba13abb66 100644 --- a/pkgs/by-name/tr/treefmt/functions-doc.nix +++ b/pkgs/by-name/tr/treefmt/functions-doc.nix @@ -24,7 +24,7 @@ in { locations = lib.pipe attrs [ builtins.attrNames - (builtins.map ( + (map ( name: let pos = builtins.unsafeGetAttrPos name attrs; diff --git a/pkgs/by-name/tr/treefmt/options-doc.nix b/pkgs/by-name/tr/treefmt/options-doc.nix index f9e51ec0dff1..c0e14ba4e71c 100644 --- a/pkgs/by-name/tr/treefmt/options-doc.nix +++ b/pkgs/by-name/tr/treefmt/options-doc.nix @@ -26,6 +26,6 @@ let in nixosOptionsDoc { documentType = "none"; - options = builtins.removeAttrs configuration.options [ "_module" ]; + options = removeAttrs configuration.options [ "_module" ]; transformOptions = opt: opt // { declarations = map transformDeclaration opt.declarations; }; } diff --git a/pkgs/by-name/tr/triton-llvm/package.nix b/pkgs/by-name/tr/triton-llvm/package.nix index 84593c31a908..bbe124f2c371 100644 --- a/pkgs/by-name/tr/triton-llvm/package.nix +++ b/pkgs/by-name/tr/triton-llvm/package.nix @@ -44,7 +44,7 @@ let "AMDGPU" "NVPTX" ] - ++ builtins.map inferNativeTarget llvmTargetsToBuild; + ++ map inferNativeTarget llvmTargetsToBuild; # This LLVM version can't seem to find pygments/pyyaml, # but a later update will likely fix this (triton-2.1.0) diff --git a/pkgs/by-name/uc/ucc/package.nix b/pkgs/by-name/uc/ucc/package.nix index 6dea8a577f28..284fcdc68cf4 100644 --- a/pkgs/by-name/uc/ucc/package.nix +++ b/pkgs/by-name/uc/ucc/package.nix @@ -86,7 +86,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { # NOTE: With `__structuredAttrs` enabled, `LDFLAGS` must be set under `env` so it is assured to be a string; # otherwise, we might have forgotten to convert it to a string and Nix would make LDFLAGS a shell variable # referring to an array! - env.LDFLAGS = builtins.toString ( + env.LDFLAGS = toString ( optionals enableCuda [ # Fake libnvidia-ml.so (the real one is deployed impurely) "-L${getLib cuda_nvml_dev}/lib/stubs" diff --git a/pkgs/by-name/uw/uwsgi/package.nix b/pkgs/by-name/uw/uwsgi/package.nix index 0f8fe4f8c98b..f5c5e3917ea8 100644 --- a/pkgs/by-name/uw/uwsgi/package.nix +++ b/pkgs/by-name/uw/uwsgi/package.nix @@ -76,7 +76,7 @@ let else throw "Unknown UWSGI plugin ${name}, available : ${all}"; - needed = builtins.map getPlugin plugins; + needed = map getPlugin plugins; in stdenv.mkDerivation (finalAttrs: { diff --git a/pkgs/by-name/va/vanillatd/package.nix b/pkgs/by-name/va/vanillatd/package.nix index 4c336c2c1204..5d5ccf4b8147 100644 --- a/pkgs/by-name/va/vanillatd/package.nix +++ b/pkgs/by-name/va/vanillatd/package.nix @@ -154,7 +154,7 @@ stdenv.mkDerivation (finalAttrs: { rsync --archive --mkpath --chmod=a+w ${finalAttrs.finalPackage}/ $out/ # Symlink the data derivation to the default data path - mkdir -p ${builtins.dirOf Default_Data_Path} + mkdir -p ${dirOf Default_Data_Path} ln -s ${dataDerivation} ${Default_Data_Path} # Fix `error: suspicious ownership or permission on '/nix/store/xxx-0.0.0' for output 'out'; rejecting this build output` diff --git a/pkgs/by-name/vi/vimix-gtk-themes/package.nix b/pkgs/by-name/vi/vimix-gtk-themes/package.nix index 0231a5dccbd4..72f667148a5f 100644 --- a/pkgs/by-name/vi/vimix-gtk-themes/package.nix +++ b/pkgs/by-name/vi/vimix-gtk-themes/package.nix @@ -76,10 +76,10 @@ lib.checkListOfEnum "${pname}: theme variants" runHook preInstall mkdir -p $out/share/themes name= HOME="$TMPDIR" ./install.sh \ - ${lib.optionalString (themeVariants != [ ]) "--theme " + builtins.toString themeVariants} \ - ${lib.optionalString (colorVariants != [ ]) "--color " + builtins.toString colorVariants} \ - ${lib.optionalString (sizeVariants != [ ]) "--size " + builtins.toString sizeVariants} \ - ${lib.optionalString (tweaks != [ ]) "--tweaks " + builtins.toString tweaks} \ + ${lib.optionalString (themeVariants != [ ]) "--theme " + toString themeVariants} \ + ${lib.optionalString (colorVariants != [ ]) "--color " + toString colorVariants} \ + ${lib.optionalString (sizeVariants != [ ]) "--size " + toString sizeVariants} \ + ${lib.optionalString (tweaks != [ ]) "--tweaks " + toString tweaks} \ --dest $out/share/themes rm $out/share/themes/*/{AUTHORS,LICENSE} jdupes --quiet --link-soft --recurse $out/share diff --git a/pkgs/by-name/vi/vimix-icon-theme/package.nix b/pkgs/by-name/vi/vimix-icon-theme/package.nix index 9c23826a48f5..5d39400df9c4 100644 --- a/pkgs/by-name/vi/vimix-icon-theme/package.nix +++ b/pkgs/by-name/vi/vimix-icon-theme/package.nix @@ -61,7 +61,7 @@ lib.checkListOfEnum "${pname}: color variants" runHook preInstall ./install.sh \ - ${if colorVariants != [ ] then builtins.toString colorVariants else "-a"} \ + ${if colorVariants != [ ] then toString colorVariants else "-a"} \ -d $out/share/icons # replace duplicate files with symlinks diff --git a/pkgs/by-name/wa/wasilibc/package.nix b/pkgs/by-name/wa/wasilibc/package.nix index 9b58b0ca2f05..c5c5204454f7 100644 --- a/pkgs/by-name/wa/wasilibc/package.nix +++ b/pkgs/by-name/wa/wasilibc/package.nix @@ -33,9 +33,9 @@ stdenvNoLibc.mkDerivation (finalAttrs: { ''; preBuild = '' - export SYSROOT_LIB=${builtins.placeholder "out"}/lib - export SYSROOT_INC=${builtins.placeholder "dev"}/include - export SYSROOT_SHARE=${builtins.placeholder "share"}/share + export SYSROOT_LIB=${placeholder "out"}/lib + export SYSROOT_INC=${placeholder "dev"}/include + export SYSROOT_SHARE=${placeholder "share"}/share mkdir -p "$SYSROOT_LIB" "$SYSROOT_INC" "$SYSROOT_SHARE" makeFlagsArray+=( "SYSROOT_LIB:=$SYSROOT_LIB" diff --git a/pkgs/by-name/wg/wgpu-native/examples.nix b/pkgs/by-name/wg/wgpu-native/examples.nix index d51db484124b..71619d101641 100644 --- a/pkgs/by-name/wg/wgpu-native/examples.nix +++ b/pkgs/by-name/wg/wgpu-native/examples.nix @@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: { ]; makeWrapperArgs = lib.optionals (finalAttrs.runtimeInputs != [ ]) [ - "--prefix LD_LIBRARY_PATH : ${builtins.toString (lib.makeLibraryPath finalAttrs.runtimeInputs)}" + "--prefix LD_LIBRARY_PATH : ${toString (lib.makeLibraryPath finalAttrs.runtimeInputs)}" ]; installPhase = '' diff --git a/pkgs/by-name/wh/whitesur-icon-theme/package.nix b/pkgs/by-name/wh/whitesur-icon-theme/package.nix index 31b620f635e2..8a4c7cfd5def 100644 --- a/pkgs/by-name/wh/whitesur-icon-theme/package.nix +++ b/pkgs/by-name/wh/whitesur-icon-theme/package.nix @@ -61,7 +61,7 @@ lib.checkListOfEnum "${pname}: theme variants" ./install.sh --dest $out/share/icons \ --name WhiteSur \ - --theme ${builtins.toString themeVariants} \ + --theme ${toString themeVariants} \ ${lib.optionalString alternativeIcons "--alternative"} \ ${lib.optionalString boldPanelIcons "--bold"} \ diff --git a/pkgs/by-name/xe/xevd/package.nix b/pkgs/by-name/xe/xevd/package.nix index fc5c80e31bbb..a98cfbecf0d9 100644 --- a/pkgs/by-name/xe/xevd/package.nix +++ b/pkgs/by-name/xe/xevd/package.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: { }; patches = lib.optionals (!lib.versionOlder "0.5.0" finalAttrs.version) ( - builtins.map fetchpatch2 [ + map fetchpatch2 [ # Upstream accepted patches, should be dropped on next version bump. { url = "https://github.com/mpeg5/xevd/commit/7eda92a6ebb622189450f7b63cfd4dcd32fd6dff.patch?full_index=1"; @@ -63,8 +63,8 @@ stdenv.mkDerivation (finalAttrs: { optional isAarch64 (cmakeBool "ARM" true) ++ optional isDarwin (cmakeFeature "CMAKE_SYSTEM_NAME" "Darwin"); - env.NIX_CFLAGS_COMPILE = builtins.toString ( - builtins.map (w: "-Wno-" + w) ( + env.NIX_CFLAGS_COMPILE = toString ( + map (w: "-Wno-" + w) ( [ # Evaluate on version bump whether still necessary. "sometimes-uninitialized" diff --git a/pkgs/by-name/xe/xeve/package.nix b/pkgs/by-name/xe/xeve/package.nix index f7513d9c1298..0b478314be39 100644 --- a/pkgs/by-name/xe/xeve/package.nix +++ b/pkgs/by-name/xe/xeve/package.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: { }; patches = - builtins.map fetchpatch2 [ + map fetchpatch2 [ { url = "https://github.com/mpeg5/xeve/commit/954ed6e0494cd2438fd15c717c0146e88e582b33.patch?full_index=1"; hash = "sha256-//NtOUm1fqPFvOM955N6gF+QgmOdmuVunwx/3s/G/J8="; @@ -60,8 +60,8 @@ stdenv.mkDerivation (finalAttrs: { optional isAarch64 (cmakeBool "ARM" true) ++ optional isDarwin (cmakeFeature "CMAKE_SYSTEM_NAME" "Darwin"); - env.NIX_CFLAGS_COMPILE = builtins.toString ( - builtins.map (w: "-Wno-" + w) [ + env.NIX_CFLAGS_COMPILE = toString ( + map (w: "-Wno-" + w) [ # Patch addressing an if without a body was rejected upstream, third # line-based comment in this thread, https://github.com/mpeg5/xeve/pull/122#pullrequestreview-2187744305 # Evaluate on version bump whether still necessary. diff --git a/pkgs/by-name/xg/xgboost/package.nix b/pkgs/by-name/xg/xgboost/package.nix index 1f974022d373..fe0e48d2f95c 100644 --- a/pkgs/by-name/xg/xgboost/package.nix +++ b/pkgs/by-name/xg/xgboost/package.nix @@ -30,7 +30,7 @@ let # #226165 rewrites cudaStdenv effectiveStdenv = if cudaSupport then cudaPackages.backendStdenv else inputs.stdenv; # Ensures we don't use the stdenv value by accident. - stdenv = builtins.throw "Use effectiveStdenv instead of stdenv in xgboost derivation."; + stdenv = throw "Use effectiveStdenv instead of stdenv in xgboost derivation."; in effectiveStdenv.mkDerivation rec { diff --git a/pkgs/by-name/ya/yandex-cloud/update.py b/pkgs/by-name/ya/yandex-cloud/update.py index d1b95ca50ec6..d6309118bf92 100644 --- a/pkgs/by-name/ya/yandex-cloud/update.py +++ b/pkgs/by-name/ya/yandex-cloud/update.py @@ -38,7 +38,7 @@ package_attrs = json.loads(subprocess.run( "--json", "--file", nixpkgs_path, "--apply", """p: { - dir = builtins.dirOf p.meta.position; + dir = dirOf p.meta.position; version = p.version; }""", "--", diff --git a/pkgs/by-name/zx/zxtune/package.nix b/pkgs/by-name/zx/zxtune/package.nix index a1e95af55ab6..28ab7abb556f 100644 --- a/pkgs/by-name/zx/zxtune/package.nix +++ b/pkgs/by-name/zx/zxtune/package.nix @@ -115,11 +115,11 @@ stdenv.mkDerivation rec { in '' runHook preBuild - make ${builtins.toString makeOptsCommon} -C apps/xtractor - make ${builtins.toString makeOptsCommon} -C apps/zxtune123 + make ${toString makeOptsCommon} -C apps/xtractor + make ${toString makeOptsCommon} -C apps/zxtune123 '' + lib.optionalString withQt '' - make ${builtins.toString (makeOptsCommon ++ makeOptsQt)} -C apps/zxtune-qt + make ${toString (makeOptsCommon ++ makeOptsQt)} -C apps/zxtune-qt '' + '' runHook postBuild diff --git a/pkgs/common-updater/combinators.nix b/pkgs/common-updater/combinators.nix index eafc530ceaed..e857f0fb4b88 100644 --- a/pkgs/common-updater/combinators.nix +++ b/pkgs/common-updater/combinators.nix @@ -52,7 +52,7 @@ let arg: if builtins.isPath arg then { - args = args ++ [ { __rawShell = "\"\$${builtins.toString maxArgIndex}\""; } ]; + args = args ++ [ { __rawShell = "\"\$${toString maxArgIndex}\""; } ]; maxArgIndex = maxArgIndex + 1; paths = paths ++ [ arg ]; } @@ -144,7 +144,7 @@ rec { scripts: let - scriptsNormalized = builtins.map normalize scripts; + scriptsNormalized = map normalize scripts; in let scripts = scriptsNormalized; @@ -174,7 +174,7 @@ rec { builtins.length ( lib.unique ( builtins.filter (attrPath: attrPath != null) ( - builtins.map ( + map ( { attrPath ? null, ... @@ -187,7 +187,7 @@ rec { ) "Combining update scripts with different attr paths is currently unsupported."; { - command = commandsToShellInvocation (builtins.map ({ command, ... }: command) scripts); + command = commandsToShellInvocation (map ({ command, ... }: command) scripts); supportedFeatures = if hasCommitSupport then [ "commit" ] diff --git a/pkgs/common-updater/unstable-updater.nix b/pkgs/common-updater/unstable-updater.nix index 9727fabd0096..8897e93616a3 100644 --- a/pkgs/common-updater/unstable-updater.nix +++ b/pkgs/common-updater/unstable-updater.nix @@ -164,7 +164,7 @@ let in [ (lib.getExe updateScript) - "--url=${builtins.toString url}" + "--url=${toString url}" "--tag-format=${tagFormat}" ] ++ lib.optionals (branch != null) [ diff --git a/pkgs/data/fonts/iosevka/comfy.nix b/pkgs/data/fonts/iosevka/comfy.nix index 52974e657f9d..7269a62c2837 100644 --- a/pkgs/data/fonts/iosevka/comfy.nix +++ b/pkgs/data/fonts/iosevka/comfy.nix @@ -73,7 +73,7 @@ let }); in builtins.listToAttrs ( - builtins.map (set: { + map (set: { name = set; value = makeIosevkaFont set; }) sets diff --git a/pkgs/desktops/gnome/extensions/buildGnomeExtension.nix b/pkgs/desktops/gnome/extensions/buildGnomeExtension.nix index 318a65309921..4419eeb25138 100644 --- a/pkgs/desktops/gnome/extensions/buildGnomeExtension.nix +++ b/pkgs/desktops/gnome/extensions/buildGnomeExtension.nix @@ -27,11 +27,11 @@ let stdenv.mkDerivation { pname = "gnome-shell-extension-${pname}"; - version = builtins.toString version; + version = toString version; src = fetchzip { url = "https://extensions.gnome.org/extension-data/${ builtins.replaceStrings [ "@" ] [ "" ] uuid - }.v${builtins.toString version}.shell-extension.zip"; + }.v${toString version}.shell-extension.zip"; inherit sha256; stripRoot = false; # The download URL may change content over time. This is because the diff --git a/pkgs/desktops/gnome/update.nix b/pkgs/desktops/gnome/update.nix index 481aeb831542..94b36c9227dc 100644 --- a/pkgs/desktops/gnome/update.nix +++ b/pkgs/desktops/gnome/update.nix @@ -29,7 +29,7 @@ let minorAvailable = builtins.length versionComponents > 1 && builtins.match "[0-9]+" minorVersion != null; nextMinor = builtins.fromJSON minorVersion + 1; - upperBound = "${lib.versions.major packageVersion}.${builtins.toString nextMinor}"; + upperBound = "${lib.versions.major packageVersion}.${toString nextMinor}"; in if builtins.isBool freeze then lib.optionals (freeze && minorAvailable) [ upperBound ] diff --git a/pkgs/desktops/lomiri/applications/lomiri-calculator-app/default.nix b/pkgs/desktops/lomiri/applications/lomiri-calculator-app/default.nix index 9c89a3279396..50115d09e14d 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-calculator-app/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-calculator-app/default.nix @@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Powerful and easy to use calculator for Ubuntu Touch, with calculations history and formula validation"; homepage = "https://gitlab.com/ubports/development/apps/lomiri-calculator-app"; changelog = "https://gitlab.com/ubports/development/apps/lomiri-calculator-app/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = lib.licenses.gpl3Only; mainProgram = "lomiri-calculator-app"; diff --git a/pkgs/desktops/lomiri/applications/lomiri-filemanager-app/default.nix b/pkgs/desktops/lomiri/applications/lomiri-filemanager-app/default.nix index cb7b7ca5e07e..d35e0045c989 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-filemanager-app/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-filemanager-app/default.nix @@ -82,7 +82,7 @@ stdenv.mkDerivation (finalAttrs: { description = "File Manager application for Ubuntu Touch devices"; homepage = "https://gitlab.com/ubports/development/apps/lomiri-filemanager-app"; changelog = "https://gitlab.com/ubports/development/apps/lomiri-filemanager-app/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = lib.licenses.gpl3Only; mainProgram = "lomiri-filemanager-app"; diff --git a/pkgs/desktops/lomiri/applications/lomiri-gallery-app/default.nix b/pkgs/desktops/lomiri/applications/lomiri-gallery-app/default.nix index 2c8c6f1b6293..7ab53bf38eb2 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-gallery-app/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-gallery-app/default.nix @@ -120,7 +120,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Photo gallery application for Ubuntu Touch devices"; homepage = "https://gitlab.com/ubports/development/apps/lomiri-gallery-app"; changelog = "https://gitlab.com/ubports/development/apps/lomiri-gallery-app/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = with lib.licenses; [ gpl3Only diff --git a/pkgs/desktops/lomiri/applications/lomiri-mediaplayer-app/default.nix b/pkgs/desktops/lomiri/applications/lomiri-mediaplayer-app/default.nix index ed9a987e4ae3..2e02c75ab969 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-mediaplayer-app/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-mediaplayer-app/default.nix @@ -118,7 +118,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Media Player application for Ubuntu Touch devices"; homepage = "https://gitlab.com/ubports/development/apps/lomiri-mediaplayer-app"; changelog = "https://gitlab.com/ubports/development/apps/lomiri-mediaplayer-app/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = with lib.licenses; [ gpl3Only diff --git a/pkgs/desktops/lomiri/applications/lomiri-music-app/default.nix b/pkgs/desktops/lomiri/applications/lomiri-music-app/default.nix index 49fc854d2fff..6771c1e29f7b 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-music-app/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-music-app/default.nix @@ -98,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Default Music application for Ubuntu devices"; homepage = "https://gitlab.com/ubports/development/apps/lomiri-music-app"; changelog = "https://gitlab.com/ubports/development/apps/lomiri-music-app/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = with lib.licenses; [ gpl3Only diff --git a/pkgs/desktops/lomiri/applications/lomiri-system-settings/default.nix b/pkgs/desktops/lomiri/applications/lomiri-system-settings/default.nix index b1bcd75d3a48..4b5b90001e50 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-system-settings/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-system-settings/default.nix @@ -198,7 +198,7 @@ stdenv.mkDerivation (finalAttrs: { description = "System Settings application for Lomiri"; homepage = "https://gitlab.com/ubports/development/core/lomiri-system-settings"; changelog = "https://gitlab.com/ubports/development/core/lomiri-system-settings/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = licenses.gpl3Only; mainProgram = "lomiri-system-settings"; diff --git a/pkgs/desktops/lomiri/applications/lomiri-terminal-app/default.nix b/pkgs/desktops/lomiri/applications/lomiri-terminal-app/default.nix index ed6ebd0a68a0..cd47cbec28cd 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-terminal-app/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-terminal-app/default.nix @@ -76,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Terminal app for desktop and mobile devices"; homepage = "https://gitlab.com/ubports/development/apps/lomiri-terminal-app"; changelog = "https://gitlab.com/ubports/development/apps/lomiri-terminal-app/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = lib.licenses.gpl3Only; mainProgram = "lomiri-terminal-app"; diff --git a/pkgs/desktops/lomiri/services/lomiri-download-manager/default.nix b/pkgs/desktops/lomiri/services/lomiri-download-manager/default.nix index cfc8b18cbc09..509e569123c1 100644 --- a/pkgs/desktops/lomiri/services/lomiri-download-manager/default.nix +++ b/pkgs/desktops/lomiri/services/lomiri-download-manager/default.nix @@ -124,7 +124,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Performs uploads and downloads from a centralized location"; homepage = "https://gitlab.com/ubports/development/core/lomiri-download-manager"; changelog = "https://gitlab.com/ubports/development/core/lomiri-download-manager/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = lib.licenses.lgpl3Only; teams = [ lib.teams.lomiri ]; diff --git a/pkgs/desktops/lomiri/services/lomiri-indicator-network/default.nix b/pkgs/desktops/lomiri/services/lomiri-indicator-network/default.nix index 34616ac586fc..2e8f725a3c9d 100644 --- a/pkgs/desktops/lomiri/services/lomiri-indicator-network/default.nix +++ b/pkgs/desktops/lomiri/services/lomiri-indicator-network/default.nix @@ -126,7 +126,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Ayatana indiator exporting the network settings menu through D-Bus"; homepage = "https://gitlab.com/ubports/development/core/lomiri-indicator-network"; changelog = "https://gitlab.com/ubports/development/core/lomiri-indicator-network/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = lib.licenses.gpl3Only; teams = [ lib.teams.lomiri ]; diff --git a/pkgs/desktops/lomiri/services/lomiri-polkit-agent/default.nix b/pkgs/desktops/lomiri/services/lomiri-polkit-agent/default.nix index fce7f3ec2836..5326211f9793 100644 --- a/pkgs/desktops/lomiri/services/lomiri-polkit-agent/default.nix +++ b/pkgs/desktops/lomiri/services/lomiri-polkit-agent/default.nix @@ -75,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Policy kit agent for the Lomiri desktop"; homepage = "https://gitlab.com/ubports/development/core/lomiri-polkit-agent"; changelog = "https://gitlab.com/ubports/development/core/lomiri-polkit-agent/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = lib.licenses.gpl3Only; teams = [ lib.teams.lomiri ]; diff --git a/pkgs/desktops/lomiri/services/lomiri-url-dispatcher/default.nix b/pkgs/desktops/lomiri/services/lomiri-url-dispatcher/default.nix index d7a1e7003c98..d28de698e310 100644 --- a/pkgs/desktops/lomiri/services/lomiri-url-dispatcher/default.nix +++ b/pkgs/desktops/lomiri/services/lomiri-url-dispatcher/default.nix @@ -157,7 +157,7 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://gitlab.com/ubports/development/core/lomiri-url-dispatcher"; changelog = "https://gitlab.com/ubports/development/core/lomiri-url-dispatcher/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = with lib.licenses; [ lgpl3Only diff --git a/pkgs/desktops/lomiri/services/mediascanner2/default.nix b/pkgs/desktops/lomiri/services/mediascanner2/default.nix index b8391e001a17..2fd3c1ca05b1 100644 --- a/pkgs/desktops/lomiri/services/mediascanner2/default.nix +++ b/pkgs/desktops/lomiri/services/mediascanner2/default.nix @@ -114,7 +114,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Media scanner service & access library"; homepage = "https://gitlab.com/ubports/development/core/mediascanner2"; changelog = "https://gitlab.com/ubports/development/core/mediascanner2/-/blob/${ - if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev + if (!isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev }/ChangeLog"; license = lib.licenses.gpl3Only; teams = [ lib.teams.lomiri ]; diff --git a/pkgs/development/ada-modules/gnatprove/default.nix b/pkgs/development/ada-modules/gnatprove/default.nix index 18772e8cac6d..1f0a82871ea0 100644 --- a/pkgs/development/ada-modules/gnatprove/default.nix +++ b/pkgs/development/ada-modules/gnatprove/default.nix @@ -78,7 +78,7 @@ let thisSpark = spark2014.${gnat_version} - or (builtins.throw "GNATprove depends on a specific GNAT version and can't be built using GNAT ${gnat_version}."); + or (throw "GNATprove depends on a specific GNAT version and can't be built using GNAT ${gnat_version}."); in stdenv.mkDerivation { diff --git a/pkgs/development/beam-modules/mix-release.nix b/pkgs/development/beam-modules/mix-release.nix index ffc5e6a58979..05d2aa81bae9 100644 --- a/pkgs/development/beam-modules/mix-release.nix +++ b/pkgs/development/beam-modules/mix-release.nix @@ -86,7 +86,7 @@ }@attrs: let # Remove non standard attributes that cannot be coerced to strings - overridable = builtins.removeAttrs attrs [ + overridable = removeAttrs attrs [ "compileFlags" "erlangCompilerOptions" "mixNixDeps" diff --git a/pkgs/development/compilers/chicken/4/eggDerivation.nix b/pkgs/development/compilers/chicken/4/eggDerivation.nix index cf361be35b90..dc3c3bb07dd1 100644 --- a/pkgs/development/compilers/chicken/4/eggDerivation.nix +++ b/pkgs/development/compilers/chicken/4/eggDerivation.nix @@ -53,7 +53,7 @@ stdenv.mkDerivation ( } // args.meta or { }; } - // (builtins.removeAttrs args [ + // (removeAttrs args [ "name" "buildInputs" "meta" diff --git a/pkgs/development/compilers/chicken/5/eggDerivation.nix b/pkgs/development/compilers/chicken/5/eggDerivation.nix index a4da9793a1b4..6629a30ad973 100644 --- a/pkgs/development/compilers/chicken/5/eggDerivation.nix +++ b/pkgs/development/compilers/chicken/5/eggDerivation.nix @@ -78,7 +78,7 @@ in } // args.meta or { }; } - // builtins.removeAttrs args [ + // removeAttrs args [ "name" "pname" "version" diff --git a/pkgs/development/compilers/crystal/build-package.nix b/pkgs/development/compilers/crystal/build-package.nix index c7c29f12caa4..7914b7d7771e 100644 --- a/pkgs/development/compilers/crystal/build-package.nix +++ b/pkgs/development/compilers/crystal/build-package.nix @@ -41,7 +41,7 @@ assert ( ] ); let - mkDerivationArgs = builtins.removeAttrs args [ + mkDerivationArgs = removeAttrs args [ "format" "installManPages" "lockFile" diff --git a/pkgs/development/compilers/gcc/ng/common/default.nix b/pkgs/development/compilers/gcc/ng/common/default.nix index 98ce3bb89c1e..3f2e3b3b189d 100644 --- a/pkgs/development/compilers/gcc/ng/common/default.nix +++ b/pkgs/development/compilers/gcc/ng/common/default.nix @@ -59,12 +59,11 @@ let ; src = monorepoSrc; versionDir = - (builtins.toString ../.) - + "/${if (gitRelease != null) then "git" else lib.versions.major release_version}"; + (toString ../.) + "/${if (gitRelease != null) then "git" else lib.versions.major release_version}"; getVersionFile = p: builtins.path { - name = builtins.baseNameOf p; + name = baseNameOf p; path = let patches = args.patchesFn (import ./patches.nix); diff --git a/pkgs/development/compilers/gcc/ng/common/libgfortran/default.nix b/pkgs/development/compilers/gcc/ng/common/libgfortran/default.nix index 284792e16830..7b294b56bbae 100644 --- a/pkgs/development/compilers/gcc/ng/common/libgfortran/default.nix +++ b/pkgs/development/compilers/gcc/ng/common/libgfortran/default.nix @@ -165,7 +165,7 @@ stdenv.mkDerivation (finalAttrs: { "gcc_cv_target_thread_file=single" # $CC cannot link binaries, let alone run then "cross_compiling=true" - "--with-toolexeclibdir=${builtins.placeholder "dev"}/lib" + "--with-toolexeclibdir=${placeholder "dev"}/lib" ]; # Set the variable back the way it was, see corresponding code in diff --git a/pkgs/development/compilers/graalvm/community-edition/buildGraalvm.nix b/pkgs/development/compilers/graalvm/community-edition/buildGraalvm.nix index db97c1e3f54c..7be63b3a0a5f 100644 --- a/pkgs/development/compilers/graalvm/community-edition/buildGraalvm.nix +++ b/pkgs/development/compilers/graalvm/community-edition/buildGraalvm.nix @@ -24,7 +24,7 @@ }@args: let - extraArgs = builtins.removeAttrs args [ + extraArgs = removeAttrs args [ "lib" "stdenv" "alsa-lib" diff --git a/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix b/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix index 5276c5719dbd..b8c061f88c7d 100644 --- a/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix +++ b/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix @@ -14,7 +14,7 @@ }@args: let - extraArgs = builtins.removeAttrs args [ + extraArgs = removeAttrs args [ "lib" "stdenv" "autoPatchelfHook" diff --git a/pkgs/development/compilers/idris2/build-idris.nix b/pkgs/development/compilers/idris2/build-idris.nix index 40a7d275b7df..9a5a1f2818d7 100644 --- a/pkgs/development/compilers/idris2/build-idris.nix +++ b/pkgs/development/compilers/idris2/build-idris.nix @@ -50,7 +50,7 @@ let libSuffix = "lib/${idrName}"; libDirs = libs: (lib.makeSearchPath libSuffix libs) + ":${idris2}/${idrName}"; supportDir = "${idris2}/${idrName}/lib"; - drvAttrs = builtins.removeAttrs attrs [ + drvAttrs = removeAttrs attrs [ "ipkgName" "idrisLibraries" ]; diff --git a/pkgs/development/compilers/llvm/common/default.nix b/pkgs/development/compilers/llvm/common/default.nix index 5de10bf97f0e..5a9088864e0d 100644 --- a/pkgs/development/compilers/llvm/common/default.nix +++ b/pkgs/development/compilers/llvm/common/default.nix @@ -74,12 +74,11 @@ let ; src = monorepoSrc; versionDir = - (builtins.toString ../.) - + "/${if (gitRelease != null) then "git" else lib.versions.major release_version}"; + (toString ../.) + "/${if (gitRelease != null) then "git" else lib.versions.major release_version}"; getVersionFile = p: builtins.path { - name = builtins.baseNameOf p; + name = baseNameOf p; path = let patches = args.patchesFn (import ./patches.nix); diff --git a/pkgs/development/compilers/llvm/common/llvm/default.nix b/pkgs/development/compilers/llvm/common/llvm/default.nix index 279be22f7757..ab080daa1d1a 100644 --- a/pkgs/development/compilers/llvm/common/llvm/default.nix +++ b/pkgs/development/compilers/llvm/common/llvm/default.nix @@ -272,7 +272,7 @@ stdenv.mkDerivation ( # and thus fails under the sandbox: '' substituteInPlace unittests/TargetParser/Host.cpp \ - --replace-fail '/usr/bin/sw_vers' "${(builtins.toString darwin.DarwinTools) + "/bin/sw_vers"}" + --replace-fail '/usr/bin/sw_vers' "${(toString darwin.DarwinTools) + "/bin/sw_vers"}" '' + # This test tries to call the intrinsics `@llvm.roundeven.f32` and diff --git a/pkgs/development/compilers/opensmalltalk-vm/default.nix b/pkgs/development/compilers/opensmalltalk-vm/default.nix index 357ffecc6c53..f0cff1818e0e 100644 --- a/pkgs/development/compilers/opensmalltalk-vm/default.nix +++ b/pkgs/development/compilers/opensmalltalk-vm/default.nix @@ -197,5 +197,5 @@ if (!config.allowAliases && !(vmsByPlatform ? platform)) then else vmsByPlatform.${platform} or (throw ( "Unsupported platform ${platform}: only the following platforms are supported: " - + builtins.toString (builtins.attrNames vmsByPlatform) + + toString (builtins.attrNames vmsByPlatform) )) diff --git a/pkgs/development/compilers/rust/1_89.nix b/pkgs/development/compilers/rust/1_89.nix index 5690db67d8c3..77b5fc06dfc7 100644 --- a/pkgs/development/compilers/rust/1_89.nix +++ b/pkgs/development/compilers/rust/1_89.nix @@ -86,7 +86,7 @@ import ./default.nix } ( - builtins.removeAttrs args [ + removeAttrs args [ "llvmPackages_20" "llvm_20" "wrapCCWith" diff --git a/pkgs/development/compilers/sbcl/default.nix b/pkgs/development/compilers/sbcl/default.nix index 94bb15d58e70..315016ef7aea 100644 --- a/pkgs/development/compilers/sbcl/default.nix +++ b/pkgs/development/compilers/sbcl/default.nix @@ -218,8 +218,8 @@ stdenv.mkDerivation (self: { "--prefix=$out" "--xc-host=${lib.escapeShellArg bootstrapLisp'}" ] - ++ builtins.map (x: "--with-${x}") self.enableFeatures - ++ builtins.map (x: "--without-${x}") self.disableFeatures + ++ map (x: "--with-${x}") self.enableFeatures + ++ map (x: "--without-${x}") self.disableFeatures ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-darwin") [ "--arch=arm64" ]; diff --git a/pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix b/pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix index ecd34e60221c..e295437ab236 100644 --- a/pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix +++ b/pkgs/development/compilers/temurin-bin/jdk-darwin-base.nix @@ -83,7 +83,7 @@ let binaryBytecode ]; description = "${brand-name}, prebuilt OpenJDK binary"; - platforms = builtins.map (arch: arch + "-darwin") providedCpuTypes; # some inherit jre.meta.platforms + platforms = map (arch: arch + "-darwin") providedCpuTypes; # some inherit jre.meta.platforms maintainers = with maintainers; [ taku0 ]; teams = [ teams.java ]; inherit knownVulnerabilities; diff --git a/pkgs/development/compilers/temurin-bin/jdk-linux-base.nix b/pkgs/development/compilers/temurin-bin/jdk-linux-base.nix index 9b1cb142f5f8..33855e06f467 100644 --- a/pkgs/development/compilers/temurin-bin/jdk-linux-base.nix +++ b/pkgs/development/compilers/temurin-bin/jdk-linux-base.nix @@ -139,7 +139,7 @@ let binaryBytecode ]; description = "${brand-name}, prebuilt OpenJDK binary"; - platforms = builtins.map (arch: arch + "-linux") providedCpuTypes; # some inherit jre.meta.platforms + platforms = map (arch: arch + "-linux") providedCpuTypes; # some inherit jre.meta.platforms maintainers = with maintainers; [ taku0 ]; teams = [ teams.java ]; inherit knownVulnerabilities; diff --git a/pkgs/development/compilers/vala/default.nix b/pkgs/development/compilers/vala/default.nix index b494ce36ab12..586657b523f4 100644 --- a/pkgs/development/compilers/vala/default.nix +++ b/pkgs/development/compilers/vala/default.nix @@ -104,7 +104,7 @@ let let roundUpToEven = num: num + lib.mod num 2; in - "vala_${lib.versions.major version}_${builtins.toString (roundUpToEven (lib.toInt (lib.versions.minor version)))}"; + "vala_${lib.versions.major version}_${toString (roundUpToEven (lib.toInt (lib.versions.minor version)))}"; packageName = "vala"; freeze = true; }; diff --git a/pkgs/development/compilers/zulu/11.nix b/pkgs/development/compilers/zulu/11.nix index 6f5d0b66767a..0ff3cb7e1c56 100644 --- a/pkgs/development/compilers/zulu/11.nix +++ b/pkgs/development/compilers/zulu/11.nix @@ -50,5 +50,5 @@ callPackage ./common.nix ( }; }; } - // builtins.removeAttrs args [ "callPackage" ] + // removeAttrs args [ "callPackage" ] ) diff --git a/pkgs/development/compilers/zulu/17.nix b/pkgs/development/compilers/zulu/17.nix index 622f75365b4f..45abea1fc783 100644 --- a/pkgs/development/compilers/zulu/17.nix +++ b/pkgs/development/compilers/zulu/17.nix @@ -50,5 +50,5 @@ callPackage ./common.nix ( }; }; } - // builtins.removeAttrs args [ "callPackage" ] + // removeAttrs args [ "callPackage" ] ) diff --git a/pkgs/development/compilers/zulu/21.nix b/pkgs/development/compilers/zulu/21.nix index 21516f45b3d2..cd9bbcb509a6 100644 --- a/pkgs/development/compilers/zulu/21.nix +++ b/pkgs/development/compilers/zulu/21.nix @@ -51,5 +51,5 @@ callPackage ./common.nix ( }; }; } - // builtins.removeAttrs args [ "callPackage" ] + // removeAttrs args [ "callPackage" ] ) diff --git a/pkgs/development/compilers/zulu/23.nix b/pkgs/development/compilers/zulu/23.nix index 512a0f0813d0..836d545ab2af 100644 --- a/pkgs/development/compilers/zulu/23.nix +++ b/pkgs/development/compilers/zulu/23.nix @@ -50,5 +50,5 @@ callPackage ./common.nix ( }; }; } - // builtins.removeAttrs args [ "callPackage" ] + // removeAttrs args [ "callPackage" ] ) diff --git a/pkgs/development/compilers/zulu/24.nix b/pkgs/development/compilers/zulu/24.nix index 2bedd55b0093..36a545742d06 100644 --- a/pkgs/development/compilers/zulu/24.nix +++ b/pkgs/development/compilers/zulu/24.nix @@ -51,5 +51,5 @@ callPackage ./common.nix ( }; }; } - // builtins.removeAttrs args [ "callPackage" ] + // removeAttrs args [ "callPackage" ] ) diff --git a/pkgs/development/compilers/zulu/25.nix b/pkgs/development/compilers/zulu/25.nix index e0be95086313..19808de0a0af 100644 --- a/pkgs/development/compilers/zulu/25.nix +++ b/pkgs/development/compilers/zulu/25.nix @@ -54,5 +54,5 @@ callPackage ./common.nix ( }; }; } - // builtins.removeAttrs args [ "callPackage" ] + // removeAttrs args [ "callPackage" ] ) diff --git a/pkgs/development/compilers/zulu/8.nix b/pkgs/development/compilers/zulu/8.nix index 03a6b1c211c4..fff0903db91c 100644 --- a/pkgs/development/compilers/zulu/8.nix +++ b/pkgs/development/compilers/zulu/8.nix @@ -50,5 +50,5 @@ callPackage ./common.nix ( }; }; } - // builtins.removeAttrs args [ "callPackage" ] + // removeAttrs args [ "callPackage" ] ) diff --git a/pkgs/development/cuda-modules/cuda-library-samples/generic.nix b/pkgs/development/cuda-modules/cuda-library-samples/generic.nix index a433a52c7394..529716220351 100644 --- a/pkgs/development/cuda-modules/cuda-library-samples/generic.nix +++ b/pkgs/development/cuda-modules/cuda-library-samples/generic.nix @@ -75,7 +75,7 @@ in buildInputs = prevAttrs.buildInputs or [ ] ++ [ cutensor ]; cmakeFlags = prevAttrs.cmakeFlags or [ ] ++ [ - "-DCUTENSOR_EXAMPLE_BINARY_INSTALL_DIR=${builtins.placeholder "out"}/bin" + "-DCUTENSOR_EXAMPLE_BINARY_INSTALL_DIR=${placeholder "out"}/bin" ]; # CUTENSOR_ROOT is double escaped diff --git a/pkgs/development/hare-third-party/hare-compress/default.nix b/pkgs/development/hare-third-party/hare-compress/default.nix index d9065f3bcd2c..ce9103cddfe1 100644 --- a/pkgs/development/hare-third-party/hare-compress/default.nix +++ b/pkgs/development/hare-third-party/hare-compress/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ hareHook ]; - makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; doCheck = true; diff --git a/pkgs/development/hare-third-party/hare-ev/default.nix b/pkgs/development/hare-third-party/hare-ev/default.nix index d7a004954f96..42b6044ca49b 100644 --- a/pkgs/development/hare-third-party/hare-ev/default.nix +++ b/pkgs/development/hare-third-party/hare-ev/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation { nativeCheckInputs = [ hareHook ]; - makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; doCheck = true; diff --git a/pkgs/development/hare-third-party/hare-json/default.nix b/pkgs/development/hare-third-party/hare-json/default.nix index a96de33b914a..a1ce306c3615 100644 --- a/pkgs/development/hare-third-party/hare-json/default.nix +++ b/pkgs/development/hare-third-party/hare-json/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ hareHook ]; - makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; doCheck = true; diff --git a/pkgs/development/hare-third-party/hare-png/default.nix b/pkgs/development/hare-third-party/hare-png/default.nix index fba410eb8ffd..1eb6072dfe2e 100644 --- a/pkgs/development/hare-third-party/hare-png/default.nix +++ b/pkgs/development/hare-third-party/hare-png/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ hareHook ]; propagatedBuildInputs = [ hareThirdParty.hare-compress ]; - makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; doCheck = true; diff --git a/pkgs/development/hare-third-party/hare-ssh/default.nix b/pkgs/development/hare-third-party/hare-ssh/default.nix index bf6e043fb977..8e29c6965c58 100644 --- a/pkgs/development/hare-third-party/hare-ssh/default.nix +++ b/pkgs/development/hare-third-party/hare-ssh/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ hareHook ]; - makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; doCheck = true; diff --git a/pkgs/development/hare-third-party/hare-toml/default.nix b/pkgs/development/hare-third-party/hare-toml/default.nix index cce8f8f744ca..0002db4c2fc2 100644 --- a/pkgs/development/hare-third-party/hare-toml/default.nix +++ b/pkgs/development/hare-third-party/hare-toml/default.nix @@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: { hareHook ]; - makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; checkTarget = "check_local"; diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index f2ea85774d60..6bcc21de75d7 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -392,9 +392,9 @@ let # closePropagationFast. propagatePlainBuildInputs = drvs: - builtins.map (i: i.val) ( + map (i: i.val) ( builtins.genericClosure { - startSet = builtins.map (drv: { + startSet = map (drv: { key = drv.outPath; val = drv; }) (builtins.filter propagateValue drvs); @@ -784,7 +784,7 @@ lib.fix ( checkFlagsArray+=( "--show-details=streaming" "--test-wrapper=${testWrapperScript}" - ${lib.escapeShellArgs (builtins.map (opt: "--test-option=${opt}") testFlags)} + ${lib.escapeShellArgs (map (opt: "--test-option=${opt}") testFlags)} ) export NIX_GHC_PACKAGE_PATH_FOR_TEST="''${NIX_GHC_PACKAGE_PATH_FOR_TEST:-$packageConfDir:}" ${setupCommand} test ${testTargetsString} $checkFlags ''${checkFlagsArray:+"''${checkFlagsArray[@]}"} diff --git a/pkgs/development/haskell-modules/hoogle.nix b/pkgs/development/haskell-modules/hoogle.nix index 1ec268e78c36..fb5d8bcb7dae 100644 --- a/pkgs/development/haskell-modules/hoogle.nix +++ b/pkgs/development/haskell-modules/hoogle.nix @@ -87,7 +87,7 @@ buildPackages.stdenv.mkDerivation (finalAttrs: { '') ( lib.filter (el: el.haddockDir != null) ( - builtins.map (p: { + map (p: { haddockDir = if p ? haddockDir then p.haddockDir p else null; name = p.pname; }) docPackages diff --git a/pkgs/development/haskell-modules/lib/compose.nix b/pkgs/development/haskell-modules/lib/compose.nix index 30cac6779ff7..220cb49f3d91 100644 --- a/pkgs/development/haskell-modules/lib/compose.nix +++ b/pkgs/development/haskell-modules/lib/compose.nix @@ -662,9 +662,9 @@ rec { # closePropagationFast. propagatedPlainBuildInputs = drvs: - builtins.map (i: i.val) ( + map (i: i.val) ( builtins.genericClosure { - startSet = builtins.map (drv: { + startSet = map (drv: { key = drv.outPath; val = drv; }) drvs; diff --git a/pkgs/development/haskell-modules/make-package-set.nix b/pkgs/development/haskell-modules/make-package-set.nix index 0d936b21f41d..01d434a658ae 100644 --- a/pkgs/development/haskell-modules/make-package-set.nix +++ b/pkgs/development/haskell-modules/make-package-set.nix @@ -351,7 +351,7 @@ package-set { inherit pkgs lib callPackage; } self developPackage = { root, - name ? lib.optionalString (builtins.typeOf root == "path") (builtins.baseNameOf root), + name ? lib.optionalString (builtins.typeOf root == "path") (baseNameOf root), source-overrides ? { }, overrides ? self: super: { }, modifier ? drv: drv, @@ -634,7 +634,7 @@ package-set { inherit pkgs lib callPackage; } self # pkgWithCombinedDepsDevDrv :: Derivation pkgWithCombinedDepsDevDrv = pkgWithCombinedDeps.envFunc { inherit withHoogle; }; - mkDerivationArgs = builtins.removeAttrs args [ + mkDerivationArgs = removeAttrs args [ "genericBuilderArgsModifier" "packages" "withHoogle" diff --git a/pkgs/development/haskell-modules/with-packages-wrapper.nix b/pkgs/development/haskell-modules/with-packages-wrapper.nix index aba7c109a6b3..f95ca4b2e717 100644 --- a/pkgs/development/haskell-modules/with-packages-wrapper.nix +++ b/pkgs/development/haskell-modules/with-packages-wrapper.nix @@ -63,7 +63,7 @@ let docDir = "$out/share/doc/ghc/html"; packageCfgDir = "${libDir}/package.conf.d"; paths = lib.concatLists ( - builtins.map (pkg: [ pkg ] ++ lib.optionals installDocumentation [ (lib.getOutput "doc" pkg) ]) ( + map (pkg: [ pkg ] ++ lib.optionals installDocumentation [ (lib.getOutput "doc" pkg) ]) ( lib.filter (x: x ? isHaskellLibrary) (lib.closePropagation packages) ) ); diff --git a/pkgs/development/idris-modules/build-idris-package.nix b/pkgs/development/idris-modules/build-idris-package.nix index 01e567769575..f50997fbf337 100644 --- a/pkgs/development/idris-modules/build-idris-package.nix +++ b/pkgs/development/idris-modules/build-idris-package.nix @@ -26,7 +26,7 @@ let allIdrisDeps = idrisDeps ++ lib.optional (!noPrelude) prelude ++ lib.optional (!noBase) base; idris-with-packages = with-packages allIdrisDeps; newAttrs = - builtins.removeAttrs attrs [ + removeAttrs attrs [ "idrisDeps" "noPrelude" "noBase" diff --git a/pkgs/development/interpreters/clisp/default.nix b/pkgs/development/interpreters/clisp/default.nix index b3e8b339c47c..7b2ef292fc42 100644 --- a/pkgs/development/interpreters/clisp/default.nix +++ b/pkgs/development/interpreters/clisp/default.nix @@ -113,7 +113,7 @@ stdenv.mkDerivation { ++ lib.optional (ffcallAvailable && (libffi != null)) "--with-dynamic-ffi" ++ lib.optional ffcallAvailable "--with-ffcall" ++ lib.optional (!ffcallAvailable) "--without-ffcall" - ++ builtins.map (x: " --with-module=" + x) withModules + ++ map (x: " --with-module=" + x) withModules ++ lib.optional threadSupport "--with-threads=POSIX_THREADS"; preBuild = '' diff --git a/pkgs/development/interpreters/elixir/generic-builder.nix b/pkgs/development/interpreters/elixir/generic-builder.nix index aab69c1db2dc..09a1eb96ea84 100644 --- a/pkgs/development/interpreters/elixir/generic-builder.nix +++ b/pkgs/development/interpreters/elixir/generic-builder.nix @@ -52,7 +52,7 @@ let See https://hexdocs.pm/elixir/${version}/compatibility-and-deprecations.html ''; - maxShiftMajor = builtins.toString ((toInt (versions.major maximumOTPVersion)) + 1); + maxShiftMajor = toString ((toInt (versions.major maximumOTPVersion)) + 1); maxAssert = if (maximumOTPVersion == null) then true diff --git a/pkgs/development/interpreters/octave/build-octave-package.nix b/pkgs/development/interpreters/octave/build-octave-package.nix index 507b26931473..66bab3c03b14 100644 --- a/pkgs/development/interpreters/octave/build-octave-package.nix +++ b/pkgs/development/interpreters/octave/build-octave-package.nix @@ -72,7 +72,7 @@ let # This used to mean that if a package defined extra nativeBuildInputs, it # would override the ones for building an Octave package (the hook and Octave # itself, causing everything to fail. - attrs' = builtins.removeAttrs attrs [ + attrs' = removeAttrs attrs [ "nativeBuildInputs" "passthru" ]; diff --git a/pkgs/development/interpreters/php/generic.nix b/pkgs/development/interpreters/php/generic.nix index 34ace067ea6c..0279576ce299 100644 --- a/pkgs/development/interpreters/php/generic.nix +++ b/pkgs/development/interpreters/php/generic.nix @@ -85,7 +85,7 @@ let }@innerArgs: let allArgs = args // prevArgs // innerArgs; - filteredArgs = builtins.removeAttrs allArgs [ + filteredArgs = removeAttrs allArgs [ "extensions" "extraConfig" ]; diff --git a/pkgs/development/interpreters/python/conda/default.nix b/pkgs/development/interpreters/python/conda/default.nix index a3c3cd30ceb8..06421ff9b63a 100644 --- a/pkgs/development/interpreters/python/conda/default.nix +++ b/pkgs/development/interpreters/python/conda/default.nix @@ -4,7 +4,7 @@ # List of libraries that are needed for conda binary packages. # When installing a conda binary package, just extend # the `buildInputs` with `condaAutopatchLibs`. - condaPatchelfLibs = builtins.map (p: p.lib or p) ( + condaPatchelfLibs = map (p: p.lib or p) ( [ pkgs.alsa-lib pkgs.cups diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 0b2a3e1a59d8..47c372fbd3b6 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -403,7 +403,7 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-kpXoIHlz53+0FAm/fK99ZBdNUg0u13erOr1XP2FSkQY="; }; in - (builtins.map (f: "${mingw-patch}/${f}") [ + (map (f: "${mingw-patch}/${f}") [ # The other patches in that repo are already applied to 3.11.10 "mingw-python3_distutils.patch" "mingw-python3_frozenmain.patch" diff --git a/pkgs/development/interpreters/python/python2/mk-python-derivation.nix b/pkgs/development/interpreters/python/python2/mk-python-derivation.nix index 5fd2c6e91dad..caaed105da48 100644 --- a/pkgs/development/interpreters/python/python2/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/python2/mk-python-derivation.nix @@ -171,12 +171,12 @@ let checkDrv = drv: if (isPythonModule drv) && (isMismatchedPython drv) then throwMismatch drv else drv; in - inputs: builtins.map (checkDrv) inputs; + inputs: map (checkDrv) inputs; # Keep extra attributes from `attrs`, e.g., `patchPhase', etc. self = toPythonModule ( stdenv.mkDerivation ( - (builtins.removeAttrs attrs [ + (removeAttrs attrs [ "disabled" "checkPhase" "checkInputs" diff --git a/pkgs/development/interpreters/ruby/ruby-version.nix b/pkgs/development/interpreters/ruby/ruby-version.nix index 8b8bebc9ec42..68db535d5857 100644 --- a/pkgs/development/interpreters/ruby/ruby-version.nix +++ b/pkgs/development/interpreters/ruby/ruby-version.nix @@ -76,7 +76,7 @@ let else base; - # Implements the builtins.toString interface. + # Implements the toString interface. __toString = self: self.majMinTiny diff --git a/pkgs/development/interpreters/tcl/mk-tcl-derivation.nix b/pkgs/development/interpreters/tcl/mk-tcl-derivation.nix index 7a842ffd79a7..aae8369cab20 100644 --- a/pkgs/development/interpreters/tcl/mk-tcl-derivation.nix +++ b/pkgs/development/interpreters/tcl/mk-tcl-derivation.nix @@ -41,7 +41,7 @@ let self = ( stdenv.mkDerivation ( - (builtins.removeAttrs attrs [ + (removeAttrs attrs [ "addTclConfigureFlags" "checkPhase" "checkInputs" diff --git a/pkgs/development/libraries/astal/buildAstalModule.nix b/pkgs/development/libraries/astal/buildAstalModule.nix index 9436d6b30ad0..ff945e9d3d9f 100644 --- a/pkgs/development/libraries/astal/buildAstalModule.nix +++ b/pkgs/development/libraries/astal/buildAstalModule.nix @@ -15,7 +15,7 @@ python3, }: let - cleanArgs = lib.flip builtins.removeAttrs [ + cleanArgs = lib.flip removeAttrs [ "name" "sourceRoot" "nativeBuildInputs" diff --git a/pkgs/development/libraries/glibc/locales.nix b/pkgs/development/libraries/glibc/locales.nix index d47af97f191f..bd61f72fc28e 100644 --- a/pkgs/development/libraries/glibc/locales.nix +++ b/pkgs/development/libraries/glibc/locales.nix @@ -83,7 +83,7 @@ makeFlags = (previousAttrs.makeFlags or [ ]) ++ [ "localedata/install-locales" - "localedir=${builtins.placeholder "out"}/lib/locale" + "localedir=${placeholder "out"}/lib/locale" ]; installPhase = '' diff --git a/pkgs/development/libraries/gobject-introspection/wrapper.nix b/pkgs/development/libraries/gobject-introspection/wrapper.nix index 3e83fd7eba50..67ad4ff31d6a 100644 --- a/pkgs/development/libraries/gobject-introspection/wrapper.nix +++ b/pkgs/development/libraries/gobject-introspection/wrapper.nix @@ -16,13 +16,13 @@ let # ensure that `.override` works - args = builtins.removeAttrs _args [ + args = removeAttrs _args [ "buildPackages" "targetPackages" "gobject-introspection-unwrapped" ]; # passing this stdenv to `targetPackages...` breaks due to splicing not working in `.override`` - argsForTarget = builtins.removeAttrs args [ "stdenv" ]; + argsForTarget = removeAttrs args [ "stdenv" ]; overriddenUnwrappedGir = gobject-introspection-unwrapped.override args; # if we have targetPackages.gobject-introspection then propagate that diff --git a/pkgs/development/libraries/kerberos/krb5.nix b/pkgs/development/libraries/kerberos/krb5.nix index 514fe0155826..5d124432e4f8 100644 --- a/pkgs/development/libraries/kerberos/krb5.nix +++ b/pkgs/development/libraries/kerberos/krb5.nix @@ -51,7 +51,7 @@ stdenv.mkDerivation rec { # While "out" acts as the bin output, most packages only care about the lib output. # We set prefix such that all the pkg-config configuration stays inside the dev and lib outputs. # stdenv will take care of overriding bindir, sbindir, etc. such that "out" contains the binaries. - prefix = builtins.placeholder "lib"; + prefix = placeholder "lib"; env = lib.optionalAttrs stdenv.hostPlatform.isStatic { NIX_CFLAGS_COMPILE = "-fcommon"; diff --git a/pkgs/development/libraries/libint/default.nix b/pkgs/development/libraries/libint/default.nix index cd8bc263b33a..5dbd4e287070 100644 --- a/pkgs/development/libraries/libint/default.nix +++ b/pkgs/development/libraries/libint/default.nix @@ -75,29 +75,29 @@ assert (eri3Deriv >= 0 && eri3Deriv <= 4); # Ensure valid arguments for generated angular momenta in ERI derivatives are used. assert ( builtins.length eriAm == eriDeriv + 1 - && builtins.foldl' (a: b: a && b) true (builtins.map (a: a <= maxAm && a >= 0) eriAm) + && builtins.foldl' (a: b: a && b) true (map (a: a <= maxAm && a >= 0) eriAm) ); assert ( builtins.length eri3Am == eriDeriv + 1 - && builtins.foldl' (a: b: a && b) true (builtins.map (a: a <= maxAm && a >= 0) eri3Am) + && builtins.foldl' (a: b: a && b) true (map (a: a <= maxAm && a >= 0) eri3Am) ); assert ( builtins.length eri2Am == eriDeriv + 1 - && builtins.foldl' (a: b: a && b) true (builtins.map (a: a <= maxAm && a >= 0) eri2Am) + && builtins.foldl' (a: b: a && b) true (map (a: a <= maxAm && a >= 0) eri2Am) ); # Ensure valid arguments for generated angular momenta in optimised ERI derivatives are used. assert ( builtins.length eriOptAm == eriDeriv + 1 - && builtins.foldl' (a: b: a && b) true (builtins.map (a: a <= maxAm && a >= 0) eriOptAm) + && builtins.foldl' (a: b: a && b) true (map (a: a <= maxAm && a >= 0) eriOptAm) ); assert ( builtins.length eri3OptAm == eriDeriv + 1 - && builtins.foldl' (a: b: a && b) true (builtins.map (a: a <= maxAm && a >= 0) eri3OptAm) + && builtins.foldl' (a: b: a && b) true (map (a: a <= maxAm && a >= 0) eri3OptAm) ); assert ( builtins.length eri2OptAm == eriDeriv + 1 - && builtins.foldl' (a: b: a && b) true (builtins.map (a: a <= maxAm && a >= 0) eri2OptAm) + && builtins.foldl' (a: b: a && b) true (map (a: a <= maxAm && a >= 0) eri2OptAm) ); # Ensure a valid derivative order for one-electron integrals @@ -185,26 +185,26 @@ let ]; configureFlags = [ - "--with-max-am=${builtins.toString maxAm}" - "--with-eri-max-am=${lib.concatStringsSep "," (builtins.map builtins.toString eriAm)}" - "--with-eri3-max-am=${lib.concatStringsSep "," (builtins.map builtins.toString eri3Am)}" - "--with-eri2-max-am=${lib.concatStringsSep "," (builtins.map builtins.toString eri2Am)}" - "--with-eri-opt-am=${lib.concatStringsSep "," (builtins.map builtins.toString eriOptAm)}" - "--with-eri3-opt-am=${lib.concatStringsSep "," (builtins.map builtins.toString eri3OptAm)}" - "--with-eri2-opt-am=${lib.concatStringsSep "," (builtins.map builtins.toString eri2OptAm)}" + "--with-max-am=${toString maxAm}" + "--with-eri-max-am=${lib.concatStringsSep "," (map toString eriAm)}" + "--with-eri3-max-am=${lib.concatStringsSep "," (map toString eri3Am)}" + "--with-eri2-max-am=${lib.concatStringsSep "," (map toString eri2Am)}" + "--with-eri-opt-am=${lib.concatStringsSep "," (map toString eriOptAm)}" + "--with-eri3-opt-am=${lib.concatStringsSep "," (map toString eri3OptAm)}" + "--with-eri2-opt-am=${lib.concatStringsSep "," (map toString eri2OptAm)}" "--with-cartgauss-ordering=${cartGaussOrd}" "--with-shgauss-ordering=${shGaussOrd}" "--with-shell-set=${shellSet}" ] ++ lib.optional enableFMA "--enable-fma" - ++ lib.optional (eriDeriv > 0) "--enable-eri=${builtins.toString eriDeriv}" - ++ lib.optional (eri2Deriv > 0) "--enable-eri2=${builtins.toString eri2Deriv}" - ++ lib.optional (eri3Deriv > 0) "--enable-eri3=${builtins.toString eri3Deriv}" + ++ lib.optional (eriDeriv > 0) "--enable-eri=${toString eriDeriv}" + ++ lib.optional (eri2Deriv > 0) "--enable-eri2=${toString eri2Deriv}" + ++ lib.optional (eri3Deriv > 0) "--enable-eri3=${toString eri3Deriv}" ++ lib.optionals enableOneBody [ - "--enable-1body=${builtins.toString oneBodyDerivOrd}" + "--enable-1body=${toString oneBodyDerivOrd}" "--enable-1body-property-derivs" ] - ++ lib.optional (multipoleOrd > 0) "--with-multipole-max-order=${builtins.toString multipoleOrd}" + ++ lib.optional (multipoleOrd > 0) "--with-multipole-max-order=${toString multipoleOrd}" ++ lib.optional enableGeneric "--enable-generic" ++ lib.optional enableContracted "--enable-contracted-ints" ++ lib.optional eri3PureSh "--enable-eri3-pure-sh" diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index 827c16e524b4..f548668644bf 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/pkgs/development/libraries/mesa/default.nix @@ -120,8 +120,8 @@ let toCommand = dep: "ln -s ${dep} $out/${dep.pname}-${dep.version}.tar.gz"; packageCacheCommand = lib.pipe rustDeps [ - (builtins.map fetchDep) - (builtins.map toCommand) + (map fetchDep) + (map toCommand) (lib.concatStringsSep "\n") ]; diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index d23a732a4068..760af40f0ffb 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -193,9 +193,7 @@ let # starting with 3.5 its nice to speed things up for free ++ lib.optional stdenv.hostPlatform.isx86_64 "enable-ec_nistp_64_gcc_128" # useful to set e.g. 256 bit security level with setting this to 5 - ++ lib.optional ( - securityLevel != null - ) "-DOPENSSL_TLS_SECURITY_LEVEL=${builtins.toString securityLevel}" + ++ lib.optional (securityLevel != null) "-DOPENSSL_TLS_SECURITY_LEVEL=${toString securityLevel}" ++ lib.optional enableMD2 "enable-md2" ++ lib.optional enableSSL2 "enable-ssl2" ++ lib.optional enableSSL3 "enable-ssl3" diff --git a/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix b/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix index 4cdc80a4090a..26423ac73e7c 100644 --- a/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix +++ b/pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix @@ -33,7 +33,7 @@ qtModule { # store paths and disallows saving caches of bare qml files in the store. (replaceVars ./invalidate-caches-from-mismatched-store-paths.patch { nixStore = builtins.storeDir; - nixStoreLength = builtins.toString ((builtins.stringLength builtins.storeDir) + 1); # trailing / + nixStoreLength = toString ((builtins.stringLength builtins.storeDir) + 1); # trailing / }) # add version specific QML import path ./use-versioned-import-path.patch @@ -41,7 +41,7 @@ qtModule { preConfigure = let - storePrefixLen = builtins.toString ((builtins.stringLength builtins.storeDir) + 1); + storePrefixLen = toString ((builtins.stringLength builtins.storeDir) + 1); in '' # "NIX:" is reserved for saved qmlc files in patch 0001, "QTDHASH:" takes the place diff --git a/pkgs/development/lua-modules/lib.nix b/pkgs/development/lua-modules/lib.nix index d1482153ffea..7b6598f6ee21 100644 --- a/pkgs/development/lua-modules/lib.nix +++ b/pkgs/development/lua-modules/lib.nix @@ -134,7 +134,7 @@ rec { # example externalDeps': [ { name = "CRYPTO"; dep = pkgs.openssl; } ] externalDeps' = lib.filter (dep: !lib.isDerivation dep) externalDeps; - externalDepsDirs = map (x: builtins.toString x) (lib.filter (lib.isDerivation) externalDeps); + externalDepsDirs = map (x: toString x) (lib.filter (lib.isDerivation) externalDeps); generatedConfig = ( { diff --git a/pkgs/development/misc/resholve/resholve-utils.nix b/pkgs/development/misc/resholve/resholve-utils.nix index 141d6bb79b47..cdcb11219875 100644 --- a/pkgs/development/misc/resholve/resholve-utils.nix +++ b/pkgs/development/misc/resholve/resholve-utils.nix @@ -27,7 +27,7 @@ rec { phraseDirective = solution: env: name: val: if builtins.isInt val then - builtins.toString val + toString val else if builtins.isString val then name else if true == val then diff --git a/pkgs/development/mobile/androidenv/compose-android-packages.nix b/pkgs/development/mobile/androidenv/compose-android-packages.nix index 189c85f3cd8b..a58e84ceb76f 100644 --- a/pkgs/development/mobile/androidenv/compose-android-packages.nix +++ b/pkgs/development/mobile/androidenv/compose-android-packages.nix @@ -255,16 +255,14 @@ let mkLicenseTexts = licenseNames: lib.lists.flatten ( - builtins.map ( - licenseName: - builtins.map (licenseText: "--- ${licenseName} ---\n${licenseText}") (mkLicenses licenseName) + map ( + licenseName: map (licenseText: "--- ${licenseName} ---\n${licenseText}") (mkLicenses licenseName) ) licenseNames ); # Converts a license name to a list of license hashes. mkLicenseHashes = - licenseName: - builtins.map (licenseText: builtins.hashString "sha1" licenseText) (mkLicenses licenseName); + licenseName: map (licenseText: builtins.hashString "sha1" licenseText) (mkLicenses licenseName); # The list of all license names we're accepting. Put android-sdk-license there # by default. diff --git a/pkgs/development/mobile/androidenv/examples/shell-with-emulator.nix b/pkgs/development/mobile/androidenv/examples/shell-with-emulator.nix index eb5a48681931..fbb52d65a23b 100644 --- a/pkgs/development/mobile/androidenv/examples/shell-with-emulator.nix +++ b/pkgs/development/mobile/androidenv/examples/shell-with-emulator.nix @@ -4,7 +4,7 @@ # If you copy this example out of nixpkgs, use these lines instead of the next. # This example pins nixpkgs: https://nix.dev/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.html /* - nixpkgsSource ? (builtins.fetchTarball { + nixpkgsSource ? (fetchTarball { name = "nixpkgs-20.09"; url = "https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz"; sha256 = "1wg61h4gndm3vcprdcg7rc4s1v3jkm5xd7lw8r2f67w502y94gcy"; diff --git a/pkgs/development/mobile/androidenv/examples/shell-without-emulator.nix b/pkgs/development/mobile/androidenv/examples/shell-without-emulator.nix index 3af80459b347..ead2c48aaf26 100644 --- a/pkgs/development/mobile/androidenv/examples/shell-without-emulator.nix +++ b/pkgs/development/mobile/androidenv/examples/shell-without-emulator.nix @@ -4,7 +4,7 @@ # If you copy this example out of nixpkgs, use these lines instead of the next. # This example pins nixpkgs: https://nix.dev/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.html /* - nixpkgsSource ? (builtins.fetchTarball { + nixpkgsSource ? (fetchTarball { name = "nixpkgs-20.09"; url = "https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz"; sha256 = "1wg61h4gndm3vcprdcg7rc4s1v3jkm5xd7lw8r2f67w502y94gcy"; diff --git a/pkgs/development/mobile/androidenv/examples/shell.nix b/pkgs/development/mobile/androidenv/examples/shell.nix index ff745ec1d20d..7fc69c3c1ca8 100644 --- a/pkgs/development/mobile/androidenv/examples/shell.nix +++ b/pkgs/development/mobile/androidenv/examples/shell.nix @@ -2,7 +2,7 @@ # If you copy this example out of nixpkgs, use these lines instead of the next. # This example pins nixpkgs: https://nix.dev/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.html /* - nixpkgsSource ? (builtins.fetchTarball { + nixpkgsSource ? (fetchTarball { name = "nixpkgs-20.09"; url = "https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz"; sha256 = "1wg61h4gndm3vcprdcg7rc4s1v3jkm5xd7lw8r2f67w502y94gcy"; diff --git a/pkgs/development/node-packages/overrides.nix b/pkgs/development/node-packages/overrides.nix index db7858ecc8f8..dfc2f74ac83e 100644 --- a/pkgs/development/node-packages/overrides.nix +++ b/pkgs/development/node-packages/overrides.nix @@ -168,7 +168,7 @@ final: prev: { pulp = prev.pulp.override { # tries to install purescript - npmFlags = builtins.toString [ "--ignore-scripts" ]; + npmFlags = toString [ "--ignore-scripts" ]; nativeBuildInputs = [ pkgs.buildPackages.makeWrapper ]; postInstall = '' diff --git a/pkgs/development/ocaml-modules/atdgen/default.nix b/pkgs/development/ocaml-modules/atdgen/default.nix index 555e336dcfc6..7cd1a3c51013 100644 --- a/pkgs/development/ocaml-modules/atdgen/default.nix +++ b/pkgs/development/ocaml-modules/atdgen/default.nix @@ -31,7 +31,7 @@ buildDunePackage { atdgen-codec-runtime ]; - meta = (builtins.removeAttrs atd.meta [ "mainProgram" ]) // { + meta = (removeAttrs atd.meta [ "mainProgram" ]) // { description = "Generates efficient JSON serializers, deserializers and validators"; }; } diff --git a/pkgs/development/ocaml-modules/ocaml-freestanding/default.nix b/pkgs/development/ocaml-modules/ocaml-freestanding/default.nix index 1c69c85ab4e2..5bc2a9bfe69a 100644 --- a/pkgs/development/ocaml-modules/ocaml-freestanding/default.nix +++ b/pkgs/development/ocaml-modules/ocaml-freestanding/default.nix @@ -17,7 +17,7 @@ let in if lib.versionOlder ocaml.version "4.08" then - builtins.throw "${pname} is not available for OCaml ${ocaml.version}" + throw "${pname} is not available for OCaml ${ocaml.version}" else stdenv.mkDerivation rec { @@ -70,7 +70,7 @@ else license = licenses.mit; maintainers = [ maintainers.sternenseemann ]; homepage = "https://github.com/mirage/ocaml-freestanding"; - platforms = builtins.map ({ arch, os }: "${arch}-${os}") ( + platforms = map ({ arch, os }: "${arch}-${os}") ( cartesianProduct { arch = [ "aarch64" diff --git a/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix b/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix index b6398c4e8470..2c30727e881b 100644 --- a/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix +++ b/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix @@ -18,7 +18,7 @@ buildDunePackage { doCheck = true; checkInputs = [ ounit2 ]; - meta = (builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ]) // { + meta = (removeAttrs ocaml_gettext.meta [ "mainProgram" ]) // { description = "Internationalization library using camomile (i18n)"; }; diff --git a/pkgs/development/ocaml-modules/ocaml-gettext/stub.nix b/pkgs/development/ocaml-modules/ocaml-gettext/stub.nix index 29cd032dd4b5..c046d5f2c0ea 100644 --- a/pkgs/development/ocaml-modules/ocaml-gettext/stub.nix +++ b/pkgs/development/ocaml-modules/ocaml-gettext/stub.nix @@ -18,5 +18,5 @@ buildDunePackage { doCheck = true; checkInputs = [ ounit2 ]; - meta = builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ]; + meta = removeAttrs ocaml_gettext.meta [ "mainProgram" ]; } diff --git a/pkgs/development/ocaml-modules/uucp/default.nix b/pkgs/development/ocaml-modules/uucp/default.nix index eb98b5c4337e..638342679241 100644 --- a/pkgs/development/ocaml-modules/uucp/default.nix +++ b/pkgs/development/ocaml-modules/uucp/default.nix @@ -21,7 +21,7 @@ let in if lib.versionOlder ocaml.version minimalOCamlVersion then - builtins.throw "${pname} needs at least OCaml ${minimalOCamlVersion}" + throw "${pname} needs at least OCaml ${minimalOCamlVersion}" else stdenv.mkDerivation { diff --git a/pkgs/development/php-packages/relay/default.nix b/pkgs/development/php-packages/relay/default.nix index f60dce3935df..fa2e7544a1ec 100644 --- a/pkgs/development/php-packages/relay/default.nix +++ b/pkgs/development/php-packages/relay/default.nix @@ -90,10 +90,7 @@ stdenv.mkDerivation (finalAttrs: { let args = lib.strings.concatMapStrings - ( - v: - " -change ${v.name}" + " ${lib.strings.makeLibraryPath [ v.value ]}/${builtins.baseNameOf v.name}" - ) + (v: " -change ${v.name}" + " ${lib.strings.makeLibraryPath [ v.value ]}/${baseNameOf v.name}") ( with lib.attrsets; [ diff --git a/pkgs/development/python-modules/faiss/default.nix b/pkgs/development/python-modules/faiss/default.nix index 39e34a1879e8..76bb135148f8 100644 --- a/pkgs/development/python-modules/faiss/default.nix +++ b/pkgs/development/python-modules/faiss/default.nix @@ -47,7 +47,7 @@ buildPythonPackage { }; meta = lib.pipe (faiss-build.meta or { }) [ - (lib.flip builtins.removeAttrs [ "mainProgram" ]) + (lib.flip removeAttrs [ "mainProgram" ]) (m: m // { description = "Bindings for faiss, the similarity search library"; }) ]; } diff --git a/pkgs/development/python-modules/fast-histogram/default.nix b/pkgs/development/python-modules/fast-histogram/default.nix index c894dd3222d0..83124c0d62b3 100644 --- a/pkgs/development/python-modules/fast-histogram/default.nix +++ b/pkgs/development/python-modules/fast-histogram/default.nix @@ -39,7 +39,7 @@ buildPythonPackage rec { pytestCheckHook ]; - enabledTestPaths = [ "${builtins.placeholder "out"}/${python.sitePackages}" ]; + enabledTestPaths = [ "${placeholder "out"}/${python.sitePackages}" ]; pythonImportsCheck = [ "fast_histogram" ]; diff --git a/pkgs/development/python-modules/fontpens/default.nix b/pkgs/development/python-modules/fontpens/default.nix index f9e293d4a6ba..79c171c9bbe1 100644 --- a/pkgs/development/python-modules/fontpens/default.nix +++ b/pkgs/development/python-modules/fontpens/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "fontPens" ] - ++ (builtins.map (s: "fontPens." + s) [ + ++ (map (s: "fontPens." + s) [ "angledMarginPen" "digestPointPen" "flattenPen" diff --git a/pkgs/development/python-modules/hy/default.nix b/pkgs/development/python-modules/hy/default.nix index 8659970f32d1..75fd66a2c678 100644 --- a/pkgs/development/python-modules/hy/default.nix +++ b/pkgs/development/python-modules/hy/default.nix @@ -52,7 +52,7 @@ buildPythonPackage rec { python-packages: (python.withPackages (ps: (python-packages ps) ++ [ ps.hy ])).overrideAttrs (old: { name = "${hy.name}-env"; - meta = lib.mergeAttrs (builtins.removeAttrs hy.meta [ "license" ]) { mainProgram = "hy"; }; + meta = lib.mergeAttrs (removeAttrs hy.meta [ "license" ]) { mainProgram = "hy"; }; }); }; diff --git a/pkgs/development/python-modules/invisible-watermark/default.nix b/pkgs/development/python-modules/invisible-watermark/default.nix index 212bbbc44ae5..28ed8400ec12 100644 --- a/pkgs/development/python-modules/invisible-watermark/default.nix +++ b/pkgs/development/python-modules/invisible-watermark/default.nix @@ -86,7 +86,7 @@ buildPythonPackage rec { ; }; }; - allTests = builtins.map createTest testCases; + allTests = map createTest testCases; in (lib.attrsets.mergeAttrsList allTests) // { diff --git a/pkgs/development/python-modules/scikit-image/default.nix b/pkgs/development/python-modules/scikit-image/default.nix index 2615ca14450e..8a3c75b815be 100644 --- a/pkgs/development/python-modules/scikit-image/default.nix +++ b/pkgs/development/python-modules/scikit-image/default.nix @@ -32,7 +32,7 @@ }: let - installedPackageRoot = "${builtins.placeholder "out"}/${python.sitePackages}"; + installedPackageRoot = "${placeholder "out"}/${python.sitePackages}"; self = buildPythonPackage rec { pname = "scikit-image"; version = "0.25.2"; diff --git a/pkgs/development/python-modules/sentencepiece/default.nix b/pkgs/development/python-modules/sentencepiece/default.nix index 211d753d1c94..c3ca94659e24 100644 --- a/pkgs/development/python-modules/sentencepiece/default.nix +++ b/pkgs/development/python-modules/sentencepiece/default.nix @@ -16,5 +16,5 @@ buildPythonPackage rec { sourceRoot = "${src.name}/python"; # sentencepiece installs 'bin' output. - meta = builtins.removeAttrs sentencepiece.meta [ "outputsToInstall" ]; + meta = removeAttrs sentencepiece.meta [ "outputsToInstall" ]; } diff --git a/pkgs/development/python-modules/uv/default.nix b/pkgs/development/python-modules/uv/default.nix index a89e43451ec8..662ffffb3f65 100644 --- a/pkgs/development/python-modules/uv/default.nix +++ b/pkgs/development/python-modules/uv/default.nix @@ -22,7 +22,7 @@ buildPythonPackage { substituteInPlace python/uv/_find_uv.py \ --replace-fail \ 'sysconfig.get_path("scripts", scheme=_user_scheme()),' \ - 'sysconfig.get_path("scripts", scheme=_user_scheme()), "${builtins.baseNameOf (lib.getExe uv)}",' + 'sysconfig.get_path("scripts", scheme=_user_scheme()), "${baseNameOf (lib.getExe uv)}",' '' # Sidestep the maturin build system in favour of reusing the binary already built by nixpkgs, # to avoid rebuilding the uv binary for every active python package set. diff --git a/pkgs/development/python-modules/warp-lang/default.nix b/pkgs/development/python-modules/warp-lang/default.nix index 8740e7ec96c1..cd521021b7f8 100644 --- a/pkgs/development/python-modules/warp-lang/default.nix +++ b/pkgs/development/python-modules/warp-lang/default.nix @@ -35,7 +35,7 @@ assert libmathdxSupport -> cudaSupport; let effectiveStdenv = if cudaSupport then cudaPackages.backendStdenv else args.stdenv; - stdenv = builtins.throw "Use effectiveStdenv instead of stdenv directly, as it may be replaced by cudaPackages.backendStdenv"; + stdenv = throw "Use effectiveStdenv instead of stdenv directly, as it may be replaced by cudaPackages.backendStdenv"; version = "1.9.0"; diff --git a/pkgs/development/rocm-modules/6/default.nix b/pkgs/development/rocm-modules/6/default.nix index 81954e88bb25..043bf9f8dd18 100644 --- a/pkgs/development/rocm-modules/6/default.nix +++ b/pkgs/development/rocm-modules/6/default.nix @@ -478,7 +478,7 @@ let in outer // builtins.listToAttrs ( - builtins.map (arch: { + map (arch: { name = arch; value = scopeForArches [ arch ]; }) outer.clr.gpuTargets diff --git a/pkgs/development/rocm-modules/6/llvm/default.nix b/pkgs/development/rocm-modules/6/llvm/default.nix index c8fb82fa0235..b45fe071041e 100644 --- a/pkgs/development/rocm-modules/6/llvm/default.nix +++ b/pkgs/development/rocm-modules/6/llvm/default.nix @@ -161,8 +161,8 @@ let findClangNostdlibincPatch = x: ( - (lib.strings.hasSuffix "add-nostdlibinc-flag.patch" (builtins.baseNameOf x)) - || (lib.strings.hasSuffix "clang-at-least-16-LLVMgold-path.patch" (builtins.baseNameOf x)) + (lib.strings.hasSuffix "add-nostdlibinc-flag.patch" (baseNameOf x)) + || (lib.strings.hasSuffix "clang-at-least-16-LLVMgold-path.patch" (baseNameOf x)) ); llvmTargetsFlag = "-DLLVM_TARGETS_TO_BUILD=AMDGPU;${ { @@ -251,7 +251,7 @@ rec { }).overrideAttrs (old: { patches = builtins.filter ( - x: !(lib.strings.hasSuffix "more-openbsd-program-headers.patch" (builtins.baseNameOf x)) + x: !(lib.strings.hasSuffix "more-openbsd-program-headers.patch" (baseNameOf x)) ) old.patches; dontStrip = profilableStdenv; nativeBuildInputs = old.nativeBuildInputs ++ [ diff --git a/pkgs/development/ruby-modules/gem/default.nix b/pkgs/development/ruby-modules/gem/default.nix index 0e3c1c4187f2..10ea06c415bd 100644 --- a/pkgs/development/ruby-modules/gem/default.nix +++ b/pkgs/development/ruby-modules/gem/default.nix @@ -107,7 +107,7 @@ lib.makeOverridable ( in stdenv.mkDerivation ( - (builtins.removeAttrs attrs [ "source" ]) + (removeAttrs attrs [ "source" ]) // { inherit ruby; inherit dontBuild; diff --git a/pkgs/development/tools/analysis/binlore/default.nix b/pkgs/development/tools/analysis/binlore/default.nix index 5033a73c515e..ceb81cd2d1b8 100644 --- a/pkgs/development/tools/analysis/binlore/default.nix +++ b/pkgs/development/tools/analysis/binlore/default.nix @@ -136,7 +136,7 @@ rec { + # append lore from package's $out and drv.binlore.${drv.outputName} (last entry wins) '' - for lore_type in ${builtins.toString lore.types}; do + for lore_type in ${toString lore.types}; do if [[ -f "${drv}/nix-support/$lore_type" ]]; then cat "${drv}/nix-support/$lore_type" >> "$out/$lore_type" fi diff --git a/pkgs/development/tools/build-managers/gradle/fetch-deps.nix b/pkgs/development/tools/build-managers/gradle/fetch-deps.nix index 1474d003f70d..9bb4686072fa 100644 --- a/pkgs/development/tools/build-managers/gradle/fetch-deps.nix +++ b/pkgs/development/tools/build-managers/gradle/fetch-deps.nix @@ -26,7 +26,7 @@ in let data' = - builtins.removeAttrs + removeAttrs ( if builtins.isPath data then lib.importJSON data @@ -168,7 +168,7 @@ let sortByVersion = a: b: (builtins.compareVersions a.version b.version) < 0; sortedJarPomList = lib.sort sortByVersion jarPomList; - uniqueVersionFiles = builtins.map ({ i, x }: x) ( + uniqueVersionFiles = map ({ i, x }: x) ( builtins.filter ( { i, x }: i == 0 || (builtins.elemAt sortedJarPomList (i - 1)).version != x.version ) (lib.imap0 (i: x: { inherit i x; }) sortedJarPomList) diff --git a/pkgs/development/tools/buildah/wrapper.nix b/pkgs/development/tools/buildah/wrapper.nix index d0d43b94d82f..12fd33a51480 100644 --- a/pkgs/development/tools/buildah/wrapper.nix +++ b/pkgs/development/tools/buildah/wrapper.nix @@ -55,7 +55,7 @@ runCommand buildah-unwrapped.name preferLocalBuild = true; - meta = builtins.removeAttrs buildah-unwrapped.meta [ "outputsToInstall" ]; + meta = removeAttrs buildah-unwrapped.meta [ "outputsToInstall" ]; outputs = [ "out" diff --git a/pkgs/development/tools/haskell/ghc-settings-edit/default.nix b/pkgs/development/tools/haskell/ghc-settings-edit/default.nix index 4cd19aebcdd7..5e4395bd1396 100644 --- a/pkgs/development/tools/haskell/ghc-settings-edit/default.nix +++ b/pkgs/development/tools/haskell/ghc-settings-edit/default.nix @@ -11,7 +11,7 @@ mkDerivation { src = builtins.path { path = ./.; name = "source"; - filter = path: _: (builtins.baseNameOf path) != "default.nix"; + filter = path: _: (baseNameOf path) != "default.nix"; }; isLibrary = false; isExecutable = true; diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/default.nix b/pkgs/development/tools/ocaml/js_of_ocaml/default.nix index 24877ea7f401..95538b766105 100644 --- a/pkgs/development/tools/ocaml/js_of_ocaml/default.nix +++ b/pkgs/development/tools/ocaml/js_of_ocaml/default.nix @@ -13,5 +13,5 @@ buildDunePackage { propagatedBuildInputs = [ js_of_ocaml-compiler ]; - meta = builtins.removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ]; + meta = removeAttrs js_of_ocaml-compiler.meta [ "mainProgram" ]; } diff --git a/pkgs/development/tools/pnpm/fetch-deps/default.nix b/pkgs/development/tools/pnpm/fetch-deps/default.nix index d532c2fa43d3..91eb685f0671 100644 --- a/pkgs/development/tools/pnpm/fetch-deps/default.nix +++ b/pkgs/development/tools/pnpm/fetch-deps/default.nix @@ -31,7 +31,7 @@ in ... }@args: let - args' = builtins.removeAttrs args [ + args' = removeAttrs args [ "hash" "pname" ]; @@ -56,7 +56,7 @@ in ) true; assert (lib.throwIf (!(builtins.elem fetcherVersion supportedFetcherVersions)) - "pnpm.fetchDeps `fetcherVersion` is not set to a supported value (${lib.concatStringsSep ", " (builtins.map toString supportedFetcherVersions)}), see https://nixos.org/manual/nixpkgs/stable/#javascript-pnpm-fetcherVersion." + "pnpm.fetchDeps `fetcherVersion` is not set to a supported value (${lib.concatStringsSep ", " (map toString supportedFetcherVersions)}), see https://nixos.org/manual/nixpkgs/stable/#javascript-pnpm-fetcherVersion." ) true; stdenvNoCC.mkDerivation ( diff --git a/pkgs/development/tools/yarn2nix-moretea/default.nix b/pkgs/development/tools/yarn2nix-moretea/default.nix index dc10d2d51819..9b0aca26bbd0 100644 --- a/pkgs/development/tools/yarn2nix-moretea/default.nix +++ b/pkgs/development/tools/yarn2nix-moretea/default.nix @@ -101,7 +101,7 @@ rec { builtins.attrNames pkgConfig ); - postInstall = builtins.map ( + postInstall = map ( key: if (pkgConfig.${key} ? postInstall) then '' @@ -285,7 +285,7 @@ rec { { inherit name; value = mkYarnPackage ( - builtins.removeAttrs attrs [ "packageOverrides" ] + removeAttrs attrs [ "packageOverrides" ] // { inherit src @@ -333,8 +333,7 @@ rec { baseName = unlessNull name "${safeName}-${version}"; workspaceDependenciesTransitive = lib.unique ( - (lib.flatten (builtins.map (dep: dep.workspaceDependencies) workspaceDependencies)) - ++ workspaceDependencies + (lib.flatten (map (dep: dep.workspaceDependencies) workspaceDependencies)) ++ workspaceDependencies ); deps = mkYarnModules { @@ -387,7 +386,7 @@ rec { in stdenv.mkDerivation ( - builtins.removeAttrs attrs [ + removeAttrs attrs [ "yarnNix" "pkgConfig" "workspaceDependencies" diff --git a/pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/generateNix.js b/pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/generateNix.js index 238fb744ab19..ca03c09821d0 100644 --- a/pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/generateNix.js +++ b/pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/generateNix.js @@ -12,7 +12,7 @@ const { execFileSync } = require("child_process"); // // to // -// builtins.fetchGit { +// fetchGit { // url = "https://github.com/srghma/node-shell-quote.git"; // ref = "without_unlicenced_jsonify"; // rev = "1234commit"; @@ -26,7 +26,7 @@ const { execFileSync } = require("child_process"); // // to // -// builtins.fetchGit { +// fetchGit { // url = "https://1234user:1234pass@git.graphile.com/git/users/1234user/postgraphile-supporter.git"; // ref = "master"; // rev = "1234commit"; @@ -47,7 +47,7 @@ function prefetchgit(url, rev) { function fetchgit(fileName, url, rev, branch, builtinFetchGit) { const repo = builtinFetchGit - ? `builtins.fetchGit ({ + ? `fetchGit ({ url = "${url}"; ref = "${branch}"; rev = "${rev}"; diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index 0038bffbf2e6..e94887da7ad0 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -93,8 +93,8 @@ let '' + (lib.strings.concatStringsSep "\n" ( map (dep: '' - if ! [[ "${builtins.baseNameOf dep.url}" =~ (PyQt|pyqt) ]]; then - ln -vsf ${dep.path} "$out/${builtins.baseNameOf dep.url}" + if ! [[ "${baseNameOf dep.url}" =~ (PyQt|pyqt) ]]; then + ln -vsf ${dep.path} "$out/${baseNameOf dep.url}" fi '') pythonDeps )); diff --git a/pkgs/games/anki/with-addons.nix b/pkgs/games/anki/with-addons.nix index d47c2c16f316..f7fae980349a 100644 --- a/pkgs/games/anki/with-addons.nix +++ b/pkgs/games/anki/with-addons.nix @@ -99,7 +99,7 @@ symlinkJoin { --set ANKI_ADDONS "${anki-utils.buildAnkiAddonsDir (ankiAddons ++ defaultAddons)}" ''; - meta = builtins.removeAttrs anki.meta [ + meta = removeAttrs anki.meta [ "name" "outputsToInstall" "position" diff --git a/pkgs/games/blightmud/default.nix b/pkgs/games/blightmud/default.nix index 0af177f0448f..23595aa070c2 100644 --- a/pkgs/games/blightmud/default.nix +++ b/pkgs/games/blightmud/default.nix @@ -57,7 +57,7 @@ rustPlatform.buildRustPackage rec { ]; skipFlag = test: "--skip " + test; in - builtins.concatStringsSep " " (builtins.map skipFlag skipList); + builtins.concatStringsSep " " (map skipFlag skipList); meta = with lib; { description = "Terminal MUD client written in Rust"; diff --git a/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix b/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix index b70fb9316333..8abe6f904479 100644 --- a/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix +++ b/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix @@ -20,7 +20,7 @@ let base = if stdenv.hostPlatform.is32bit then "linux32" else "linux64"; in prefix + base; - inifile = "linux/v0.${builtins.toString dwarf-fortress.baseVersion}.${dwarf-fortress.patchVersion}${platformSlug}.ini"; + inifile = "linux/v0.${toString dwarf-fortress.baseVersion}.${dwarf-fortress.patchVersion}${platformSlug}.ini"; unsupportedVersion = lib.versionOlder dwarf-therapist.maxDfVersion dwarf-fortress.dfVersion; # Used to run dfhack to produce a Therapist ini file for the current memory map. diff --git a/pkgs/games/scummvm/games.nix b/pkgs/games/scummvm/games.nix index ed17fac29cdf..0275b50039da 100644 --- a/pkgs/games/scummvm/games.nix +++ b/pkgs/games/scummvm/games.nix @@ -48,7 +48,7 @@ let ... }@attrs: let - attrs' = builtins.removeAttrs attrs [ + attrs' = removeAttrs attrs [ "plong" "pshort" "pcode" diff --git a/pkgs/games/shattered-pixel-dungeon/generic.nix b/pkgs/games/shattered-pixel-dungeon/generic.nix index c881d994cded..39ffc40c1df3 100644 --- a/pkgs/games/shattered-pixel-dungeon/generic.nix +++ b/pkgs/games/shattered-pixel-dungeon/generic.nix @@ -22,7 +22,7 @@ }@attrs: let - cleanAttrs = builtins.removeAttrs attrs [ + cleanAttrs = removeAttrs attrs [ "lib" "stdenv" "makeWrapper" diff --git a/pkgs/kde/lib/mk-kde-derivation.nix b/pkgs/kde/lib/mk-kde-derivation.nix index 75228d1e36eb..97f989082494 100644 --- a/pkgs/kde/lib/mk-kde-derivation.nix +++ b/pkgs/kde/lib/mk-kde-derivation.nix @@ -161,7 +161,7 @@ let env.LANG = "C.UTF-8"; }; - cleanArgs = builtins.removeAttrs args [ + cleanArgs = removeAttrs args [ "extraBuildInputs" "extraNativeBuildInputs" "extraPropagatedBuildInputs" diff --git a/pkgs/misc/arm-trusted-firmware/default.nix b/pkgs/misc/arm-trusted-firmware/default.nix index 93888011ba8a..b3b43b9a78c8 100644 --- a/pkgs/misc/arm-trusted-firmware/default.nix +++ b/pkgs/misc/arm-trusted-firmware/default.nix @@ -114,7 +114,7 @@ let } // extraMeta; } - // builtins.removeAttrs args [ "extraMeta" ] + // removeAttrs args [ "extraMeta" ] ) ); diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index e7eae7c7c359..559da3d2c48d 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -137,7 +137,7 @@ let mkdir -p "$out/nix-support" ${lib.concatMapStrings (file: '' - echo "file binary-dist ${installDir}/${builtins.baseNameOf file}" >> "$out/nix-support/hydra-build-products" + echo "file binary-dist ${installDir}/${baseNameOf file}" >> "$out/nix-support/hydra-build-products" '') (filesToInstall ++ builtins.attrNames pythonScriptsToInstall)} runHook postInstall diff --git a/pkgs/os-specific/bsd/freebsd/lib/default.nix b/pkgs/os-specific/bsd/freebsd/lib/default.nix index d8d975ef71ad..ec07808f57d4 100644 --- a/pkgs/os-specific/bsd/freebsd/lib/default.nix +++ b/pkgs/os-specific/bsd/freebsd/lib/default.nix @@ -81,7 +81,7 @@ else if (builtins.isPath patches) then (if (isDir patches) then (lib.filesystem.listFilesRecursive patches) else [ patches ]) else if (builtins.isList patches) then - (lib.flatten (builtins.map consolidatePatches patches)) + (lib.flatten (map consolidatePatches patches)) else throw "Bad patches - must be path or derivation or list thereof"; consolidated = consolidatePatches patches; @@ -115,7 +115,7 @@ ); filteredLines = builtins.filter filterFunc partitionedPatches; derive = patchLines: writeText "freebsd-patch" (lib.concatLines patchLines); - derivedPatches = builtins.map derive filteredLines; + derivedPatches = map derive filteredLines; in derivedPatches; in diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/drm-kmod-firmware.nix b/pkgs/os-specific/bsd/freebsd/pkgs/drm-kmod-firmware.nix index 002b9276cf5b..4f4595b1b6fb 100644 --- a/pkgs/os-specific/bsd/freebsd/pkgs/drm-kmod-firmware.nix +++ b/pkgs/os-specific/bsd/freebsd/pkgs/drm-kmod-firmware.nix @@ -40,7 +40,7 @@ mkDerivation rec { env = sys.passthru.env; SYSDIR = "${sys.src}/sys"; - KMODDIR = "${builtins.placeholder "out"}/kernel"; + KMODDIR = "${placeholder "out"}/kernel"; meta = { description = "GPU firmware for FreeBSD drm-kmod"; diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/drm-kmod/package.nix b/pkgs/os-specific/bsd/freebsd/pkgs/drm-kmod/package.nix index c604ee573628..e18446b1c434 100644 --- a/pkgs/os-specific/bsd/freebsd/pkgs/drm-kmod/package.nix +++ b/pkgs/os-specific/bsd/freebsd/pkgs/drm-kmod/package.nix @@ -43,7 +43,7 @@ mkDerivation { env = sys.passthru.env; SYSDIR = "${sys.src}/sys"; - KMODDIR = "${builtins.placeholder "out"}/kernel"; + KMODDIR = "${placeholder "out"}/kernel"; meta = { description = "Linux drm driver, ported to FreeBSD"; diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/install.nix b/pkgs/os-specific/bsd/freebsd/pkgs/install.nix index 01e40b9d9144..d8dbf2ffa18b 100644 --- a/pkgs/os-specific/bsd/freebsd/pkgs/install.nix +++ b/pkgs/os-specific/bsd/freebsd/pkgs/install.nix @@ -53,7 +53,7 @@ mkDerivation { makeFlags = [ "STRIP=-s" # flag to install, not command "MK_WERROR=no" - "TESTSDIR=${builtins.placeholder "test"}" + "TESTSDIR=${placeholder "test"}" ] ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [ "BOOTSTRAPPING=1" diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/mkDerivation.nix b/pkgs/os-specific/bsd/freebsd/pkgs/mkDerivation.nix index eeac3be85758..a4a3017a209d 100644 --- a/pkgs/os-specific/bsd/freebsd/pkgs/mkDerivation.nix +++ b/pkgs/os-specific/bsd/freebsd/pkgs/mkDerivation.nix @@ -122,7 +122,7 @@ lib.makeOverridable ( installPhase = "includesPhase"; dontBuild = true; } - // (builtins.removeAttrs attrs [ "env" ]) + // (removeAttrs attrs [ "env" ]) // { patches = (lib.optionals (attrs.autoPickPatches or true) ( diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/sys/package.nix b/pkgs/os-specific/bsd/freebsd/pkgs/sys/package.nix index b788d9a81eb5..9c93d416f6c0 100644 --- a/pkgs/os-specific/bsd/freebsd/pkgs/sys/package.nix +++ b/pkgs/os-specific/bsd/freebsd/pkgs/sys/package.nix @@ -119,11 +119,11 @@ mkDerivation rec { inherit env; passthru.env = env; - KODIR = "${builtins.placeholder "out"}/kernel"; - KMODDIR = "${builtins.placeholder "out"}/kernel"; - DTBDIR = "${builtins.placeholder "out"}/dbt"; + KODIR = "${placeholder "out"}/kernel"; + KMODDIR = "${placeholder "out"}/kernel"; + DTBDIR = "${placeholder "out"}/dbt"; - KERN_DEBUGDIR = "${builtins.placeholder "debug"}/lib/debug"; + KERN_DEBUGDIR = "${placeholder "debug"}/lib/debug"; KERN_DEBUGDIR_KODIR = "${KERN_DEBUGDIR}/kernel"; KERN_DEBUGDIR_KMODDIR = "${KERN_DEBUGDIR}/kernel"; diff --git a/pkgs/os-specific/bsd/openbsd/pkgs/libcMinimal/package.nix b/pkgs/os-specific/bsd/openbsd/pkgs/libcMinimal/package.nix index dfe82eff271e..52c2d56c00d3 100644 --- a/pkgs/os-specific/bsd/openbsd/pkgs/libcMinimal/package.nix +++ b/pkgs/os-specific/bsd/openbsd/pkgs/libcMinimal/package.nix @@ -57,7 +57,7 @@ mkDerivation { csu ]; - env.NIX_CFLAGS_COMPILE = builtins.toString [ + env.NIX_CFLAGS_COMPILE = toString [ "-B${csu}/lib" "-Wno-error" ]; diff --git a/pkgs/os-specific/bsd/openbsd/pkgs/mkDerivation.nix b/pkgs/os-specific/bsd/openbsd/pkgs/mkDerivation.nix index 7ef016e6f9f9..e3fd1520049a 100644 --- a/pkgs/os-specific/bsd/openbsd/pkgs/mkDerivation.nix +++ b/pkgs/os-specific/bsd/openbsd/pkgs/mkDerivation.nix @@ -103,6 +103,6 @@ lib.makeOverridable ( dontBuild = true; } // lib.optionalAttrs stdenv'.hostPlatform.isStatic { NOLIBSHARED = true; } - // (builtins.removeAttrs attrs [ "extraNativeBuildInputs" ]) + // (removeAttrs attrs [ "extraNativeBuildInputs" ]) ) ) diff --git a/pkgs/os-specific/linux/kernel/generic.nix b/pkgs/os-specific/linux/kernel/generic.nix index 5f6111e5f7fa..a16ef1cccabe 100644 --- a/pkgs/os-specific/linux/kernel/generic.nix +++ b/pkgs/os-specific/linux/kernel/generic.nix @@ -104,7 +104,7 @@ let # and pings all maintainers. # # For further context, see https://github.com/NixOS/nixpkgs/pull/143113#issuecomment-953319957 - basicArgs = builtins.removeAttrs args ( + basicArgs = removeAttrs args ( lib.filter ( x: !(builtins.elem x [ diff --git a/pkgs/os-specific/linux/kernel/mainline.nix b/pkgs/os-specific/linux/kernel/mainline.nix index ac8f75c873eb..0ba9f47e542a 100644 --- a/pkgs/os-specific/linux/kernel/mainline.nix +++ b/pkgs/os-specific/linux/kernel/mainline.nix @@ -29,7 +29,7 @@ let }; args' = - (builtins.removeAttrs args [ "branch" ]) + (removeAttrs args [ "branch" ]) // { inherit src version; isLTS = thisKernel.lts; diff --git a/pkgs/os-specific/linux/minimal-bootstrap/bash/2.nix b/pkgs/os-specific/linux/minimal-bootstrap/bash/2.nix index a6adb130049c..df180c0646eb 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/bash/2.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/bash/2.nix @@ -115,7 +115,7 @@ kaem.runCommand "${pname}-${version}" ] ); } - // (builtins.removeAttrs env [ "nativeBuildInputs" ]) + // (removeAttrs env [ "nativeBuildInputs" ]) ); passthru.tests.get-version = diff --git a/pkgs/os-specific/linux/minimal-bootstrap/bash/default.nix b/pkgs/os-specific/linux/minimal-bootstrap/bash/default.nix index 8de6229e8809..4b8dd891b1e3 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/bash/default.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/bash/default.nix @@ -83,7 +83,7 @@ bootBash.runCommand "${pname}-${version}" ] ); } - // (builtins.removeAttrs env [ "nativeBuildInputs" ]) + // (removeAttrs env [ "nativeBuildInputs" ]) ); passthru.tests.get-version = diff --git a/pkgs/os-specific/linux/minimal-bootstrap/gnumake/default.nix b/pkgs/os-specific/linux/minimal-bootstrap/gnumake/default.nix index 71da482689d6..b3e0208476d6 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/gnumake/default.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/gnumake/default.nix @@ -152,7 +152,7 @@ let "src/posixos.c" ]; - objects = map (x: lib.replaceStrings [ ".c" ] [ ".o" ] (builtins.baseNameOf x)) sources; + objects = map (x: lib.replaceStrings [ ".c" ] [ ".o" ] (baseNameOf x)) sources; in kaem.runCommand "${pname}-${version}" { diff --git a/pkgs/os-specific/linux/minimal-bootstrap/gnupatch/default.nix b/pkgs/os-specific/linux/minimal-bootstrap/gnupatch/default.nix index ac387537f7dc..8e18b829fc59 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/gnupatch/default.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/gnupatch/default.nix @@ -66,7 +66,7 @@ let "error.c" ]; - objects = map (x: lib.replaceStrings [ ".c" ] [ ".o" ] (builtins.baseNameOf x)) sources; + objects = map (x: lib.replaceStrings [ ".c" ] [ ".o" ] (baseNameOf x)) sources; in kaem.runCommand "${pname}-${version}" { diff --git a/pkgs/os-specific/linux/minimal-bootstrap/mes/default.nix b/pkgs/os-specific/linux/minimal-bootstrap/mes/default.nix index 710520b68f91..bbec9847013f 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/mes/default.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/mes/default.nix @@ -138,7 +138,7 @@ let CC = toString ([ cc ] ++ ccArgs); - stripExt = source: lib.replaceStrings [ ".c" ] [ "" ] (builtins.baseNameOf source); + stripExt = source: lib.replaceStrings [ ".c" ] [ "" ] (baseNameOf source); compile = source: diff --git a/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/bootstrap-sources.nix b/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/bootstrap-sources.nix index 4f247197dc13..dcf9b50da37d 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/bootstrap-sources.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/bootstrap-sources.nix @@ -77,7 +77,7 @@ rec { # # Neither your store nor your substituters seems to have: # - # ${builtins.placeholder "out"} + # ${placeholder "out"} # # You can create this path from an already-bootstrapped nixpkgs # using the following command: diff --git a/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/kaem/default.nix b/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/kaem/default.nix index 84463ef7b133..091436dcf482 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/kaem/default.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/stage0-posix/kaem/default.nix @@ -51,7 +51,7 @@ derivationWithMeta { ] ); } - // (builtins.removeAttrs env [ "nativeBuildInputs" ]) + // (removeAttrs env [ "nativeBuildInputs" ]) ); meta = with lib; { diff --git a/pkgs/os-specific/linux/minimal-bootstrap/utils.nix b/pkgs/os-specific/linux/minimal-bootstrap/utils.nix index ba6cd71b5e0c..b974c08af984 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/utils.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/utils.nix @@ -18,7 +18,7 @@ rec { inherit (buildPlatform) system; inherit (meta) name; } - // (builtins.removeAttrs attrs [ + // (removeAttrs attrs [ "meta" "passthru" ]) @@ -57,7 +57,7 @@ rec { '' target=''${out}''${destination} '' - + lib.optionalString (builtins.dirOf destination == ".") '' + + lib.optionalString (dirOf destination == ".") '' mkdir -p ''${out}''${destinationDir} '' + '' @@ -70,7 +70,7 @@ rec { ]; PATH = lib.makeBinPath [ mescc-tools-extra ]; - destinationDir = builtins.dirOf destination; + destinationDir = dirOf destination; inherit destination; }; diff --git a/pkgs/os-specific/linux/nvidia-x11/generic.nix b/pkgs/os-specific/linux/nvidia-x11/generic.nix index e5ad9fd5fd1f..1a84f5c0846e 100644 --- a/pkgs/os-specific/linux/nvidia-x11/generic.nix +++ b/pkgs/os-specific/linux/nvidia-x11/generic.nix @@ -77,7 +77,7 @@ let rewritePatch = { from, to }: patch: - runCommandLocal (builtins.baseNameOf patch) + runCommandLocal (baseNameOf patch) { inherit patch; nativeBuildInputs = [ patchutils ]; @@ -249,7 +249,7 @@ stdenv.mkDerivation (finalAttrs: { ... }@args: let - args' = builtins.removeAttrs args [ + args' = removeAttrs args [ "owner" "repo" "rev" @@ -276,7 +276,7 @@ stdenv.mkDerivation (finalAttrs: { inherit hash; nvidia_x11 = finalAttrs.finalPackage; patches = - (builtins.map (rewritePatch { + (map (rewritePatch { from = "kernel"; to = "kernel-open"; }) patches) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 0bf921dd0853..37d2b43f0baf 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -891,11 +891,7 @@ stdenv.mkDerivation (finalAttrs: { disallowedReferences = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) # 'or p' is for manually specified buildPackages as they dont have __spliced - ( - builtins.filter (p: p != null) ( - builtins.map (p: p.__spliced.buildHost or p) finalAttrs.nativeBuildInputs - ) - ); + (builtins.filter (p: p != null) (map (p: p.__spliced.buildHost or p) finalAttrs.nativeBuildInputs)); disallowedRequisites = lib.optionals (!withUkify) [ bash diff --git a/pkgs/servers/home-assistant/build-custom-component/default.nix b/pkgs/servers/home-assistant/build-custom-component/default.nix index 1033f50d045d..58d1cc369bc2 100644 --- a/pkgs/servers/home-assistant/build-custom-component/default.nix +++ b/pkgs/servers/home-assistant/build-custom-component/default.nix @@ -64,7 +64,7 @@ home-assistant.python.pkgs.buildPythonPackage ( // args.meta or { }; } - // builtins.removeAttrs args [ + // removeAttrs args [ "meta" "nativeCheckInputs" "passthru" diff --git a/pkgs/servers/http/openresty/default.nix b/pkgs/servers/http/openresty/default.nix index ded740920ff7..f527e6a6adb3 100644 --- a/pkgs/servers/http/openresty/default.nix +++ b/pkgs/servers/http/openresty/default.nix @@ -26,7 +26,7 @@ callPackage ../nginx/generic.nix args rec { fixPatch = patch: let - name = patch.name or (builtins.baseNameOf patch); + name = patch.name or (baseNameOf patch); in runCommand "openresty-${name}" { src = patch; } '' substitute $src $out \ diff --git a/pkgs/servers/monitoring/grafana/plugins/grafana-plugin.nix b/pkgs/servers/monitoring/grafana/plugins/grafana-plugin.nix index 9735f5103b24..78672ba69c8a 100644 --- a/pkgs/servers/monitoring/grafana/plugins/grafana-plugin.nix +++ b/pkgs/servers/monitoring/grafana/plugins/grafana-plugin.nix @@ -64,7 +64,7 @@ stdenvNoCC.mkDerivation ( } // meta; } - // (builtins.removeAttrs args [ + // (removeAttrs args [ "zipHash" "pname" "versionPrefix" diff --git a/pkgs/servers/sql/postgresql/ext/omnigres.nix b/pkgs/servers/sql/postgresql/ext/omnigres.nix index eca3b8721e85..f622001c4d18 100644 --- a/pkgs/servers/sql/postgresql/ext/omnigres.nix +++ b/pkgs/servers/sql/postgresql/ext/omnigres.nix @@ -59,8 +59,8 @@ postgresqlBuildExtension (finalAttrs: { cmakeFlags = [ "-DOPENSSL_CONFIGURED=1" "-DPG_CONFIG=${pgWithExtensions.pg_config}/bin/pg_config" - "-DPostgreSQL_TARGET_EXTENSION_DIR=${builtins.placeholder "out"}/share/postgresql/extension/" - "-DPostgreSQL_TARGET_PACKAGE_LIBRARY_DIR=${builtins.placeholder "out"}/lib/" + "-DPostgreSQL_TARGET_EXTENSION_DIR=${placeholder "out"}/share/postgresql/extension/" + "-DPostgreSQL_TARGET_PACKAGE_LIBRARY_DIR=${placeholder "out"}/lib/" ]; enableParallelBuilding = true; diff --git a/pkgs/servers/web-apps/discourse/default.nix b/pkgs/servers/web-apps/discourse/default.nix index bb8a4cb3770e..a16f259a5c37 100644 --- a/pkgs/servers/web-apps/discourse/default.nix +++ b/pkgs/servers/web-apps/discourse/default.nix @@ -117,7 +117,7 @@ let ); in stdenv.mkDerivation ( - builtins.removeAttrs args [ "bundlerEnvArgs" ] + removeAttrs args [ "bundlerEnvArgs" ] // { pluginName = if name != null then name else "${pname}-${version}"; dontConfigure = true; diff --git a/pkgs/shells/fish/plugins/build-fish-plugin.nix b/pkgs/shells/fish/plugins/build-fish-plugin.nix index a3366707f548..ce8b99cca1af 100644 --- a/pkgs/shells/fish/plugins/build-fish-plugin.nix +++ b/pkgs/shells/fish/plugins/build-fish-plugin.nix @@ -31,7 +31,7 @@ attrs@{ let # Do not pass attributes that are only relevant to buildFishPlugin to mkDerivation. - drvAttrs = builtins.removeAttrs attrs [ + drvAttrs = removeAttrs attrs [ "checkPlugins" "checkFunctionDirs" ]; diff --git a/pkgs/stdenv/adapters.nix b/pkgs/stdenv/adapters.nix index fcfc01d7f890..9d27f6bf40a1 100644 --- a/pkgs/stdenv/adapters.nix +++ b/pkgs/stdenv/adapters.nix @@ -275,7 +275,7 @@ rec { drvPath = builtins.unsafeDiscardStringContext pkg.drvPath; license = pkg.meta.license or null; in - builtins.trace "@:drv:${toString drvPath}:${builtins.toString license}:@" val; + builtins.trace "@:drv:${toString drvPath}:${toString license}:@" val; in pkg // { diff --git a/pkgs/stdenv/booter.nix b/pkgs/stdenv/booter.nix index 81458cdb0339..4709d53569f0 100644 --- a/pkgs/stdenv/booter.nix +++ b/pkgs/stdenv/booter.nix @@ -108,7 +108,7 @@ let args' else allPackages ( - (builtins.removeAttrs args' [ "selfBuild" ]) + (removeAttrs args' [ "selfBuild" ]) // { adjacentPackages = if args.selfBuild or true then diff --git a/pkgs/stdenv/cross/default.nix b/pkgs/stdenv/cross/default.nix index 69ea14be5c83..f7780aacb892 100644 --- a/pkgs/stdenv/cross/default.nix +++ b/pkgs/stdenv/cross/default.nix @@ -16,7 +16,7 @@ let # Ignore custom stdenvs when cross compiling for compatibility # Use replaceCrossStdenv instead. - config = builtins.removeAttrs config [ "replaceStdenv" ]; + config = removeAttrs config [ "replaceStdenv" ]; }; in diff --git a/pkgs/stdenv/custom/default.nix b/pkgs/stdenv/custom/default.nix index 6efe764947a8..c8f1bc66a06c 100644 --- a/pkgs/stdenv/custom/default.nix +++ b/pkgs/stdenv/custom/default.nix @@ -18,7 +18,7 @@ let overlays ; # Remove config.replaceStdenv to ensure termination. - config = builtins.removeAttrs config [ "replaceStdenv" ]; + config = removeAttrs config [ "replaceStdenv" ]; }; in diff --git a/pkgs/stdenv/darwin/bootstrap-tools.nix b/pkgs/stdenv/darwin/bootstrap-tools.nix index a3a9f17fb809..e14dfa3aea8e 100644 --- a/pkgs/stdenv/darwin/bootstrap-tools.nix +++ b/pkgs/stdenv/darwin/bootstrap-tools.nix @@ -5,7 +5,7 @@ unpack, }: -builtins.derivation { +derivation { inherit (stdenv.hostPlatform) system; name = "bootstrap-tools"; @@ -17,7 +17,7 @@ builtins.derivation { ]; PATH = lib.makeBinPath [ - (builtins.placeholder "out") + (placeholder "out") unpack ]; diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index d7f4145ed3b9..e28b3a0be1f5 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -594,8 +594,8 @@ assert bootstrapTools.passthru.isFromBootstrapFiles or false; # sanity check overrides = self: super: { inherit (prevStage) ccWrapperStdenv cctools ld64; - binutils-unwrapped = builtins.throw "nothing in the Darwin bootstrap should depend on GNU binutils"; - curl = builtins.throw "nothing in the Darwin bootstrap can depend on curl"; + binutils-unwrapped = throw "nothing in the Darwin bootstrap should depend on GNU binutils"; + curl = throw "nothing in the Darwin bootstrap can depend on curl"; # Use this stage’s CF to build CMake. It’s required but can’t be included in the stdenv. cmake = self.cmakeMinimal; diff --git a/pkgs/stdenv/darwin/test-bootstrap-tools.nix b/pkgs/stdenv/darwin/test-bootstrap-tools.nix index fc463a1b3e07..0773ed5acc57 100644 --- a/pkgs/stdenv/darwin/test-bootstrap-tools.nix +++ b/pkgs/stdenv/darwin/test-bootstrap-tools.nix @@ -6,7 +6,7 @@ hello, }: -builtins.derivation { +derivation { name = "test-bootstrap-tools"; inherit (stdenv.hostPlatform) system; diff --git a/pkgs/stdenv/freebsd/default.nix b/pkgs/stdenv/freebsd/default.nix index 26a59ffb84d0..30637de08277 100644 --- a/pkgs/stdenv/freebsd/default.nix +++ b/pkgs/stdenv/freebsd/default.nix @@ -59,7 +59,7 @@ let attrs // { inherit system; - name = attrs.name or (builtins.baseNameOf (builtins.elemAt attrs.paths 0)); + name = attrs.name or (baseNameOf (builtins.elemAt attrs.paths 0)); src = bootstrapArchive; builder = "${bootstrapArchive}/bin/bash"; # this script will prefer to link files instead of copying them. @@ -497,7 +497,7 @@ in bzip2 xz ; - binutils-unwrapped = builtins.removeAttrs bootstrapTools.binutils-unwrapped [ "src" ]; + binutils-unwrapped = removeAttrs bootstrapTools.binutils-unwrapped [ "src" ]; fetchurl = import ../../build-support/fetchurl { inherit lib; inherit (self) stdenvNoCC; diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index d8f519b0f185..ba42a85dec46 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -308,7 +308,7 @@ let and is missing the following outputs: - ${concatStrings (builtins.map (output: " - ${output}\n") missingOutputs)} + ${concatStrings (map (output: " - ${output}\n") missingOutputs)} ''; handleEvalIssue = diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix index bbd4c0a14f65..9ebedb728989 100644 --- a/pkgs/stdenv/generic/make-derivation.nix +++ b/pkgs/stdenv/generic/make-derivation.nix @@ -60,7 +60,7 @@ let :::{.note} This is used as the fundamental building block of most other functions in Nixpkgs for creating derivations. - Most arguments are also passed through to the underlying call of [`builtins.derivation`](https://nixos.org/manual/nix/stable/language/derivations). + Most arguments are also passed through to the underlying call of [`derivation`](https://nixos.org/manual/nix/stable/language/derivations). ::: */ mkDerivation = fnOrAttrs: makeDerivationExtensible (toFunction fnOrAttrs); @@ -115,8 +115,8 @@ let ${ args.name or "${pname}-${version}" } was overridden with `version` but not `src` at ${pos.file or ""}:${ - builtins.toString pos.line or "" - }:${builtins.toString pos.column or ""}. + toString pos.line or "" + }:${toString pos.column or ""}. This is most likely not what you want. In order to properly change the version of a package, override both the `version` and `src` attributes: @@ -130,7 +130,7 @@ let }) (To silence this warning, set `__intentionallyOverridingVersion = true` in your `overrideAttrs` call.) - '' (prev // (builtins.removeAttrs thisOverlay [ "__intentionallyOverridingVersion" ])) + '' (prev // (removeAttrs thisOverlay [ "__intentionallyOverridingVersion" ])) ); in makeDerivationExtensible (extends' (lib.toExtension f0) rattrs); @@ -866,7 +866,7 @@ let # for a fixed-output derivation, the corresponding inputDerivation should # *not* be fixed-output. To achieve this we simply delete the attributes that # would make it fixed-output. - deleteFixedOutputRelatedAttrs = lib.flip builtins.removeAttrs [ + deleteFixedOutputRelatedAttrs = lib.flip removeAttrs [ "outputHashAlgo" "outputHash" "outputHashMode" diff --git a/pkgs/stdenv/linux/test-bootstrap-tools.nix b/pkgs/stdenv/linux/test-bootstrap-tools.nix index ee4e3b0e6c4c..7caa2a680269 100644 --- a/pkgs/stdenv/linux/test-bootstrap-tools.nix +++ b/pkgs/stdenv/linux/test-bootstrap-tools.nix @@ -7,7 +7,7 @@ hello, }: -builtins.derivation { +derivation { name = "test-bootstrap-tools"; inherit (stdenv.hostPlatform) system; # We cannot "cross test" builder = busybox; @@ -36,7 +36,7 @@ builtins.derivation { '' + lib.optionalString (stdenv.hostPlatform.libc == "glibc") '' rtld=$(echo ${bootstrapTools}/lib/${builtins.unsafeDiscardStringContext # only basename - (builtins.baseNameOf binutils.dynamicLinker)}) + (baseNameOf binutils.dynamicLinker)}) libc_includes=${bootstrapTools}/include-glibc '' + lib.optionalString (stdenv.hostPlatform.libc == "musl") '' diff --git a/pkgs/test/auto-patchelf-hook/package.nix b/pkgs/test/auto-patchelf-hook/package.nix index 21d99e5d75b8..79bab058fc1b 100644 --- a/pkgs/test/auto-patchelf-hook/package.nix +++ b/pkgs/test/auto-patchelf-hook/package.nix @@ -81,7 +81,7 @@ stdenv.mkDerivation { readarray -td':' runpathArray < <(echo -n "$runpath") echo "[auto-patchelf-hook-test]: Check that the runpath has the right number of entries" - test "''${#runpathArray[@]}" -eq ${builtins.toString (builtins.length allDeps)} + test "''${#runpathArray[@]}" -eq ${toString (builtins.length allDeps)} echo "[auto-patchelf-hook-test]: Check that the runpath contains the expected runtime deps" '' @@ -89,7 +89,7 @@ stdenv.mkDerivation { lib.lists.imap0 ( i: path: let - iAsStr = builtins.toString i; + iAsStr = toString i; in '' echo "[auto-patchelf-hook-test]: Check that entry ${iAsStr} is ${path}" diff --git a/pkgs/test/make-hardcode-gsettings-patch/default.nix b/pkgs/test/make-hardcode-gsettings-patch/default.nix index db79d7a3af6b..2bf63f56aa46 100644 --- a/pkgs/test/make-hardcode-gsettings-patch/default.nix +++ b/pkgs/test/make-hardcode-gsettings-patch/default.nix @@ -38,7 +38,7 @@ let cp -r --no-preserve=all "${expected}" src-expected pushd src - for patch in ${lib.escapeShellArgs (builtins.map (p: "${p}") patches)}; do + for patch in ${lib.escapeShellArgs (map (p: "${p}") patches)}; do patch < "$patch" done patch < "${patch}" diff --git a/pkgs/test/texlive/default.nix b/pkgs/test/texlive/default.nix index 9791f4c29969..7f16e83ad5ce 100644 --- a/pkgs/test/texlive/default.nix +++ b/pkgs/test/texlive/default.nix @@ -34,7 +34,7 @@ rec { nativeBuildInputs = [ texLive ] ++ attrs.nativeBuildInputs or [ ]; text = builtins.toFile "${name}.tex" text; } - // builtins.removeAttrs attrs [ + // removeAttrs attrs [ "nativeBuildInputs" "text" "texLive" diff --git a/pkgs/tools/misc/bat-extras/buildBatExtrasPkg.nix b/pkgs/tools/misc/bat-extras/buildBatExtrasPkg.nix index ec09f788a360..7c7d36d397d0 100644 --- a/pkgs/tools/misc/bat-extras/buildBatExtrasPkg.nix +++ b/pkgs/tools/misc/bat-extras/buildBatExtrasPkg.nix @@ -11,7 +11,7 @@ zsh, }: let - cleanArgs = lib.flip builtins.removeAttrs [ + cleanArgs = lib.flip removeAttrs [ "dependencies" "meta" ]; diff --git a/pkgs/tools/networking/maubot/plugins/default.nix b/pkgs/tools/networking/maubot/plugins/default.nix index e40154c989ca..6d2cfb522c72 100644 --- a/pkgs/tools/networking/maubot/plugins/default.nix +++ b/pkgs/tools/networking/maubot/plugins/default.nix @@ -25,7 +25,7 @@ let ... }: stdenvNoCC.mkDerivation ( - builtins.removeAttrs attrs [ "base_config" ] + removeAttrs attrs [ "base_config" ] // { pluginName = "${pname}-v${version}.mbp"; nativeBuildInputs = (attrs.nativeBuildInputs or [ ]) ++ [ diff --git a/pkgs/tools/networking/maubot/wrapper.nix b/pkgs/tools/networking/maubot/wrapper.nix index 8a85905f9c0a..db2823e17eaa 100644 --- a/pkgs/tools/networking/maubot/wrapper.nix +++ b/pkgs/tools/networking/maubot/wrapper.nix @@ -46,7 +46,7 @@ let # XXX: would patching maubot be better? See: # https://github.com/maubot/maubot/blob/75879cfb9370aade6fa0e84e1dde47222625139a/maubot/server.py#L106 server.override_resource_path = - if builtins.isNull (baseConfig.server.override_resource_path or null) then + if isNull (baseConfig.server.override_resource_path or null) then "${unwrapped}/${python3.sitePackages}/maubot/management/frontend/build" else baseConfig.server.override_resource_path; diff --git a/pkgs/tools/package-management/akku/akkuDerivation.nix b/pkgs/tools/package-management/akku/akkuDerivation.nix index eb79b353d437..59ede90eb1aa 100644 --- a/pkgs/tools/package-management/akku/akkuDerivation.nix +++ b/pkgs/tools/package-management/akku/akkuDerivation.nix @@ -119,7 +119,7 @@ stdenv.mkDerivation ( // args.meta or { }; setupHook = ./setup-hook.sh; } - // builtins.removeAttrs args [ + // removeAttrs args [ "name" "buildInputs" "meta" diff --git a/pkgs/tools/package-management/akku/default.nix b/pkgs/tools/package-management/akku/default.nix index 7174be0eaa98..882db169d2bf 100644 --- a/pkgs/tools/package-management/akku/default.nix +++ b/pkgs/tools/package-management/akku/default.nix @@ -30,9 +30,9 @@ lib.makeScope newScope (self: rec { src = fetchurl { inherit url sha256; }; - buildInputs = builtins.map (x: akkuself.${x}) dependencies; + buildInputs = map (x: akkuself.${x}) dependencies; r7rs = source == "snow-fort"; - nativeBuildInputs = builtins.map (x: akkuself.${x}) dev-dependencies; + nativeBuildInputs = map (x: akkuself.${x}) dev-dependencies; unpackPhase = "tar xf $src"; meta.homepage = homepage; diff --git a/pkgs/tools/package-management/lix/revert-toml11-bump.patch b/pkgs/tools/package-management/lix/revert-toml11-bump.patch index 97bb2d4ed0a8..7b37d7060c1c 100644 --- a/pkgs/tools/package-management/lix/revert-toml11-bump.patch +++ b/pkgs/tools/package-management/lix/revert-toml11-bump.patch @@ -16,7 +16,7 @@ index 1522213cb4..0000000000 -version aligns with the [TOML v1.0.0 specification’s -requirement](https://toml.io/en/v1.0.0#integer) to reject integer -literals that cannot be losslessly parsed. This means that code like --`builtins.fromTOML "v=0x8000000000000000"` will now produce an error +-`fromTOML "v=0x8000000000000000"` will now produce an error -rather than silently saturating the integer result. diff --git a/lix/libexpr/primops/fromTOML.cc b/lix/libexpr/primops/fromTOML.cc index 9d4b5e6abf..3e26773eac 100644 @@ -147,7 +147,7 @@ index 0c90e85edf..0000000000 -error: - … while calling the 'fromTOML' builtin - at /pwd/in.nix:1:1: -- 1| builtins.fromTOML ''attr = 9223372036854775808'' +- 1| fromTOML ''attr = 9223372036854775808'' - | ^ - 2| - @@ -166,7 +166,7 @@ index a287e18655..0000000000 -error: - … while calling the 'fromTOML' builtin - at /pwd/in.nix:1:1: -- 1| builtins.fromTOML ''attr = -9223372036854775809'' +- 1| fromTOML ''attr = -9223372036854775809'' - | ^ - 2| - diff --git a/pkgs/tools/system/collectd/plugins.nix b/pkgs/tools/system/collectd/plugins.nix index dc3c7f02700c..2f8ba6c56b42 100644 --- a/pkgs/tools/system/collectd/plugins.nix +++ b/pkgs/tools/system/collectd/plugins.nix @@ -192,9 +192,7 @@ let buildInputs = if enabledPlugins == null then - builtins.concatMap pluginBuildInputs ( - builtins.attrNames (builtins.removeAttrs plugins [ "xencpu" ]) - ) + builtins.concatMap pluginBuildInputs (builtins.attrNames (removeAttrs plugins [ "xencpu" ])) else builtins.concatMap pluginBuildInputs enabledPlugins; in diff --git a/pkgs/tools/system/nvtop/default.nix b/pkgs/tools/system/nvtop/default.nix index d9eb3f973dca..767ae8206452 100644 --- a/pkgs/tools/system/nvtop/default.nix +++ b/pkgs/tools/system/nvtop/default.nix @@ -20,7 +20,7 @@ let ]; defaultSupport = builtins.listToAttrs ( # apple can only build on darwin, and it can't build everything else, and vice versa - builtins.map (gpu: { + map (gpu: { name = gpu; value = (gpu == "apple" && stdenv.buildPlatform.isDarwin && stdenv.hostPlatform == stdenv.buildPlatform) @@ -33,7 +33,7 @@ in } # additional packages with only one specific GPU family support // builtins.listToAttrs ( - builtins.map (gpu: { + map (gpu: { name = gpu; value = (callPackage ./build-nvtop.nix { "${gpu}" = true; }); }) defaultGPUFamilies diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index 5c8019cd8d9f..fe2e8ed03c51 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -250,7 +250,7 @@ rec { "man" "info" ] - ++ (builtins.map (builtins.replaceStrings [ "-" ] [ "_" ]) corePackages); + ++ (map (builtins.replaceStrings [ "-" ] [ "_" ]) corePackages); nativeBuildInputs = [ pkg-config @@ -493,7 +493,7 @@ rec { "man" "info" ] - ++ (builtins.map (builtins.replaceStrings [ "-" ] [ "_" ]) coreBigPackages) + ++ (map (builtins.replaceStrings [ "-" ] [ "_" ]) coreBigPackages) # some outputs of metapost, omegaware are for ptex/uptex ++ [ "ptex" diff --git a/pkgs/tools/typesetting/tex/texlive/combine-wrapper.nix b/pkgs/tools/typesetting/tex/texlive/combine-wrapper.nix index 8401de273044..3176bebc368e 100644 --- a/pkgs/tools/typesetting/tex/texlive/combine-wrapper.nix +++ b/pkgs/tools/typesetting/tex/texlive/combine-wrapper.nix @@ -67,7 +67,7 @@ let tlOutputName = tlTypeToOut.${tlType}; }; all = lib.filter pkgFilter combined ++ lib.filter (pkg: pkg.tlType == "tlpkg") combined; - converted = builtins.map toSpecified all; + converted = map toSpecified all; in buildTeXEnv { __extraName = extraName; diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix index 4748f2f608d6..ade00aa8a608 100644 --- a/pkgs/tools/typesetting/tex/texlive/default.nix +++ b/pkgs/tools/typesetting/tex/texlive/default.nix @@ -254,7 +254,7 @@ let }; toSpecifiedNV = p: rec { name = value.tlOutputName; - value = builtins.removeAttrs p [ "pkgs" ] // { + value = removeAttrs p [ "pkgs" ] // { outputSpecified = true; tlOutputName = tlTypeToOut.${p.tlType}; }; @@ -262,10 +262,10 @@ let toTLPkgSet = pname: drvs: let - set = lib.listToAttrs (builtins.map toSpecifiedNV drvs); + set = lib.listToAttrs (map toSpecifiedNV drvs); mainDrv = set.out or set.tex or set.tlpkg or set.texdoc or set.texsource; in - builtins.removeAttrs mainDrv [ "outputSpecified" ]; + removeAttrs mainDrv [ "outputSpecified" ]; toTLPkgSets = { pkgs, ... }: lib.mapAttrsToList toTLPkgSet (lib.groupBy (p: p.pname) pkgs); # export TeX packages as { pkgs = [ ... ]; } in the top attribute set diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f9caf1068efe..3f430c4868d9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8214,7 +8214,7 @@ with pkgs; py ]; # Avoid update.nix/tests conflicts with libxml2. - passthru = builtins.removeAttrs libxml2.passthru [ + passthru = removeAttrs libxml2.passthru [ "updateScript" "tests" ]; diff --git a/pkgs/top-level/config.nix b/pkgs/top-level/config.nix index a9e58d9c4e3f..0c2910d76eb4 100644 --- a/pkgs/top-level/config.nix +++ b/pkgs/top-level/config.nix @@ -20,7 +20,7 @@ let mkMassRebuild = args: mkOption ( - builtins.removeAttrs args [ "feature" ] + removeAttrs args [ "feature" ] // { type = args.type or (types.uniq types.bool); default = args.default or false; diff --git a/pkgs/top-level/factor-packages.nix b/pkgs/top-level/factor-packages.nix index 5ddc4ad86599..1da43653ba35 100644 --- a/pkgs/top-level/factor-packages.nix +++ b/pkgs/top-level/factor-packages.nix @@ -37,7 +37,7 @@ let } // lib.optionalAttrs pkgs.config.allowAliases { - interpreter = builtins.throw "factorPackages now offers various wrapped factor runtimes (see documentation) and the buildFactorApplication helper."; + interpreter = throw "factorPackages now offers various wrapped factor runtimes (see documentation) and the buildFactorApplication helper."; }; extensible-self = lib.makeExtensible (lib.extends overrides inside); in diff --git a/pkgs/top-level/impure.nix b/pkgs/top-level/impure.nix index db79a1588a7c..851ab4282902 100644 --- a/pkgs/top-level/impure.nix +++ b/pkgs/top-level/impure.nix @@ -55,7 +55,7 @@ assert args ? localSystem -> !(args ? system); assert args ? system -> !(args ? localSystem); import ./. ( - builtins.removeAttrs args [ "system" ] + removeAttrs args [ "system" ] // { inherit config overlays localSystem; } diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 9b7fd56d4091..2e3fe3d68310 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -116,7 +116,7 @@ lib.makeScope pkgs.newScope ( ... }@args: stdenv.mkDerivation ( - (builtins.removeAttrs args [ "name" ]) + (removeAttrs args [ "name" ]) // { pname = "php-${name}"; extensionName = extName; @@ -845,7 +845,7 @@ lib.makeScope pkgs.newScope ( # [ { name = ; value = ; } ... ] # # which we later use listToAttrs to make all attrs available by name. - namedExtensions = builtins.map (drv: { + namedExtensions = map (drv: { name = drv.name; value = mkExtension drv; }) extensionData; diff --git a/pkgs/top-level/pkg-config/test-defaultPkgConfigPackages.nix b/pkgs/top-level/pkg-config/test-defaultPkgConfigPackages.nix index 1979006bf262..8f0157feb7d8 100644 --- a/pkgs/top-level/pkg-config/test-defaultPkgConfigPackages.nix +++ b/pkgs/top-level/pkg-config/test-defaultPkgConfigPackages.nix @@ -11,7 +11,7 @@ let inherit (lib.strings) escapeNixIdentifier; allTests = lib.mapAttrs (k: v: if v == null then null else makePkgConfigTestMaybe k v) ( - builtins.removeAttrs defaultPkgConfigPackages [ "recurseForDerivations" ] + removeAttrs defaultPkgConfigPackages [ "recurseForDerivations" ] ); # nix-build rejects attribute names with periods diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix index 6cb54b8d782e..7a32824a5f6a 100644 --- a/pkgs/top-level/release-haskell.nix +++ b/pkgs/top-level/release-haskell.nix @@ -645,7 +645,7 @@ let teams = [ lib.teams.haskell ]; }; constituents = accumulateDerivations ( - builtins.map (name: jobs.haskellPackages."${name}") (maintainedPkgNames pkgs.haskellPackages) + map (name: jobs.haskellPackages."${name}") (maintainedPkgNames pkgs.haskellPackages) ); }; diff --git a/pkgs/top-level/splice.nix b/pkgs/top-level/splice.nix index 6d3ad1174107..fe4566bb175e 100644 --- a/pkgs/top-level/splice.nix +++ b/pkgs/top-level/splice.nix @@ -141,7 +141,7 @@ let splicedPackagesWithXorg = splicedPackages - // builtins.removeAttrs splicedPackages.xorg [ + // removeAttrs splicedPackages.xorg [ "callPackage" "newScope" "overrideScope" @@ -150,7 +150,7 @@ let packagesWithXorg = pkgs - // builtins.removeAttrs pkgs.xorg [ + // removeAttrs pkgs.xorg [ "callPackage" "newScope" "overrideScope" diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 90e842703417..9fa556ff7e02 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -92,7 +92,7 @@ let # The following line guarantees that the output of this function # is a well-formed platform with no missing fields. It will be # uncommented in a separate PR, in case it breaks the build. - #(x: lib.trivial.pipe x [ (x: builtins.removeAttrs x [ "_type" ]) lib.systems.parse.mkSystem ]) + #(x: lib.trivial.pipe x [ (x: removeAttrs x [ "_type" ]) lib.systems.parse.mkSystem ]) ( parsed // { From 3b97761aa798401b34908ed42d8f224ee80a1e84 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Tue, 30 Sep 2025 20:35:50 +0200 Subject: [PATCH 51/52] lixPackageSets.git: revert removal of builtins prefixes in patch --- pkgs/tools/package-management/lix/revert-toml11-bump.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/package-management/lix/revert-toml11-bump.patch b/pkgs/tools/package-management/lix/revert-toml11-bump.patch index 7b37d7060c1c..97bb2d4ed0a8 100644 --- a/pkgs/tools/package-management/lix/revert-toml11-bump.patch +++ b/pkgs/tools/package-management/lix/revert-toml11-bump.patch @@ -16,7 +16,7 @@ index 1522213cb4..0000000000 -version aligns with the [TOML v1.0.0 specification’s -requirement](https://toml.io/en/v1.0.0#integer) to reject integer -literals that cannot be losslessly parsed. This means that code like --`fromTOML "v=0x8000000000000000"` will now produce an error +-`builtins.fromTOML "v=0x8000000000000000"` will now produce an error -rather than silently saturating the integer result. diff --git a/lix/libexpr/primops/fromTOML.cc b/lix/libexpr/primops/fromTOML.cc index 9d4b5e6abf..3e26773eac 100644 @@ -147,7 +147,7 @@ index 0c90e85edf..0000000000 -error: - … while calling the 'fromTOML' builtin - at /pwd/in.nix:1:1: -- 1| fromTOML ''attr = 9223372036854775808'' +- 1| builtins.fromTOML ''attr = 9223372036854775808'' - | ^ - 2| - @@ -166,7 +166,7 @@ index a287e18655..0000000000 -error: - … while calling the 'fromTOML' builtin - at /pwd/in.nix:1:1: -- 1| fromTOML ''attr = -9223372036854775809'' +- 1| builtins.fromTOML ''attr = -9223372036854775809'' - | ^ - 2| - From 8052c76154ee922caff2532fe0e7e866be946e67 Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Tue, 30 Sep 2025 08:58:09 +0200 Subject: [PATCH 52/52] pkgs: add builtins prefixes for prelude functions to improve clarity --- pkgs/build-support/src-only/default.nix | 4 ++-- pkgs/development/interpreters/ruby/ruby-version.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/build-support/src-only/default.nix b/pkgs/build-support/src-only/default.nix index dfd82df54b71..b732c6156041 100644 --- a/pkgs/build-support/src-only/default.nix +++ b/pkgs/build-support/src-only/default.nix @@ -60,9 +60,9 @@ in # If we are passed a derivation (based on stdenv*), we can use overrideAttrs to # update the arguments to mkDerivation. This gives us the proper awareness of # what arguments were effectively passed *to* mkDerivation as opposed to -# derivation (by mkDerivation). For example, stdenv.mkDerivation +# builtins.derivation (by mkDerivation). For example, stdenv.mkDerivation # accepts an `env` attribute set which is postprocessed before being passed to -# derivation. This can lead to evaluation failures, if we assume +# builtins.derivation. This can lead to evaluation failures, if we assume # that drvAttrs is equivalent to the arguments passed to mkDerivation. # See https://github.com/NixOS/nixpkgs/issues/269539. if lib.isDerivation attrs && attrs ? overrideAttrs then diff --git a/pkgs/development/interpreters/ruby/ruby-version.nix b/pkgs/development/interpreters/ruby/ruby-version.nix index 68db535d5857..8b8bebc9ec42 100644 --- a/pkgs/development/interpreters/ruby/ruby-version.nix +++ b/pkgs/development/interpreters/ruby/ruby-version.nix @@ -76,7 +76,7 @@ let else base; - # Implements the toString interface. + # Implements the builtins.toString interface. __toString = self: self.majMinTiny