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 substituteAll ${./bees-service-wrapper} "$out"/bin/bees-service-wrapper
chmod +x "$out"/bin/bees-service-wrapper chmod +x "$out"/bin/bees-service-wrapper
ln -s ${bees}/bin/beesd "$out"/bin/beesd ln -s ${bees}/bin/beesd "$out"/bin/beesd
'').overrideAttrs (old: { '').overrideAttrs {
passthru.tests = { passthru.tests = {
smoke-test = nixosTests.bees; smoke-test = nixosTests.bees;
}; };
}) }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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