22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
27 lines
464 B
Nix
27 lines
464 B
Nix
{ lib
|
|
, runCommandLocal
|
|
, runtimeShell
|
|
, substituteAll
|
|
, nix
|
|
, coreutils
|
|
, findutils
|
|
, gnused
|
|
}:
|
|
|
|
runCommandLocal "nuget-to-nix" {
|
|
script = substituteAll {
|
|
src = ./nuget-to-nix.sh;
|
|
inherit runtimeShell;
|
|
|
|
binPath = lib.makeBinPath [
|
|
nix
|
|
coreutils
|
|
findutils
|
|
gnused
|
|
];
|
|
};
|
|
|
|
meta.description = "Convert a nuget packages directory to a lockfile for buildDotnetModule";
|
|
} ''
|
|
install -Dm755 $script $out/bin/nuget-to-nix
|
|
''
|