d0bba90d04
The previous `sh -c` invocation was incorrect and just happened to work on hosts with a Bourne-compatible shell set as the login shell. Commands in the deploy script were being executed in the login shell.
21 lines
511 B
Nix
21 lines
511 B
Nix
{
|
|
pkgs ? import ./pkgs.nix,
|
|
}: let
|
|
lib = pkgs.lib;
|
|
rustPlatform = pkgs.rustPlatform;
|
|
in rustPlatform.buildRustPackage {
|
|
name = "colmena-dev";
|
|
version = "0.1.0";
|
|
|
|
src = lib.cleanSourceWith {
|
|
filter = name: type: !(type == "directory" && baseNameOf name == "target");
|
|
src = lib.cleanSourceWith {
|
|
filter = lib.cleanSourceFilter;
|
|
src = ./.;
|
|
};
|
|
};
|
|
cargoSha256 = "1yjaqhv9gd86jq56vsrhv6qv3k5qh2pnc4zyxbi2fm2hdrvy0440";
|
|
|
|
# Recursive Nix is not stable yet
|
|
doCheck = false;
|
|
}
|