This is the master branch of nixpkgs, initially pulled from commit 8debf2f9a63d54ae4f28994290437ba54c681c7b
The intent of this repo is to be merged onto nixpkgs master. This will also be of help for https://git.suyu.dev/BoomMicrophone/suyu-nix-test
which I will need in order for development (it will also be helpful to know what to do for setting up the environment for the master server. Currently I am focusing on this so I can actually see what is still missing)
This repo will be removed once the PR to the nixpkgs github goes through
2b58a6ab0d
With hardening, we need to go a bit further rather than just allowing /nix/store being world-writable. We now use fakeroot to make sure the VBoxExtPackHelperApp won't moan that the files are not owned by root. They are, but only outside of the chrooted build process. Another issue with using fakeroot is that it doesn't seem to cope well with arguments that contain spaces. That's why I've piped the call into ${stdenv.shell}. Now, the really gory and confusing part is the introduction of VBOX_PATH_APP_PRIVATE_ARCH_TOP and the change of VBOX_PATH_APP_PRIVATE. The VBOX_PATH_APP_PRIVATE_ARCH is *only* for modules and is checked by the hardened implementation against whether things like VMMR0.r0 or VBoxVMM.so reside in that directory. As a side note: I admit that the whole libexec directory is quite polluted with stuff that shouldn't be there, but for now we've broken enough things and will tear apart the whole structure at some day in the future[TM]. For the confusing part we have VBOX_PATH_APP_PRIVATE_ARCH_TOP, which _should_ be the same as VBOX_PATH_APP_PRIVATE_ARCH but unfortunately, the hardened implementation is checking against this directory (in IsValidBaseDir) for the extension pack(why!?). Of course, we could put even that into the libexec directory, somewhat similar as the official package, but after all, let's at least *try* to separate things. Signed-off-by: aszlig <aszlig@redmoonstudios.org> |
||
---|---|---|
doc | ||
lib | ||
maintainers | ||
nixos | ||
pkgs | ||
.gitignore | ||
.travis.yml | ||
.version | ||
COPYING | ||
default.nix | ||
README.md |