added homepage
This commit is contained in:
commit
1936d7cab9
13 changed files with 1262 additions and 0 deletions
10
nix/default.nix
Normal file
10
nix/default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ pkgs ? import <nixpkgs> { }, lib }:
|
||||
|
||||
pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "sun_server";
|
||||
version = "1.0.0";
|
||||
cargoLock.lockFile = ../Cargo.lock;
|
||||
src = pkgs.lib.cleanSource ../.;
|
||||
buildInputs = [ ];
|
||||
# doCheck = false;
|
||||
}
|
||||
16
nix/devshell.nix
Normal file
16
nix/devshell.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
pkgs.mkShell {
|
||||
# Get dependencies from the main package
|
||||
inputsFrom = [ (pkgs.callPackage ./default.nix { }) ];
|
||||
# Additional tooling
|
||||
buildInputs = with pkgs; [
|
||||
cargo
|
||||
cargo-watch
|
||||
rustc
|
||||
rustup
|
||||
clippy
|
||||
rust-analyzer
|
||||
pkg-config
|
||||
bacon
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue