Compare commits

...

10 Commits

Author SHA1 Message Date
63a88e8cc5 added simple zig 2025-08-29 21:54:26 +03:00
36fae0f0df enhanced go shell 2025-08-29 21:52:01 +03:00
823c82f7fb Added basic go:wq 2025-08-29 21:40:57 +03:00
4a86ee758c Removed the call to zsh 2025-06-29 16:36:33 +03:00
3dc51446fa removed jekyll 2025-06-13 12:58:13 +03:00
b3cd1c194b Added a jekyll.nix shell 2025-05-31 20:04:29 +03:00
6b37774d03 Removed python.nix, everything is better with venv 2025-05-20 23:15:40 +03:00
1f8d3db4f9 dotnet: version 9 + added python *especially py2cfg for static analysis) 2025-05-20 22:40:27 +03:00
c2d8d76531 added dotnet bc we bad 2025-05-20 06:53:38 +03:00
65c87e3f3e Added Mozilla's Rust Nightly 2025-05-14 22:45:19 +03:00
6 changed files with 78 additions and 33 deletions

9
dotnet.nix Normal file
View File

@@ -0,0 +1,9 @@
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_9 ];
shellHook = "";
}

8
go.nix Normal file
View File

@@ -0,0 +1,8 @@
with (import <nixpkgs> {});
mkShell {
buildInputs = with pkgs; [
go
gcc
];
shellHook = "";
}

View File

@@ -19,10 +19,10 @@
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1733328505,
"lastModified": 1747046372,
"owner": "edolstra",
"repo": "flake-compat",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
@@ -31,10 +31,31 @@
"type": "github"
}
},
"git-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1747372754,
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"pre-commit-hooks",
"git-hooks",
"nixpkgs"
]
},
@@ -66,32 +87,14 @@
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1746537231,
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "fa466640195d38ec97cf0493d6d6882bc4d14969",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"type": "github"
}
},
"root": {
"inputs": {
"devenv": "devenv",
"git-hooks": "git-hooks",
"nixpkgs": "nixpkgs",
"pre-commit-hooks": "pre-commit-hooks"
"pre-commit-hooks": [
"git-hooks"
]
}
}
},

13
rust-nightly.nix Normal file
View File

@@ -0,0 +1,13 @@
let
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 {
name = "moz_overlay_shell";
buildInputs = [
# to use the latest nightly:
nixpkgs.latest.rustChannels.nightly.rust
];
shellHook = "";
}

View File

@@ -3,10 +3,15 @@ let
#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];
shellHook = ''
exec zsh
'';
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
in pkgs.mkShell {
buildInputs = with pkgs; [
cargo
rustc
zsh
bacon
pkg-config
openssl
];
shellHook = "";
}

7
zig.nix Normal file
View File

@@ -0,0 +1,7 @@
with (import <nixpkgs> {});
mkShell {
buildInputs = with pkgs; [
zig
];
shellHook = "";
}