chore(users/Profpatsch): move rust exec-helpers to own subdir

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
This commit is contained in:
Profpatsch 2023-01-07 14:53:18 +01:00 committed by clbot
parent 1e2c859840
commit 83fb27dfbc
5 changed files with 21 additions and 7 deletions

View file

@ -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
;

View file

@ -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"

View file

@ -0,0 +1,8 @@
[package]
name = "exec_helpers"
version = "0.1.0"
edition = "2021"
[lib]
name = "exec_helpers"
path = "exec_helpers.rs"

View file

@ -0,0 +1,6 @@
{ depot, ... }:
depot.nix.writers.rustSimpleLib
{
name = "exec-helpers";
}
(builtins.readFile ./exec_helpers.rs)