From d6b027bfb79ac0fb588bc8792a71ab2ed7149a20 Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Thu, 15 Mar 2018 22:00:55 -0500 Subject: [PATCH] Remove old sed --- up.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/up.sh b/up.sh index 5a9ee75..ce7c9b3 100755 --- a/up.sh +++ b/up.sh @@ -41,7 +41,7 @@ git reset --hard git checkout master git reset --hard upstream/master -DERIVATION_FILE=$(EDITOR=echo nix edit $1 -f . | sed 's|.*/nixpkgs/\(.*\)|\1|') || error_exit "Couldn't find derivation file." +DERIVATION_FILE=$(EDITOR=echo nix edit $1 -f .) || error_exit "Couldn't find derivation file." function error_cleanup { cleanup