nix/backend: init
This commit is contained in:
parent
e877b94653
commit
a35cc60f23
2 changed files with 20 additions and 0 deletions
19
nix/backend.nix
Normal file
19
nix/backend.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "backend";
|
||||
version = "0.1";
|
||||
|
||||
src = ../.;
|
||||
|
||||
cargoHash = "sha256-NRrWWD3e2zm4rVYyCPm3vQhPDRkVMauTnoENwRucXcw=";
|
||||
|
||||
meta = with lib; {
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "backend";
|
||||
};
|
||||
}
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
{
|
||||
native = pkgs.callPackage ./native.nix {};
|
||||
backend = pkgs.callPackage ./backend.nix {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue