Compare commits
3 Commits
83af858a24
...
1812fa50d9
| Author | SHA1 | Date | |
|---|---|---|---|
| 1812fa50d9 | |||
| 56ac8e722a | |||
| 90bae64679 |
15
default.nix
15
default.nix
@@ -1,17 +1,6 @@
|
|||||||
let
|
|
||||||
rustOverlay = import (
|
|
||||||
builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"
|
|
||||||
);
|
|
||||||
pkgsDefault = import <nixpkgs> { overlays = [ rustOverlay ]; };
|
|
||||||
rustToolchain = pkgsDefault.rust-bin.stable."1.94.0".default;
|
|
||||||
rustPlatformDefault = pkgsDefault.makeRustPlatform {
|
|
||||||
cargo = rustToolchain;
|
|
||||||
rustc = rustToolchain;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
pkgs ? pkgsDefault,
|
pkgs ? import <nixpkgs> { },
|
||||||
rustPlatform ? rustPlatformDefault,
|
rustPlatform ? pkgs.rustPlatform,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
|
|||||||
Reference in New Issue
Block a user