Browse Source

update default.nix

master
Lucian Pricop 5 years ago
parent
commit
7342af702e
  1. 9
      default.nix

9
default.nix

@ -1,10 +1,14 @@
{ pkgs ? import <nixpkgs> {} }: { pkgs ? import <nixpkgs> {} }:
with pkgs; with pkgs;
{
let
composerEnv = import ./composer-env.nix {
inherit (pkgs) stdenv lib writeTextFile fetchurl php unzip phpPackages;
};
phpPack = import ./php-packages.nix { phpPack = import ./php-packages.nix {
inherit (pkgs) fetchurl fetchgit fetchhg fetchsvn; inherit (pkgs) fetchurl fetchgit fetchhg fetchsvn;
}; };
source = stdenv.mkDerivation {
in
stdenv.mkDerivation {
name = "searchanddisplace-core-source"; name = "searchanddisplace-core-source";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://git.law/newroco/searchanddisplace-ingest.git"; url = "https://git.law/newroco/searchanddisplace-ingest.git";
@ -16,5 +20,4 @@ with pkgs;
cp -r $src $out cp -r $src $out
composer install composer install
''; '';
};
} }
Loading…
Cancel
Save