aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-04-09 10:07:33 +0000
committerBlaž Hrastnik2021-04-09 10:29:01 +0000
commit5253f404772ce62256336404b46d6bb9c65e1b10 (patch)
treeb285519216c5818203ebf58090fc6d369f7681ec
parent978f5114d82b51f2327c08faf2bf692181bf2408 (diff)
nix: Switch to stable rust.
-rw-r--r--flake.lock20
-rw-r--r--flake.nix2
-rw-r--r--shell.nix2
3 files changed, 12 insertions, 12 deletions
diff --git a/flake.lock b/flake.lock
index 6e1bb3c5..a927eb95 100644
--- a/flake.lock
+++ b/flake.lock
@@ -50,10 +50,10 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1616670887,
- "narHash": "sha256-wn+l9qJfR5sj5Gq4DheJHAcBDfOs9K2p9seW2f35xzs=",
- "path": "/nix/store/54xsxxsx2vmlyfw4q2ads0jv3iayv1lc-source",
- "rev": "c0e881852006b132236cbf0301bd1939bb50867e",
+ "lastModified": 1617755977,
+ "narHash": "sha256-vkYi/Q25f9g2ZISS1IT27S+Vv1WDybdegs5SLsktAHw=",
+ "path": "/nix/store/3sazzf324zxa6wc2dw1x02dh1v05g4s1-source",
+ "rev": "4cb48cc25622334f17ec6b9bf56e83de0d521fb7",
"type": "path"
},
"original": {
@@ -63,11 +63,11 @@
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1617636226,
- "narHash": "sha256-iZhBWrOR2DoDs1C+0FlnM9AQLMol/qoGQ+d+S43CKJM=",
+ "lastModified": 1617899217,
+ "narHash": "sha256-gd5JHH7IkeoIQ/oiGZSqDpGdGt7DMRJTQ8JiD8+hdOQ=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde",
+ "rev": "9e377a6ce42dccd9b624ae4ce8f978dc892ba0e2",
"type": "github"
},
"original": {
@@ -106,11 +106,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
- "lastModified": 1617762447,
- "narHash": "sha256-bv1e5VRZnSswnVtBH2Nc1omInZSRgASsS8xO+Fg9whc=",
+ "lastModified": 1617935044,
+ "narHash": "sha256-14AECpzqqDaA0gJk/Auo4usKG8PfM4Dr9eDAC/Dm7JM=",
"owner": "oxalica",
"repo": "rust-overlay",
- "rev": "08263e3fa955acbcb6612c00d920d45e517b242d",
+ "rev": "5b846f742b2350c175311506e840a29cc0278700",
"type": "github"
},
"original": {
diff --git a/flake.nix b/flake.nix
index e61c878c..23763dac 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,7 +13,7 @@
let
pkgs = import nixpkgs { inherit system; overlays = [ rust-overlay.overlay ]; };
naerskLib = pkgs.callPackage naersk {
- inherit (pkgs.rust-bin.nightly.latest) rustc cargo;
+ inherit (pkgs.rust-bin.stable.latest.default) rustc cargo;
};
in rec {
packages.helix = naerskLib.buildPackage {
diff --git a/shell.nix b/shell.nix
index c80192b5..82af46d4 100644
--- a/shell.nix
+++ b/shell.nix
@@ -2,7 +2,7 @@
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
- (rust-bin.nightly.latest.rust.override { extensions = ["rust-src"]; })
+ (rust-bin.stable.latest.default.override { extensions = ["rust-src"]; })
lld_10
stdenv.cc.cc.lib
# pkg-config