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 = ./.;
|
src = ./.;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
gcc c-programs/${name}.c -o ${name}
|
gcc part2/${name}.c -o ${name}
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
@ -16,7 +16,7 @@ let
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
assign1-hello = basic-c "hello";
|
a1-hello = basic-c "hello";
|
||||||
assign1-employee = basic-c "employee";
|
a1-employee = basic-c "employee";
|
||||||
assign1-logwriter = basic-c "logwriter";
|
a1-logwriter = basic-c "logwriter";
|
||||||
}
|
}
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
outputs = { self, nixpkgs, systems, ... }:
|
outputs = { self, nixpkgs, systems, ... }:
|
||||||
let
|
let
|
||||||
subdirs = [
|
subdirs = [
|
||||||
"assign1"
|
"assignment1"
|
||||||
];
|
];
|
||||||
|
|
||||||
eachSystem = nixpkgs.lib.genAttrs (import systems);
|
eachSystem = nixpkgs.lib.genAttrs (import systems);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue