From ef9abfdf530f2b25c913d3f11c2734ccb8362ab7 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 7 Feb 2017 08:28:25 +0100 Subject: profiles/base: Fix build of nix-repl Since NixOS/nix@21948deed99a3295e4d5666e027a6ca42dc00b40 nix::Pid::wait() no longer takes a boolean argument and is now blocking by default. Signed-off-by: aszlig --- modules/user/aszlig/profiles/base.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix index fe74a243..55a39e28 100644 --- a/modules/user/aszlig/profiles/base.nix +++ b/modules/user/aszlig/profiles/base.nix @@ -87,9 +87,12 @@ in { src = pkgs.fetchFromGitHub { owner = "edolstra"; repo = "nix-repl"; - rev = "e37bca136eb58cc156f88cc8aa8e7bf47ed31d42"; - sha256 = "1myqffvhklqvab3plcy5xmg51fdfncj2wibchxw80pb13wq21r71"; + rev = "0e49f941205769852846cb8afa228831cf6ae363"; + sha256 = "0zsxkxypnm8zzzslvcdqips7glbxw1riq9mxn9w23kayl8d1mfpx"; }; + postPatch = (drv.postPatch or "") + '' + sed -i -e 's/pid\.wait(true)/pid.wait()/g' nix-repl.cc + ''; }); uqm = pkgs.uqm.override { use3DOVideos = true; -- cgit 1.4.1