added dotnet bc we bad
This commit is contained in:
11
dotnet.nix
Normal file
11
dotnet.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
let
|
||||||
|
# Pinned nixpkgs, deterministic. Last updated: 2/12/21.
|
||||||
|
#pkgs = import (fetchTarball("https://github.com/NixOS/nixpkgs/archive/a58a0b5098f0c2a389ee70eb69422a052982d990.tar.gz")) {};
|
||||||
|
# Rolling updates, not deterministic.
|
||||||
|
pkgs = import (fetchTarball "channel:nixpkgs-unstable") { };
|
||||||
|
in pkgs.mkShell {
|
||||||
|
buildInputs = [ pkgs.dotnet-sdk ];
|
||||||
|
shellHook = ''
|
||||||
|
exec zsh
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -1,17 +1,15 @@
|
|||||||
let
|
let
|
||||||
moz_overlay =
|
moz_overlay = import (builtins.fetchTarball
|
||||||
import (builtins.fetchTarball
|
"https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz");
|
||||||
"https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz");
|
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
|
||||||
nixpkgs = import <nixpkgs> {overlays = [moz_overlay];};
|
in with nixpkgs;
|
||||||
in
|
stdenv.mkDerivation {
|
||||||
with nixpkgs;
|
name = "moz_overlay_shell";
|
||||||
stdenv.mkDerivation {
|
buildInputs = [
|
||||||
name = "moz_overlay_shell";
|
# to use the latest nightly:
|
||||||
buildInputs = [
|
nixpkgs.latest.rustChannels.nightly.rust
|
||||||
# to use the latest nightly:
|
];
|
||||||
nixpkgs.latest.rustChannels.nightly.rust
|
shellHook = ''
|
||||||
];
|
exec zsh
|
||||||
shellHook = ''
|
'';
|
||||||
exec zsh
|
}
|
||||||
'';
|
|
||||||
}
|
|
||||||
|
|||||||
15
rust.nix
15
rust.nix
@@ -2,11 +2,10 @@ let
|
|||||||
# Pinned nixpkgs, deterministic. Last updated: 2/12/21.
|
# Pinned nixpkgs, deterministic. Last updated: 2/12/21.
|
||||||
#pkgs = import (fetchTarball("https://github.com/NixOS/nixpkgs/archive/a58a0b5098f0c2a389ee70eb69422a052982d990.tar.gz")) {};
|
#pkgs = import (fetchTarball("https://github.com/NixOS/nixpkgs/archive/a58a0b5098f0c2a389ee70eb69422a052982d990.tar.gz")) {};
|
||||||
# Rolling updates, not deterministic.
|
# Rolling updates, not deterministic.
|
||||||
pkgs = import (fetchTarball "channel:nixpkgs-unstable") {};
|
pkgs = import (fetchTarball "channel:nixpkgs-unstable") { };
|
||||||
in
|
in pkgs.mkShell {
|
||||||
pkgs.mkShell {
|
buildInputs = [ pkgs.cargo pkgs.rustc pkgs.zsh pkgs.bacon ];
|
||||||
buildInputs = [pkgs.cargo pkgs.rustc pkgs.zsh pkgs.bacon];
|
shellHook = ''
|
||||||
shellHook = ''
|
exec zsh
|
||||||
exec zsh
|
'';
|
||||||
'';
|
}
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user