Merge pull request #220739 from spacefrogg/factor-fix

factor: Fix "resource:work" pointing to store
This commit is contained in:
Sandro 2023-05-25 21:47:59 +02:00 committed by GitHub
commit 5cd9b42645
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,6 +150,11 @@ stdenv.mkDerivation {
done)> $out/lib/factor/ld.so.cache
make -j$NIX_BUILD_CORES linux-x86-64
printf "First build from upstream boot image\n" >&2
./build.sh bootstrap
printf "Rebuild boot image\n" >&2
./factor -script -e='"unix-x86.64" USING: system bootstrap.image memory ; make-image save 0 exit'
printf "Second build from local boot image\n" >&2
./build.sh bootstrap
runHook postBuild
'';
@ -214,5 +219,6 @@ stdenv.mkDerivation {
license = licenses.bsd2;
maintainers = with maintainers; [ vrthra spacefrogg ];
platforms = lib.intersectLists platforms.x86_64 platforms.linux;
mainProgram = "factor";
};
}