feat: assignment 3

This commit is contained in:
Kiana Sheibani 2025-11-01 22:14:35 -04:00
parent 06fbd2d6ad
commit 3cc3f6332d
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
7 changed files with 281 additions and 0 deletions

9
assignment3/test.nix Normal file
View file

@ -0,0 +1,9 @@
{
a3 = { runCommandLocal, makeWrapper }:
runCommandLocal "a3-test" { nativeBuildInputs = [ makeWrapper ]; }
''
mkdir -p $out/bin
install ${./test} $out/bin/a3-test
wrapProgram "$out/bin/a3-test" --set FLAKE ${../.}
'';
}