Browse Source

new approach 2

master
Lucian Pricop 2 years ago
parent
commit
9652c6d169
  1. 6
      new2/default.nix

6
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

Loading…
Cancel
Save