pkgs/tools/filesystems: remove dead code

with the help of deadnix & nil
This commit is contained in:
figsoda 2023-07-25 10:08:41 -04:00
parent 6fdd769188
commit b035cabadf
17 changed files with 17 additions and 27 deletions

View file

@ -75,8 +75,8 @@ in
substituteAll ${./bees-service-wrapper} "$out"/bin/bees-service-wrapper
chmod +x "$out"/bin/bees-service-wrapper
ln -s ${bees}/bin/beesd "$out"/bin/beesd
'').overrideAttrs (old: {
'').overrideAttrs {
passthru.tests = {
smoke-test = nixosTests.bees;
};
})
}

View file

@ -107,7 +107,7 @@ let
optZfs = shouldUsePkg zfs;
# Downgrade rocksdb, 7.10 breaks ceph
rocksdb' = rocksdb.overrideAttrs (oldAttrs: {
rocksdb' = rocksdb.overrideAttrs {
version = "7.9.2";
src = fetchFromGitHub {
owner = "facebook";
@ -115,7 +115,7 @@ let
rev = "refs/tags/v7.9.2";
hash = "sha256-5P7IqJ14EZzDkbjaBvbix04ceGGdlWBuVFH/5dpD5VM=";
};
});
};
hasRadosgw = optExpat != null && optCurl != null && optLibedit != null;
@ -165,7 +165,7 @@ let
# Watch out for python <> boost compatibility
python = python310.override {
packageOverrides = self: super: {
sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec {
sqlalchemy = super.sqlalchemy.overridePythonAttrs rec {
version = "1.4.46";
src = fetchPypi {
pname = "SQLAlchemy";
@ -176,7 +176,7 @@ let
"test/aaa_profiling"
"test/ext/mypy"
];
});
};
};
};

View file

@ -1,6 +1,5 @@
{ lib, stdenv
, fetchurl
, fetchpatch
, autoreconfHook
, neon
, procps

View file

@ -1,7 +1,7 @@
{ lib, stdenv, fetchpatch, fetchFromGitHub, btrfs-progs, python3 }:
let
btrfsProgsPatched = btrfs-progs.overrideAttrs (oldAttrs: {
btrfsProgsPatched = btrfs-progs.overrideAttrs {
patches = [
(fetchpatch {
name = "0001-Print-csum-for-a-given-file-on-stdout.patch";
@ -9,7 +9,7 @@ let
sha256 = "sha256-M4LT7G6gwBfSXf6EL4pxNoQJMyUTOA+ojxEJqw2yss4=";
})
];
});
};
py3 = python3.withPackages (ps: with ps; [
prettytable
numpy

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, rustPlatform, runCommand }:
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "dupe-krill";

View file

@ -9,7 +9,6 @@
, double-conversion
, fmt_8
, fuse3
, gflags
, glog
, gtest
, jemalloc

View file

@ -1,5 +1,5 @@
{ lib, stdenv, rustPlatform, fetchFromGitea, openssl, pkg-config, protobuf
, cacert, testers, Security, garage, nixosTests }:
, cacert, Security, garage, nixosTests }:
let
generic = { version, sha256, cargoSha256, eol ? false, broken ? false }: rustPlatform.buildRustPackage {
pname = "garage";

View file

@ -1,5 +1,4 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, fuse

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, makeWrapper
, python3

View file

@ -4,10 +4,10 @@
lib.mapAttrs (
name: { CPPFLAGS }:
mkspiffs.overrideAttrs (drv: {
mkspiffs.overrideAttrs {
inherit CPPFLAGS;
BUILD_CONFIG_NAME = "-${name}";
})
}
) {
arduino-esp8266.CPPFLAGS = [
"-DSPIFFS_USE_MAGIC_LENGTH=0"

View file

@ -1,16 +1,13 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, acl
, autoreconfHook
, avahi
, db
, ed
, libevent
, libgcrypt
, libiconv
, libtirpc
, openssl
, pam
, perl

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, libuuid, libselinux
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libuuid, libselinux
, e2fsprogs }:
stdenv.mkDerivation rec {

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, python3Packages }:
{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication {
pname = "sdat2img";

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, help2man
, lz4
, lzo

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, python3, makeWrapper }:
{ lib, fetchFromGitHub, python3 }:
python3.pkgs.buildPythonApplication rec {

View file

@ -1,5 +1,4 @@
{ stdenv
, pkgs
, lib
, fetchurl
, e2fsprogs

View file

@ -1,8 +1,7 @@
{ rustPlatform
{ lib
, rustPlatform
, cloud-utils
, fetchFromGitHub
, lib
, llvmPackages
, pkg-config
, util-linux
, zfs