mirror of
https://github.com/nix-community/NixOS-WSL.git
synced 2026-11-07 14:59:35 +00:00
14 lines
267 B
Nix
14 lines
267 B
Nix
{ rustPlatform, bash, coreutils }:
|
|
rustPlatform.buildRustPackage {
|
|
pname = "nixos-wsl-utils";
|
|
version = "1.0.0";
|
|
|
|
src = ./.;
|
|
cargoLock.lockFile = ./Cargo.lock;
|
|
|
|
env = {
|
|
NIXOS_WSL_SH = "${bash}/bin/sh";
|
|
NIXOS_WSL_ENV = "${coreutils}/bin/env";
|
|
};
|
|
}
|