Unverified Commit d5cd2c42 authored by Petr Portnov's avatar Petr Portnov
Browse files

toml2nix: add nix-update-script

parent a187960f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  rustPlatform,
  fetchCrate,
  nix-update-script,
}:

rustPlatform.buildRustPackage (finalAttrs: {
@@ -19,6 +20,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
    ln -s ${./Cargo.lock} Cargo.lock
  '';

  passthru.updateScript = nix-update-script { };
  meta = {
    description = "Tool to convert TOML files to Nix expressions";
    mainProgram = "toml2nix";