-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bubblejail: init at 0.9.4.1 #373790
base: master
Are you sure you want to change the base?
bubblejail: init at 0.9.4.1 #373790
Conversation
Marked as draft because, for some reason, the build doesn't generate any actually executable files. It does place some files in |
7d6161b
to
fece2e2
Compare
The execute flag is set here using |
Also to generate man pages your need to install |
fece2e2
to
3fb5616
Compare
Adding
I'm a bit confused about how this would apply itself... are you saying there's a flag I need to give meson during install? Forgive me, I'm not very familiar with this build system. |
The meson should be installing the files in the launch scripts in the |
Very strange. It seems to be using same python between Maybe it has something to do with |
Also it seems like There is a bit of a hack right now in there modules are installed. Because bubblejail is packaged on AUR it does not get rebuilt when there is a Python version upgrade. This means the |
For reference, the nix builder is running these commands, in order:
Full log
Note that |
This is probably what is causing this issue. Does Nix always skip install step when installing?
This could help. bubblejail is not a traditional Python application and is much closer to a regular meson project like systemd or mesa. |
I think that the
This is, in fact, a problem. I'll have to patch the generated executables to use |
3fb5616
to
0cd4645
Compare
Bubblejail is actually older than
I originally wanted to use the You probably should also use the |
0cd4645
to
cf54ab9
Compare
cf54ab9
to
7852b74
Compare
7852b74
to
359ec9c
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
@justDeeevin I saw your discourse post. Can you try patching default options lines out: https://github.com/igo95862/bubblejail/blob/047d1b8108016e3846aafea92671f0f881845126/meson.build#L7 If you remove them. Bubblejail will install Python modules in to the site packages. |
Also I wonder if the I added it so that the unwanted Python modules would not load from current directory but it might be interfering with how NixOS adds extra |
I would recommend using |
681ed75
to
e563a39
Compare
Can you compare the Python's |
e563a39
to
4665675
Compare
From
|
Bubblejail exists at |
So it didn't add |
*Caveat: I got the Nevertheless, this is almost certainly the problem. I'll see what I can do. |
I think I might be able to have two separate packages here: one for bubblejail's library (placed in |
4665675
to
72a293a
Compare
didn't work. i'm at my wit's end. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Apparently there is some kind of https://discourse.nixos.org/t/get-pythonpath-from-pkgs-python3-withpackages/6076/2 |
Bubblewrap based sandboxing for desktop applications.
Fixes #253256.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.