gnome3.gnome-desktop: fix path substitution

`substituteAll` intentionally doesn't work with all caps:
https://github.com/NixOS/nixpkgs/issues/28086
This commit is contained in:
Tor Hedin Brønner 2018-11-17 16:06:27 +01:00 committed by Jan Tojnar
parent 10f8039990
commit d5ba27a700
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
- "--ro-bind", "/usr", "/usr",
- "--ro-bind", "/lib", "/lib",
- "--ro-bind", "/lib64", "/lib64",
+ "@BUBBLEWRAP_BIN@",
+ "@bubblewrap_bin@",
+ "--ro-bind", "/nix/store", "/nix/store",
"--proc", "/proc",
"--dev", "/dev",

View file

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
patches = [
(substituteAll {
src = ./bubblewrap-paths.patch;
BUBBLEWRAP_BIN = "${bubblewrap}/bin/bwrap";
bubblewrap_bin = "${bubblewrap}/bin/bwrap";
})
];