feat: need some new inputs to get this to build
This commit is contained in:
parent
f1dbbec32d
commit
e449204863
1 changed files with 8 additions and 2 deletions
10
flake.nix
10
flake.nix
|
@ -27,6 +27,8 @@
|
|||
desc = "Skynet Discord Bot";
|
||||
buildInputs = with pkgs; [
|
||||
openssl
|
||||
glib
|
||||
gdk-pixbuf
|
||||
pkg-config
|
||||
rustfmt
|
||||
];
|
||||
|
@ -37,6 +39,10 @@
|
|||
pname = "${package_name}";
|
||||
src = ./.;
|
||||
buildInputs = buildInputs;
|
||||
postInstall = ''
|
||||
mkdir $out/config
|
||||
cp .server-icons.toml $out/config
|
||||
'';
|
||||
};
|
||||
# Run `nix build .#fmt` to run tests
|
||||
fmt = naersk'.buildPackage {
|
||||
|
@ -63,9 +69,9 @@
|
|||
|
||||
# `nix develop`
|
||||
devShell = pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [rustup rustPlatform.bindgenHook pkg-config openssl];
|
||||
nativeBuildInputs = with pkgs; [rustup rustPlatform.bindgenHook];
|
||||
# libraries here
|
||||
buildInputs = [ ];
|
||||
buildInputs = buildInputs;
|
||||
RUSTC_VERSION = overrides.toolchain.channel;
|
||||
# https://github.com/rust-lang/rust-bindgen#environment-variables
|
||||
shellHook = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue