Unverified Commit 417335fe authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

lintspec: set strictDeps and __structuredAttrs (#514817)

parents 99f3ebc7 bea2e093
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 \