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,10 +1,8 @@
|
|||||||
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
|
in with nixpkgs;
|
||||||
with nixpkgs;
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "moz_overlay_shell";
|
name = "moz_overlay_shell";
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|||||||
3
rust.nix
3
rust.nix
@@ -3,8 +3,7 @@ let
|
|||||||
#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