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,11 +1,9 @@
let
moz_overlay =
import (builtins.fetchTarball
moz_overlay = import (builtins.fetchTarball
"https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz");
nixpkgs = import <nixpkgs> {overlays = [moz_overlay];};
in
with nixpkgs;
stdenv.mkDerivation {
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
in with nixpkgs;
stdenv.mkDerivation {
name = "moz_overlay_shell";
buildInputs = [
# to use the latest nightly:
@@ -14,4 +12,4 @@ in
shellHook = ''
exec zsh
'';
}
}

View File

@@ -2,11 +2,10 @@ 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.cargo pkgs.rustc pkgs.zsh pkgs.bacon];
pkgs = import (fetchTarball "channel:nixpkgs-unstable") { };
in pkgs.mkShell {
buildInputs = [ pkgs.cargo pkgs.rustc pkgs.zsh pkgs.bacon ];
shellHook = ''
exec zsh
'';
}
}