File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ use flake
Original file line number Diff line number Diff line change 8
8
/home
9
9
/local-rustup
10
10
/snapcraft
11
+ flake.lock
Original file line number Diff line number Diff line change
1
+ # This is a cheap nix flake for direnv use for developing
2
+ # Rustup if you are running on NixOS.
3
+ #
4
+ # We deliberately don't commit a flake.lock because we only
5
+ # provide this for developers, not as a way to have rustup
6
+ # built for NixOS.
7
+
8
+ {
9
+ inputs = { flake-utils . url = "github:numtide/flake-utils" ; } ;
10
+
11
+ outputs = { self , nixpkgs , flake-utils } :
12
+ flake-utils . lib . eachDefaultSystem ( system :
13
+ let pkgs = nixpkgs . legacyPackages . ${ system } ;
14
+ in {
15
+ devShell = pkgs . mkShell {
16
+ buildInputs = with pkgs ; [
17
+ stdenv
18
+ openssl
19
+ pkg-config
20
+ ] ;
21
+ } ;
22
+ } ) ;
23
+ }
You can’t perform that action at this time.
0 commit comments