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:
parent
1e2c859840
commit
83fb27dfbc
5 changed files with 21 additions and 7 deletions
|
@ -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
|
||||
;
|
||||
|
|
7
users/Profpatsch/execline/exec-helpers/Cargo.lock
generated
Normal file
7
users/Profpatsch/execline/exec-helpers/Cargo.lock
generated
Normal 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"
|
8
users/Profpatsch/execline/exec-helpers/Cargo.toml
Normal file
8
users/Profpatsch/execline/exec-helpers/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
[package]
|
||||
name = "exec_helpers"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
name = "exec_helpers"
|
||||
path = "exec_helpers.rs"
|
6
users/Profpatsch/execline/exec-helpers/default.nix
Normal file
6
users/Profpatsch/execline/exec-helpers/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ depot, ... }:
|
||||
depot.nix.writers.rustSimpleLib
|
||||
{
|
||||
name = "exec-helpers";
|
||||
}
|
||||
(builtins.readFile ./exec_helpers.rs)
|
Loading…
Reference in a new issue