about summary refs log tree commit diff
path: root/users/edef/turbofetch/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2024-10-12T22·40+0300
committerclbot <clbot@tvl.fyi>2024-10-12T23·02+0000
commitbd8d6e824f0bfc3c2755713af36f815d0ee82edb (patch)
treecf1b64998e2d199442bedfb25a85806e8b4e89ba /users/edef/turbofetch/default.nix
parent398a9b531758297417280ccf06b82c85f3d236dd (diff)
chore(tvix/tools): move turbofetch to //users/edef r/8799
This was introduced in cl/9925 without any commit message, but this is clearly
not relevant to Tvix itself (it even says so in a comment in Cargo.toml).

Change-Id: I84f12d5145c3f53c9df23863f887bad913856c50
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12604
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: edef <edef@edef.eu>
Diffstat (limited to 'users/edef/turbofetch/default.nix')
-rw-r--r--users/edef/turbofetch/default.nix11
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;
+}