From b4f5810239635ea5f77fc9f3e4b21ab1895a6f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20P=C3=A4tzel?= Date: Mon, 9 Nov 2020 15:02:19 +0100 Subject: [PATCH] Pin nixpkgs --- haga.cabal | 2 +- release.nix | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/haga.cabal b/haga.cabal index 9742e2c..a162acb 100644 --- a/haga.cabal +++ b/haga.cabal @@ -15,7 +15,7 @@ license: GPL-3.0-only license-file: LICENSE author: David Pätzel maintainer: david.paetzel@posteo.de -copyright: Copyright (c): 2019 David Pätzel +copyright: Copyright (c): 2020 David Pätzel category: Optimization build-type: Simple diff --git a/release.nix b/release.nix index 8b5f56e..5285d93 100644 --- a/release.nix +++ b/release.nix @@ -14,6 +14,9 @@ let }; }; }; - # pkgs = import { inherit config; }; - pkgs = import /home/david/Code/nixpkgs/default.nix { inherit config; }; + pkgs = import (builtins.fetchGit { + name = "nixpkgs-2020-05-13"; + url = "https://github.com/NixOS/nixpkgs/"; + rev = "a29c7741a3257f9e27daf126e18f472102eaa14b"; + }) { inherit config; }; in { haga = pkgs.haskellPackages.haga; }