From c5d504067c83101626fa24f62e520b3c5a4dc0ee Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Mon, 29 Nov 2021 12:53:23 -0500 Subject: [PATCH] Advance nixpkgs, and add M1 Mac --- flake.lock | 14 ++++++++------ flake.nix | 3 ++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 60b86d5..a7390aa 100644 --- a/flake.lock +++ b/flake.lock @@ -33,16 +33,18 @@ }, "nixpkgs": { "locked": { - "lastModified": 1637533542, - "narHash": "sha256-9jR9AOz4OZf4IxMdIgveOur8n5WbZJBAXtXOe434l78=", - "owner": "NixOS", + "lastModified": 1638159152, + "narHash": "sha256-M6kwz4ko54zC3ev5LMhmqxWDNFhpN80zN0pckmWmGLI=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "b2181bc967053310657128d687e44ec683e7604b", + "rev": "7dcd2f54b82826b05cfd91730a1d77b5d80f008c", "type": "github" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "owner": "nixos", + "repo": "nixpkgs", + "rev": "7dcd2f54b82826b05cfd91730a1d77b5d80f008c", + "type": "github" } }, "root": { diff --git a/flake.nix b/flake.nix index a927662..dc1c69d 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,7 @@ { description = "haskell-template's description"; inputs = { + nixpkgs.url = "github:nixos/nixpkgs/7dcd2f54b82826b05cfd91730a1d77b5d80f008c"; flake-utils.url = "github:numtide/flake-utils"; flake-compat = { url = "github:edolstra/flake-compat"; @@ -8,7 +9,7 @@ }; }; outputs = inputs@{ self, nixpkgs, flake-utils, ... }: - flake-utils.lib.eachSystem [ "x86_64-linux" "x86_64-darwin" ] (system: + flake-utils.lib.eachSystem [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ] (system: let overlays = [ ]; pkgs =