Files
my-pkgs/pkgs/example-b/default.nix
T
luis dd986e9709
CI / Nix Flake Check (push) Successful in 53s
CI / Build Packages (default) (push) Successful in 50s
CI / Build Packages (example-b) (push) Successful in 45s
CI / Build Packages (example-a) (push) Successful in 46s
CI / Build Packages (pyzotero) (push) Successful in 55s
CI / Build Packages (pyzotero-cli) (push) Successful in 56s
audiveris
2026-06-14 21:22:36 +02:00

29 lines
424 B
Nix

{
lib,
stdenv,
}:
stdenv.mkDerivation {
pname = "example-b";
version = "0.1.0";
src = ./.;
dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
cat > $out/bin/example-b << 'EOF'
#!/bin/sh
echo "Hello from example-b!"
EOF
chmod +x $out/bin/example-b
'';
meta = {
description = "Example package B";
license = lib.licenses.mit;
platforms = lib.platforms.all;
};
}