Compare commits
2 Commits
f025288c8b
...
da10975070
| Author | SHA1 | Date | |
|---|---|---|---|
| da10975070 | |||
| 3548e078ce |
19
default.nix
Normal file
19
default.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
let
|
||||||
|
unstableTarball = fetchTarball
|
||||||
|
"https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
||||||
|
pkgs = import <nixpkgs> { };
|
||||||
|
unstable = import unstableTarball { };
|
||||||
|
|
||||||
|
in with pkgs;
|
||||||
|
pkgs.mkShell {
|
||||||
|
name = "rust";
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
pkg-config
|
||||||
|
unstable.cargo
|
||||||
|
unstable.rustc
|
||||||
|
unstable.rustfmt
|
||||||
|
unstable.rust-analyzer
|
||||||
|
postgresql
|
||||||
|
];
|
||||||
|
}
|
||||||
@ -11,7 +11,7 @@ fn main() -> Result<()> {
|
|||||||
width: 1920,
|
width: 1920,
|
||||||
height: 1200,
|
height: 1200,
|
||||||
},
|
},
|
||||||
orientation: Orientation::Right,
|
orientation: Orientation::Left,
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
Screen {
|
Screen {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user