summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorolus2000 <alsabak@gmail.com>2023-11-06 09:09:32 +0100
committerolus2000 <alsabak@gmail.com>2023-11-06 09:09:32 +0100
commit85d04f272abfca4a2dc5bd91ca128bf1fe1a49e8 (patch)
tree184004949ebbee0839f7e19be708b0202e1d61ac /pkgs/development
parent044b0ec94da88fe6ecac313808459844fcb7163c (diff)
downloadnixpkgs-85d04f272abfca4a2dc5bd91ca128bf1fe1a49e8.tar
nixpkgs-85d04f272abfca4a2dc5bd91ca128bf1fe1a49e8.tar.gz
nixpkgs-85d04f272abfca4a2dc5bd91ca128bf1fe1a49e8.tar.bz2
nixpkgs-85d04f272abfca4a2dc5bd91ca128bf1fe1a49e8.tar.lz
nixpkgs-85d04f272abfca4a2dc5bd91ca128bf1fe1a49e8.tar.xz
nixpkgs-85d04f272abfca4a2dc5bd91ca128bf1fe1a49e8.tar.zst
nixpkgs-85d04f272abfca4a2dc5bd91ca128bf1fe1a49e8.zip
factor-lang: fix upgrade to include changes from 8d999d4
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/compilers/factor-lang/factor99.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/compilers/factor-lang/factor99.nix b/pkgs/development/compilers/factor-lang/factor99.nix
index 5d60f1d5156..85ff98a28ba 100644
--- a/pkgs/development/compilers/factor-lang/factor99.nix
+++ b/pkgs/development/compilers/factor-lang/factor99.nix
@@ -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";
   };
 }