Rename the project and some flake details #4
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -2569,7 +2569,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
|
||||
|
||||
[[package]]
|
||||
name = "tlaternet"
|
||||
name = "tlaternet-webserver"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"check-if-email-exists",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "tlaternet"
|
||||
name = "tlaternet-webserver"
|
||||
version = "0.1.0"
|
||||
authors = ["Tristan Daniël Maat <tm@tlater.net>"]
|
||||
edition = "2018"
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
outputs = { self, nixpkgs, flake-utils, rust-overlay, naersk }@inputs:
|
||||
flake-utils.lib.simpleFlake {
|
||||
inherit self nixpkgs;
|
||||
name = "tlaternet";
|
||||
name = "tlaternet-webserver";
|
||||
preOverlays = [ rust-overlay.overlay ];
|
||||
|
||||
overlay = final: prev: {
|
||||
tlaternet = let
|
||||
tlaternet-webserver = let
|
||||
# The rust toolchain to use
|
||||
toolchain =
|
||||
prev.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
||||
|
@ -43,7 +43,7 @@
|
|||
|
||||
in rec {
|
||||
# The packages provided by this flake
|
||||
tlaternet = {
|
||||
packages = {
|
||||
webserver = prev.callPackage
|
||||
({ rustPlatform, openssl, pkgconfig, ... }:
|
||||
naersk-lib.buildPackage {
|
||||
|
@ -53,7 +53,7 @@
|
|||
root = ./.;
|
||||
}) { };
|
||||
};
|
||||
defaultPackage = tlaternet.webserver;
|
||||
defaultPackage = packages.webserver;
|
||||
|
||||
# A dev shell to hack manually; note this includes
|
||||
# additional toolchain components
|
||||
|
|
Loading…
Reference in a new issue