Skip to content

Commit 637b9a4

Browse files
committed
test-new-package-label: init at 0.0.1
1 parent 8039343 commit 637b9a4

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
lib,
3+
stdenv,
4+
}:
5+
stdenv.mkDerivation {
6+
pname = "test-new-package-label";
7+
version = "0.0.1";
8+
9+
dontUnpack = true;
10+
11+
installPhase = ''
12+
runHook preInstall
13+
mkdir -p $out/bin
14+
echo "#!/bin/sh" > $out/bin/test-new-package-label
15+
echo "echo hello" >> $out/bin/test-new-package-label
16+
chmod +x $out/bin/test-new-package-label
17+
runHook postInstall
18+
'';
19+
20+
meta = {
21+
description = "Test package for CI label automation";
22+
license = lib.licenses.mit;
23+
maintainers = [ ];
24+
platforms = lib.platforms.all;
25+
};
26+
}

0 commit comments

Comments
 (0)