build(flake/nix): adding the default compilation env var
This commit is contained in:
parent
71d2e211ce
commit
0ccd23f5f6
1 changed files with 3 additions and 1 deletions
|
|
@ -35,7 +35,7 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
name = "irc-42";
|
name = "libasm-42";
|
||||||
buildInputs =
|
buildInputs =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
|
|
@ -61,6 +61,8 @@
|
||||||
);
|
);
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
export AS=nasm
|
||||||
|
export CC='clang'
|
||||||
printf "\n\033[0;90mASM env loaded for: \033[38;5;220m${system}\033[0m\n"
|
printf "\n\033[0;90mASM env loaded for: \033[38;5;220m${system}\033[0m\n"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue