Add flake shell for dev with guile
This commit is contained in:
parent
3f81a69c57
commit
d029478743
24
flake.nix
24
flake.nix
|
@ -22,11 +22,8 @@
|
||||||
in rec {
|
in rec {
|
||||||
formatter = pkgs.nixfmt;
|
formatter = pkgs.nixfmt;
|
||||||
|
|
||||||
devShells.rustybar = pkgs.mkShellNoCC {
|
devShells.mes-m2 = pkgs.mkShellNoCC {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
perl
|
|
||||||
guile
|
|
||||||
gnumake
|
|
||||||
minimal-bootstrap.kaem
|
minimal-bootstrap.kaem
|
||||||
minimal-bootstrap.mescc-tools
|
minimal-bootstrap.mescc-tools
|
||||||
];
|
];
|
||||||
|
@ -34,8 +31,25 @@
|
||||||
CC = "M2-Planet";
|
CC = "M2-Planet";
|
||||||
stage0_cpu = stage0Arch;
|
stage0_cpu = stage0Arch;
|
||||||
mes_cpu = mesArch;
|
mes_cpu = mesArch;
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
export GUILE_LOAD_PATH=$PWD/mes/module:$PWD/module:${pkgs.minimal-bootstrap.mes.nyacc.guilePath}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
devShells.default = devShells.rustybar;
|
|
||||||
|
devShells.mes-guile = pkgs.mkShell {
|
||||||
|
packages = with pkgs; [
|
||||||
|
perl
|
||||||
|
guile
|
||||||
|
gnumake
|
||||||
|
minimal-bootstrap.mescc-tools
|
||||||
|
];
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
export GUILE_LOAD_PATH=$PWD/module:${pkgs.minimal-bootstrap.mes.nyacc.guilePath}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
devShells.default = devShells.mes-m2;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue