gtksourceview: build failure (stylix.xml: Permission denied)
I assert that this issue is relevant for Stylix
- [x] I assert that this is a bug and not a user error or support request.
- [x] I assert that this is not a duplicate of an existing issue.
Description
Last lines of the log:
Installing /build/gtksourceview-4.8.4/build/gtksourceview/gtksourceversion.h to /nix/store/1lxfax55qbvjvly77a6vsq8nf512ihjq-gtksourceview-4.8.4-dev/include/gtksourceview-4/gtksourceview
Installing /build/gtksourceview-4.8.4/build/meson-private/gtksourceview-4.deps to /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/share/vala/vapi
Installing /build/gtksourceview-4.8.4/build/meson-private/gtksourceview-4.pc to /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/lib/pkgconfig
Installing symlink pointing to libgtksourceview-4.so.0.0.0 to /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/lib/libgtksourceview-4.so.0
Installing symlink pointing to libgtksourceview-4.so.0 to /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/lib/libgtksourceview-4.so
Running phase: dropIconThemeCache
@nix { "action": "setPhase", "phase": "dropIconThemeCache" }
Running phase: fixupPhase
@nix { "action": "setPhase", "phase": "fixupPhase" }
Moving /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/share/gir-1.0 to /nix/store/1lxfax55qbvjvly77a6vsq8nf512ihjq-gtksourceview-4.8.4-dev/share/gir-1.0
Moving /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/share/vala/vapi to /nix/store/1lxfax55qbvjvly77a6vsq8nf512ihjq-gtksourceview-4.8.4-dev/share/vala/vapi
Removing empty /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/share/vala/ and (possibly) its parents
Moving /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/lib/pkgconfig to /nix/store/1lxfax55qbvjvly77a6vsq8nf512ihjq-gtksourceview-4.8.4-dev/lib/pkgconfig
Patching '/nix/store/1lxfax55qbvjvly77a6vsq8nf512ihjq-gtksourceview-4.8.4-dev/lib/pkgconfig/gtksourceview-4.pc' includedir to output /nix/store/1lxfax55qbvjvly77a6vsq8nf512ihjq-gtksourceview-4.8.4-dev
shrinking RPATHs of ELF executables and libraries in /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4
shrinking /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/lib/libgtksourceview-4.so.0.0.0
checking for references to /build/ in /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4...
patching script interpreter paths in /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4
stripping (with command strip and flags -S -p) in /nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/1lxfax55qbvjvly77a6vsq8nf512ihjq-gtksourceview-4.8.4-dev
checking for references to /build/ in /nix/store/1lxfax55qbvjvly77a6vsq8nf512ihjq-gtksourceview-4.8.4-dev...
patching script interpreter paths in /nix/store/1lxfax55qbvjvly77a6vsq8nf512ihjq-gtksourceview-4.8.4-dev
stripping (with command strip and flags -S -p) in /nix/store/1lxfax55qbvjvly77a6vsq8nf512ihjq-gtksourceview-4.8.4-dev/lib
cp: cannot create regular file '/nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/share/gtksourceview-4/styles/stylix.xml': Permission denied
flake.lock
flake.lock
{
"nodes": {
"agenix": {
"inputs": {
"darwin": "darwin",
"home-manager": [
"home-manager"
],
"nixpkgs": [
"nixpkgs"
],
"systems": "systems"
},
"locked": {
"lastModified": 1750173260,
"narHash": "sha256-9P1FziAwl5+3edkfFcr5HeGtQUtrSdk/MksX39GieoA=",
"owner": "ryantm",
"repo": "agenix",
"rev": "531beac616433bac6f9e2a19feb8e99a22a66baf",
"type": "github"
},
"original": {
"owner": "ryantm",
"repo": "agenix",
"type": "github"
}
},
"agenix-rekey": {
"inputs": {
"devshell": "devshell",
"flake-parts": "flake-parts",
"nixpkgs": [
"nixpkgs"
],
"pre-commit-hooks": "pre-commit-hooks",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1752094135,
"narHash": "sha256-kd5/x5SshFVFHWUf/7rRqXQ06aUaD6VJdUYRCDUHHo0=",
"owner": "oddlama",
"repo": "agenix-rekey",
"rev": "395cdb1631e9715e37d0e859a2b1da63f0ae333b",
"type": "github"
},
"original": {
"owner": "oddlama",
"repo": "agenix-rekey",
"type": "github"
}
},
"aquamarine": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1751740947,
"narHash": "sha256-35040CHH7P3JGmhGVfEb2oJHL/A5mI2IXumhkxrBnao=",
"owner": "hyprwm",
"repo": "aquamarine",
"rev": "dfc1db15a08c4cd234288f66e1199c653495301f",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "aquamarine",
"type": "github"
}
},
"base16": {
"inputs": {
"fromYaml": "fromYaml"
},
"locked": {
"lastModified": 1746562888,
"narHash": "sha256-YgNJQyB5dQiwavdDFBMNKk1wyS77AtdgDk/VtU6wEaI=",
"owner": "SenchoPens",
"repo": "base16.nix",
"rev": "806a1777a5db2a1ef9d5d6f493ef2381047f2b89",
"type": "github"
},
"original": {
"owner": "SenchoPens",
"repo": "base16.nix",
"type": "github"
}
},
"base16-fish": {
"flake": false,
"locked": {
"lastModified": 1622559957,
"narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=",
"owner": "tomyun",
"repo": "base16-fish",
"rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe",
"type": "github"
},
"original": {
"owner": "tomyun",
"repo": "base16-fish",
"type": "github"
}
},
"base16-helix": {
"flake": false,
"locked": {
"lastModified": 1748408240,
"narHash": "sha256-9M2b1rMyMzJK0eusea0x3lyh3mu5nMeEDSc4RZkGm+g=",
"owner": "tinted-theming",
"repo": "base16-helix",
"rev": "6c711ab1a9db6f51e2f6887cc3345530b33e152e",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-helix",
"type": "github"
}
},
"base16-vim": {
"flake": false,
"locked": {
"lastModified": 1732806396,
"narHash": "sha256-e0bpPySdJf0F68Ndanwm+KWHgQiZ0s7liLhvJSWDNsA=",
"owner": "tinted-theming",
"repo": "base16-vim",
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-vim",
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
"type": "github"
}
},
"crane": {
"locked": {
"lastModified": 1741481578,
"narHash": "sha256-JBTSyJFQdO3V8cgcL08VaBUByEU6P5kXbTJN6R0PFQo=",
"owner": "ipetkov",
"repo": "crane",
"rev": "bb1c9567c43e4434f54e9481eb4b8e8e0d50f0b5",
"type": "github"
},
"original": {
"owner": "ipetkov",
"repo": "crane",
"type": "github"
}
},
"crowdsec": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": [
"sharedConfig",
"nixpkgs"
]
},
"locked": {
"lastModified": 1742920128,
"narHash": "sha256-VPjnjtAksihLezhc+ZmnqGu18mHr4QVKa1kSZQ8rJL4=",
"ref": "main",
"rev": "40e937689d318ee85b1d9763189a65e6f0b4028d",
"revCount": 40,
"type": "git",
"url": "https://codeberg.org/kampka/nix-flake-crowdsec"
},
"original": {
"ref": "main",
"type": "git",
"url": "https://codeberg.org/kampka/nix-flake-crowdsec"
}
},
"darwin": {
"inputs": {
"nixpkgs": [
"agenix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1744478979,
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "43975d782b418ebf4969e9ccba82466728c2851b",
"type": "github"
},
"original": {
"owner": "lnl7",
"ref": "master",
"repo": "nix-darwin",
"type": "github"
}
},
"devshell": {
"inputs": {
"nixpkgs": [
"agenix-rekey",
"nixpkgs"
]
},
"locked": {
"lastModified": 1728330715,
"narHash": "sha256-xRJ2nPOXb//u1jaBnDP56M7v5ldavjbtR6lfGqSvcKg=",
"owner": "numtide",
"repo": "devshell",
"rev": "dd6b80932022cea34a019e2bb32f6fa9e494dfef",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "devshell",
"type": "github"
}
},
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1752113600,
"narHash": "sha256-7LYDxKxZgBQ8LZUuolAQ8UkIB+jb4A2UmiR+kzY9CLI=",
"owner": "nix-community",
"repo": "disko",
"rev": "79264292b7e3482e5702932949de9cbb69fedf6d",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"firefox-gnome-theme": {
"flake": false,
"locked": {
"lastModified": 1748383148,
"narHash": "sha256-pGvD/RGuuPf/4oogsfeRaeMm6ipUIznI2QSILKjKzeA=",
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
"rev": "4eb2714fbed2b80e234312611a947d6cb7d70caf",
"type": "github"
},
"original": {
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"agenix-rekey",
"nixpkgs"
]
},
"locked": {
"lastModified": 1733312601,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"stylix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1751413152,
"narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "77826244401ea9de6e3bac47c2db46005e1f30b5",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_2": {
"inputs": {
"systems": "systems_4"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"id": "flake-utils",
"type": "indirect"
}
},
"fromYaml": {
"flake": false,
"locked": {
"lastModified": 1731966426,
"narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=",
"owner": "SenchoPens",
"repo": "fromYaml",
"rev": "106af9e2f715e2d828df706c386a685698f3223b",
"type": "github"
},
"original": {
"owner": "SenchoPens",
"repo": "fromYaml",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"agenix-rekey",
"pre-commit-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"gitignore_2": {
"inputs": {
"nixpkgs": [
"hyprland",
"pre-commit-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"gnome-shell": {
"flake": false,
"locked": {
"lastModified": 1748186689,
"narHash": "sha256-UaD7Y9f8iuLBMGHXeJlRu6U1Ggw5B9JnkFs3enZlap0=",
"owner": "GNOME",
"repo": "gnome-shell",
"rev": "8c88f917db0f1f0d80fa55206c863d3746fa18d0",
"type": "github"
},
"original": {
"owner": "GNOME",
"ref": "48.2",
"repo": "gnome-shell",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1752402455,
"narHash": "sha256-mCHfZhQKdTj2JhCFcqfOfa3uKZbwUkPQbd0/zPnhOE8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "bf893ad4cbf46610dd1b620c974f824e266cd1df",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"hyprcursor": {
"inputs": {
"hyprlang": [
"hyprland",
"hyprlang"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1749155331,
"narHash": "sha256-XR9fsI0zwLiFWfqi/pdS/VD+YNorKb3XIykgTg4l1nA=",
"owner": "hyprwm",
"repo": "hyprcursor",
"rev": "45fcc10b4c282746d93ec406a740c43b48b4ef80",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprcursor",
"type": "github"
}
},
"hyprgraphics": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1751808145,
"narHash": "sha256-OXgL0XaKMmfX2rRQkt9SkJw+QNfv0jExlySt1D6O72g=",
"owner": "hyprwm",
"repo": "hyprgraphics",
"rev": "b841473a0bd4a1a74a0b64f1ec2ab199035c349f",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprgraphics",
"type": "github"
}
},
"hyprland": {
"inputs": {
"aquamarine": "aquamarine",
"hyprcursor": "hyprcursor",
"hyprgraphics": "hyprgraphics",
"hyprland-protocols": "hyprland-protocols",
"hyprland-qtutils": "hyprland-qtutils",
"hyprlang": "hyprlang",
"hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner",
"nixpkgs": [
"nixpkgs"
],
"pre-commit-hooks": "pre-commit-hooks_2",
"systems": "systems_3",
"xdph": "xdph"
},
"locked": {
"lastModified": 1752337367,
"narHash": "sha256-kEumflYEdQSrZZQEr7kik2sBfFohEx0TsJB1rBVAQy4=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "d0f58baf296a2cdd5df0f82212fe17dfbef8438e",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "Hyprland",
"type": "github"
}
},
"hyprland-protocols": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1749046714,
"narHash": "sha256-kymV5FMnddYGI+UjwIw8ceDjdeg7ToDVjbHCvUlhn14=",
"owner": "hyprwm",
"repo": "hyprland-protocols",
"rev": "613878cb6f459c5e323aaafe1e6f388ac8a36330",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-protocols",
"type": "github"
}
},
"hyprland-qt-support": {
"inputs": {
"hyprlang": [
"hyprland",
"hyprland-qtutils",
"hyprlang"
],
"nixpkgs": [
"hyprland",
"hyprland-qtutils",
"nixpkgs"
],
"systems": [
"hyprland",
"hyprland-qtutils",
"systems"
]
},
"locked": {
"lastModified": 1749154592,
"narHash": "sha256-DO7z5CeT/ddSGDEnK9mAXm1qlGL47L3VAHLlLXoCjhE=",
"owner": "hyprwm",
"repo": "hyprland-qt-support",
"rev": "4c8053c3c888138a30c3a6c45c2e45f5484f2074",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-qt-support",
"type": "github"
}
},
"hyprland-qtutils": {
"inputs": {
"hyprland-qt-support": "hyprland-qt-support",
"hyprlang": [
"hyprland",
"hyprlang"
],
"hyprutils": [
"hyprland",
"hyprland-qtutils",
"hyprlang",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1750371812,
"narHash": "sha256-D868K1dVEACw17elVxRgXC6hOxY+54wIEjURztDWLk8=",
"owner": "hyprwm",
"repo": "hyprland-qtutils",
"rev": "b13c7481e37856f322177010bdf75fccacd1adc8",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprland-qtutils",
"type": "github"
}
},
"hyprlang": {
"inputs": {
"hyprutils": [
"hyprland",
"hyprutils"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1750371198,
"narHash": "sha256-/iuJ1paQOBoSLqHflRNNGyroqfF/yvPNurxzcCT0cAE=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "cee01452bca58d6cadb3224e21e370de8bc20f0b",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprutils": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1751888065,
"narHash": "sha256-F2SV9WGqgtRsXIdUrl3sRe0wXlQD+kRRZcSfbepjPJY=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "a8229739cf36d159001cfc203871917b83fdf917",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprutils",
"type": "github"
}
},
"hyprwayland-scanner": {
"inputs": {
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1751881472,
"narHash": "sha256-meB0SnXbwIe2trD041MLKEv6R7NZ759QwBcVIhlSBfE=",
"owner": "hyprwm",
"repo": "hyprwayland-scanner",
"rev": "8fb426b3e5452fd9169453fd6c10f8c14ca37120",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprwayland-scanner",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1752048960,
"narHash": "sha256-gATnkOe37eeVwKKYCsL+OnS2gU4MmLuZFzzWCtaKLI8=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "7ced9122cff2163c6a0212b8d1ec8c33a1660806",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1751984180,
"narHash": "sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X+xgOL0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9807714d6944a957c2e036f84b0ff8caf9930bc0",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-gaelj": {
"locked": {
"lastModified": 1752046550,
"narHash": "sha256-CbSf4yOle4ZfaZAZjALg9oaqAFAy0aefxiVjXi9gHok=",
"owner": "gaelj",
"repo": "nixpkgs",
"rev": "50ded52850258008bc32dea3fc2c04b88b3231e8",
"type": "github"
},
"original": {
"owner": "gaelj",
"ref": "gaelj-pkgs",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-master": {
"locked": {
"lastModified": 1752424601,
"narHash": "sha256-/WbAlmHfFwWbmVNClvL4b8OVtFyaTeiVLZCiB8ZgL9Y=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "733f85ec4f3f86121f624e7c9bb67544a2890937",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1751274312,
"narHash": "sha256-/bVBlRpECLVzjV19t5KMdMFWSwKLtb5RyXdjz3LJT+g=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "50ab793786d9de88ee30ec4e4c24fb4236fc2674",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nur": {
"inputs": {
"flake-parts": [
"stylix",
"flake-parts"
],
"nixpkgs": [
"stylix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1751906969,
"narHash": "sha256-BSQAOdPnzdpOuCdAGSJmefSDlqmStFNScEnrWzSqKPw=",
"owner": "nix-community",
"repo": "NUR",
"rev": "ddb679f4131e819efe3bbc6457ba19d7ad116f25",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": "gitignore",
"nixpkgs": [
"agenix-rekey",
"nixpkgs"
]
},
"locked": {
"lastModified": 1735882644,
"narHash": "sha256-3FZAG+pGt3OElQjesCAWeMkQ7C/nB1oTHLRQ8ceP110=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "a5a961387e75ae44cc20f0a57ae463da5e959656",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"type": "github"
}
},
"pre-commit-hooks_2": {
"inputs": {
"flake-compat": "flake-compat_2",
"gitignore": "gitignore_2",
"nixpkgs": [
"hyprland",
"nixpkgs"
]
},
"locked": {
"lastModified": 1750779888,
"narHash": "sha256-wibppH3g/E2lxU43ZQHC5yA/7kIKLGxVEnsnVK1BtRg=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "16ec914f6fb6f599ce988427d9d94efddf25fe6d",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"quickshell": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1752382953,
"narHash": "sha256-kx1kWu0/LILp/QvwL7Fsk28bOjDEfuhwgtnHwMhNyIU=",
"ref": "refs/heads/master",
"rev": "bb206e3a19b48af987977d86ad77822439f37360",
"revCount": 620,
"type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell"
},
"original": {
"type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell"
}
},
"ragenix": {
"inputs": {
"agenix": [
"agenix"
],
"crane": "crane",
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
],
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1744897914,
"narHash": "sha256-GIVU92o2TZBnKQXTb76zpQbWR4zjU2rFqWKNIIpXnqA=",
"owner": "yaxitech",
"repo": "ragenix",
"rev": "40f2e17ecaeab4d78ec323e96a04548c0aaa5223",
"type": "github"
},
"original": {
"owner": "yaxitech",
"repo": "ragenix",
"type": "github"
}
},
"root": {
"inputs": {
"agenix": "agenix",
"agenix-rekey": "agenix-rekey",
"aisinConfig": "aisinConfig",
"disko": "disko",
"flake-utils": "flake-utils",
"home-manager": "home-manager",
"hyprland": "hyprland",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nixpkgs-gaelj": "nixpkgs-gaelj",
"nixpkgs-master": "nixpkgs-master",
"nixpkgs-stable": "nixpkgs-stable",
"quickshell": "quickshell",
"ragenix": "ragenix",
"sharedConfig": "sharedConfig",
"stylix": "stylix"
}
},
"rust-overlay": {
"inputs": {
"nixpkgs": [
"ragenix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1741400194,
"narHash": "sha256-tEpgT+q5KlGjHSm8MnINgTPErEl8YDzX3Eps8PVc09g=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "16b6045a232fea0e9e4c69e55a6e269607dd8e3f",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"sharedConfig": {
"inputs": {
"agenix": [
"agenix"
],
"agenix-rekey": [
"agenix-rekey"
],
"crowdsec": "crowdsec",
"disko": [
"disko"
],
"flake-utils": [
"flake-utils"
],
"home-manager": [
"home-manager"
],
"hyprland": [
"hyprland"
],
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-gaelj": [
"nixpkgs-gaelj"
],
"nixpkgs-master": [
"nixpkgs-master"
],
"nixpkgs-stable": [
"nixpkgs-stable"
],
"quickshell": [
"quickshell"
],
"ragenix": [
"ragenix"
],
"stylix": [
"stylix"
]
},
"locked": {
"lastModified": 1752424280,
"narHash": "sha256-qYU7rfOpLt0zZJWszsiByF1vfiiQCjFtRZqtbzxxO3w=",
"owner": "gaj-nixos",
"repo": "shared",
"rev": "7512f47353a3ea921174f80574855980b3c4842b",
"type": "gitlab"
},
"original": {
"owner": "gaj-nixos",
"repo": "shared",
"type": "gitlab"
}
},
"stylix": {
"inputs": {
"base16": "base16",
"base16-fish": "base16-fish",
"base16-helix": "base16-helix",
"base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme",
"flake-parts": "flake-parts_2",
"gnome-shell": "gnome-shell",
"nixpkgs": [
"nixpkgs"
],
"nur": "nur",
"systems": "systems_5",
"tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty",
"tinted-schemes": "tinted-schemes",
"tinted-tmux": "tinted-tmux",
"tinted-zed": "tinted-zed"
},
"locked": {
"lastModified": 1752422998,
"narHash": "sha256-c4o/PeudMsxXaJ0G8B75eFyhH7XvcFv21kvgn3jDjlQ=",
"owner": "danth",
"repo": "stylix",
"rev": "f6c5aaa4f8b70ec0bf995be43311c38be3131776",
"type": "github"
},
"original": {
"owner": "danth",
"repo": "stylix",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_3": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tinted-foot": {
"flake": false,
"locked": {
"lastModified": 1726913040,
"narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=",
"owner": "tinted-theming",
"repo": "tinted-foot",
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-foot",
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
"type": "github"
}
},
"tinted-kitty": {
"flake": false,
"locked": {
"lastModified": 1735730497,
"narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
"owner": "tinted-theming",
"repo": "tinted-kitty",
"rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-kitty",
"type": "github"
}
},
"tinted-schemes": {
"flake": false,
"locked": {
"lastModified": 1750770351,
"narHash": "sha256-LI+BnRoFNRa2ffbe3dcuIRYAUcGklBx0+EcFxlHj0SY=",
"owner": "tinted-theming",
"repo": "schemes",
"rev": "5a775c6ffd6e6125947b393872cde95867d85a2a",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "schemes",
"type": "github"
}
},
"tinted-tmux": {
"flake": false,
"locked": {
"lastModified": 1751159871,
"narHash": "sha256-UOHBN1fgHIEzvPmdNMHaDvdRMgLmEJh2hNmDrp3d3LE=",
"owner": "tinted-theming",
"repo": "tinted-tmux",
"rev": "bded5e24407cec9d01bd47a317d15b9223a1546c",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-tmux",
"type": "github"
}
},
"tinted-zed": {
"flake": false,
"locked": {
"lastModified": 1751158968,
"narHash": "sha256-ksOyv7D3SRRtebpXxgpG4TK8gZSKFc4TIZpR+C98jX8=",
"owner": "tinted-theming",
"repo": "base16-zed",
"rev": "86a470d94204f7652b906ab0d378e4231a5b3384",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-zed",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"agenix-rekey",
"nixpkgs"
]
},
"locked": {
"lastModified": 1735135567,
"narHash": "sha256-8T3K5amndEavxnludPyfj3Z1IkcFdRpR23q+T0BVeZE=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "9e09d30a644c57257715902efbb3adc56c79cf28",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"xdph": {
"inputs": {
"hyprland-protocols": [
"hyprland",
"hyprland-protocols"
],
"hyprlang": [
"hyprland",
"hyprlang"
],
"hyprutils": [
"hyprland",
"hyprutils"
],
"hyprwayland-scanner": [
"hyprland",
"hyprwayland-scanner"
],
"nixpkgs": [
"hyprland",
"nixpkgs"
],
"systems": [
"hyprland",
"systems"
]
},
"locked": {
"lastModified": 1751300244,
"narHash": "sha256-PFuv1TZVYvQhha0ac53E3YgdtmLShrN0t4T6xqHl0jE=",
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"rev": "6115f3fdcb2c1a57b4a80a69f3c797e47607b90a",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"type": "github"
}
}
},
"root": "root",
"version": 7
}
Installation Method
NixOS
System Information
- system:
"x86_64-linux" - host os:
Linux 6.15.5, NixOS, 25.11 (Xantusia), 25.11.20250708.9807714 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.28.4 - nixpkgs:
/nix/store/bgl6ldj5ihbwcq8p42z3a0qzgqafgk2b-source
Notify maintainers
@brckd @trueNAHO
cp: cannot create regular file '/nix/store/aikk60dbkrnll94lfd7625bzj9xgc849-gtksourceview-4.8.4/share/gtksourceview-4/styles/stylix.xml': Permission denied
Although the problem likely comes from
https://github.com/nix-community/stylix/blob/218d4424b0634f8e9e3af92df7ca807bda529255/modules/gtksourceview/overlay.nix#L16
I am unsure what the exact reason for the issue is.
We could throw a chmod +w into the overlay script for good measure, but I can't really do anything about it this week. For the meantime you can disable the gtksourceview target.
I am unsure what the exact reason for the issue is.
gtksourceview is a multiple output derivation. You can get into a situation where one of the outputs has been garbage collected, and then becomes required again. Usually Nix would just fetch that single output from a binary cache. But when a cached version is not available - in this case due to the unique color scheme - it tries to build the entire package locally. This can fail because the builder expects to write to all of the outputs, some of which already existed in the store and are read only.
I would consider this to be a bug in Nix rather than Stylix in particular, because it can in theory affect any multiple output derivation that is not in a binary cache.
I am unsure what the exact reason for the issue is.
gtksourceviewis a multiple output derivation. You can get into a situation where one of the outputs has been garbage collected, and then becomes required again. Usually Nix would just fetch that single output from a binary cache. But when a cached version is not available - in this case due to the unique color scheme - it tries to build the entire package locally. This can fail because the builder expects to write to all of the outputs, some of which already existed in the store and are read only.I would consider this to be a bug in Nix rather than Stylix in particular, because it can in theory affect any multiple output derivation that is not in a binary cache.
Yes, that would be weird if Nix had such an edge case bug.
@gaelj, can you still reproduce this bug on your 2.28.4 Nix version? If not, then there may indeed have been some caching problem. Can you also reproduce this on the latest Nix version? Maybe this has already been fixed.
I just removed the workarround and rebuilt and yep, still getting it on an up-to-date nixos-unstable (as of yesterday).
nix --version
nix (Nix) 2.31.2+1
error: Cannot build '/nix/store/n36wfwb69md6k9k0d0f9i8649qcn6rri-gtksourceview-4.8.4.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4
/nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev
Last 25 log lines:
> Installing /build/gtksourceview-4.8.4/gtksourceview/gtksourceutils.h to /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev/include/gtksourceview-4/gtksourceview
> Installing /build/gtksourceview-4.8.4/gtksourceview/gtksourceview.h to /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev/include/gtksourceview-4/gtksourceview
> Installing /build/gtksourceview-4.8.4/gtksourceview/completion-providers/words/gtksourcecompletionwords.h to /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev/include/gtksourceview-4/gtksourceview/completion-providers/words
> Installing /build/gtksourceview-4.8.4/build/gtksourceview/gtksourceversion.h to /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev/include/gtksourceview-4/gtksourceview
> Installing /build/gtksourceview-4.8.4/build/meson-private/gtksourceview-4.deps to /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/share/vala/vapi
> Installing /build/gtksourceview-4.8.4/build/meson-private/gtksourceview-4.pc to /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/lib/pkgconfig
> Installing symlink pointing to libgtksourceview-4.so.0.0.0 to /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/lib/libgtksourceview-4.so.0
> Installing symlink pointing to libgtksourceview-4.so.0 to /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/lib/libgtksourceview-4.so
> Running phase: dropIconThemeCache
> Running phase: fixupPhase
> Moving /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/share/gir-1.0 to /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev/share/gir-1.0
> Moving /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/share/vala/vapi to /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev/share/vala/vapi
> Removing empty /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/share/vala/ and (possibly) its parents
> Moving /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/lib/pkgconfig to /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev/lib/pkgconfig
> Patching '/nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev/lib/pkgconfig/gtksourceview-4.pc' includedir to output /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev
> shrinking RPATHs of ELF executables and libraries in /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4
> shrinking /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/lib/libgtksourceview-4.so.0.0.0
> checking for references to /build/ in /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4...
> patching script interpreter paths in /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4
> stripping (with command strip and flags -S -p) in /nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/lib
> shrinking RPATHs of ELF executables and libraries in /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev
> checking for references to /build/ in /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev...
> patching script interpreter paths in /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev
> stripping (with command strip and flags -S -p) in /nix/store/jl0ksqvrpjdcwkrnp2243zyndbz6ip30-gtksourceview-4.8.4-dev/lib
> cp: cannot create regular file '/nix/store/d13pl1fyfxjjdb3x7kg3a23qfy5bsp30-gtksourceview-4.8.4/share/gtksourceview-4/styles/stylix.xml': Permission denied
For full logs, run:
nix log /nix/store/n36wfwb69md6k9k0d0f9i8649qcn6rri-gtksourceview-4.8.4.drv
Some related issues:
https://github.com/NixOS/nix/issues/639 https://github.com/NixOS/nixpkgs/issues/9504