From 9d40787938f38d19edbabad03586d0948236aefd Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <edolstra@gmail.com>
Date: Tue, 20 Mar 2018 17:01:36 +0100
Subject: [PATCH] Move builtinFetchurl to its own file

---
 src/libstore/{builtins.cc => builtins/fetchurl.cc} | 0
 src/libstore/local.mk                              | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename src/libstore/{builtins.cc => builtins/fetchurl.cc} (100%)

diff --git a/src/libstore/builtins.cc b/src/libstore/builtins/fetchurl.cc
similarity index 100%
rename from src/libstore/builtins.cc
rename to src/libstore/builtins/fetchurl.cc
diff --git a/src/libstore/local.mk b/src/libstore/local.mk
index e11efa5c2..a7279aa39 100644
--- a/src/libstore/local.mk
+++ b/src/libstore/local.mk
@@ -4,7 +4,7 @@ libstore_NAME = libnixstore
 
 libstore_DIR := $(d)
 
-libstore_SOURCES := $(wildcard $(d)/*.cc)
+libstore_SOURCES := $(wildcard $(d)/*.cc $(d)/builtins/*.cc)
 
 libstore_LIBS = libutil libformat