summary refs log tree commit diff
path: root/pkgs/test/rust-sysroot/default.nix
diff options
context:
space:
mode:
authorAaron Janse <aaron@ajanse.me>2020-10-17 00:58:09 -0700
committerAaron Janse <aaron@ajanse.me>2020-10-17 00:58:09 -0700
commit0ac33bf3f89c843803bce45ebe5b5a8865b67948 (patch)
tree0245020c250dfe964a56dfc13ed82f3bb2f90314 /pkgs/test/rust-sysroot/default.nix
parentd884b2d877cfda8247a6ee49f5c26ba3133c3889 (diff)
downloadnixpkgs-0ac33bf3f89c843803bce45ebe5b5a8865b67948.tar
nixpkgs-0ac33bf3f89c843803bce45ebe5b5a8865b67948.tar.gz
nixpkgs-0ac33bf3f89c843803bce45ebe5b5a8865b67948.tar.bz2
nixpkgs-0ac33bf3f89c843803bce45ebe5b5a8865b67948.tar.lz
nixpkgs-0ac33bf3f89c843803bce45ebe5b5a8865b67948.tar.xz
nixpkgs-0ac33bf3f89c843803bce45ebe5b5a8865b67948.tar.zst
nixpkgs-0ac33bf3f89c843803bce45ebe5b5a8865b67948.zip
add `meta` to rust-sysroot test
Diffstat (limited to 'pkgs/test/rust-sysroot/default.nix')
-rw-r--r--pkgs/test/rust-sysroot/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/test/rust-sysroot/default.nix b/pkgs/test/rust-sysroot/default.nix
index c6e9ecb89d9..10b37278af9 100644
--- a/pkgs/test/rust-sysroot/default.nix
+++ b/pkgs/test/rust-sysroot/default.nix
@@ -1,4 +1,4 @@
-{ rustPlatform, fetchFromGitHub, writeText }:
+{ lib, rustPlatform, fetchFromGitHub, writeText }:
 
 rustPlatform.buildRustPackage rec {
     name = "blog_os-sysroot-test";
@@ -38,4 +38,9 @@ rustPlatform.buildRustPackage rec {
 
     # Tests don't work for `no_std`. See https://os.phil-opp.com/testing/
     doCheck = false; 
+
+    meta = with lib; {
+        description = "Test for using custom sysroots with buildRustPackage.";
+        maintainers = with maintainers; [ aaronjanse ];
+    };
 }