added dotnet bc we bad

This commit is contained in:
2025-05-20 06:53:38 +03:00
parent 65c87e3f3e
commit c2d8d76531
3 changed files with 32 additions and 24 deletions

11
dotnet.nix Normal file
View 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
'';
}

View File

@@ -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 = [

View File

@@ -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