diff options
author | volth <volth@volth.com> | 2018-07-20 17:56:59 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2018-07-20 18:48:37 +0000 |
commit | 87f5930c3fb2c852f5243278b7a9da8e117d95e4 (patch) | |
tree | d76aa79bc394e820305c4eebbd250c89f6992eb9 /pkgs/tools/package-management/cargo-edit | |
parent | a7e5927b4739c6e6427fc993f077cd3eb5433db7 (diff) | |
download | nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.gz nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.bz2 nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.lz nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.xz nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.tar.zst nixpkgs-87f5930c3fb2c852f5243278b7a9da8e117d95e4.zip |
[bot]: remove unreferenced code
Diffstat (limited to 'pkgs/tools/package-management/cargo-edit')
-rw-r--r-- | pkgs/tools/package-management/cargo-edit/cargo-edit.nix | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/tools/package-management/cargo-edit/cargo-edit.nix b/pkgs/tools/package-management/cargo-edit/cargo-edit.nix index 042c999be0d..67aa52f4789 100644 --- a/pkgs/tools/package-management/cargo-edit/cargo-edit.nix +++ b/pkgs/tools/package-management/cargo-edit/cargo-edit.nix @@ -3,13 +3,6 @@ with pkgs; let kernel = buildPlatform.parsed.kernel.name; - abi = buildPlatform.parsed.abi.name; - include = includedFiles: src: builtins.filterSource (path: type: - lib.lists.any (f: - let p = toString (src + ("/" + f)); in - (path == p) || (type == "directory" && lib.strings.hasPrefix path p) - ) includedFiles - ) src; updateFeatures = f: up: functions: builtins.deepSeq f (lib.lists.foldl' (features: fun: fun features) (lib.attrsets.recursiveUpdate f up) functions); mapFeatures = features: map (fun: fun { features = features; }); mkFeatures = feat: lib.lists.foldl (features: featureName: |