0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

[nix] Remove generate_packages wrapper #50

Change-Id: I0713e44dce13f55eec5881dec587a8609ca762dd
This commit is contained in:
Yury Shvedov
2024-02-19 17:00:26 +03:00
parent 6e93f91fbc
commit 87100de4bf
2 changed files with 0 additions and 26 deletions

View File

@@ -1,25 +0,0 @@
{ jq
, curl
, runCommand
, lib
, makeWrapper
}:
let
paths = lib.makeBinPath [ jq curl ];
in
runCommand "generate_config"
{
src = ../utility/generate_packages.sh;
name = "generate_packages";
nativeBuildInputs = [
makeWrapper
];
} ''
mkdir -p "$out/bin"
bin="$out/bin/$name"
cp "$src" "$bin"
chmod +x "$bin"
patchShebangs "$bin"
wrapProgram "$bin" \
--prefix PATH : ${paths}
''