birdfont: fix build on non-nixos/debian systems
to do this we need to prevent platform.version() from using uname to discover this is a debian kernel and try dpkg nonsense
This commit is contained in:
@@ -14,7 +14,12 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ python3 pkgconfig vala_0_44 gobject-introspection wrapGAppsHook ];
|
nativeBuildInputs = [ python3 pkgconfig vala_0_44 gobject-introspection wrapGAppsHook ];
|
||||||
buildInputs = [ xmlbird libgee cairo gdk-pixbuf glib gtk3 webkitgtk libnotify sqlite gsettings-desktop-schemas ];
|
buildInputs = [ xmlbird libgee cairo gdk-pixbuf glib gtk3 webkitgtk libnotify sqlite gsettings-desktop-schemas ];
|
||||||
|
|
||||||
postPatch = "patchShebangs .";
|
postPatch = ''
|
||||||
|
substituteInPlace install.py \
|
||||||
|
--replace 'platform.version()' '"Nix"'
|
||||||
|
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
buildPhase = "./build.py";
|
buildPhase = "./build.py";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user