Unverified Commit bea2e093 authored by beeb's avatar beeb
Browse files

lintspec: set strictDeps and __structuredAttrs

parent 92fab1ae
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "lintspec";
  version = "0.16.0";
  __structuredAttrs = true;

  src = fetchFromGitHub {
    owner = "beeb";
@@ -23,6 +24,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
    "lintspec"
  ];

  strictDeps = true;
  nativeBuildInputs = [ installShellFiles ];
  postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
    installShellCompletion --cmd lintspec \