<clever>
cmcdragonkai: a common mistake i see people making, is that they shove things into propagatedBuildInputs, and then wonder why it didnt magically appear in PATH
<clever>
cmcdragonkai: python then bends the rules a bit, and uses this to generate $PYTHONPATH at buildtime, and then copies the build-time value of PYTHONPATH into the wrapper
<clever>
but its only a compile-time thing, and has no impact on the runtime
<clever>
B will behave as-if you had done buildInputs = [ A hello ];
<clever>
and then package B has buildInputs = [ A ];
<clever>
so if package A has propagatedBuildInputs = [ hello ];
<clever>
the normal rules for propagatedBuildInputs, is that it is only in the inputs of other derivations
<clever>
python bends the rules a bit
<clever>
propagatedBuildInputs has nothing to do with the normal runtime deps
<clever>
bash just runs things, lol
<clever>
python packages already have a requirements.txt
<clever>
ELF files have a clear list of every .so file they need to start
<clever>
and then you dont even need a wrapper
<clever>
or have a `export PATH=@finalpath@` in the script itself, and run substitute-in-place over it
<clever>
ashkitten: cant think of anything else to check
<clever>
ashkitten: where are you looking to find the 64bit libs, and expect to see 32bit libs?
<clever>
ashkitten: what do you have videoDrivers set to?
<clever>
ashkitten: ah, that one i would expect to see working, but nixos should deal with that automatically when you have 32bit dri enabled
<clever>
ashkitten: not on linuxPackages
<clever>
ashkitten: that override is setting a flag that doesnt exist
<clever>
ashkitten: how are you telling nix to generate a 32bit build?
<clever>
same with xfce
<clever>
ashkitten: are you importing nixpkgs at any point?, how are you requesting a 32bit version?
<clever>
Watcher7: #nixos-on-your-router may also be of interest to you
<clever>
Watcher7: yep
<clever>
Watcher7: cat /mnt/etc/nixos/configuration.nix and throw it into a pastebin
<clever>
Watcher7: the current working directory
<clever>
ls -l
<clever>
Watcher7: what does pwd and ls output?
<clever>
Watcher7: check again, when you mounted vda1 onto /mnt, it hid all the old config
<clever>
ij: i pass them thru builtins.toJSON
<clever>
you must mount the filesystems to /mnt before you run nixos-generate-config
<clever>
and grub cant find the device behind that tmpfs
<clever>
your installing nixos to the tmpfs in ram
<clever>
Watcher7: thats why everything is failing
<clever>
Watcher7: did you mount vda1 to /mnt/ ?
<clever>
drakonis__: systemd-boot lacks A LOT of the options grub has
<clever>
Watcher7: and also the output of `mount`
<clever>
Watcher7: and what is the exact command you ran, and its full output, when it fails?
<clever>
drakonis__: depends on which driver your using
<clever>
Watcher7: can you pastebin the output of lsblk ?
<clever>
ah, misread your question a bit
<clever>
so vda1 is ext4
<clever>
the alignment for the partitions ensures that gap
<clever>
but it needs a gap between the partition table and the 1st partition
<clever>
it doesnt need its own boot partition
<clever>
Watcher7: grub needs a partition table to install into the root of a disk
<clever>
can you pastebin the nix expression?
<clever>
does that return a set? a package?
<clever>
it should return whatever the default.nix returns
<clever>
ah, that should be good then
<clever>
how many args did you pass to callPackage?
<clever>
mkaito: why is it wrapped with mkDerivation?
<clever>
mkaito: can you pastebin one as an example?
<clever>
adamantium: the snapshot itself is basically free, but it means anything you delete with nix-collect-garbage will then not be deleted, for a week
<clever>
adamantium: and then i can turn snapshots off for just /nix
<clever>
adamantium: i keep nix on its own filesystem, within the same pool
<clever>
but a non-root setup means that you cant do automatic cleanup, which would solve the issue chreekat was asking earlier
<clever>
emily: ive not tried a multi-user non-root install
<clever>
erickomoto: ah, for multi-user, then you do need the daemon running as root, and i can see why he would want nosetuid then to be paranoid
<clever>
erickomoto: and if you never gain root, you cant make setuid or device nodes, so both flags are pointless
<clever>
erickomoto: in general, you can just mkdir /nix ; chown erickomoto /nix, and then do the entire install without ever gaining root
<clever>
but the fake uid 0 can still use ping, which is a cabability
<clever>
ah, weird
<clever>
sudo should be equally broken then, it uses the same system
<clever>
ah
<clever>
emily: what does `type ping` return?
<clever>
so such things would already be broken on a normal nix install
<clever>
emily: nix also has the rule that there be no setuid binaries in the store
<clever>
chreekat: if you are using multi-user nix, then the nix-daemon will kill every proccess in the build user after the build has finished
<clever>
and maybe unload the bluetooth BEFORE you go into standby
<clever>
Judson1: see if you can fix it with unload-module and load-module via pactl instead
<clever>
prior to that, i wasnt using capture in the browser enough to notice the patterns
<clever>
i figured it out on the 3rd day after needing to use hangouts for daily voice chats
<clever>
exactly
<clever>
it claims you lack a capture device
<clever>
yeah, only capture
<clever>
Judson1: and you must then restart chromium
<clever>
Judson1: note, that chromium looses the ability to capture any audio if pulseaudio has restarted
<clever>
and a value of 0 prevents nix-env from performing a DoS attack
<clever>
yeah
<clever>
which would result in over 10,000 requests for .narinfo files
<clever>
chreekat: and depending on your search terms, it may wind up checking every single package in all of nixpkgs
<clever>
chreekat: when using something like `nix-env -qA`, it can check the binary cache to see if things are pre-built or not
<clever>
have fun trying to watch a movie!
<clever>
the app also does not disable automatic shutoff, so the OS will try to shut off the ipad mid-stream :P
<clever>
hyper_ch: and the ipad app streams the content, so if the ipad turns off at any point, the stream breaks
<clever>
hyper_ch: my cable box supports some weird form of upnp, but it only works with a specific ipad app, the android variant of the app does not work
<clever>
thats nearly as many nixos users in here, lol
<clever>
hyper_ch: and there are 400 experts in #plex
<clever>
gchristensen: ah, didnt think they would have a room here
<clever>
Izorkin: nixpkgs will then use one of those kernels to generate pkgs.linuxPackages_4_17
<clever>
and it sometimes claims season 264, because the dir has h264 in the name, lol
<clever>
there is no "fix match" option on a series, until i view it details, then go back to the page where that menu option previously didnt exist
<clever>
ive also found the matching in plex to be rather anoying, and the UI to be somewhat glitchy
<clever>
hyper_ch: anything in the journal?
<clever>
hyper_ch: you may have broken the datadir on the remote end when changing the user, check journalctl
<clever>
hyper_ch: id say remove the user and group also, it already has its own user&group
<clever>
hyper_ch: what is your configuration.nix?
<clever>
hyper_ch: open /web
<clever>
hyper_ch: on the not-headless machine
<clever>
yeah
<clever>
disasm: the root problem, is that it listens on both, but gives 127.0.0.1 special access for the initial config
<clever>
hyper_ch: once you do that ssh, http://127.0.0.1:32400, will connect to ssh, which relays it to 127.0.0.1 on the plex machine
<clever>
i left datadir at the default
<clever>
which re-routes the localhost 32400, to the localhost of the remote machine
<clever>
hyper_ch: you must use `ssh IP -L 32400:127.0.0.1:32400` to cheat that
<clever>
hyper_ch: you can only configure it via 127.0.0.1:32400/web
<clever>
hyper_ch: i installed plex ~2 days ago, and had the exact same problem
<clever>
simukis: ^^
<clever>
Izorkin: a bug should also be fixed on nix
<clever>
Izorkin: on the remote system, do `realpath /run/current-system/sw/bin/nix-store`, then on the nixops machine, add that bin dir to the start of `$PATH`, and the deploy should pass
<clever>
Izorkin: you may need to downgrade the nix on the deployer side temporarily
<clever>
Izorkin: command 9 was added on august 3rd, and greatly reduces memory usage
<clever>
Izorkin: if you ssh into root on that machine, what does `type nix-store` return?
<clever>
trevthedev: add it to the inputs for the derivation that needs it
<clever>
trevthedev: because nix is pure and doesnt care what you have installed
<clever>
LnL: buildEnv has a post hook, where you can just put a for loop that renames the symlinks
<clever>
LnL: you could do another buildEnv, and then rename its symlinks, but thats a bit messy
<clever>
oh, and the firewall is disabled, so neither has any effect
<clever>
and there is zero point in trying to open udp port 22, ssh only listens on tcp
<clever>
trevthedev: port 22 is opened automatically by the ssh module
<clever>
firewall.allowedTCPPorts = list ++ [ 22 ];
<clever>
trevthedev: you still have an override on llvm, line 84
2018-08-22
<clever>
trevthedev: can you gist your config?
<clever>
why are you trying to override llvm?
<clever>
you may want to override patches = [];
<clever>
those overrides are likely to blame then
<clever>
did you put any overrides on llvm?
<clever>
trevthedev: the error is the first line you pasted, one of the patches doesnt apply
<clever>
adamantium: you can if you want to
<clever>
sir_guy_carleton: is there any extra neovim's in your systemPackages on another nix file?
<clever>
i cant remember why i dug that up last time
<clever>
you can also use this expression to generate a naked vimrc file that uses vam, and then just run your-flavor-of-vim -c ${that} in a writeScriptBin