treewide: remove unused rec

Auto-fix by nixf-diagnose.
This commit is contained in:
Wolfgang Walther
2025-09-01 12:49:06 +02:00
parent 6f066d934b
commit 90e7159c55
128 changed files with 230 additions and 231 deletions

View File

@@ -97,7 +97,6 @@ let
# https://github.com/nix-community/nixd/blob/main/libnixf/src/Basic/diagnostic.py
# TODO: Remove the following and fix things.
"--ignore=parse-redundant-paren"
"--ignore=sema-extra-rec"
"--ignore=sema-extra-with"
"--ignore=sema-unused-def-lambda-noarg-formal"
"--ignore=sema-unused-def-lambda-witharg-arg"

View File

@@ -16,7 +16,7 @@ in
options = {
programs.atop = rec {
programs.atop = {
enable = lib.mkEnableOption "Atop, a tool for monitoring system resources";

View File

@@ -80,7 +80,7 @@ in
'';
allowedPatterns =
with lib.types;
lib.mkOption rec {
lib.mkOption {
type = attrsOf Pattern;
description = "The hook config, describing which paths to mount for which system features";
default = { };

View File

@@ -12,7 +12,7 @@ let
ldapValueType =
let
# Can't do types.either with multiple non-overlapping submodules, so define our own
singleLdapValueType = lib.mkOptionType rec {
singleLdapValueType = lib.mkOptionType {
name = "LDAP";
# TODO: It would be nice to define a { secret = ...; } option, using
# systemd's LoadCredentials for secrets. That would remove the last

View File

@@ -42,7 +42,7 @@ let
inherit flashbackEnabled nixos-background-dark nixos-background-light;
};
nixos-background-info = pkgs.writeTextFile rec {
nixos-background-info = pkgs.writeTextFile {
name = "nixos-background-info";
text = ''
<?xml version="1.0"?>

View File

@@ -1699,7 +1699,7 @@ in
filteredConfig = filterAttrs (_: v: v != null) cfg.pages.settings;
isSecret = v: isAttrs v && v ? _secret && isString v._secret;
mkPagesKeyValue = lib.generators.toKeyValue {
mkKeyValue = lib.flip lib.generators.mkKeyValueDefault "=" rec {
mkKeyValue = lib.flip lib.generators.mkKeyValueDefault "=" {
mkValueString =
v:
if isInt v then

View File

@@ -11,7 +11,7 @@ let
opt = options.services.parsedmarc;
isSecret = v: isAttrs v && v ? _secret && isString v._secret;
ini = pkgs.formats.ini {
mkKeyValue = lib.flip lib.generators.mkKeyValueDefault "=" rec {
mkKeyValue = lib.flip lib.generators.mkKeyValueDefault "=" {
mkValueString =
v:
if isInt v then

View File

@@ -136,7 +136,7 @@ in
wants = [ "nss-lookup.target" ];
before = [ "nss-lookup.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = rec {
serviceConfig = {
Type = "exec";
DynamicUser = true;
ProtectHome = "tmpfs";

View File

@@ -90,7 +90,7 @@ in
description = "Home directory for writable storage";
};
database = mkOption rec {
database = mkOption {
type =
with types;
attrsOf (oneOf [

View File

@@ -44,7 +44,7 @@ in
default = "gancio";
};
settings = mkOption rec {
settings = mkOption {
type = types.submodule {
freeformType = settingsFormat.type;
options = {

View File

@@ -9,7 +9,7 @@ let
assets:cash -250$
'';
in
rec {
{
name = "hledger-web";
meta.maintainers = with lib.maintainers; [ marijanp ];

View File

@@ -38,7 +38,7 @@ let
}@args:
makeTest (
recursiveUpdate
rec {
{
name = tested.name;
meta = {

View File

@@ -1,5 +1,5 @@
{ pkgs, ... }:
rec {
{
name = "jenkins-cli";
meta = with pkgs.lib.maintainers; {
maintainers = [ pamplemousse ];

View File

@@ -6,7 +6,7 @@ in
name = "locate";
meta.maintainers = with pkgs.lib.maintainers; [ chkno ];
nodes = rec {
nodes = {
a = {
environment.systemPackages = with pkgs; [ sshfs ];
virtualisation.fileSystems = {

View File

@@ -5,7 +5,7 @@
...
}:
rec {
{
name = "pihole-ftl-basic";
meta.maintainers = with lib.maintainers; [ averyvigolo ];

View File

@@ -5,7 +5,7 @@
nodes.machine =
{ ... }:
{
services.phylactery = rec {
services.phylactery = {
enable = true;
port = 8080;
library = "/tmp";

View File

@@ -214,12 +214,12 @@ in
kernelPackages = pkgs.linuxPackages;
};
unstable = makeZfsTest rec {
unstable = makeZfsTest {
zfsPackage = pkgs.zfs_unstable;
kernelPackages = pkgs.linuxPackages;
};
unstableWithSystemdStage1 = makeZfsTest rec {
unstableWithSystemdStage1 = makeZfsTest {
zfsPackage = pkgs.zfs_unstable;
kernelPackages = pkgs.linuxPackages;
enableSystemdStage1 = true;

View File

@@ -112,7 +112,7 @@ self: super: {
};
};
kakoune-rainbow = super.kakoune-rainbow.overrideAttrs (oldAttrs: rec {
kakoune-rainbow = super.kakoune-rainbow.overrideAttrs (oldAttrs: {
preFixup = ''
mkdir -p $out/bin
mv $out/share/kak/autoload/plugins/kakoune-rainbow/bin/kak-rainbow.scm $out/bin
@@ -146,14 +146,14 @@ self: super: {
};
};
powerline-kak = super.powerline-kak.overrideAttrs (oldAttrs: rec {
powerline-kak = super.powerline-kak.overrideAttrs (oldAttrs: {
preFixup = ''
substituteInPlace $out/share/kak/autoload/plugins/powerline-kak/rc/modules/git.kak \
--replace ' git ' ' ${git}/bin/git '
'';
});
hop-kak = rustPlatform.buildRustPackage rec {
hop-kak = rustPlatform.buildRustPackage {
pname = "hop-kak";
version = "0.2.0";

View File

@@ -140,7 +140,7 @@ let
'';
};
in
stdenv.mkDerivation (rec {
stdenv.mkDerivation ({
inherit pname;
version = buildVersion;

View File

@@ -37,7 +37,7 @@ let
or (throw "unsupported platform ${stdenv.hostPlatform.system}");
in
vscode-utils.buildVscodeMarketplaceExtension rec {
vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = base // {
name = "python";
publisher = "ms-python";

View File

@@ -11,7 +11,7 @@ let
self = {
octoprint = stdenv.mkDerivation rec {
octoprint = stdenv.mkDerivation {
pname = "Cura-OctoPrintPlugin";
version = "3.5.18";

View File

@@ -186,7 +186,7 @@ in
# TODO: Package and add Intel Storage Acceleration Library
tests = nixosTests.hadoop;
};
hadoop_3_3 = common rec {
hadoop_3_3 = common {
pname = "hadoop";
platformAttrs = rec {
x86_64-linux = {
@@ -204,7 +204,7 @@ in
# TODO: Package and add Intel Storage Acceleration Library
tests = nixosTests.hadoop_3_3;
};
hadoop2 = common rec {
hadoop2 = common {
pname = "hadoop";
platformAttrs.x86_64-linux = {
version = "2.10.2";

View File

@@ -101,7 +101,7 @@ in
version = "3.5.5";
hash = "sha256-vzcWgIfHPhN3nyrxdk3f0p4fW3MpQ+FuEPnWPw0xNPg=";
};
spark_3_4 = spark rec {
spark_3_4 = spark {
pname = "spark";
version = "3.4.4";
hash = "sha256-GItHmthLhG7y0XSF3QINCyE7wYFb0+lPZmYLUuMa4Ww=";

View File

@@ -51,7 +51,7 @@ let
# Python used for KLEE tests.
kleePython = python3.withPackages (ps: with ps; [ tabulate ]);
in
llvmPackages.stdenv.mkDerivation rec {
llvmPackages.stdenv.mkDerivation {
pname = "klee";
version = "3.1-unstable-2025-07-11";

View File

@@ -27,7 +27,7 @@ let
applySharedDetails = drv: drv { inherit version src meta; };
in
rec {
{
coolercontrol-ui-data = applySharedDetails (callPackage ./coolercontrol-ui-data.nix { });
coolercontrold = applySharedDetails (callPackage ./coolercontrold.nix { });

View File

@@ -44,7 +44,7 @@ let
});
in
rec {
{
inherit mkCheckpointBuild;
/*
Prepare a derivation for local builds.

View File

@@ -92,7 +92,7 @@ rec {
# inject test dependencies into the build
crates = {
"asn1-rs" = rec {
"asn1-rs" = {
crateName = "asn1-rs";
version = "0.3.1";
edition = "2018";
@@ -160,7 +160,7 @@ rec {
"time"
];
};
"asn1-rs-derive" = rec {
"asn1-rs-derive" = {
crateName = "asn1-rs-derive";
version = "0.1.0";
edition = "2018";
@@ -189,7 +189,7 @@ rec {
];
};
"asn1-rs-impl" = rec {
"asn1-rs-impl" = {
crateName = "asn1-rs-impl";
version = "0.1.0";
edition = "2018";
@@ -214,7 +214,7 @@ rec {
];
};
"autocfg 0.1.7" = rec {
"autocfg 0.1.7" = {
crateName = "autocfg";
version = "0.1.7";
edition = "2015";
@@ -224,7 +224,7 @@ rec {
];
};
"autocfg 1.0.1" = rec {
"autocfg 1.0.1" = {
crateName = "autocfg";
version = "1.0.1";
edition = "2015";
@@ -234,7 +234,7 @@ rec {
];
};
"base64" = rec {
"base64" = {
crateName = "base64";
version = "0.13.0";
edition = "2018";
@@ -251,7 +251,7 @@ rec {
"std"
];
};
"base64ct" = rec {
"base64ct" = {
crateName = "base64ct";
version = "1.1.1";
edition = "2018";
@@ -263,7 +263,7 @@ rec {
"std" = [ "alloc" ];
};
};
"bitflags" = rec {
"bitflags" = {
crateName = "bitflags";
version = "1.3.2";
edition = "2018";
@@ -281,7 +281,7 @@ rec {
};
resolvedDefaultFeatures = [ "default" ];
};
"botan" = rec {
"botan" = {
crateName = "botan";
version = "0.8.1";
edition = "2018";
@@ -309,7 +309,7 @@ rec {
"vendored"
];
};
"botan-src" = rec {
"botan-src" = {
crateName = "botan-src";
version = "0.21703.0";
edition = "2018";
@@ -320,7 +320,7 @@ rec {
];
};
"botan-sys" = rec {
"botan-sys" = {
crateName = "botan-sys";
version = "0.8.1";
edition = "2015";
@@ -351,7 +351,7 @@ rec {
"vendored"
];
};
"bumpalo" = rec {
"bumpalo" = {
crateName = "bumpalo";
version = "3.9.1";
edition = "2018";
@@ -363,7 +363,7 @@ rec {
};
resolvedDefaultFeatures = [ "default" ];
};
"byteorder" = rec {
"byteorder" = {
crateName = "byteorder";
version = "1.4.3";
edition = "2018";
@@ -375,7 +375,7 @@ rec {
"default" = [ "std" ];
};
};
"cc" = rec {
"cc" = {
crateName = "cc";
version = "1.0.72";
edition = "2018";
@@ -389,7 +389,7 @@ rec {
"parallel" = [ "jobserver" ];
};
};
"cfg-if" = rec {
"cfg-if" = {
crateName = "cfg-if";
version = "1.0.0";
edition = "2018";
@@ -406,7 +406,7 @@ rec {
];
};
};
"const-oid" = rec {
"const-oid" = {
crateName = "const-oid";
version = "0.6.2";
edition = "2018";
@@ -417,7 +417,7 @@ rec {
features = {
};
};
"crypto-bigint" = rec {
"crypto-bigint" = {
crateName = "crypto-bigint";
version = "0.2.11";
edition = "2018";
@@ -457,7 +457,7 @@ rec {
"rand_core"
];
};
"cty" = rec {
"cty" = {
crateName = "cty";
version = "0.2.2";
edition = "2015";
@@ -467,7 +467,7 @@ rec {
];
};
"data-encoding" = rec {
"data-encoding" = {
crateName = "data-encoding";
version = "2.3.2";
edition = "2018";
@@ -485,7 +485,7 @@ rec {
"std"
];
};
"der" = rec {
"der" = {
crateName = "der";
version = "0.4.5";
edition = "2018";
@@ -524,7 +524,7 @@ rec {
"std"
];
};
"der-parser" = rec {
"der-parser" = {
crateName = "der-parser";
version = "7.0.0";
edition = "2018";
@@ -577,7 +577,7 @@ rec {
"std"
];
};
"digest" = rec {
"digest" = {
crateName = "digest";
version = "0.9.0";
edition = "2018";
@@ -601,7 +601,7 @@ rec {
"std"
];
};
"displaydoc" = rec {
"displaydoc" = {
crateName = "displaydoc";
version = "0.2.3";
edition = "2018";
@@ -632,7 +632,7 @@ rec {
"std"
];
};
"foreign-types" = rec {
"foreign-types" = {
crateName = "foreign-types";
version = "0.3.2";
edition = "2015";
@@ -648,7 +648,7 @@ rec {
];
};
"foreign-types-shared" = rec {
"foreign-types-shared" = {
crateName = "foreign-types-shared";
version = "0.1.1";
edition = "2015";
@@ -658,7 +658,7 @@ rec {
];
};
"generic-array" = rec {
"generic-array" = {
crateName = "generic-array";
version = "0.14.5";
edition = "2015";
@@ -684,7 +684,7 @@ rec {
"serde" = [ "dep:serde" ];
};
};
"getrandom" = rec {
"getrandom" = {
crateName = "getrandom";
version = "0.2.4";
edition = "2018";
@@ -727,7 +727,7 @@ rec {
};
resolvedDefaultFeatures = [ "std" ];
};
"itoa" = rec {
"itoa" = {
crateName = "itoa";
version = "1.0.1";
edition = "2018";
@@ -737,7 +737,7 @@ rec {
];
};
"js-sys" = rec {
"js-sys" = {
crateName = "js-sys";
version = "0.3.56";
edition = "2018";
@@ -753,7 +753,7 @@ rec {
];
};
"lazy_static" = rec {
"lazy_static" = {
crateName = "lazy_static";
version = "1.4.0";
edition = "2015";
@@ -777,7 +777,7 @@ rec {
"spin_no_std"
];
};
"libc" = rec {
"libc" = {
crateName = "libc";
version = "0.2.116";
edition = "2015";
@@ -799,7 +799,7 @@ rec {
"std"
];
};
"libm" = rec {
"libm" = {
crateName = "libm";
version = "0.2.1";
edition = "2018";
@@ -813,7 +813,7 @@ rec {
};
resolvedDefaultFeatures = [ "default" ];
};
"log" = rec {
"log" = {
crateName = "log";
version = "0.4.14";
edition = "2015";
@@ -849,7 +849,7 @@ rec {
"value-bag" = [ "dep:value-bag" ];
};
};
"memchr" = rec {
"memchr" = {
crateName = "memchr";
version = "2.4.1";
edition = "2018";
@@ -871,7 +871,7 @@ rec {
};
resolvedDefaultFeatures = [ "std" ];
};
"minimal-lexical" = rec {
"minimal-lexical" = {
crateName = "minimal-lexical";
version = "0.2.1";
edition = "2018";
@@ -884,7 +884,7 @@ rec {
};
resolvedDefaultFeatures = [ "std" ];
};
"nom" = rec {
"nom" = {
crateName = "nom";
version = "7.1.0";
edition = "2018";
@@ -924,7 +924,7 @@ rec {
"std"
];
};
"num-bigint" = rec {
"num-bigint" = {
crateName = "num-bigint";
version = "0.4.3";
edition = "2018";
@@ -968,7 +968,7 @@ rec {
"std"
];
};
"num-bigint-dig" = rec {
"num-bigint-dig" = {
crateName = "num-bigint-dig";
version = "0.7.0";
edition = "2015";
@@ -1070,7 +1070,7 @@ rec {
"zeroize"
];
};
"num-integer" = rec {
"num-integer" = {
crateName = "num-integer";
version = "0.1.44";
edition = "2015";
@@ -1101,7 +1101,7 @@ rec {
"std"
];
};
"num-iter" = rec {
"num-iter" = {
crateName = "num-iter";
version = "0.1.42";
edition = "2015";
@@ -1139,7 +1139,7 @@ rec {
];
};
};
"num-traits" = rec {
"num-traits" = {
crateName = "num-traits";
version = "0.2.14";
edition = "2015";
@@ -1171,7 +1171,7 @@ rec {
"std"
];
};
"num_threads" = rec {
"num_threads" = {
crateName = "num_threads";
version = "0.1.3";
edition = "2015";
@@ -1188,7 +1188,7 @@ rec {
];
};
"oid-registry" = rec {
"oid-registry" = {
crateName = "oid-registry";
version = "0.4.0";
edition = "2018";
@@ -1228,7 +1228,7 @@ rec {
"x962"
];
};
"once_cell" = rec {
"once_cell" = {
crateName = "once_cell";
version = "1.9.0";
edition = "2018";
@@ -1250,7 +1250,7 @@ rec {
"std"
];
};
"openssl" = rec {
"openssl" = {
crateName = "openssl";
version = "0.10.38";
edition = "2018";
@@ -1289,7 +1289,7 @@ rec {
"vendored" = [ "ffi/vendored" ];
};
};
"openssl-sys" = rec {
"openssl-sys" = {
crateName = "openssl-sys";
version = "0.9.72";
edition = "2015";
@@ -1329,7 +1329,7 @@ rec {
"vendored" = [ "openssl-src" ];
};
};
"pem" = rec {
"pem" = {
crateName = "pem";
version = "1.0.2";
edition = "2018";
@@ -1345,7 +1345,7 @@ rec {
];
};
"pem-rfc7468" = rec {
"pem-rfc7468" = {
crateName = "pem-rfc7468";
version = "0.2.4";
edition = "2018";
@@ -1364,7 +1364,7 @@ rec {
};
resolvedDefaultFeatures = [ "alloc" ];
};
"pkcs1" = rec {
"pkcs1" = {
crateName = "pkcs1";
version = "0.2.4";
edition = "2018";
@@ -1414,7 +1414,7 @@ rec {
"zeroize"
];
};
"pkcs8" = rec {
"pkcs8" = {
crateName = "pkcs8";
version = "0.7.6";
edition = "2018";
@@ -1497,7 +1497,7 @@ rec {
"zeroize"
];
};
"pkg-config" = rec {
"pkg-config" = {
crateName = "pkg-config";
version = "0.3.24";
edition = "2015";
@@ -1507,7 +1507,7 @@ rec {
];
};
"ppv-lite86" = rec {
"ppv-lite86" = {
crateName = "ppv-lite86";
version = "0.2.16";
edition = "2018";
@@ -1523,7 +1523,7 @@ rec {
"std"
];
};
"proc-macro2" = rec {
"proc-macro2" = {
crateName = "proc-macro2";
version = "1.0.36";
edition = "2018";
@@ -1546,7 +1546,7 @@ rec {
"proc-macro"
];
};
"quote" = rec {
"quote" = {
crateName = "quote";
version = "1.0.15";
edition = "2018";
@@ -1570,7 +1570,7 @@ rec {
"proc-macro"
];
};
"rand" = rec {
"rand" = {
crateName = "rand";
version = "0.8.4";
edition = "2018";
@@ -1652,7 +1652,7 @@ rec {
"std_rng"
];
};
"rand_chacha" = rec {
"rand_chacha" = {
crateName = "rand_chacha";
version = "0.3.1";
edition = "2018";
@@ -1682,7 +1682,7 @@ rec {
};
resolvedDefaultFeatures = [ "std" ];
};
"rand_core" = rec {
"rand_core" = {
crateName = "rand_core";
version = "0.6.3";
edition = "2018";
@@ -1714,7 +1714,7 @@ rec {
"std"
];
};
"rand_hc" = rec {
"rand_hc" = {
crateName = "rand_hc";
version = "0.3.1";
edition = "2018";
@@ -1730,7 +1730,7 @@ rec {
];
};
"rcgen" = rec {
"rcgen" = {
crateName = "rcgen";
version = "0.9.2";
edition = "2018";
@@ -1821,7 +1821,7 @@ rec {
"zeroize"
];
};
"ring" = rec {
"ring" = {
crateName = "ring";
version = "0.16.20";
edition = "2018";
@@ -1938,7 +1938,7 @@ rec {
"once_cell"
];
};
"rsa" = rec {
"rsa" = {
crateName = "rsa";
version = "0.5.0";
edition = "2018";
@@ -2062,7 +2062,7 @@ rec {
"std"
];
};
"rusticata-macros" = rec {
"rusticata-macros" = {
crateName = "rusticata-macros";
version = "4.0.0";
edition = "2018";
@@ -2080,7 +2080,7 @@ rec {
];
};
"smallvec" = rec {
"smallvec" = {
crateName = "smallvec";
version = "1.8.0";
edition = "2018";
@@ -2094,7 +2094,7 @@ rec {
"serde" = [ "dep:serde" ];
};
};
"spin" = rec {
"spin" = {
crateName = "spin";
version = "0.5.2";
edition = "2015";
@@ -2105,7 +2105,7 @@ rec {
];
};
"spki" = rec {
"spki" = {
crateName = "spki";
version = "0.4.1";
edition = "2018";
@@ -2124,7 +2124,7 @@ rec {
"std" = [ "der/std" ];
};
};
"subtle" = rec {
"subtle" = {
crateName = "subtle";
version = "2.4.1";
edition = "2015";
@@ -2140,7 +2140,7 @@ rec {
];
};
};
"syn" = rec {
"syn" = {
crateName = "syn";
version = "1.0.86";
edition = "2018";
@@ -2194,7 +2194,7 @@ rec {
"visit"
];
};
"synstructure" = rec {
"synstructure" = {
crateName = "synstructure";
version = "0.12.6";
edition = "2018";
@@ -2244,7 +2244,7 @@ rec {
"proc-macro"
];
};
"thiserror" = rec {
"thiserror" = {
crateName = "thiserror";
version = "1.0.30";
edition = "2018";
@@ -2260,7 +2260,7 @@ rec {
];
};
"thiserror-impl" = rec {
"thiserror-impl" = {
crateName = "thiserror-impl";
version = "1.0.30";
edition = "2018";
@@ -2285,7 +2285,7 @@ rec {
];
};
"time" = rec {
"time" = {
crateName = "time";
version = "0.3.7";
edition = "2018";
@@ -2357,7 +2357,7 @@ rec {
"time-macros"
];
};
"time-macros" = rec {
"time-macros" = {
crateName = "time-macros";
version = "0.2.3";
edition = "2018";
@@ -2370,7 +2370,7 @@ rec {
features = {
};
};
"typenum" = rec {
"typenum" = {
crateName = "typenum";
version = "1.15.0";
edition = "2018";
@@ -2385,7 +2385,7 @@ rec {
"scale_info" = [ "scale-info/derive" ];
};
};
"unicode-xid" = rec {
"unicode-xid" = {
crateName = "unicode-xid";
version = "0.2.2";
edition = "2015";
@@ -2399,7 +2399,7 @@ rec {
};
resolvedDefaultFeatures = [ "default" ];
};
"untrusted" = rec {
"untrusted" = {
crateName = "untrusted";
version = "0.7.1";
edition = "2018";
@@ -2410,7 +2410,7 @@ rec {
];
};
"vcpkg" = rec {
"vcpkg" = {
crateName = "vcpkg";
version = "0.2.15";
edition = "2015";
@@ -2420,7 +2420,7 @@ rec {
];
};
"version_check" = rec {
"version_check" = {
crateName = "version_check";
version = "0.9.4";
edition = "2015";
@@ -2430,7 +2430,7 @@ rec {
];
};
"wasi" = rec {
"wasi" = {
crateName = "wasi";
version = "0.10.2+wasi-snapshot-preview1";
edition = "2018";
@@ -2454,7 +2454,7 @@ rec {
"std"
];
};
"wasm-bindgen" = rec {
"wasm-bindgen" = {
crateName = "wasm-bindgen";
version = "0.2.79";
edition = "2018";
@@ -2497,7 +2497,7 @@ rec {
"std"
];
};
"wasm-bindgen-backend" = rec {
"wasm-bindgen-backend" = {
crateName = "wasm-bindgen-backend";
version = "0.2.79";
edition = "2018";
@@ -2541,7 +2541,7 @@ rec {
};
resolvedDefaultFeatures = [ "spans" ];
};
"wasm-bindgen-macro" = rec {
"wasm-bindgen-macro" = {
crateName = "wasm-bindgen-macro";
version = "0.2.79";
edition = "2018";
@@ -2566,7 +2566,7 @@ rec {
};
resolvedDefaultFeatures = [ "spans" ];
};
"wasm-bindgen-macro-support" = rec {
"wasm-bindgen-macro-support" = {
crateName = "wasm-bindgen-macro-support";
version = "0.2.79";
edition = "2018";
@@ -2606,7 +2606,7 @@ rec {
};
resolvedDefaultFeatures = [ "spans" ];
};
"wasm-bindgen-shared" = rec {
"wasm-bindgen-shared" = {
crateName = "wasm-bindgen-shared";
version = "0.2.79";
edition = "2018";
@@ -2616,7 +2616,7 @@ rec {
];
};
"web-sys" = rec {
"web-sys" = {
crateName = "web-sys";
version = "0.3.56";
edition = "2018";
@@ -4083,7 +4083,7 @@ rec {
"Window"
];
};
"webpki" = rec {
"webpki" = {
crateName = "webpki";
version = "0.22.0";
edition = "2018";
@@ -4111,7 +4111,7 @@ rec {
"std"
];
};
"winapi" = rec {
"winapi" = {
crateName = "winapi";
version = "0.3.9";
edition = "2015";
@@ -4139,7 +4139,7 @@ rec {
"wtypesbase"
];
};
"winapi-i686-pc-windows-gnu" = rec {
"winapi-i686-pc-windows-gnu" = {
crateName = "winapi-i686-pc-windows-gnu";
version = "0.4.0";
edition = "2015";
@@ -4149,7 +4149,7 @@ rec {
];
};
"winapi-x86_64-pc-windows-gnu" = rec {
"winapi-x86_64-pc-windows-gnu" = {
crateName = "winapi-x86_64-pc-windows-gnu";
version = "0.4.0";
edition = "2015";
@@ -4159,7 +4159,7 @@ rec {
];
};
"x509-parser" = rec {
"x509-parser" = {
crateName = "x509-parser";
version = "0.13.0";
edition = "2018";
@@ -4231,7 +4231,7 @@ rec {
"verify"
];
};
"yasna" = rec {
"yasna" = {
crateName = "yasna";
version = "0.5.0";
edition = "2018";
@@ -4259,7 +4259,7 @@ rec {
"time"
];
};
"zeroize" = rec {
"zeroize" = {
crateName = "zeroize";
version = "1.4.3";
edition = "2018";
@@ -4284,7 +4284,7 @@ rec {
"zeroize_derive"
];
};
"zeroize_derive" = rec {
"zeroize_derive" = {
crateName = "zeroize_derive";
version = "1.3.1";
edition = "2018";

View File

@@ -6,7 +6,7 @@
pkgsTargetTarget,
}:
rec {
{
# These environment variables must be set when using `cargo-c` and
# several other tools which do not deal well with cross
# compilation. The symptom of the problem they fix is errors due

View File

@@ -9,7 +9,7 @@
stdenv,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "appindicator-sharp";
version = "0-unstable-2016-01-18";

View File

@@ -19,7 +19,7 @@
brightnessctl,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "avizo";
version = "1.3-unstable-2024-11-03";

View File

@@ -14,7 +14,7 @@
pkg-config,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "bic";
version = "1.0.0-unstable-2022-02-16";

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule {
pname = "cerca";
version = "0-unstable-2025-05-21";

View File

@@ -4,7 +4,7 @@
python3,
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication {
pname = "certmitm";
version = "0-unstable-2025-05-14";
pyproject = false;

View File

@@ -5,7 +5,7 @@
ruby,
}:
bundlerEnv rec {
bundlerEnv {
pname = "cfn-nag";
version = "0.8.10";

View File

@@ -17,7 +17,7 @@
libxml2,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "cjs";
version = "128.0-unstable-2025-09-15";

View File

@@ -5,7 +5,7 @@
nautilus-python,
python3,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "code-nautilus";
version = "0-unstable-2024-09-11";

View File

@@ -16,7 +16,7 @@ let
appimageContents = appimageTools.extractType2 { inherit pname version src; };
in
appimageTools.wrapType2 rec {
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''

View File

@@ -62,7 +62,7 @@ let
# TODO: migrate to redist packages
inherit (cudaPackages) cudatoolkit;
in
stdenv'.mkDerivation rec {
stdenv'.mkDerivation {
version = "unstable-3.12.5-openimageio";
pname = "colmap";
src = fetchFromGitHub {

View File

@@ -4,7 +4,7 @@
bundlerUpdateScript,
}:
bundlerApp rec {
bundlerApp {
pname = "coltrane";
gemdir = ./.;
exes = [ "coltrane" ];

View File

@@ -5,7 +5,7 @@
makeWrapper,
}:
python3Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication {
pname = "countryguess";
version = "0-unstable-2025-03-04";
# upstream pyproject.toml is nonsense. Copied from another project

View File

@@ -7,7 +7,7 @@
gradle,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "crossfire-gridarta";
version = "2025-04";

View File

@@ -70,7 +70,7 @@ let
))
];
in
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "dcgm";
version = "4.3.1"; # N.B: If you change this, be sure prometheus-dcgm-exporter supports this version.

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "defaultbrowser";
version = "unstable-2020-07-23";

View File

@@ -26,7 +26,7 @@
wrapGAppsHook3,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "denemo";
version = "2.6.43";

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule {
pname = "dli";
version = "0-unstable-2025-09-06";

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
pname = "dpms-off";
version = "0.2.1";

View File

@@ -5,7 +5,7 @@
autoreconfHook,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "duti";
version = "1.5.5pre";
src = fetchFromGitHub {

View File

@@ -16,7 +16,7 @@
vtkWithQt6,
llvmPackages,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "elmerfem";
version = "9.0-unstable-2025-05-25";

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
pname = "git-point";
version = "0.2.2";

View File

@@ -5,7 +5,7 @@
python3Packages,
}:
python3Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication {
pname = "haxor-news";
version = "unstable-2022-04-22";
format = "setuptools";

View File

@@ -7,7 +7,7 @@
stdenv,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "ike-scan";
version = "1.9.5-unstable-2024-09-15";

View File

@@ -49,7 +49,7 @@ lib.checkListOfEnum "${pname}: theme variants"
tweaks
stdenvNoCC.mkDerivation
rec {
{
inherit pname;
version = "0-unstable-2025-04-02";

View File

@@ -10,7 +10,7 @@ let
ghcVersion = "ghc910";
haskellPackages = haskell.packages.${ghcVersion};
overrides = rec {
overrides = {
version = "${raw-pkg.version}-unstable-2024-12-09";
postPatch = ''

View File

@@ -4,7 +4,7 @@
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
pname = "kubernix";
version = "0.2.0-unstable-2021-11-16";

View File

@@ -10,7 +10,7 @@
zip,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "mari0";
version = "1.6.2-unstable-2023-08-08";

View File

@@ -1,7 +1,7 @@
{
addDriverRunpath,
allowedPatternsPath ? callPackage ./closure.nix { inherit allowedPatterns; },
allowedPatterns ? rec {
allowedPatterns ? {
# This config is just an example.
# When the hook observes either of the following requiredSystemFeatures:
nvidia-gpu.onFeatures = [

View File

@@ -7,7 +7,7 @@
kdePackages,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation {
pname = "nordic";
version = "2.2.0-unstable-2025-05-05";

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "osx-cpu-temp";
version = "unstable-2020-12-04";

View File

@@ -9,7 +9,7 @@
unstableGitUpdater,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "OttoMatic";
version = "4.0.1-unstable-2025-04-27";

View File

@@ -8,7 +8,7 @@
testers,
}:
bundlerApp rec {
bundlerApp {
pname = "overcommit";
gemdir = ./.;
exes = [ "overcommit" ];

View File

@@ -13,7 +13,7 @@
let
ocamlPackages = ocaml-ng.ocamlPackages_5_2;
in
ocamlPackages.buildDunePackage rec {
ocamlPackages.buildDunePackage {
pname = "owi";
version = "0.2-unstable-2025-09-25";

View File

@@ -22,7 +22,7 @@ let
# pdm requires ...... -> ghostscript-with-X which is AGPL only
matplotlib = super.matplotlib.override ({ enableTk = false; });
# pdm requires ...... -> jbig2dec which is AGPL only
moto = super.moto.overridePythonAttrs (old: rec {
moto = super.moto.overridePythonAttrs (old: {
doCheck = false;
});
};

View File

@@ -19,7 +19,7 @@ let
};
in
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "polar";
# The package has no releases so let's use the latest commit

View File

@@ -12,7 +12,7 @@
pkg-config,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "precice";
version = "3.2.0-unstable-2025-05-23";

View File

@@ -9,7 +9,7 @@ let
packageOverrides = self: super: {
# Doesn't work with latest pydantic
py-ocsf-models = super.py-ocsf-models.overridePythonAttrs (oldAttrs: rec {
py-ocsf-models = super.py-ocsf-models.overridePythonAttrs (oldAttrs: {
dependencies = [
python3.pkgs.pydantic_1
python3.pkgs.cryptography

View File

@@ -135,7 +135,7 @@ let
;
};
pulumi-gen = mkBasePackage rec {
pulumi-gen = mkBasePackage {
inherit
src
version

View File

@@ -10,7 +10,7 @@
opencv4,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "qimgv";
version = "1.0.3-unstable-2024-10-11";

View File

@@ -31,7 +31,7 @@ lib.checkListOfEnum "${pname}: color variants"
colorVariants
stdenvNoCC.mkDerivation
rec {
{
inherit pname;
version = "0-unstable-2023-05-13";

View File

@@ -20,7 +20,7 @@ let
rocVersion = "alpha4";
in
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
pname = "roc";
version = "0-${rocVersion}";

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
buildNpmPackage rec {
buildNpmPackage {
pname = "samfirm-js";
version = "0.3.0-unstable-2023-12-27";

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule {
pname = "shadowsocks-v2ray-plugin";
version = "1.3.2-unstable-2025-09-05";

View File

@@ -9,7 +9,7 @@
soapysdr,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "soapyuhd";
version = "0.4.1-unstable-2025-02-13";

View File

@@ -7,7 +7,7 @@
zita-resampler,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "tamgamp.lv2";
version = "unstable-2020-06-14";

View File

@@ -5,7 +5,7 @@
withRdpClient ? true,
extPatches ? [ ],
}:
buildTeleport rec {
buildTeleport {
version = "16.5.15";
hash = "sha256-DqNG6gl+KdjSbkE9Bwum8az8cLCSOmZwo9xpuWafHCA=";
vendorHash = "sha256-sZvRKLF2iZ3UpgGNUPuWMT7VTpnDa2uU0d1XjDKSmdo=";

View File

@@ -6,7 +6,7 @@
extPatches ? [ ],
}:
buildTeleport rec {
buildTeleport {
version = "17.7.3";
hash = "sha256-YSYkJRAeu7iPOs/gFnozZbks0Fx5srNH0VjrKvFmHZo=";
vendorHash = "sha256-7Rb94ERtp3H1Jwyh9d7AFT06d4xXdnfe5tpdvJQrbUQ=";

View File

@@ -6,7 +6,7 @@
extPatches ? [ ],
}:
buildTeleport rec {
buildTeleport {
version = "18.2.0";
hash = "sha256-JWgGRv9pK76u7IxwqnBcuAI93XIKfIVvme7l+a/3J7c=";
vendorHash = "sha256-oPi/rIuwze2ZlyHfZ2MdDHHvdIaF2IZ2aklEVNRgoLo=";

View File

@@ -4,7 +4,7 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule {
pname = "unwaf";
version = "0-unstable-2025-07-04";

View File

@@ -7,7 +7,7 @@
autoreconfHook,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "uudeview";
version = "0.5.20-unstable-2025-03-20";

View File

@@ -6,7 +6,7 @@
xorg,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "wmutils-opt";
version = "1.0-unstable-2024-09-09";

View File

@@ -20,7 +20,7 @@
weston,
xwayland,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "x11docker";
version = "7.6.0-unstable-2024-04-04";
src = fetchFromGitHub {

View File

@@ -4,7 +4,7 @@
fetchurl,
cabextract,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation {
pname = "xow_dongle-firmware";
version = "0-unstable-2025-04-22";

View File

@@ -8,7 +8,7 @@
xterm,
}:
python3Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication {
pname = "zenmap";
version = nmap.version;
pyproject = true;

View File

@@ -26,7 +26,7 @@
# ];
# };
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation {
pname = "qogir-kde";
version = "0-unstable-2024-12-21";

View File

@@ -19,7 +19,7 @@
meson,
ninja,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "elementary-session-settings";
# Allow disabling x11 session
# nixpkgs-update: no auto update

View File

@@ -119,7 +119,7 @@ makeScopeWithSplicing' {
langFortran = true;
};
gfortran = wrapCCWith rec {
gfortran = wrapCCWith {
cc = gccPackages.gfortran-unwrapped;
libcxx = targetGccPackages.libstdcxx;
bintools = binutils;
@@ -134,7 +134,7 @@ makeScopeWithSplicing' {
];
};
gfortranNoLibgfortran = wrapCCWith rec {
gfortranNoLibgfortran = wrapCCWith {
cc = gccPackages.gfortran-unwrapped;
libcxx = targetGccPackages.libstdcxx;
bintools = binutils;
@@ -148,7 +148,7 @@ makeScopeWithSplicing' {
];
};
gcc = wrapCCWith rec {
gcc = wrapCCWith {
cc = gccPackages.gcc-unwrapped;
libcxx = targetGccPackages.libstdcxx;
bintools = binutils;
@@ -162,7 +162,7 @@ makeScopeWithSplicing' {
];
};
gccNoLibgcc = wrapCCWith rec {
gccNoLibgcc = wrapCCWith {
cc = gccPackages.gcc-unwrapped;
libcxx = null;
bintools = binutilsNoLibc;
@@ -176,7 +176,7 @@ makeScopeWithSplicing' {
stdenv = overrideCC stdenv buildGccPackages.gccNoLibgcc;
};
gccWithLibc = wrapCCWith rec {
gccWithLibc = wrapCCWith {
cc = gccPackages.gcc-unwrapped;
libcxx = null;
bintools = binutils;
@@ -192,7 +192,7 @@ makeScopeWithSplicing' {
stdenv = overrideCC stdenv buildGccPackages.gccWithLibc;
};
gccWithLibssp = wrapCCWith rec {
gccWithLibssp = wrapCCWith {
cc = gccPackages.gcc-unwrapped;
libcxx = null;
bintools = binutils;
@@ -209,7 +209,7 @@ makeScopeWithSplicing' {
stdenv = overrideCC stdenv buildGccPackages.gccWithLibssp;
};
gccWithLibatomic = wrapCCWith rec {
gccWithLibatomic = wrapCCWith {
cc = gccPackages.gcc-unwrapped;
libcxx = null;
bintools = binutils;

View File

@@ -516,7 +516,7 @@ stdenv.mkDerivation {
hadrian = null;
};
meta = rec {
meta = {
homepage = "http://haskell.org/ghc";
description = "Glasgow Haskell Compiler";
license = lib.licenses.bsd3;

View File

@@ -1,4 +1,4 @@
import ./common-hadrian.nix rec {
import ./common-hadrian.nix {
version = "9.10.3";
sha256 = "d266864b9e0b7b741abe8c9d6a790d7c01c21cf43a1419839119255878ebc59a";
}

View File

@@ -1,4 +1,4 @@
import ./common-hadrian.nix rec {
import ./common-hadrian.nix {
version = "9.12.2";
sha256 = "0e49cd5dde43f348c5716e5de9a5d7a0f8d68d945dc41cf75dfdefe65084f933";
}

View File

@@ -480,7 +480,7 @@ stdenv.mkDerivation {
hadrian = null;
};
meta = rec {
meta = {
homepage = "http://haskell.org/ghc";
description = "Glasgow Haskell Compiler";
license = lib.licenses.bsd3;

View File

@@ -454,7 +454,7 @@ stdenv.mkDerivation {
hadrian = null;
};
meta = rec {
meta = {
homepage = "http://haskell.org/ghc";
description = "Glasgow Haskell Compiler";
license = lib.licenses.bsd3;

View File

@@ -469,7 +469,7 @@ stdenv.mkDerivation {
hadrian = null;
};
meta = rec {
meta = {
homepage = "http://haskell.org/ghc";
description = "Glasgow Haskell Compiler";
license = lib.licenses.bsd3;

View File

@@ -62,7 +62,7 @@ let
};
};
in
rec {
{
libprom = build {
pname = "libprom";
subdir = "prom";

View File

@@ -145,7 +145,7 @@ let
});
in
rec {
{
wlroots_0_17 = generic {
version = "0.17.4";
hash = "sha256-AzmXf+HMX/6VAr0LpfHwfmDB9dRrrLQHt7l35K98MVo=";

View File

@@ -12,7 +12,7 @@
lib,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "ocaml-augeas";
version = "0.6";

View File

@@ -43,7 +43,7 @@ let
license = lib.licenses.asl20;
};
};
kado = buildDunePackage rec {
kado = buildDunePackage {
pname = "kado";
version = "unstable-2023-10-03";
src = fetchFromGitHub {

View File

@@ -8,7 +8,7 @@
flac,
}:
buildDunePackage rec {
buildDunePackage {
pname = "flac";
inherit (ogg) version src;

View File

@@ -23,7 +23,7 @@
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "datalad-next";
version = "1.6.0-unstable-2025-07-04";
pyproject = true;

View File

@@ -27,7 +27,7 @@
pytest-xdist,
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "dbt-common";
version = "1.28.0-unstable-2025-08-14";
pyproject = true;

View File

@@ -14,7 +14,7 @@
webtest,
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "devpi-ldap";
version = "2.1.1-unstable-2023-11-28";
pyproject = true;

View File

@@ -12,7 +12,7 @@
rtree,
}:
buildPythonPackage rec {
buildPythonPackage {
inherit (pkgs.libsupermesh)
pname
version

Some files were not shown because too many files have changed in this diff Show More