Skip to content

Commit

Permalink
package/nix: add stdlib lua library
Browse files Browse the repository at this point in the history
  • Loading branch information
Daru-san committed Oct 28, 2024
1 parent d48dfd3 commit b8b1c79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,16 @@
pkg-config
clippy
rustfmt
(lua.withPackages (ps: [ luaPackages.snowy_utils ]))
(lua.withPackages (
ps: with ps; [
stdlib
]
))
luarocks
luarocks-nix
luaPackages.luarocks-build-rust-mlua
luaPackages.snowy_utils
luaPackages.stdlib
];
};
}
Expand Down
1 change: 1 addition & 0 deletions nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
--prefix PATH : ${
lib.makeBinPath [
luaPackages.snowy_utils
luaPackages.stdlib
]
}
'';
Expand Down

0 comments on commit b8b1c79

Please sign in to comment.