Revert "fix: pin Flatpak to 1.16.6 to work around sandbox env leak bug"

This reverts commit ed36775cf0.
This commit is contained in:
emmatherock
2026-07-30 13:30:01 -03:00
parent ca8c4a81a4
commit d4d3ecfdf0
3 changed files with 0 additions and 33 deletions
Generated
-17
View File
@@ -239,22 +239,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-flatpak": {
"locked": {
"lastModified": 1781332575,
"narHash": "sha256-tyh5yzbIN2ftH+uilyTWR6WCMZQeh3m5iOowTLNodyk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "51effaf9783e0226281ad10e95a4af6c8a145316",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "51effaf9783e0226281ad10e95a4af6c8a145316",
"type": "github"
}
},
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1772328832, "lastModified": 1772328832,
@@ -338,7 +322,6 @@
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nix-vscode-extensions": "nix-vscode-extensions", "nix-vscode-extensions": "nix-vscode-extensions",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"nixpkgs-flatpak": "nixpkgs-flatpak",
"sidra": "sidra", "sidra": "sidra",
"vscode-server": "vscode-server" "vscode-server": "vscode-server"
} }
-8
View File
@@ -18,14 +18,6 @@
vscode-server.url = "github:nix-community/nixos-vscode-server"; vscode-server.url = "github:nix-community/nixos-vscode-server";
llm-agents.url = "github:numtide/llm-agents.nix"; llm-agents.url = "github:numtide/llm-agents.nix";
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions"; nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
# TEMPORARY: pinned to the last nixpkgs revision known to ship Flatpak 1.16.6.
# Flatpak >=1.18.0 leaks the NixOS host environment into the sandbox and breaks
# glycin-svg icon loading (e.g. OpenDeck). Remove this input, the overlay-less
# services.flatpak.package override below, and this comment once
# https://github.com/flatpak/flatpak/issues/6721 is fixed upstream and merged
# into nixpkgs (see also flatpak/flatpak#6717, NixOS/nixpkgs#534376).
nixpkgs-flatpak.url = "github:NixOS/nixpkgs/51effaf9783e0226281ad10e95a4af6c8a145316";
}; };
outputs = { self, nixpkgs, apple-fonts, home-manager, sidra, vscode-server, nix-vscode-extensions, ... }@inputs: { outputs = { self, nixpkgs, apple-fonts, home-manager, sidra, vscode-server, nix-vscode-extensions, ... }@inputs: {
-8
View File
@@ -1,15 +1,7 @@
{ inputs, pkgs, ... }:
{ {
services.flatpak = { services.flatpak = {
enable = true; enable = true;
# TEMPORARY: pin Flatpak itself to 1.16.6 via nixpkgs-flatpak (see flake.nix).
# Flatpak >=1.18.0 leaks the NixOS host environment into the sandbox and breaks
# glycin-svg icon loading (e.g. OpenDeck). Remove once
# https://github.com/flatpak/flatpak/issues/6721 lands in nixpkgs.
package = inputs.nixpkgs-flatpak.legacyPackages.${pkgs.stdenv.hostPlatform.system}.flatpak;
remotes = [ remotes = [
{ {
name = "flathub"; name = "flathub";