about summary refs log tree commit diff
path: root/tvix/derivation/src/write.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-01-04T15·29+0100
committerflokli <flokli@flokli.de>2023-01-04T20·23+0000
commitf00e7fa92d67c8f7e07939734975dfee780a303f (patch)
tree4a25758da0d5bd2dd7cedfe6e00061996963f38f /tvix/derivation/src/write.rs
parent8449f6cd0c97f341f75ac3201499ebb0c2161e6b (diff)
refactor(tvix/derivation): use tvix_store::nixpath::STORE_DIR r/5587
There's now a common constant for this, so we don't need to redefine
it here.

Change-Id: I48b096f5e623e5fc5bbd355db83b674766935f94
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7753
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/derivation/src/write.rs')
-rw-r--r--tvix/derivation/src/write.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tvix/derivation/src/write.rs b/tvix/derivation/src/write.rs
index 0ad1eb71e4da..3fd8db792d10 100644
--- a/tvix/derivation/src/write.rs
+++ b/tvix/derivation/src/write.rs
@@ -13,7 +13,6 @@ pub const QUOTE: char = '"';
 pub const COLON: &str = ":";
 pub const TEXT_COLON: &str = "text:";
 pub const SHA256_COLON: &str = "sha256:";
-pub const STORE_PATH_COLON: &str = "/nix/store:";
 pub const DOT_FILE_EXT: &str = ".drv";
 
 fn write_array_elements(