I've tried to get the isabelle-dev repo to work/build on NixOS recently and it just didn't quite work out. So - before I waste more time on that - I was wondering if anyone here got a working nix environment set up and would be willing to share it :)
pretty sure Jan van Brügge is the nix maintainer
Unfortunately, I don't have my nix machine at work but I am using buildFHSEnv
in order to use the repository version of Isabelle. It looks something like this
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSEnv {
name = "isabelle-dev-env";
targetPkgs = pkgs: (with pkgs; [
]) ++ (with pkgs.xorg; [
# Add the required Xorg libraries here (I don't know exactly which are required)
]);
}).env
Then launch it with nix-shell
and execute Admin/init -U
.
Here is the complete file:
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
name = "isabelle-dev-env";
targetPkgs = pkgs: (with pkgs; [
freetype
fontconfig
xorg.libXext xorg.libX11 xorg.libXrender xorg.libXtst xorg.libXt xorg.libXi
zlib
]);
runScript = "bash";
}).env
Thank you, that worked! :D
Thank you, that worked! :D
Last updated: Dec 21 2024 at 12:33 UTC