From 9652c6d169ac5d91dcb76e8cca1f7d4a5c78ea8e Mon Sep 17 00:00:00 2001 From: Lucian Pricop Date: Fri, 24 Dec 2021 10:44:46 +0200 Subject: [PATCH] new approach 2 --- new2/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/new2/default.nix b/new2/default.nix index d87f690..c873bbc 100644 --- a/new2/default.nix +++ b/new2/default.nix @@ -51,7 +51,10 @@ let ## By default, we download a specific version of loco. But if you had a ## local codebase for development purposes, you could use that instead. - ramdisk = callPackage (fetchTarball https://github.com/totten/ramdisk/archive/master.tar.gz) {}; + loco = callPackage (fetchTarball https://github.com/totten/loco/archive/v0.4.5.tar.gz) {}; + # loco = callPackage /home/myuser/src/loco { inherit pkgs; }; + + ramdisk = callPackage (fetchTarball https://github.com/totten/ramdisk/archive/5c699fbeb8ce3d8f3862a726e1e2684067b237dd.tar.gz) {}; ## Generating php.ini requires some special work. phpExtLoader = extSpec: (callPackage ./.loco/pkgs/php-exts/default.nix ({ inherit pkgs; } // extSpec)); @@ -97,6 +100,7 @@ in [ pkgs.which pkgs.zip sd-core + loco ## Aside: Downloading a different version of PHP or MySQL or NodeJS is ## simple, but bear in mind: this is upgrading (or downgrading). You