Describe the bug
After starting a nix shell with Tangram, I'm able to run it, but it won't work properly: bwrap will error and no pages will be loaded. Please note that the application does start, but when an URL is inserted, an error is written on the console and it will not proceed loading the page; the canvas remains empty instead of loading a page. The error is the following:
bwrap: Can't mkdir parents for /run/current-system/sw/share/fonts: No such file or directory
Steps To Reproduce
Steps to reproduce the behavior:
nix shell nixpkgs#tangram
re.sonny.Tangram
- in the address bar go to e.g.
github.com
- the error appears on the terminal log
Expected behavior
Pages are loaded, no bwrap error is printed.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Using flatpak, tangram works as expected.
Notify maintainers
@austinbutler
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 5.15.74, NixOS, 22.05 (Quokka), 22.05.20221020.44fc3cb`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.9.1`
- channels(root): `"nixos-22.05"`
- channels(akiross): `""`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
I'm using flakes and this is the flake.lock for my nixos configuration, hoping it helps
$ cat /etc/nixos/flake.lock
{
"nodes": {
"nixos-hardware": {
"locked": {
"lastModified": 1665987993,
"narHash": "sha256-MvlaIYTRiqefG4dzI5p6vVCfl+9V8A1cPniUjcn6Ngc=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "0e6593630071440eb89cd97a52921497482b22c6",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1666249138,
"narHash": "sha256-CzK8NA8xEMKAhvHXB8UMODckcH97sZXm6lziKNWLv0M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "44fc3cb097324c9f9f93313dd3f103e78d722968",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-22.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}
Describe the bug
After starting a nix shell with Tangram, I'm able to run it, but it won't work properly:
bwrapwill error and no pages will be loaded. Please note that the application does start, but when an URL is inserted, an error is written on the console and it will not proceed loading the page; the canvas remains empty instead of loading a page. The error is the following:Steps To Reproduce
Steps to reproduce the behavior:
nix shell nixpkgs#tangramre.sonny.Tangramgithub.comExpected behavior
Pages are loaded, no bwrap error is printed.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Using flatpak, tangram works as expected.
Notify maintainers
@austinbutler
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"and paste the result.I'm using flakes and this is the
flake.lockfor my nixos configuration, hoping it helps