Update flake definition.

pull/8/head
Blaž Hrastnik 3 years ago
parent a81b8f3e42
commit 4b2b62ebc6

@ -32,11 +32,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1610842533, "lastModified": 1612194028,
"narHash": "sha256-6hW8CML8RnNrRJMv7E56rXAhsCNgUM97HIVSqWxnO64=", "narHash": "sha256-AFPVC9gNDHnx52FGD1IWRvM3S3D1AgEbEaOkxDerlyU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0", "rev": "65211f5afcc3637c55423b327157a5eae05dff67",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -82,6 +82,7 @@
"original": { "original": {
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "a9b13ba83eaf2d07ae955a45b15fd96aa6994b70",
"type": "github" "type": "github"
} }
} }

@ -4,10 +4,10 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils"; 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: flake-utils.lib.eachDefaultSystem (system:
let let
pkgs = import nixpkgs { inherit system; overlays = [ rust-overlay.overlay ]; }; pkgs = import nixpkgs { inherit system; overlays = [ rust-overlay.overlay ]; };

@ -1,4 +1,4 @@
{ stdenv, pkgs ? import <nixpkgs> {} }: { stdenv, pkgs }:
pkgs.mkShell { pkgs.mkShell {
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [

Loading…
Cancel
Save