refactor: reorganize directory structure

This commit is contained in:
Kiana Sheibani 2025-09-04 22:01:00 -04:00
parent 433a4f2c0d
commit d4913ac8df
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
5 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ let
src = ./.;
buildPhase = ''
runHook preBuild
gcc c-programs/${name}.c -o ${name}
gcc part2/${name}.c -o ${name}
runHook postBuild
'';
installPhase = ''
@ -16,7 +16,7 @@ let
'';
};
in {
assign1-hello = basic-c "hello";
assign1-employee = basic-c "employee";
assign1-logwriter = basic-c "logwriter";
a1-hello = basic-c "hello";
a1-employee = basic-c "employee";
a1-logwriter = basic-c "logwriter";
}

View file

@ -9,7 +9,7 @@
outputs = { self, nixpkgs, systems, ... }:
let
subdirs = [
"assign1"
"assignment1"
];
eachSystem = nixpkgs.lib.genAttrs (import systems);