Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed May 28, 2024
1 parent 0e5ca85 commit b7daec5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions builders/ubuntu-python-builder.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ class UbuntuPythonBuilder : NixPythonBuilder {
Execute-Command -Command "sudo apt-get update"
Execute-Command -Command $tkinterInstallString

$orig_needrestart_ui = $env:NEEDRESTART_UI
$env:NEEDRESTART_UI = "NeedRestart::UI::Debconf"
### Install dependent packages
@(
"make",
Expand All @@ -79,6 +81,7 @@ class UbuntuPythonBuilder : NixPythonBuilder {
) | ForEach-Object {
Execute-Command -Command "sudo apt install -y $_"
}
$env:NEEDRESTART_UI = $orig_needrestart_ui

### On Ubuntu-1804, libgdbm-compat-dev has older modules that are no longer in libgdbm-dev
Execute-Command -Command "sudo apt install -y libgdbm-compat-dev"
Expand Down

0 comments on commit b7daec5

Please sign in to comment.