Merge pull request #157948 from vbgl/ocaml-ocsigen_server-fix

ocamlPackages.ocsigen_server: fix install
This commit is contained in:
Ben Siraphob 2022-02-06 21:47:33 +00:00 committed by GitHub
commit ab253b1332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ buildDunePackage rec {
ocaml_pcre xml-light
];
configureFlags = [ "--root $(out)" "--prefix /" ];
configureFlags = [ "--root $(out)" "--prefix /" "--temproot ''" ];
dontAddPrefix = true;
dontAddStaticConfigureFlags = true;
@ -47,6 +47,10 @@ buildDunePackage rec {
make -C src confs
'';
postInstall = ''
make install.files
'';
postFixup =
''
rm -rf $out/var/run