From e3e7eed22cf5f2db558477a0dfdd90e81e038122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 21 Dec 2021 18:49:02 +0100 Subject: treewide: move packages to subdirectory --- default.nix | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 576da5b..26470b5 100644 --- a/default.nix +++ b/default.nix @@ -1,31 +1 @@ -{ nixpkgs ? import {}}: - -let - pkgs = nixpkgs // turrispkgs; - callPackage = pkgs.lib.callPackageWith pkgs; - - turrispkgs = with pkgs; { - bootstrapHook = callPackage ( - { makeSetupHook, autoconf, autoconf-archive, automake, gettext, libtool }: - makeSetupHook - { deps = [ autoconf autoconf-archive automake gettext libtool ]; } - ./build-support/bootstrap.sh - ) { }; - - logc = callPackage ./libraries/logc { }; - logc-0_1 = callPackage ./libraries/logc { - pkgversion = "0.1.0"; - pkgsha256 = "1swjzs2249wvnqx2zvxwd7d1z22kd3512xxfvq002cvgbq78ka9a"; - }; - logc-libs = callPackage ./libraries/logc-libs { }; - base64c = callPackage ./libraries/base64c { }; - paho-mqtt-c = callPackage ./libraries/paho-mqtt-c { }; - - sentinel-proxy = callPackage ./sentinel/proxy { }; - sentinel-minipot = callPackage ./sentinel/minipot { }; - sentinel-fwlogs = callPackage ./sentinel/fwlogs { }; - sentinel-faillogs = callPackage ./sentinel/faillogs { }; - - }; - -in turrispkgs +import ./pkgs -- cgit v1.2.3