aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index 2f10ee8..3772d44 100644
--- a/default.nix
+++ b/default.nix
@@ -1,5 +1,12 @@
1with import <nixpkgs> {}; 1with import (builtins.fetchTarball {
2 # FIXME: upgrade to nixpkgs 19 when stable and stick to stable
3 # versions
4 name = "nixos-unstable-2018-12-08";
5 url = https://github.com/nixos/nixpkgs/archive/61c3169a0e17d789c566d5b241bfe309ce4a6275.tar.gz;
6 sha256 = "0qbycg7wkb71v20rchlkafrjfpbk2fnlvvbh3ai9pyfisci5wxvq";
7}) {};
2let 8let
9 stable_nixpkgs = import <nixpkgs> {};
3 mypkgs = {}; 10 mypkgs = {};
4 postHook = '' 11 postHook = ''
5 header() { 12 header() {
@@ -101,7 +108,7 @@ let
101 }; 108 };
102 }; 109 };
103 110
104 buildPerlPackage = callPackage <nixpkgs/pkgs/development/perl-modules/generic> { }; 111 buildPerlPackage = perlPackages.buildPerlPackage;
105 mypkgs.note = buildPerlPackage rec { 112 mypkgs.note = buildPerlPackage rec {
106 name = "note-1.3.26"; 113 name = "note-1.3.26";
107 src = fetchurl { 114 src = fetchurl {