Compare commits
10 Commits
7f5788c964
...
63a88e8cc5
| Author | SHA1 | Date | |
|---|---|---|---|
| 63a88e8cc5 | |||
| 36fae0f0df | |||
| 823c82f7fb | |||
| 4a86ee758c | |||
| 3dc51446fa | |||
| b3cd1c194b | |||
| 6b37774d03 | |||
| 1f8d3db4f9 | |||
| c2d8d76531 | |||
| 65c87e3f3e |
9
dotnet.nix
Normal file
9
dotnet.nix
Normal 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
8
go.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
with (import <nixpkgs> {});
|
||||
mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
go
|
||||
gcc
|
||||
];
|
||||
shellHook = "";
|
||||
}
|
||||
@@ -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
13
rust-nightly.nix
Normal 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 = "";
|
||||
}
|
||||
21
rust.nix
21
rust.nix
@@ -2,11 +2,16 @@ 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];
|
||||
shellHook = ''
|
||||
exec zsh
|
||||
'';
|
||||
}
|
||||
pkgs = import (fetchTarball "channel:nixpkgs-unstable") { };
|
||||
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
|
||||
in pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
cargo
|
||||
rustc
|
||||
zsh
|
||||
bacon
|
||||
pkg-config
|
||||
openssl
|
||||
];
|
||||
shellHook = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user