aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.lock7
-rw-r--r--flake.nix4
-rw-r--r--shell.nix2
3 files changed, 7 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock
index 55f6d35d..505d7e95 100644
--- a/flake.lock
+++ b/flake.lock
@@ -32,11 +32,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1610842533,
- "narHash": "sha256-6hW8CML8RnNrRJMv7E56rXAhsCNgUM97HIVSqWxnO64=",
+ "lastModified": 1612194028,
+ "narHash": "sha256-AFPVC9gNDHnx52FGD1IWRvM3S3D1AgEbEaOkxDerlyU=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0",
+ "rev": "65211f5afcc3637c55423b327157a5eae05dff67",
"type": "github"
},
"original": {
@@ -82,6 +82,7 @@
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
+ "rev": "a9b13ba83eaf2d07ae955a45b15fd96aa6994b70",
"type": "github"
}
}
diff --git a/flake.nix b/flake.nix
index 8208b289..c1e2296e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -4,10 +4,10 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
- rust-overlay.url = "github:oxalica/rust-overlay";
+ rust-overlay.url = "github:oxalica/rust-overlay/a9b13ba83eaf2d07ae955a45b15fd96aa6994b70";
};
- outputs = { nixpkgs, rust-overlay, flake-utils, ... }:
+ outputs = inputs@{ self, nixpkgs, rust-overlay, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; overlays = [ rust-overlay.overlay ]; };
diff --git a/shell.nix b/shell.nix
index be1b20d0..c80192b5 100644
--- a/shell.nix
+++ b/shell.nix
@@ -1,4 +1,4 @@
-{ stdenv, pkgs ? import <nixpkgs> {} }:
+{ stdenv, pkgs }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [