diff options
author | Profpatsch <mail@profpatsch.de> | 2023-01-07T13·53+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-01-07T14·28+0000 |
commit | 83fb27dfbc60075711eca1a3aace40915822b78b (patch) | |
tree | a00a28cfb0c2698024716566e22f56c13ee00f5e /users | |
parent | 1e2c859840f1d73ccf8a956647a15c0436f4bdd0 (diff) |
chore(users/Profpatsch): move rust exec-helpers to own subdir r/5624
This is so we can use the rust language server for the file. Change-Id: I8a2fe15ea67fd0e26814fda57bf0cace0d264cae Reviewed-on: https://cl.tvl.fyi/c/depot/+/7792 Autosubmit: Profpatsch <mail@profpatsch.de> Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
Diffstat (limited to 'users')
-rw-r--r-- | users/Profpatsch/execline/default.nix | 7 | ||||
-rw-r--r-- | users/Profpatsch/execline/exec-helpers/Cargo.lock | 7 | ||||
-rw-r--r-- | users/Profpatsch/execline/exec-helpers/Cargo.toml | 8 | ||||
-rw-r--r-- | users/Profpatsch/execline/exec-helpers/default.nix | 6 | ||||
-rw-r--r-- | users/Profpatsch/execline/exec-helpers/exec_helpers.rs (renamed from users/Profpatsch/execline/exec_helpers.rs) | 0 |
5 files changed, 21 insertions, 7 deletions
diff --git a/users/Profpatsch/execline/default.nix b/users/Profpatsch/execline/default.nix index 9b8856a9a84a..47c7f8b74971 100644 --- a/users/Profpatsch/execline/default.nix +++ b/users/Profpatsch/execline/default.nix @@ -1,12 +1,6 @@ { depot, pkgs, lib, ... }: let - exec-helpers = depot.nix.writers.rustSimpleLib - { - name = "exec-helpers"; - } - (builtins.readFile ./exec_helpers.rs); - exec-helpers-hs = pkgs.haskellPackages.mkDerivation { pname = "exec-helpers"; version = "0.1.0"; @@ -48,7 +42,6 @@ let in depot.nix.readTree.drvTargets { inherit - exec-helpers exec-helpers-hs print-one-env ; diff --git a/users/Profpatsch/execline/exec-helpers/Cargo.lock b/users/Profpatsch/execline/exec-helpers/Cargo.lock new file mode 100644 index 000000000000..1753cc949d3a --- /dev/null +++ b/users/Profpatsch/execline/exec-helpers/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "exec_helpers" +version = "0.1.0" diff --git a/users/Profpatsch/execline/exec-helpers/Cargo.toml b/users/Profpatsch/execline/exec-helpers/Cargo.toml new file mode 100644 index 000000000000..6642b66ee375 --- /dev/null +++ b/users/Profpatsch/execline/exec-helpers/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "exec_helpers" +version = "0.1.0" +edition = "2021" + +[lib] +name = "exec_helpers" +path = "exec_helpers.rs" diff --git a/users/Profpatsch/execline/exec-helpers/default.nix b/users/Profpatsch/execline/exec-helpers/default.nix new file mode 100644 index 000000000000..5545d41d9de7 --- /dev/null +++ b/users/Profpatsch/execline/exec-helpers/default.nix @@ -0,0 +1,6 @@ +{ depot, ... }: +depot.nix.writers.rustSimpleLib +{ + name = "exec-helpers"; +} + (builtins.readFile ./exec_helpers.rs) diff --git a/users/Profpatsch/execline/exec_helpers.rs b/users/Profpatsch/execline/exec-helpers/exec_helpers.rs index a57cbca35391..a57cbca35391 100644 --- a/users/Profpatsch/execline/exec_helpers.rs +++ b/users/Profpatsch/execline/exec-helpers/exec_helpers.rs |