diff options
Diffstat (limited to 'users/edef/turbofetch/default.nix')
-rw-r--r-- | users/edef/turbofetch/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/users/edef/turbofetch/default.nix b/users/edef/turbofetch/default.nix new file mode 100644 index 000000000000..a98b2f0b4330 --- /dev/null +++ b/users/edef/turbofetch/default.nix @@ -0,0 +1,11 @@ +{ pkgs, depot, ... }: + +(pkgs.callPackage ./Cargo.nix { + defaultCrateOverrides = (depot.tvix.utils.defaultCrateOverridesForPkgs pkgs) // { + turbofetch = prev: { + src = depot.tvix.utils.filterRustCrateSrc { root = prev.src.origSrc; }; + }; + }; +}).rootCrate.build.overrideAttrs { + meta.ci.extraSteps.crate2nix-check = depot.tvix.utils.mkCrate2nixCheck ./Cargo.nix; +} |