Compare commits
10 Commits
7f5788c964
...
master
| 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-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733328505,
|
"lastModified": 1747046372,
|
||||||
"owner": "edolstra",
|
"owner": "edolstra",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -31,10 +31,31 @@
|
|||||||
"type": "github"
|
"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": {
|
"gitignore": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"pre-commit-hooks",
|
"git-hooks",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -66,32 +87,14 @@
|
|||||||
"type": "github"
|
"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": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"devenv": "devenv",
|
"devenv": "devenv",
|
||||||
|
"git-hooks": "git-hooks",
|
||||||
"nixpkgs": "nixpkgs",
|
"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 = "";
|
||||||
|
}
|
||||||
17
rust.nix
17
rust.nix
@@ -3,10 +3,15 @@ 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
|
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
|
||||||
pkgs.mkShell {
|
in pkgs.mkShell {
|
||||||
buildInputs = [pkgs.cargo pkgs.rustc pkgs.zsh pkgs.bacon];
|
buildInputs = with pkgs; [
|
||||||
shellHook = ''
|
cargo
|
||||||
exec zsh
|
rustc
|
||||||
'';
|
zsh
|
||||||
|
bacon
|
||||||
|
pkg-config
|
||||||
|
openssl
|
||||||
|
];
|
||||||
|
shellHook = "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user