aboutsummaryrefslogtreecommitdiff
path: root/lix-doc/package.nix
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-04-07 16:16:21 -0700
committerjade <lix@jade.fyi>2024-04-08 04:05:13 +0000
commit0145d45806b1f60e9c7221a1f063a1b336a98eb4 (patch)
treecfe9ec77f0323da70fb297667c7df14ab137fcf5 /lix-doc/package.nix
parentb995c17f0eb8d9598f339c080c467101c1f55feb (diff)
nix-doc -> lix-doc, make self-contained in package.nix
package.nix previously needed this callPackage'd externally, which didn't make a lot of sense to us since this is an internal dependency. Thus we changed it to make it more self contained. Change-Id: I4935bc0bc80e1a132bc9b1519e917791da95037c
Diffstat (limited to 'lix-doc/package.nix')
-rw-r--r--lix-doc/package.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/lix-doc/package.nix b/lix-doc/package.nix
new file mode 100644
index 000000000..86ab7501e
--- /dev/null
+++ b/lix-doc/package.nix
@@ -0,0 +1,11 @@
+{
+ rustPlatform,
+ lib
+}:
+
+rustPlatform.buildRustPackage {
+ name = "lix-doc";
+
+ cargoLock.lockFile = ./Cargo.lock;
+ src = lib.cleanSource ./.;
+}