<clever>
yeah, but the only documentation is the source
<Infinisil>
github search is the worst
boj has joined #nixos
<clever>
"function wrapProgram" only found <function>wrapProgram
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] nh2 opened pull request #1422: Fix potential crash/wrong result two hashes of unequal length are compared (master...fix-potential-hash-comparison-crash) https://git.io/vQYKz
NixOS_GitHub has left #nixos []
MrCoffee has quit [(Remote host closed the connection)]
georges-duperon has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Remote host closed the connection)]
<nh2>
Infinisil: never use github search, it will only make life miserable
<Infinisil>
I should get used to using grep in my local clone
<nh2>
Infinisil: or `rg` if you're not using `git grep`
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/vQYKy
<NixOS_GitHub>
nixpkgs/staging 87fab3d John Ericson: Merge some merged cross-compilation PRs into into staging
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #26805: Make cross compilation elegant (staging...cross-elegant) https://git.io/vQYKd
NixOS_GitHub has left #nixos []
<Infinisil>
nh2: ripgrep?
MrCoffee has joined #nixos
<nh2>
Infinisil: yes
<Infinisil>
Haven't used it, gonna install it
seppellll has joined #nixos
yegods has quit [()]
sary has quit [(Remote host closed the connection)]
<dtzWill>
+1 for ripgrep, especially for nav'ing nixpkgs source
mudri has quit [(Ping timeout: 260 seconds)]
sary has joined #nixos
georges-duperon has joined #nixos
Sonarpulse has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
<Infinisil>
Oh I just tried it a bit, very nice indeed
<Infinisil>
nix-env -e nixos.grep
<homelessrobot[m]>
rip, grep
<Infinisil>
Lol, is that the reason for that name?
<homelessrobot[m]>
i hope not, i mean, it isn't really a grep killer
<Infinisil>
Why not?
<Infinisil>
What can grep do that rg cant?
<nh2>
I think that was the reason for the name
chrishill has quit [(Remote host closed the connection)]
<homelessrobot[m]>
idk, but it seems to be focused on searching filesystems rather than streams of text
nh2 has quit [(Read error: Connection reset by peer)]
nh2 has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<nh2>
so far for me it was quite good at searching through pipes too
orivej has quit [(Ping timeout: 255 seconds)]
<nh2>
what does one do when `gdb` says `No stack.`? It says tat for me when I try to debug a nix crash
<Infinisil>
Reading the github Readme for ripgrep, one thing it can't do are non-regular Regexes
phreedom has quit [(Remote host closed the connection)]
<homelessrobot[m]>
yeah after looking at the readme, it does seem that 'better grep' is the overall goal. so it probably is why it has that name
<gchristensen>
rg is very nice, I'm not sure about it replacing grep any time soon... which is fine.
<gchristensen>
burntsushi (maker of rg) had to make basically their entirely own stack to make it fast
<Infinisil>
Ah yeah, I'll still be using `./barf | grep hello`
<Infinisil>
Probably you could set up an alias that calls rg on stdin and formats it like grep
<gchristensen>
I feel there is a certain amount of "why bother"
<Infinisil>
Yeah
<homelessrobot[m]>
especially since you still need to keep grep around for things that depend on it
<gchristensen>
not that we follow SUS very closely anyway, to stay compatible with at least some of SUS :P
<Infinisil>
SUS?
<gchristensen>
Single Unix Specification
<homelessrobot[m]>
sounds ominous
<Infinisil>
Ohh never mind what I said before:
<Infinisil>
`echo "hi there" | rg the`
<Infinisil>
hi there
<Infinisil>
`echo "hi there\ntest" | rg the`
<Infinisil>
hi there\ntest
Supersonic112 has quit [(Disconnected by services)]
<Infinisil>
Well my demo failed
<gchristensen>
printf "hi there\ntest" | rg thte
<Infinisil>
but it works just like grep
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<gchristensen>
or: (echo "hi there"; echo "test") | rg the
<Infinisil>
`printf "hi there\ntest" | rg the`
<Infinisil>
hi there
<Infinisil>
Even shows line numbers when in a tty, unlike grep
<Infinisil>
Alright, I won't actually use grep anymore, rg is faster to type too
fnljk has quit [(Read error: Connection reset by peer)]
<arkad>
what package is rg in?
markus1209 has quit [(Ping timeout: 240 seconds)]
<Infinisil>
ripgrep
<arkad>
thx
<arkad>
i like how it highlights the returned pattern in different color than entire line
markus1199 has joined #nixos
Mateon1 has joined #nixos
<Infinisil>
Yeah it's pretty neat
s33se_ has joined #nixos
<clever>
grep also has --color
<clever>
which is enabled on most distros, via an alias, but not on nixos
<arkad>
indeed, so rg just returns a line number as well
<clever>
grep can also do that
<arkad>
do u know the command?
jgertm has quit [(Ping timeout: 268 seconds)]
markus1199 has quit [(Ping timeout: 240 seconds)]
<clever>
-n, --line-number
<clever>
Prefix each line of output with the 1-based line number within its input file.
<Infinisil>
arkad: Just look through the website, it has a lot of resources
<arkad>
I just wonder if its something I should spend time learning. I mainly build websites and run servers.
<clever>
disasm: exactly
indi_ has joined #nixos
<arkad>
I'd really like to learn Haskell
<gchristensen>
~ probably not ~ for those specific use cases, but I'd say learn it if you want too -- learning new languages always makes your skills better
<Infinisil>
arkad: Rust has something much different from other programming languages, that alone makes it worth learning I think
<Infinisil>
arkad: Which is rusts memory management model
<Infinisil>
Haskell is also very nice, also quite different from most languages
<Infinisil>
I personally can also very much recommend learning Idris, it's such a beautiful language, similar to Haskell, but much more powerful
<arkad>
unrelated to nixos, does anyone know how I can change the color of my nick name?
zeus_ has quit [(Ping timeout: 276 seconds)]
<arkad>
checking out Idris now
<gchristensen>
jesus, Infinisil :P
<clever>
give found myself wanting to use haskell's $ in nix a few times
darlan has joined #nixos
<Ralith>
lol
<clever>
gchristensen: and now ghc ate enough ram to break tab-completion, lol
<gchristensen>
Infinisil: "oh, you like flying kites? you should try the space shuttle!"
<Infinisil>
gchristensen: Heh
<clever>
gchristensen: for example, i recently had to write builtins.fromJSON (builtins.readFile foo)
<Infinisil>
I really wanna have a closer look at Shen (also a programming language), looks very interesting
<clever>
gchristensen: and i thought for a moment of doing it as builtins.fromJSON $ builtins.readFile foo
pie__ has quit [(Ping timeout: 246 seconds)]
<gchristensen>
clever: I've thought about that too, but I like that ('s and )'s are a bit more accessible
markus1189 has quit [(Ping timeout: 240 seconds)]
markus1199 has quit [(Ping timeout: 260 seconds)]
_rht has joined #nixos
<arkad>
idris not in nixpkgs?
<arkad>
i only see a vim plugin
seppellll has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<clever>
arkad: i see an entire idrisPackages attribute
<Infinisil>
arkad: Idris is quite a tough one if you don't have any previous experience with Haskell or similar though
ryantrinkle has joined #nixos
lambdamu has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
newhoggy has joined #nixos
eacameron has quit [(Remote host closed the connection)]
markus1189 has joined #nixos
<arkad>
so a nix-env -qaP doesn't actulaly show ALL packages?
newhoggy has quit [(Ping timeout: 255 seconds)]
<arkad>
ive been having trouble understanding why some software isn't listed when I run that... I know it doesn't list unfree software by default, but it seems to filter others out as well...
disasm has quit [(Quit: WeeChat 1.8)]
eacameron has joined #nixos
<Infinisil>
arkad: I think it'll only list top-level packages, to query haskellPackages/nodePackages/<foo>Packages you need nix-env -qaP -A nixos.haskellPackages
<Infinisil>
The amount of derivations would be huge if it would recurse into every attribute
<Infinisil>
I believe that's the reason it works like that
<Infinisil>
But I do agree that idris could be in the top level
<clever>
pkgsi686Linux would also double the size of the package list
<clever>
that contains a 32bit version of everything
zeus__ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<Infinisil>
Maybe I'll do a PR that adds idris to top level
<slabity>
clever: it's saying rustOverlay isn't a nixpkgs overlay
<clever>
slabity: does that error give a line number?
newhoggy has joined #nixos
<clever>
rcschm: i think they are forcing it to be a 32bit compile, and nix gives it 64bit only tools by default
<slabity>
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:337:32, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:337:19:
<slabity>
The option value `nixpkgs.overlays.[definition 1-entry 1]' in `/etc/nixos/packages.nix' is not a nixpkgs overlay.
<clever>
slabity: adding import now puts the function in that variable, rather then the path
Jackneilll has joined #nixos
<slabity>
Oh, I see
<slabity>
Then I can do the import for the mozillaOverlay
newhoggy has quit [(Remote host closed the connection)]
<slabity>
Oh, I guess not
ebzzry has joined #nixos
<clever>
and lists in nix are picky
<clever>
[ import rustOverlay ] is a list of 2 things, a function and a string
<clever>
not an application of a function on a string
<slabity>
Ooh. I think it's working
<rcschm>
clever: it seems to be the case. the compilation went further than before. however it seems to get stuck at another place and i am not sure if it would fail or succeed yet.
<slabity>
clever: Hey, it works! Thanks for your help.
<clever>
rcschm: can you gist the output of "ps -eH x" ?
<clever>
slabity: the default.nix loads a specific version of nixpkgs, and applies the overlay to it for you
<clever>
rcschm: its probably compiling something
<slabity>
clever: So let's say I have two different versions of a program installed (the nightly and the stable), how can I switch between the two?
<rcschm>
ok let me run for awhile and see then.
<clever>
slabity: if you put the overlay in nixpkgs.overlays, then the main pkgs on line 1 will contain the overlays, and you have no way to not use them
<slabity>
clever: They're both from the same overlay: rustChannels.nightly.rust and rustChannels.stable.rust
<clever>
slabity: if you used the fixed version of line 13, and delete line 20, then you can use mozillaPkgs.foo to refer to the version of foo in the overlay
<clever>
and pkgs.foo to refer to the version in nixpkgs
<slabity>
So I can't install both at once?
<clever>
if the have the same names in the bin/ folder, then you cant install both at once
<clever>
you would have to use nix-shell -p to load one or the other
<slabity>
Oh. That's disappointing.
<clever>
nix does allow conflicting versions to co-exist in the /nix/store/
<clever>
but it doesnt magicaly make conflicting versions play nicely in the same $PATH
newhoggy has joined #nixos
<clever>
and things like compilers arent supposed to be installed with nix
<clever>
compilers should only be loaded with nix-shell or nix-build
<slabity>
clever: So if they're in my store, I won't need to download them? I can just use "nix-env -i <version>" to swap them?
<clever>
that will make a mess of your profile generations
<clever>
better to use nix-shell -p rustChannels.nightly.rust
<Svarog>
hmm is there a way to tell what is it that i'm installing that requires glusterfs? i am pretty sure i haven't selected that package for installation
<LnL>
nix-store -q --tree $(nix-instantiate '<nixos/nixos>' -A system)
<Svarog>
oh interesting
<Svarog>
thanks LnL
<LnL>
I got the error because I'm using an overlay with qemu from unstable
pxc has joined #nixos
<Svarog>
hmm it seems it's required for xen, which is required by libvert
<Svarog>
i'm on the stable branch, so it's broken there as well
<LnL>
what release are you using?
<Svarog>
17.03
<LnL>
oh, and you don't have any special overrides?
<Svarog>
17.03.1316.412b0a17aa is what i'm currently running
<Svarog>
no overrides
pxc has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Ping timeout: 258 seconds)]
<LnL>
let me check
<Svarog>
about to try disabling virtualisation.libvirtd
arianvp2 has joined #nixos
arianvp2 has quit [(Read error: Connection reset by peer)]
arianvp2 has joined #nixos
thc202 has joined #nixos
GiGa|Laptop has joined #nixos
<GiGa|Laptop>
Hello :)
<GiGa|Laptop>
When 17.03 was released there were problems with Gnome3 and GDM, notably that if you got to the login screen it would lock up the whole system
<GiGa|Laptop>
Does anyone know if those issues are now fixed in 17.03? I'd like to upgrade from 16.09 but do need to be able to use the system afterwards ;)
butchery has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vQYNn
<dweller>
on unstable, im installin nixos using nixos-install to usb drive, /nix/var/nix/profiles/system links to closure file, which breaks nixos-install script, as it's looking for /nix/var/nix/profiles/system/bin/switch-to-configuration
<dweller>
any way to workaround this, or should i look for another pendrive for stable iso? :>
<Svarog>
GiGa|Laptop, i'm using 17.03 with gnome and gdm
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQYNC
<Svarog>
i've been trying to do something similar actually, i didn't even realize you could use nixos-install from a running system
tmaekawa has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.03: https://git.io/vQYNr
<NixOS_GitHub>
nixpkgs/release-17.03 e67dd4a Jörg Thalheim: glusterfs: do not set setuid in install...
NixOS_GitHub has left #nixos []
<LnL>
Svarog: ^
<Svarog>
instead i've been customizing scripts to build a live cd to then use to bootstrap a new machine and then use nix-copy-closure to get stuff across
<Svarog>
oh
<Svarog>
thanks LnL :)
tmaekawa has joined #nixos
<GiGa|Laptop>
Svarog, Did you have issues when you initially upgraded?
Wizek has joined #nixos
<Svarog>
with 17.03 beta i did, 17.03 release no
<GiGa|Laptop>
interesting, I've never managed to get it working, even in a VM
butchery has joined #nixos
<GiGa|Laptop>
Maybe I'll do a channel update and give it another go
<Svarog>
yeah give it a try
butchery has quit [(Client Quit)]
butchery has joined #nixos
<GiGa|Laptop>
I'm also looking in the manual for a way to remove specific configurations (i.e. the ones I know are broken) but I can't see that?
<dweller>
heh
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
<dweller>
apparently nixos-install requires you to have at least one channel added
mpcsh has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
<Svarog>
GiGa|Laptop, nix-env
<Svarog>
specifically nix-env -p /nix/var/nix/profiles/system --list-generations shows you current generations
<Svarog>
and --delete-generations <generations> deletes specific generations
<Svarog>
i don't know if there is a better way but that's what i've been using
<Svarog>
i had a hard time finding that too, if i remember correctly
<sphalerite>
^ and you'll also need to rebuild to make sure you don't have references to removed generations left in the bootloader
<Svarog>
dweller, wouldn't you have a channel defined already in your existing system?
<sphalerite>
any reason not to use the unstable channel?
<butchery>
I used to use a git clone for custom versions and packages but switched to using a channel + overlay...
<dweller>
butchery: i thought about it, but i had no time to check it
<GiGa|Laptop>
Svarog & <sphalerite>, Thanks :)
<butchery>
works great for me, I stay on a stable channel, added nixpkgs as a remote and use git checkout to add in any unstable packages I want, I'd recommend it personally
<jbo>
Hi there - I'm trying to save profiles in mate-terminal, which stores them in `dconf`. `nixos-rebuild switch` wipes dconf. Is there some way to define dconf entries in my configuration.nix ?
arianvp2 has quit [(Quit: arianvp2)]
arianvp2 has joined #nixos
<sphalerite>
jbo: I don't think nixos-rebuild switch should wipe dconf...
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #26810: nixos manual: segment into pages (master...manual-chunking) https://git.io/vQYAN
NixOS_GitHub has left #nixos []
<jbo>
sphalerite: well - every `nixos-rebuild switch` causes my terminal profile to get lost
<sphalerite>
jbo: where do you even get mate-terminal from?
<sphalerite>
Svarog: gnome doesn't work at all for me on my regular installation, not sure why, but I'm going to try booting a live system with GNOME to see if it crashes on touchscreen events too
<gchristensen>
jbo: when you start mate-terminal does the output of the terminal process output something about a memory backend?
<jbo>
mate.mate-terminal
<jbo>
gchristensen: no
<gchristensen>
jbo: what version of nixos?
<Svarog>
sphalerite, weird, are you using stable or unstable? i haven't had any problems with stable since 17.03 got released and i'm running it on 3 different machines plus a vm
<jbo>
I get an error about dbus -- 'org.a11y.Bus not found' nothing else.
<Svarog>
as for the touchscreen issue, i created a ticket for that couple of weeks ago
<Svarog>
i think you or someone else here suggested that
[0x4A6F] has quit [(Read error: Connection reset by peer)]
orivej has joined #nixos
<jbo>
gchristensen: I'm on unstable actually -- let me try an upgrade
<sphalerite>
Svarog: It's probably stuff specific to my configuration
<gchristensen>
when I run mate-terminal I get "(mate-terminal:24794): dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files"
<gchristensen>
^ I get that when creating a new profile
<sphalerite>
gchristensen: you'd need to install dconf and restart your dbus session daemon
<jbo>
gchristensen: ahh - I've been modifying the default one
georges-duperon has joined #nixos
<jbo>
... maybe it makes sense that the default gets reset, but that new ones are preserved (?)
arianvp2 has quit [(Quit: arianvp2)]
<sphalerite>
I don't know, are new ones preserved? :)
<gchristensen>
jbo: have you installed dconf? do you see similar errors?
<NixOS_GitHub>
[nixpkgs] gleber opened pull request #26811: erlang: use makeExtensible (master...erlang-makeExtensible) https://git.io/vQYpa
NixOS_GitHub has left #nixos []
<sphalerite>
gchristensen: oh? And you're on the same machine as me, right?
<gchristensen>
yep
<Svarog>
hmm there is nothing special in it - just having services.xserver.destkopManager.gnome3.enable = true and services.xserver.displayManager.gdm.enable = true is what i have in there to enable gnome
<plll>
Thanks gchristensen! I am curious if it would work with the extraConfig string literal, as I'm referencing a filename in the services.udev.extraRules.
GiGa|Laptop has joined #nixos
<GiGa|Laptop>
Svarog, No dice with Gnome3 :(
seppellll has joined #nixos
tokudan has joined #nixos
<gchristensen>
plll: ohh the secondfile is being reference by the first
<GiGa|Laptop>
With both SDDM and GDM I can get a login screen, but when I login the system hangs (GDM) or X locks up (SDDM)
<tokudan>
how can I get nixos to automatically mount zfs datasets when the pool is imported during boot?
<GiGa|Laptop>
If I enable Bumblebee the whole system locks up (can't even reboot with "magic sysreq"
<gchristensen>
plll: I'd save the rme-babyface-pro.conf at /etc/nixos/rme-babyface-pro.conf and in extraRules do ENV{PULSE_PROFILE_SET}="${./rme-babyface-pro.conf}"
<Svarog>
oh, hmm - all the systems i've tried just had intel or amd graphics - haven't tried anything with an nvidia card
<Svarog>
does wayland work with closed-source drivers yet?
<Svarog>
i wonder if that might have something to do with it seeing how gnome3 uses wayland
<GiGa|Laptop>
I could tell bumblebee to use nouveau?
<gchristensen>
I think bumblebee says do not use it with nouveau
mudri has quit [(Ping timeout: 240 seconds)]
ninjastrong is now known as silus
<GiGa|Laptop>
gchristensen, won't do that then
<GiGa|Laptop>
I can share my config if that'd help?
newhoggy has joined #nixos
silus is now known as lordtolstoi
<gchristensen>
oh... hmm... maybe I'm thinking a different driver - should do your own research probably.
lordtolstoi is now known as silus
<GiGa|Laptop>
"Bumblebee supports both Nvidia proprietary driver and Nouveau."
silus is now known as quazar
<Svarog>
i've had no luck with nouveau in the past and at least on a gtx 960m had to blacklist it to even get things to boot
<Svarog>
haven't tried recently though, and haven't tried nixos at all on anything with an nvidia card
quazar is now known as MADAGASCAR
<GiGa|Laptop>
Do I need to define services.xserver.videoDrivers at all? Given I have 2 cards in this laptop I've had to set it to [ "intel" "nvidia" ] before
<sphalerite>
GiGa|Laptop: nvidia proprietary driver simply will not work
<GiGa|Laptop>
I just don't understand why the lock up occurs on entering Gnowe3. I can login to XFCE OK
<sphalerite>
GiGa|Laptop: blame nvidia
<GiGa|Laptop>
sphalerite, darn them
<plll>
I'll give it a shot. Thanks again gchristensen!
plll has quit [(Quit: leaving)]
<sphalerite>
GiGa|Laptop: your choices are basically nouveau (performance will probably be crap), using only the intel graphics (similar), or using a desktop environment that doesn't rely on wayland (because nvidia live in the past)
newhoggy has quit [(Ping timeout: 240 seconds)]
<GiGa|Laptop>
Gnome3 relies on wayland now?
<sphalerite>
nvidia's driver claims to work with wayland but fact is it doesn't
<sphalerite>
To some extent, yes, I don't really understand what the deal is though
<sphalerite>
clever: worked it out, it's because dbus is built with --without-x
<GiGa|Laptop>
That's a pain
<GiGa|Laptop>
OK, just bouncing to try new config
GiGa|Laptop has quit [(Quit: nixos-rebuild switch)]
andymandias has quit [(Ping timeout: 246 seconds)]
<sphalerite>
clever: which in turn is due to environment.noXlibs = mkDefault true in profiles/minimal.nix
plll has joined #nixos
GiGa|Laptop has joined #nixos
fnljk has joined #nixos
GiGa|Laptop has quit [(Client Quit)]
arkad has quit [(Quit: WeeChat 1.7.1)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
<MichaelRaskin>
What are you doing with your notebooks that performance of Intel built-in GPU is not enough…
GiGa|Laptop has joined #nixos
<sphalerite>
MichaelRaskin: personally, games. As a workaround I usually just lower the screen resolution and graphics settings until they run smoothly
<GiGa|Laptop>
Winning combination seems to be using the nouveau driver
<sphalerite>
MichaelRaskin: but being able to play my games in 4K would be awesome :p
<GiGa|Laptop>
Don't think Steam works with it though :(
<MichaelRaskin>
Oh
<MichaelRaskin>
I think Nouveau performance is not that bad
andymandias has joined #nixos
<MichaelRaskin>
And in some cases you can even have Nouveau+Intel collaboration without Bumblebee
<sphalerite>
iirc nouveau has performance problems because it doesn't support power management so the GPU is stuck at the lowest clock rate
<GiGa|Laptop>
MichaelRaskin, I wouldn't be able to get Steam to operate using the Nvidia card though without Bumblebee
<Svarog>
MichaelRaskin, also 3d modeling, rendering, gpgpu development - all of those benefit from having a geforce or a radeon
<sphalerite>
aanderse_: when I try to debug something I get this warning http://ix.io/xY2
<aanderse_>
yeah i definitely don't get that
<sphalerite>
huh
<aanderse_>
you running like apparmor or selinux or something?
<sphalerite>
no, this is a warning from gdb
<sphalerite>
Which flags is your application compiled with?
<aanderse_>
built with cmake, CMAKE_BUILD_TYPE Debug
<sphalerite>
(debugging-related ones)
<sphalerite>
ah
<sphalerite>
I usually compile with -g3 -ggdb when I want to debug stuff, I don't know if that adds extra information which would cause it to try to load the extra info in my case and not in yours
<sphalerite>
nope, I get the same if I don't add those flags
<NickHu>
Does anyone know if there's a way to launch steam in a separate Xserver, like with xinit steam -- :1 or something/
<aanderse_>
hmm i think i need to increase the debug level on this anyways
<aanderse_>
i just saw "value optimized out" :\
<sphalerite>
NickHu: personally I have a separate user for running steam and switch using the display manager's switching functionality
<sphalerite>
aanderse_: oh yeah that's a pain
oleks_ has quit [(Quit: leaving)]
oleks has joined #nixos
<NickHu>
sphalerite: Care to elaborate on that?
<sphalerite>
NickHu: I'm using SDDM, if you're on KDE or GNOME I think it should have an option to switch user together alongside logging out
<sphalerite>
For my main user I use i3 so I don't have that, but I can still reqeust a swithc via D-Bus
<NickHu>
Ralith: I googled for Rimworld and NixOS and it seems like you got it working..? Game seems to work perfectly but freezes without fail after a couple of minutes
<sphalerite>
Which I do using dbus-send --print-reply --system --dest=org.freedesktop.DisplayManager /org/freedesktop/DisplayManager/Seat0 org.freedesktop.DisplayManager.Seat.SwitchToGreeter (with an alias of course)
<NickHu>
sphalerite: yeah, I use XMonad - how can you request a switch via DBus?
<NickHu>
Ah
<NickHu>
oh lol apparently I'm not using any display managers
<sphalerite>
That won't work with slim, but slim is bad and needs to go anyway
<sphalerite>
You're probably using slim?
<sphalerite>
That's the default DM for nixos, and it doesn't have the D-Bus interface
<sphalerite>
or generally do many of the things a modern DM is supposed to do
<NickHu>
Could you recommend anything lightweight?
<sphalerite>
There isn't really anything really lightweight AFAIK, it's basically lightdm (with pluggable greeters, but only a gtk-based one implemneted), gdm (gtk) and sddm (qt)
<sphalerite>
sddm does nicely for me, but it depends on how lightweight you need/want it to be
<NickHu>
Does gdm pull in all of gnome?
<sphalerite>
no, I don't think so
<sphalerite>
yeah, only gtk AFAICT
<NickHu>
Might go with lightdm anyway seeing as it seems to be more popular
<NickHu>
Could you walk me through how your steam user is set up?
<sphalerite>
NickHu: just a regular user in configuration.nix, not much to it, and I've installed steam in its profile
<sphalerite>
but with lightdm you have the little nicety of being able to use dm-tool switch-to-greeter rather than that DBus command which is a bit of a mouthful
logzet has joined #nixos
<NickHu>
What's considered a good wm for steam/video games? Openbox?
<manveru>
NickHu: i use i3 for everything
<manveru>
tbh i think any wm will work... not many games care about it
<sphalerite>
I use full-on KDE for my steam user
<sphalerite>
back when I wasn't using nixos, I think I used LXDE which I think uses openbox?
<NickHu>
manveru: I think what is happening is my window manager is causing incompatability
LnL has quit [(Quit: exit 1)]
<manveru>
which game?
<gchristensen>
I use sddm and i3 and steam has worked for me in the past (but I use steam probably oncce every 3 years)
<manveru>
i have around 100 games installed, and none of them has an issue with the wm
<sphalerite>
I have two copies of steam actually
<NickHu>
manveru: rimworld
<sphalerite>
one of them is the windows one, because windows tf2 crashes less in wine than the native linux one -_-
<manveru>
damn, i haven't tried rimworld yet :)
<manveru>
but that's unity engine i think?
<NickHu>
I've had these kinds of issues with XMonad in the past
<NickHu>
I'm given to understand that i3 has great compatability
<NickHu>
But, I don't fancy switching
eacameron has quit [(Remote host closed the connection)]
<gchristensen>
I'm not sure why i3 would be more or less compatible with something, what do you use?
<manveru>
yeah... i've been using autotiling wms since wmii or so
<manveru>
anyway, try starting steam in a console, then see the output
<manveru>
it might be some other issue
<gchristensen>
oh xmonad, yeah, they seem pretty much identical in their limited featureset and approach of "don't do anything extra" so I'm not sure why i3 would be better than xmonad for steam
lambdael has joined #nixos
<NickHu>
manveru, already did that, coming up with nothing
civodul has quit [(Ping timeout: 268 seconds)]
rcschm_ has joined #nixos
rcschm_ has quit [(Remote host closed the connection)]
rcschm has quit [(Ping timeout: 240 seconds)]
LnL has joined #nixos
<butchery>
anyone have alacritty working on nixos? theres an issue open but hasn't been touched in a couple months
civodul has joined #nixos
<gleber_>
I can't find a way to install a man page from a derivation. There seem to be no explanation in nixpkgs docs. Any pointers?
<gchristensen>
I think it'd go to like $out/share/man/man1/
<gchristensen>
or $out/man/man1/
<sphalerite>
butchery: having a go at building it right now
<gchristensen>
check out pkgs/os-specific/linux/alienfx/default.nix, gleber_
<gleber_>
gchristensen: doing
<NickHu>
Steam does some sort of magic chroot thing - is it possible to open a terminal or something like that inside of it to run things manually?
<gleber_>
gchristensen: awesome, thanks!
<manveru>
NickHu: check out the steam-run package
<gchristensen>
you're welcome :) fwiw I grep`d for 'man' and `cp` and picked through the results until I found one that looked relevant :)
<gleber_>
gchristensen: ack, I just assumed there's some special mechanism for it :)
<gchristensen>
not an unreasonable assumption :P
<gchristensen>
search.nix.gsc.io is basically my lifeline for helping in #nixos hehe
<NickHu>
fwiw in case anyone sees logs for getting rimworld working, all I needed to do was pass a game launch option of -force-opengl in steam and it works perfectly now
<NickHu>
Perhaps something to do with intel graphics and a hardware incompatability
<MichaelRaskin>
gchristensen: I see the channel updates graphs are still the JavaScript-only ones…
<gchristensen>
MichaelRaskin: busy few weeks for me :/ I could send you the source to the script that makes it, you have access to all the data I have w/ the data I've published
atemerev has quit [(Quit: leaving)]
<sphalerite>
butchery: with the nixpkgs-mozilla overlay, nix-shell -p rustStable.{rustc,cargo} cmake gcc pkgconfig freetype expat fontconfig --run 'cargo build --release -j9' seems to have compiled it, but it won't run yet
phinxy has joined #nixos
[0x4A6F] has quit [(Read error: Connection reset by peer)]
<S0rin>
Hey, I am searching information to install munin on a nixos server mostly on configure the plugins
<sphalerite>
butchery: got it running with some horrible hacks, but running nonetheless
<MichaelRaskin>
gchristensen: I may not have a setup to trial-and-error the language/framework your backend is written in…
<butchery>
sphalerite: good to hear, I'm just compiling now with something similar, theres an issue on alacritty abouty LD_LIBRARY_PATH too, does it run alright?
<sphalerite>
butchery: seems to
<sphalerite>
butchery: Can you link me the issue? I doubt it's the same one unless it's specifically about nix or guix
<gchristensen>
if you make improvements I'll gladly take them, if you don't, I won't be fussed
<MichaelRaskin>
Ah, shell
<MichaelRaskin>
That's nice
<gchristensen>
(if you hack on it, please disable the IRC bot portion on line 149 :P
<gchristensen>
a wget --mirror on https://channels.nix.gsc.io/ should easily get you all the data & history I have
jensens has joined #nixos
<butchery>
sphalerite: that worked like a charm but wow thats hacky...what a wild ride
<sphalerite>
butchery: haha
newhoggy has quit [(Ping timeout: 276 seconds)]
ryanartecona has joined #nixos
<sphalerite>
butchery: I don't know about you but for me scrolling really doesn't work well in it
marsel has joined #nixos
<sphalerite>
and by "really not well" I mean "basically useless"
<sphalerite>
Well, that was fun. Back to st :D
<butchery>
I think scrolling, etc is left to tmux by design, I'm tossing up between alacritty and st actually :P
newhoggy has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
<sphalerite>
butchery: same with st, but alacritty doesn't seem to be passing the scroll events to the terminal process properly
<butchery>
weird, its working nicely for me...but I'm having problems with other things, scrolling is ok though
newhoggy has quit [(Ping timeout: 240 seconds)]
<sphalerite>
regardless, for my purposes st is perfectly fine so I'll consider using alacritty if someone else packages it for nixos and the scrolling problem is fixed
<butchery>
yeah it does sort of seem more trouble than its worth right now, which is a shame because it seems like a nice project
tmaekawa has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
tokudan has quit [(Quit: Leaving)]
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
Jackneilll has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 opened pull request #26818: llvm-packages: get rid of extra build depedencies for manpages (master...llvm-manpages) https://git.io/vQOtq
NixOS_GitHub has left #nixos []
<LnL>
copumpkin: ^
<gchristensen>
nice, lnl
<LnL>
still not sure if the solution is smart or just a hack :)
<MichaelRaskin>
gchristensen: hm, you don't have any two-timestamp datasets yet
<gchristensen>
I know :( I haven't even added that, I'm sorry. If you add that I'll deploy it ASAP and start collecting data
newhoggy has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin>
I wanted to quickly hack the one-week-ago gnuplot script instead of make_graph function and say it is already an improvement
<gchristensen>
I'll take any improvements you send :)
<trikl>
Is it that cmake doesn't pass wrap g++ with the qt4 dir correctly?
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQOOd
<NixOS_GitHub>
nixpkgs/master 5d7fd7e Samuel Leathers: mailhog: init at 1.0.0 (#26821)...
NixOS_GitHub has left #nixos []
<trikl>
I think it might be an issue related to automoc?
newhoggy has joined #nixos
bkchr has quit [(Quit: Konversation terminated!)]
ambro718 has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
nh2 has quit [(Quit: Leaving.)]
newhoggy has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
Rajsun has joined #nixos
newhoggy has joined #nixos
<gchristensen>
man, github bot has been busy today
eacameron has quit [(Ping timeout: 246 seconds)]
<hyper_ch>
ha, noticed we have now systemd v233... that means the custom mount options should be available now
<hyper_ch>
so that I can umount a share that was mounted through the vpn
newhoggy has quit [(Ping timeout: 246 seconds)]
butchery has quit [(Quit: leaving)]
<disasm>
Thanks Mic92 for the merge!
<ben>
What's the shortest command I can type into bash to get a store path starting from an attribute name in nixpkgs?
<ben>
eg. i want to check where zlib lives, but I feel dirty doing echo /nix/store/*zlib*
<MichaelRaskin>
What side-effects are allowed?
<ben>
ideally my system should still boot afterwards
<MichaelRaskin>
Depending on your config, nix-build -A hello
<MichaelRaskin>
And it should only spam a symlink in the current directory
<ben>
right, and pass <nixpkgs> i guess
<ben>
cheers, that looks convenient enough
newhoggy has joined #nixos
Jackneilll has joined #nixos
<simpson>
It will get you the "right" zlib every time, more importantly.
<ben>
I guess in practice I'm not gonna want to do this for store paths that don't exist anyway
<simpson>
Because you can, and will, have multiple different builds of a library, and you want to pick the one that lines up the best with your other libraries. (Both for bug reduction and for memory usage reduction.)
<MichaelRaskin>
You can add --no-out-link, but that's too long
<gchristensen>
I'm curious why you're looking for zlib like this
<simpson>
gchristensen: My guess: Dynamic language FFI needs zlib location.
<ben>
nope, I just wanted to have a look at zlib.h
<gchristensen>
sounds good!
<ben>
but it's a thing I've caught myself doing a few times
<MichaelRaskin>
And of course on my system it is enough to say @ zlib @
<gchristensen>
cool, just making sure we're not solving the Y of an X-Y problem :)
<MichaelRaskin>
Which is really short, but requires all the magic to live inside the @ shell script (I do have it)
<ben>
ultimately we are but I'm in the mood to check out all the Ys I can think of rn
cpennington has joined #nixos
<gchristensen>
haha ok ben
<ben>
I'm playing with ld to link things manually, which I usually don't do as a spoiled user of modern compiler setups
<ben>
I guess I could be setting up a shell environment with all the paths in the environment already
<MichaelRaskin>
So, you are mining iron ore to do yak shaving properly?
<ben>
:D
<gchristensen>
or a default.nix with stdenv.mkDerivation where you can do ${pkgs.zlib}/...
newhoggy has quit [(Ping timeout: 240 seconds)]
<ben>
thats probably how id set up the shell environment :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vQOsz
<gchristensen>
yeah I think the cool thing about nix is it is usually easier to do it the nix way
boomshroom has joined #nixos
<boomshroom>
Hello!
<ben>
Maybe I should just teach my shell to evaluate ${} substutions in the context of nixpkgs instead of shell variables
<MichaelRaskin>
gchristensen: does nix-shell have an option to also set LD_LIBRARY_PATH? Because for some cases of FFI that would be convenient
<gchristensen>
see also what MichaelRaskin does :P
<MichaelRaskin>
Nope. By the moment you can comfortably understand what the hell my scripts are doing, you already have a slightly different opinion what they should be doing, and so have your own set of scripts
<clever>
MichaelRaskin: you could probably write a setup hook to do that
<boomshroom>
I'm just wondering if people have had a chance to see https://www.reddit.com/r/NixOS/comments/6izuqh. I would really like to know what is suitable for my user config rather than the global configuration.
eacameron has quit [(Ping timeout: 240 seconds)]
portu has quit [(Read error: Connection reset by peer)]
<MichaelRaskin>
clever: well, that should be easy, but then it also requires a separate shell script (this hook) and I can just continue to use @/@+/… that I already have
<Ralith>
Nick Hu: yes, the game has a longstanding bug with a known workaround; I open a nix-shell with https://ralith.com/~ralith/pastes/game-env.nix.html and then run ~/.local/share/Steam/steamapps/common/RimWorld/start_RimWorld_openglfix.sh
newhoggy has quit [(Ping timeout: 240 seconds)]
<clever>
boomshroom: you can make a common.nix for both systems, then inside configuration.nix do imports = [ ./common.nix ];
<clever>
boomshroom: then share the common.nix between them
<Ralith>
you could probably tidy that up into a single installable wrapper script
<ben>
You could just not store your system config in /etc/nixos, and put it into ~/nixos-config or whatever, and also make it a git repo managed by your normal user
<ben>
re: not saying sudo to work on it >:U
eliaslfox has joined #nixos
<boomshroom>
clever: I know that, but I like doing things user local so 1. I don't have to use 'sudo', 2. if I manage to get my dad to get an account on my system, 3. so I could reuse the config on non-NixOS systems.
<ben>
What kinda things is it you want to do?
newhoggy has joined #nixos
<boomshroom>
ben: have as much as I can in ~/.config/nixpkgs/config.nix and move that file between my desktop, my macbook, and my account on my university computers.
<ben>
My config.nix is pretty small, I guess
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vQOGe
<boomshroom>
I'm going to be going to work soon, so I'd like to move discussion to the subreddit so I can read it on my break or when I get off work. Thank you.
<crst>
Infinisil: command not found. That means I have to edit configuration.nix. Typing is pure horror here, lol. I'd need `setxkbmap -layout 'ch(de),us' -variant mac`. Can I maybe already ssh into freshly booted minimal iso? I'd need a running ssh, ip and default pw. Can I install packages in this state already?
Itkovian has joined #nixos
<copumpkin>
LnL: omg exciting! will take a look later, out and about now
newhoggy has joined #nixos
ris has joined #nixos
<LnL>
ideally we wouldn't have to build it twice, but I couldn't get that working nicely
newhoggy has quit [(Ping timeout: 260 seconds)]
<Infinisil>
crst: don't know. While setting up my machine I almost got used to another keyboard layout it took so long and didn't know how to change it :P
<crst>
Infinisil: yeah that's right, one get's used to it after a while :D
<Infinisil>
crst: Are you swiss btw?
eacameron has quit [(Remote host closed the connection)]
mkoenig has quit [(Ping timeout: 255 seconds)]
mkoenig has joined #nixos
roconnor has joined #nixos
<crst>
Infinisil: I'm german. I was living in Switzerland for quite a while and I love the swiss keyboard layout. But tying into the vm without copy paste on a different layout is always such a pleasure.
<hyper_ch>
everybody loves de_CH :)
<hyper_ch>
it's only a matter of time until the large canton in the north joins the swiss republic :)
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<Infinisil>
Why though? I found it really inconvenient some time ago when I was using it. The additional ae, ue, oe puts lots of symbols in a difficult spot
<crst>
yeah, it's the best. Perfect for writing in de, fr, it, en, even programming works quite ok. I hope it would join :)
zeus_ has joined #nixos
<Infinisil>
Ahh
zeus_ has quit [(Remote host closed the connection)]
<Infinisil>
Well I'm almost never writing anything other than english
<Infinisil>
And code
<Infinisil>
That's why I switched to programmer dvorak :D
zeus_ has joined #nixos
cpennington has quit [(Remote host closed the connection)]
<hyper_ch>
(isn't that the same - english/code)
<manveru>
nope
<Infinisil>
I'd say that code is a superset of english
<manveru>
i love jp layout, best for coding :)
<manveru>
(in ruby, anyway)
<hyper_ch>
en_CPlusPlus
<hyper_ch>
en_Ruby
<hyper_ch>
doesn't japanese keyboard use kanji?
<manveru>
no
oida has joined #nixos
<manveru>
how would you fit millions of kanji on a keyboard
<LnL>
is there a way to get a list of all of the activation scripts?
pbogdan_ is now known as pbogdan
<hyper_ch>
there's not a million kanji... just a few thousands ;)
<LnL>
all of the snippets are combined with the apply of the option
<hyper_ch>
oh now, I'm not from ZH... nobody likes people from zurich
<Infinisil>
My university is in Zurich (ETHZ)
<hyper_ch>
it's not a university, d'oh
<hyper_ch>
it's a "high school"
<crst>
hyper_ch: They've put me occasionaly in Sweden, or Swaziland instead of Switzerland :)
<hyper_ch>
never swaziland... but sweden was common - even in Australia
<crst>
Infinisil: Polyterasse
<hyper_ch>
aren't you a bit old to attend high school? :)
<crst>
hyper_ch: Swaziland is rare, that only happened once
newhoggy has quit [(Ping timeout: 268 seconds)]
<Infinisil>
LnL: You could try with nixos-option system.activationScripts, recently that command didn't really do anything for me though, maybe it works for you though
zeus_ has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQOlr
<NixOS_GitHub>
nixpkgs/master 9929e83 Kai: systemd-boot-builder.py: add support for profiles (#26318)...
NixOS_GitHub has left #nixos []
<Infinisil>
hyper_ch: Is it really a high school? I'm studying computer science there
<LnL>
nixos-option kind of does the same thing
<hyper_ch>
Hoch Schule - High School
<crst>
hyper_ch: people from zurich are just the worst :)
<hyper_ch>
they are
zeus_ has joined #nixos
newhoggy has joined #nixos
<Infinisil>
hyper_ch: Oh and I'm only 21 years old ;)
<hyper_ch>
well, I pondered between computer science, economics and law back in the day
<Infinisil>
hyper_ch: So you chose CS considering you're here now?
<Infinisil>
Does anybody here use Powerlevel9k for your terminal? I'm still trying to find a terminal and a font that doesn't have misalignment issues with Powerlevel9
Jackneilll has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
stanibanani has quit [(Ping timeout: 268 seconds)]
newhoggy has joined #nixos
simukis has quit [(Remote host closed the connection)]
simukis has joined #nixos
<leothrix>
I goofed up and forgot to update nixos for a long time and can't upgrade due to python2.7-pyopenssl complaining about ssl certs expiring, is there a manual way to upgrade ca-certificates?
FRidh has quit [(Quit: Konversation terminated!)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<qknight>
leothrix: the certs are in /etc/ssl and in theory you could just alter those statefully i assume
<qknight>
leothrix: verify that by using: strace -f -e open -s 400 nixos-rebuild build 2>&1 | grep '/etc/ssl'
<qknight>
leothrix: if it returns anything, then there is a good chance that the certs are used from there
<clever>
and if you see any symlinks into the store, copy the contents out of the store, delete the symlink, then put the copy in place
<qknight>
clever: yeah!
newhoggy has joined #nixos
<Infinisil>
Question: For a while now I used my local nixpkgs checkout because the release-17.03 channel still doesn't have some change I need, specifically in the znapzend module. Is there some better way for that or do I just have to wait for 17.09?
<qknight>
Infinisil: you have to wait
<qknight>
Infinisil: but you should rebase your changes from time to time to still get security updates
<Infinisil>
Who decides what goes in release-17.03 anyways? The change I need it pretty trivial
<Infinisil>
qknight: Yeah I'm doing that for new
<qknight>
Infinisil: we only put security stuff in there and new stuff gets into master and then in 17.09
<Infinisil>
qknight: All 5 would be great, but the latest one by me isn't really needed
<pie__>
error: attribute ‘python-libxdo’ in selection path ‘unstable.python36Packages.python-libxdo’ not found
<qknight>
Infinisil: the 'init at 0.15.3' basically adds the service in the first place. isn't it already in 17.03?
newhoggy has joined #nixos
<Infinisil>
qknight: Yeah it is, but autostart doesn't work and restarting on failure doesn't either
<Infinisil>
qknight: But if updating release-17.03 is really only thought for security updates that's okay then, I'll just have to wait a few months :P
<leothrix>
Well, strace didn't see anything looking at /etc/ssl/certs/ca-certificates.crt and replacing it on the off-chance didn't fix anything either, so my system may be hosed
<Infinisil>
leothrix: I believe there is some way to build your system from a different machine, that might work
newhoggy has quit [(Ping timeout: 268 seconds)]
<ben>
can you just like
<Baughn>
Yeah. nixos-rebuild --target-host and --build-host.
<ben>
set your system time to before they expired
<Baughn>
But at least --target-host requires root.
<Baughn>
--build-host might now, though.
<Baughn>
*not
newhoggy has joined #nixos
<qknight>
can i deploy to linux x86_64 from a mac os x laptop using nixops?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
newhoggy has quit [(Ping timeout: 260 seconds)]
<pie__>
soo yeah anyone have any ideas about my package problem?
<Infinisil>
Argh, why does linux-config fail to build after I rebased on 17.03
<Infinisil>
pie__: Nope
<Infinisil>
pie__: Maybe it just isn't in nixpkgs?
<pie__>
Infinisil, i figured that python**packages is just some kind of wrapper?
<gchristensen>
ok2`: are you using a daemon?
<Infinisil>
pie__: I once thought that too, but somehow that's not true
<pie__>
ah.
<Baughn>
Okay, now I want a --download-rather-than-copy-if-possible flag to nixos-rebuild. :S
<Baughn>
Infinisil: Stackclash?
<Infinisil>
pie__: I mean nixpkgs needs to be reproducible, that means fixed hashes, which means nix people need to manually update packages to make sure they still work. Or something like that
<Infinisil>
Baughn: What do you mean by that?
<pie__>
tue
<pie__>
true
newhoggy has joined #nixos
<Baughn>
Infinisil: It's the usual reason why everyone is cherry-picking and rebasing things today.
<Baughn>
Since the actual bugfix kernel is hung up on hydra evaluation.
<Infinisil>
Baughn: I don't quite get you still
<Baughn>
Never mind.
newhoggy has quit [(Ping timeout: 246 seconds)]
Filystyn has quit [(Quit: Konversation terminated!)]
<Infinisil>
Well, how am I going to update now
<Infinisil>
I thought 17.03 should Just Work (tm)
<Infinisil>
Or nix in general
<Infinisil>
Maybe I messed something up with git, lets see
newhoggy has joined #nixos
<qknight>
Infinisil: if you got your stuff reworked, i will merge that change you want with a cherry-pick from master. so do a master PR for the change you want and then we'll see if it also applies to 17.03
<Infinisil>
Oh, lol, this might be the reason most travis builds fail, citing the logs: The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).
newhoggy has joined #nixos
<qknight>
Infinisil: in general 17.03-small is a subsection from 17.03 without a huge dependency chain so fast rebuilds are actually 'fast'
<Infinisil>
qknight: I see, so only the most important stuff is there?
<qknight>
Infinisil: kind of server stuff, no X and so on
<Infinisil>
Nice to know
roconnor has joined #nixos
<qknight>
Infinisil: is you are done, write an email to js@lastlog.de
_Vi has joined #nixos
<_Vi>
How do I fix ugly fonts in Nix-installed applications?
lambdael has quit [(Quit: WeeChat 1.7.1)]
hiratara has quit [(Ping timeout: 240 seconds)]
<Infinisil>
qknight: Huh what?
newhoggy has quit [(Ping timeout: 240 seconds)]
<qknight>
_Vi: have a look at the fonts stuff
<qknight>
Infinisil: i'm not often on IRC so i might miss it
<_Vi>
qknight, What shall I nix-env -i for this and what to launch?
<Infinisil>
qknight: Ah I see, I'll remember it
mongoixp has joined #nixos
hiratara has joined #nixos
_rht has quit [(Quit: Connection closed for inactivity)]
<Baughn>
_Vi: You need to change the fonts setting in nixos/configuration.nix
nh2 has quit [(Quit: Leaving.)]
<Infinisil>
_Vi: Are you using nixos or nix only as a package manager?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rvolosatovs opened pull request #26826: pythonPackages.uritools: init at 2.0.0 (master...init/uritools) https://git.io/vQOur
NixOS_GitHub has left #nixos []
<_Vi>
Infinisil, I am supplementing Debian with packages from Nix (X server and kernel is from host).
<_Vi>
Infinisil, OpenGL problem is already resolved, now fonts...
mongoixp has quit [(Quit: Leaving)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<Infinisil>
And most applications allow you to change the font in some way
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rvolosatovs opened pull request #26827: pythonPackages.spotipy: init at 2.4.4 (master...init/spotipy) https://git.io/vQOzv
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
sigmundv__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rvolosatovs opened pull request #26828: mopidy-local-images: init at 1.0.0 (master...init/mopidy-local-images) https://git.io/vQOzV
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 240 seconds)]
Baughn has quit [(Quit: ZNC 1.6.2+deb1 - http://znc.in)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dywedir opened pull request #26829: tiled: 0.18.2 -> 1.0.1 (master...tiled) https://git.io/vQOz6
NixOS_GitHub has left #nixos []
Baughn has joined #nixos
<_Vi>
Just installing qt5ct made it look better...
newhoggy has joined #nixos
jbo has quit [(Remote host closed the connection)]
Baughn has quit [(Client Quit)]
Baughn has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<mongoixp>
Hello, i just installed NixOs and I have the followig question how to use the nixpkgs repository? The way i understood was that you clone the repository and to install a package use nix-env on its .nix file, sort of like the BSD ports
<Infinisil>
mongoixp: If you don't develop for nixpkgs you don't need to clone the repo
<Infinisil>
Just nix-env -iA nixos.<packagename> to install a package for your user
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 268 seconds)]
<mongoixp>
Infinisil, I was trying to make rms sad by installing non-free software I think that's why I wasn't seeing for what I wanted.
<mongoixp>
thanks bro
<Infinisil>
mongoixp: If you want to install non-free software with nix you need allowUnfree = true; in your configuration
<MichaelRaskin>
For nix-env it is in different place as compared to allow for configuration.nix
<MichaelRaskin>
Actually, for a single nix-env invocation you can even set an environment variable NIXPKGS_ALLOW_UNFREE=1 nix-env …
<Infinisil>
MichaelRaskin: Didn't know about that env var :o man pages don't mention it
hiratara has joined #nixos
<MichaelRaskin>
Advanced users can even specify a whitelist of non-free software that can be installed without broad permissions, but that requires writing a (simple) Nix function
zeus__ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<Infinisil>
mongoixp: No problem
newhoggy has quit [(Ping timeout: 240 seconds)]
zeus_ has quit [(Ping timeout: 246 seconds)]
Wizek_ has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
ambro718 has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
roconnor has quit [(Quit: Konversation terminated!)]
Infinisil has quit [(Quit: leaving)]
Infinisil has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
* Infinisil
just learned how to update a single file to the one from master with git commands
newhoggy has joined #nixos
<simpson>
Nice.
newhoggy has quit [(Ping timeout: 255 seconds)]
<Infinisil>
Well I pretty much just used the example in man git-cherry-pick, but still
trikl has quit [(Quit: Lost terminal)]
jgertm has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
sigmundv__ has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 260 seconds)]
arkad has joined #nixos
dev has joined #nixos
dev has left #nixos []
dev has joined #nixos
dev has left #nixos []
dev has joined #nixos
dev has quit [(Client Quit)]
ris has quit [(Read error: No route to host)]
ris has joined #nixos
Wizek has quit [(Ping timeout: 255 seconds)]
<mongoixp>
Soo I am trying to install spotify and it can't fetch the url, The url was changed in the nixpkg git repo just a few hours ago and it isn't on the channel, so how can I be stupid and patch the expression?