Skip to content

Commit

Permalink
blueprint-compiler: refector
Browse files Browse the repository at this point in the history
Some improvements discussed [here](NixOS#208157) after the first merge.
  • Loading branch information
BenediktBroich committed Dec 30, 2022
1 parent 131edcb commit 1ef8e58
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/development/compilers/blueprint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,27 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
meson
ninja
];
] ++ (with python3.pkgs; [
wrapPython
]);

buildInputs = [
python3
gtk4
] ++ (with python3.pkgs; [
pygobject3
wrapPython
]);

propagatedBuildInputs = [
# For setup hook, so that the compiler can find typelib files
gobject-introspection
];

checkInputs = [
gtk4
];

postFixup = ''
makeWrapperArgs="\
--prefix GI_TYPELIB_PATH : $GI_TYPELIB_PATH \
--prefix PYTHONPATH : \"$(toPythonPath $out):$(toPythonPath ${python3.pkgs.pygobject3})\""
wrapPythonPrograms
'';
Expand Down

0 comments on commit 1ef8e58

Please sign in to comment.