refactor: reorganize directory structure
This commit is contained in:
parent
433a4f2c0d
commit
d4913ac8df
5 changed files with 5 additions and 5 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
outputs = { self, nixpkgs, systems, ... }:
|
||||
let
|
||||
subdirs = [
|
||||
"assign1"
|
||||
"assignment1"
|
||||
];
|
||||
|
||||
eachSystem = nixpkgs.lib.genAttrs (import systems);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue