Rewrite main.scm so it does not read the whole wordlist at once
This commit is contained in:
parent
23d993657c
commit
39cbc34e18
3 changed files with 46 additions and 33 deletions
30
flake.nix
30
flake.nix
|
|
@ -30,28 +30,32 @@
|
|||
};
|
||||
in {
|
||||
devShells.default = pkgs.mkShell rec {
|
||||
buildInputs = [
|
||||
lua
|
||||
# fennel
|
||||
pkgs.chicken
|
||||
# pkgs.guile_3_0
|
||||
# pkgs.gcc
|
||||
# pkgs.gambit
|
||||
buildInputs = with pkgs; [
|
||||
chicken
|
||||
openssl
|
||||
gcc
|
||||
];
|
||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||
};
|
||||
packages.default = pkgs.mkDerivation rec {
|
||||
buildInputs = [
|
||||
pkgs.chicken
|
||||
# pkgs.guile_3_0
|
||||
pkgs.gcc
|
||||
pkgs.gambit
|
||||
packages.default = pkgs.stdenv.mkDerivation rec {
|
||||
name = "seizethemeans";
|
||||
src = ./.;
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
chicken
|
||||
openssl
|
||||
gcc
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
chicken ./main.scm -explicit-use
|
||||
gcc
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp main $out/bin/seize-the-means
|
||||
'';
|
||||
|
||||
LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue