<clever>
pbb: that doesnt look like an enp0s25 to me...
<clever>
but i dont know what makes something eno0
<clever>
i know that enp2s0 is the 2nd pci bus, 0th slot
<clever>
kraem: i think thats listing 19.03, and it was only added in unstable
<clever>
kraem: i think the problem, is that nodejs_latest is an alias, and nix-env -qaP wont show duplicates
<clever>
4245 nodejs_latest = nodejs-12_x;
<clever>
kraem: on nixos, <nixpkgs> and <nixos> should map to the same channel
<clever>
kraem: most of nix operates on attr names, but nix-env -i will not use attrs, but instead search the .name of each package
<clever>
,-A kraem
<clever>
Miyu-saki: i dont remember what the rules where either, but gchristensen probably does
<clever>
Miyu-saki: oh, those, i got it from gchristensen
<clever>
Miyu-saki: would probably want to map over config.users.extraUsers, check to see if isNormalUser is set, and then generate some nginx config to enable what you want
<clever>
Gopal[m]: what about driver version? `modinfo nvidia`
<clever>
dfordivam: `nix-store --verify --check-contents` should confirm that
<clever>
dfordivam: i suspect you had an improper shutdown the last time you did something with nix-env, and the manifest.nix got corrupted
<clever>
dfordivam: try nix-env --rollback
<clever>
Gopal[m]: i prefer xfce, and havent had any issues
<clever>
Gopal[m]: youve tasted the koolaid, and cant go back!
<clever>
Gopal[m]: but i have used profiles in firefox, before switching to nixos
<clever>
Gopal[m]: nope
<clever>
marek: you can see that if you look at the definition of `fetchurl =` in all-packages.nix
<clever>
257 fetchurl = stdenv.fetchurlBoot;
<clever>
marek: curl itself uses a different fetchurl to get around the issue
<clever>
Gopal[m]: pretty much, once you confirm it worsk, you can file a PR back to nixpkgs, and then everybody gets the update
<clever>
but if somebody is depending on your library, they wont think to wrap python and fix that
<clever>
it will search the LD_LIBRARY_PATH and RPATH of the python binary
<clever>
any time your loading a compiled library and not giving an absolute path
<clever>
simpson: you sometimes need to patchelf/LD_LIBRARY_PATH, but you cant patchelf the python proc, and you dont even control the things depending on you to patch it right
<clever>
simpson: a bigger problem in nix+python, is dynamic libraries
<clever>
dckc-ho: vim
<clever>
dckc-ho: yeah, i also prefer having it in the current dir, and to just never install dev time tools, nix-shell all the way
<clever>
dckc-ho: its much simpler to make an override in config.nix, then just nix-env -iA nixpkgs.idris-things
<clever>
dckc-ho: 4 months later, when you want to upgrade idris, youll need to figure this all out again
<clever>
dckc-ho: also, i find using -E with nix-env to be a source of problesm for other reasons
<clever>
dckc-ho: you want pkgs in the with block
<clever>
dckc-ho: your using nixpkgs in the with block, that is of type path
<clever>
dckc-ho: you want `pkgs = import nixpkgs {}`
<clever>
dckc-ho: that imports the file at that path, and then calls the function with no args
<clever>
dckc-ho: the `import nixos {}`
<clever>
dckc-ho: thats why i imported it
<clever>
dckc-ho: nixpkgs is the path to nixpkgs, not the package set
<clever>
dckc-ho: yeah, that looks wrong, nix-env is weird and often doesnt work the same way as all the other nix tools
<clever>
dckc-ho: that assumes your channel is called nixos, `nix-channel --list` to see all channels
<clever>
dckc-ho: and this is a bit simpler, just replace the pkgs.hello
<clever>
[clever@amd-nixos:~]$ nix-env --dry-run -iE '{ nixos, ... }: let pkgs = nixos {}; in pkgs.hello'
<clever>
dckc-ho: this will load the channel called nixos, and then get hello from it
<clever>
eyJhb: run `nix-store -r /nix/store/hv25mq89vxlk7cd1cy29h4szxysxm2kq-displaylink.zip.drv`
<clever>
Izorkin: it accepts a string, so you could just set listen = "/run/phpfpm-something/something"; but automating it would require changing nixpkgs, or using disabledModules
<clever>
and if you use boot.initrd.secrets on grub, the secrets land in the store!
<clever>
systemd-boot only supports boot.loader.supportsInitrdSecrets, which will dynamically regenerate the initrd to inject secrets, when your doing nixos-rebuild switch
<clever>
grub only supports boot.loader.grub.extraInitrd, which will load 2 initrd's at boot time
<clever>
(facepalm)
<clever>
boot.initrd.secrets is seperate, and the security depends on what boot.loader.supportsInitrdSecrets is set to
<clever>
sindrip: read the cmakelists.txt and see if there is any references to glib-2.0
<clever>
sindrip: its not in the normal include path, so you must use pkgconfig
<clever>
glib.dev 3,335 x /nix/store/vc1ipmdkvnkx5p99vadzvlan6c6cyhbh-glib-2.50.3-dev/include/glib-2.0/glib.h
<clever>
mla: i checked the source, you want dunst.override { dunstify = true; }
<clever>
mla: what error does it fail with?
<clever>
mla: you probably want .override
<clever>
Guanin: yeah, thats basically it
<clever>
amf: the name may not be what you think it is
<clever>
amf: nix-env -q to list all packages, nix-env -e to remove a package
<clever>
pie__: not sure
<clever>
pie__: thats not the issue then
<clever>
pie__: wb
<clever>
pie__: follow the /proc/PID/exe symlink, and run file on that
<clever>
pie__: is the rsession process 32bit or 64bit?
<clever>
pie__: i dont think python will check the vars after startup, but there may be a python specific way to alter the search path from python code
<clever>
pie__: you probably need a wrapper around rstudio then
<clever>
pie__: os.getpid()
<clever>
pie__: try to query the python pid from the python repl, then check ps aux
<clever>
pie__: and is rstudio actually executing python, or loading a libpython.so ?
<clever>
eyJhb: that should be easy to test without changes to nixpkgs, and probably should become a default until the real fix is done
<clever>
eyJhb: double-check the generated xorg.conf and confirm its right
<clever>
pie__: what is the wrapper wrappng?
<clever>
eyJhb: looks like its just changes to the xorg config file to workaround the bug
<clever>
pie__: back to what i always use then, strace!
<clever>
pie__: cant think of what else to check
<clever>
pie__: the above command lets you peek at the env vars for any pid
<clever>
pie__: double-check the env vars of rstudio, see if the PYHONPATH is still set right
<clever>
double-checking pkg_resources...
<clever>
cat /proc/1/environ | xargs -0 -n1 echo
<clever>
pie__: you probably want LD_LIBRARY_PATH
<clever>
eyJhb: it either works or it doesnt, thats still debugging
<clever>
eyJhb: could still bisect and see which commit broke it
<clever>
eyJhb: ah
<clever>
eyJhb: have you checked the diff of the source for xorg, to see what changed between those 2 versions?
<clever>
eyJhb: is there a fix that doesnt involve downgrading?
<clever>
eyJhb: i would just make the changes from the overlay be included within nixpkgs