Advance nixpkgs, and add M1 Mac

This commit is contained in:
Sridhar Ratnakumar 2021-11-29 12:53:23 -05:00
parent 0924eb5c2a
commit c5d504067c
2 changed files with 10 additions and 7 deletions

View file

@ -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": {

View file

@ -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 =