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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1637533542, "lastModified": 1638159152,
"narHash": "sha256-9jR9AOz4OZf4IxMdIgveOur8n5WbZJBAXtXOe434l78=", "narHash": "sha256-M6kwz4ko54zC3ev5LMhmqxWDNFhpN80zN0pckmWmGLI=",
"owner": "NixOS", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b2181bc967053310657128d687e44ec683e7604b", "rev": "7dcd2f54b82826b05cfd91730a1d77b5d80f008c",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "nixos",
"type": "indirect" "repo": "nixpkgs",
"rev": "7dcd2f54b82826b05cfd91730a1d77b5d80f008c",
"type": "github"
} }
}, },
"root": { "root": {

View file

@ -1,6 +1,7 @@
{ {
description = "haskell-template's description"; description = "haskell-template's description";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/7dcd2f54b82826b05cfd91730a1d77b5d80f008c";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
flake-compat = { flake-compat = {
url = "github:edolstra/flake-compat"; url = "github:edolstra/flake-compat";
@ -8,7 +9,7 @@
}; };
}; };
outputs = inputs@{ self, nixpkgs, flake-utils, ... }: 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 let
overlays = [ ]; overlays = [ ];
pkgs = pkgs =