gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
cryptomonoid has quit [Ping timeout: 260 seconds]
Izorkin has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #43453 → talloc: 2.1.13 -> 2.1.14 → https://git.io/fNtiP
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « talloc: 2.1.13 -> 2.1.14 (#43453) »: https://git.io/fNVTU
<ldlework> clever: should I make a PR to nixpkgs to bump dotnet-cli?
<clever> ldlework: probably
goibhniu has quit [Ping timeout: 240 seconds]
sheyll has quit [Quit: sheyll]
galaxite has joined #nixos
<galaxite> Is anyone in here? I'm having some trouble booting nixos from a live usb.
<clever> galaxite: how did you flash the iso to the usb?
<galaxite> I can select the drive from the boot menu, but after that it hangs after "Probing EDD...ok"
<galaxite> I used dd
<clever> did you dd to the root of the usb or a partition?
<gchristensen> in your BIOS you need to change your hard drive from RAID mode to AHCI mode
<galaxite> I just used dd to get the iso onto the usb drive; I'm not exactly sure how the internals of that work.
<galaxite> And I changed the hard drive to AHCI mode.
<RetardedOnion> did you of=/dev/sdc or /dev/sdc1?
<galaxite> I used of=/dev/sdc
<ivan> some cheap USB sticks are bad
<RetardedOnion> that is right. sdc1 would be a partition on the usb
<gchristensen> ah
<gchristensen> galaxite: when you boot, you need to add some boot optios
<gchristensen> acpi_rev_override=1 pcie_aspm=off nouveau.modeset=0
<gchristensen> wait, no, that is a different issu.
<gchristensen> you _sure_ you did the AHCI thing?
<gchristensen> maybe verify
<galaxite> Let me check again, I'mm 99% sure it saved my settings for that.
ris has quit [Ping timeout: 255 seconds]
<RetardedOnion> galaxite: can you share which notebook/mainboard you are using?
<galaxite> Yes, the AHCI option was selected.
<galaxite> I'm using the dell xps 15. I'm not sure of the exact model number.
<gchristensen> 9560? 9370?
<RetardedOnion> that probably doesnt have pstate issues.
<ldlework> Dang, can't build with dotnet because "System.DllNotFoundException: libfreetype.so.6"
<galaxite> It's the 9560.
<ldlework> I have no idea how I'm going to tell the build chain how to find nix shared libraries and stuff :(
<gchristensen> galaxite: following this? https://grahamc.com/blog/nixos-on-dell-9560
<galaxite> No, I've been following another guide made for xps laptops. I'll try that one if it's known to work
<gchristensen> well, it worked for me :)
<ldlework> clever: gchristensen any recommendations for getting things like dotnet build chain to find native dependencies like libfreetype.so.6
<ldlework> do i have to invent a nix-based dotnet builder like with haskell and emacs and so on?
rcshm has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fNVkz
<clever> ldlework: you may at least need a setup hook, look at cmake's hook
<clever> ldlework: and then a wrapper around the compiler
<ldlework> :3
aanderse-laptop has joined #nixos
<ldlework> clever: why doesn't nix teach ldconfig about libraries it owns?
<clever> ldconfig generates a cache in /lib/
<clever> but nixos doesnt even have a /lib/
Sonarpulse has quit [Ping timeout: 255 seconds]
<clever> and that cache is only used at runtime by ld.so
<ldlework> clever: you can tell ldconfig about the location of strangely located libraries and it will include those in the search when it is needed
<ldlework> in /etc/ld.so.conf right
<ldlework> i have no idea what i'm talking about. but definitely don't want to write a bunch of nix to wrap a compiler.
<clever> nixos doesnt have a /lib and nix cant manage a /lib directory
<ldlework> clever: that's not what I'm saying
<ldlework> you can tell ldconfig about /nix/store/pb9wp8y430mqvjg7lw5sp2k7r9yf9j7x-freetype-2.7.1/lib/libfreetype.so.6
<clever> but ldconfig is useless at compile time
<clever> and the cache it generates is in a global location, which is anti-nix
wpcarro has joined #nixos
<ldlework> is mono not asking ld where libfreetype is?
<clever> ld doesnt know where freetype is either
<ldlework> ...
<clever> nix adds some -L flags to gcc, to extend the search path
<galaxite> gchristensen: That guide's instructions for booting worked perfectly! Thank you so much!
<clever> ldlework: nix-shell -p freetype --run 'echo $NIX_LDFLAGS' | grep --color freetype
wpcarro has quit [Read error: Connection reset by peer]
jrolfs has quit [Ping timeout: 264 seconds]
<ldlework> clever: i said before you can tell ld about strangely located libraries
<clever> you said ldconfig, not ld
<ldlework> well i also said i don't know what i'm talking about
<ldlework> XD
wpcarro has joined #nixos
<clever> nix never uses ldconfig
wpcarro has quit [Read error: Connection reset by peer]
<ldlework> but mono might?
<gchristensen> galaxite: huh, what was new that made it work, do you think?
<clever> ldlework: ldconfig will never work on a nix based system
<ldlework> so is there a way for me to just tell ldconfig where nix keeps freetype, so that mono finds it and my compile happens?
wpcarro has joined #nixos
endformationage has joined #nixos
wpcarro has quit [Read error: Connection reset by peer]
jrolfs has joined #nixos
<galaxite> The other guide specified that I should enable legacy rom booting, whereas the one you linked didn't. I think that was the issue.
wpcarro has joined #nixos
wpcarro has quit [Read error: Connection reset by peer]
selfsymmetric-mu has joined #nixos
wpcarro has joined #nixos
<gchristensen> galaxite: cool :) great
wpcarro has quit [Read error: Connection reset by peer]
wpcarro has joined #nixos
djtyml has joined #nixos
wpcarro has quit [Read error: Connection reset by peer]
kyren has joined #nixos
wpcarro has joined #nixos
<ldlework> clever: I just noticed that this github repo doesn't exist anymore: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/dotnet-packages.nix#L410
wpcarro has quit [Read error: Connection reset by peer]
<ldlework> clever: do you suggest that I build a derivation based on how these applications are setup?
wpcarro has joined #nixos
blonkhart has joined #nixos
wpcarro has quit [Read error: Connection reset by peer]
wpcarro has joined #nixos
wpcarro has quit [Read error: Connection reset by peer]
kyren_ has quit [Ping timeout: 265 seconds]
wpcarro has joined #nixos
wpcarro has quit [Read error: Connection reset by peer]
<galaxite> Should I be concerned if typing systemctl start display-manager causes the screen to flicker a few times before doing nothing?
<clever> galaxite: thats likely just X starting, then crashing, check the journal for errors
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_cyril_ has quit [Ping timeout: 265 seconds]
kyren has joined #nixos
wpcarro has joined #nixos
_cyril_ has joined #nixos
jonreeve has joined #nixos
<pie_> so i ran glxinfo and it tells me i have opengl 4.5
<pie_> but it tells me i only have glsl 1.3, what gives?
<ldlework> it compiled
<ldlework> but it wont run because it can't get an openal device?
<jonreeve> Hey does anyone have a good solution for handling dotfiles? For instance, do you guys have a setup script in configuration.nix that clones and installs your dotfiles?
<jonreeve> Or do you create a custom package?
<ekleog> jonreeve: there's nix-home
<worldofpeace> jonreeve: look for home-manager too
<worldofpeace> jonreeve: you can even use it in configuration.nix
<ekleog> Oh is home-manager the latest name? I seemed to remember nix-home being the merge of home-manager and nixup, sounds like I was wrong :)
<worldofpeace> I actually don't know for sure :P
<wpcarro> Forgive the totally beginner question, but can someone help me start a nix-shell with a certain version of ghc and ghci? Trying to ween off of stack...
ericsagnes has joined #nixos
<ekleog> (that said, personally I don't use it because I sometimes have to deploy my dotfiles to non-nix'd machines, so… currently it's hand-rolled, but I plan on trying yadm or something similar)
<kalbasit> jonreeve: I use home-manager, works gr8! https://github.com/kalbasit/system (currently a mix of custom overlays and home-manager, working on migrating all the custom overlays)
Guest66821 has quit [Ping timeout: 268 seconds]
jperras_ has quit [Ping timeout: 248 seconds]
<aanderse-laptop> why is it that users.users.root.hashedPassword = "..."; doesn't seem to work?
<gchristensen> aanderse-laptop: ". If users.mutableUsers is false, you cannot change user passwords, they will always be set according to the password options."
<ldlework> well just installing openal doesn't work
<aanderse-laptop> gchristensen: thanks! problem solved :)
<ldlework> "nixos" "openal" is pretty thing google results
* ldlework gives up for now
<ldlework> s/thing/thin
andymandias has quit [Ping timeout: 260 seconds]
jrolfs has quit [Ping timeout: 240 seconds]
<ekleog> ldlework: you'll soon notice the best source of documentation for nix is the source code for `nixpkgs` :° for instance, I don't know what you're trying to do, but `rg openal | wc -l` -> 226
<jonreeve> Home-manager looks awesome. But what's the difference between packages installed in configuration.nix and in home.nix?
<pie_> so apparently i did this at some point to unfck my graphics, # services.xserver.videoDrivers = [ "" ]; , but now id like to install intel graphics drivers again, how do i do that?
<pie_> do i just add "intel"?
<Shados> In a derivation, why does `src = /a/path;` copy the path into the Nix store and make that store path available as $src, while `src = builtins.toPath "/a/path";` instead result in $src simply being equal to "/a/path"?
<ldlework> ekleog: I succesfully built a MonoGame game in nix-shell but when running the game it says it failed to find an openAL device
<ldlework> so I think at least I've included the dependency correctly that the compilation process is a success
<joepie91> ldlework: Mono stuff tends to do a lot of runtime loading
<ekleog> jonreeve: the ones in configuration.nix are for all users, the ones in home.nix are only for your user (and you don't need root to edit home.nix)
<joepie91> ldlework: really crude tool for discovering these: https://git.cryto.net/joepie91/find-missing-files
<joepie91> ldlework: strace whatever-application 2>&1 | node find.js
<joepie91> after exiting, it will produce a report of all things it tried to find that it couldn't, with a separate section for library files
pie_ has quit [Remote host closed the connection]
fragamus has joined #nixos
andymandias has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
<ldlework> joepie91: it just exited without input
<joepie91> ldlework: 'without input'? what do you mean?
pie_ has joined #nixos
<ldlework> joepie91: sorry without output
jperras_ has joined #nixos
<joepie91> ldlework: without output from strace, or the script?
fragamus has quit [Client Quit]
<ldlework> joepie91: the script
<joepie91> very odd, it should always produce output
<joepie91> even if no missing things were found
<ekleog> ldlework: try to run it with strace -f
<joepie91> oh yeah, you'll want to use -f, but that doesn't explain the lack of output :P
* ekleog doesn't know the script, so can't argue about that :p
<pie_> ok well i set it to intel but i still only get "shading language version string: 1.30"
jonreeve has quit [Ping timeout: 265 seconds]
<ekleog> ldlework: you forgot the |
<joepie91> right, was about to say :P
<ldlework> oops
<joepie91> odd, is that valid Bash?
<ekleog> you can put the redirection anywhere in the cmdline
<ldlework> joepie91: all sections returned (None)
<joepie91> blargh :/
* ekleog likes putting the < file at the beginning of the cmdline, that reminds me of cat file | foo while not getting annoyed “UUOC” answers
<joepie91> ekleog: UUOC?
<ekleog> ldlework: even with the -f on strace? :/
<ekleog> joepie91: Useless Use Of Cat
<joepie91> ldlework: I mean, it is technically possible, but this seems unlikely...
<joepie91> ekleog: ahhh
<joepie91> right
<ldlework> ekleog: yeah
<ldlework> ekleog: yeah*
<ekleog> some people are nazis who just won't let you go if you add a cat…
<joepie91> did strace output format change recently?
halfbit has quit [Ping timeout: 256 seconds]
<clever> ekleog: for x in $(ls *.nix); do
halfbit has joined #nixos
<pie_> ok if i do this: env MESA_GL_VERSION_OVERRIDE=4.5 glxinfo | grep -i opengl
<pie_> then i get this:
<pie_> OpenGL version string: 4.3 (Core Profile) Mesa 17.3.6
<pie_> OpenGL shading language version string: 4.50
<pie_> so i guess im just going things wrong in my program
* pie_ runs off
n0qqe has joined #nixos
<clever> pie_: looks like it doesnt actually change the version, it just falsifies the output from glGetString(GL_VERSION)
<pie_> ugh
<pie_> thats what i get for using random crap off google
<pie_> clever, are you sure? i guess "Mesa may not really implement all the features of the given version. (for developers only) " ?
<ldlework> joepie91: ekleog here is the repo with default.nix https://github.com/dustinlacewell/MiniKnight.git
<ldlework> no pressure but once in nix-shell just do "dotnet build -c release -r linux-x64" to build
<pie_> clever, though after setting the profile version hints in glfw i dont run into compile errors anymore so i guess my issue is somewhere else (black screen)
<ldlework> dotnet run to run
<ldlework> you can try your script or whatever
noqqe has quit [Ping timeout: 256 seconds]
n0qqe is now known as noqqe
<clever> pie_: it will also change some compatability mode flags, so it can emulate older versions
<ldlework> joepie91: ekleog nevermind, you need my overlay for dotnet-cli to update it to latest version which is here, https://gist.github.com/dustinlacewell/b381843c488621f43d3472dd7c742861
<ldlework> but that's probably too much work :)
<clever> pie_: read the comment block starting at line 139
* ldlework shakes his fist at dotnet
UnAmazing has joined #nixos
<ekleog> ldlework: hmm, is LD_LIBRARY_PATH actually forwarded to the build things? that'd sound strange to me, I'd think you'd need a wrapper for that
<ekleog> s/build/built/
<ldlework> not exactly sure what you're asking/addressing
<ekleog> I wonder what's its use
<ekleog> Oh, but that's an env
<ekleog> nvm, I read it as though it was a package declaration…
<ldlework> ekleog: also i just threw that together from an example somewhere
<ldlework> no idea if it is the right way to do it
<ldlework> there is a buildDotnetSolution helper in nixpkgs but i couldn't figure it out
Supersonic has quit [Ping timeout: 260 seconds]
<ekleog> hmm, easiest would likely be to try to adapt from pkgs/shells/pash/default.nix with `src = ./.` (at first to test, later with filtersource or equivalent), and build with `nix-build` / get the result from `result/`
<ekleog> though I don't know anything about C# packaging, unfortunately
Supersonic has joined #nixos
johnw has joined #nixos
aarvar has quit [Ping timeout: 255 seconds]
<worldofpeace> What's attribute for the mainline linux kernel?
<samueldr> worldofpeace: all of them that aren't specified otherwise?
<worldofpeace> samueldr: no, like `boot.kernelPackages = pkgs.linuxPackages_*blah`
<samueldr> worldofpeace: just to be sure, what's your definition of mainline?
<ekleog> obadz: Hey! Would you have some time to write even just a draft of documentation about how to build a C#/F#/.NET package / how to develop these, that someone else could turn into a proper nixpkgs manual section if you don't have time for it? you appear to have done most of the packaging work back in 2015, but hopefully you remember how it works? :°
<worldofpeace> samueldr: like 4.18-rc7 I think
<samueldr> ah, nah, that's _testing in nixos-unstable, not available on 18.03
<worldofpeace> thanks, I'm using unstable
<samueldr> mainline is generally used to mean "upstream untouched kernel"
<worldofpeace> right
<samueldr> so, not a modified one like most distros
<samueldr> (though, I must say that thinking back, there are no mainline kernels on nixos)
<samueldr> (all of them have at least three patches IIRC)
<samueldr> ah, two patches
halfbit has quit [Ping timeout: 265 seconds]
<worldofpeace> What bugs me is there's no schedutil cpu scheduler in nixos :(
<samueldr> hah, just looked at the patches, they're trivial
<samueldr> one is to fix the build since arguments lists get long
<samueldr> and the other is changing a path from /sbin/bridge-stp to /run/current-system/sw/bin/bridge-stp
<samueldr> so I'd say it's pretty much mainline :)
<worldofpeace> great :)
* samueldr first checks what's schedutil
hakujin3 has joined #nixos
<samueldr> btw, worldofpeace, if you want to see the patches applied, in all-packages.nix, search for "linux_testing = callPackage" the default patches are listed there
<samueldr> (can't github link since the file is too long
<samueldr> worldofpeace: pretty sure you won't have schedutil enabled
<worldofpeace> One of my machines stopped working with 4.17 so I'm tearing my hair out
<samueldr> unless it's just been added to master
cryptomonoid has joined #nixos
<worldofpeace> I've actually been shamelessly begging here #42330
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42330 (by NeQuissimus, open): linux: Switch to schedutil governor
<samueldr> yeah, found you while searching if it was a config option ;)
<samueldr> though
<samueldr> if you want to wait for the build
<samueldr> you probable can enable it
<samueldr> oh, a PR even was opened
<worldofpeace> I was thinking that. But that pr is held back because the idea of changing defaults
<wpcarro> Is there a way to specify a different $PS1 for nix-shell?
lassulus_ has joined #nixos
<worldofpeace> Every distro I've used has the enabled in their kernel. So I was really confused when it wasn't
hakujin3 has quit [Ping timeout: 256 seconds]
<samueldr> eh, inertia's hard to overcome
<worldofpeace> true :P
drakonis has joined #nixos
<samueldr> maybe also the config for default
<worldofpeace> Just being able to do that easy should make nix take over the world :)
<samueldr> worldofpeace: when playing with kernel config in NixOS, you have to drop CONFIG_ from the option name, in case you go crazy with power
<samueldr> worldofpeace: IKR!
lassulus has quit [Ping timeout: 245 seconds]
lassulus_ is now known as lassulus
<samueldr> wpcarro: not sure if there's something better than weiting a shellHook = "export PS1=foo"; in your shell.nix/default.nix
<samueldr> worldofpeace: before using nixos, I tried for a while having a custom kernel with patchset added on another distro... it was a bit painful
<samueldr> you see... I had to, me, myself, I had to do some work and track kernel updates
<wpcarro> samueldr: thanks... I'll look into this... where can I find shell.nix/default.nix?
<worldofpeace> samueldr: I was using arch and got burned way too many times
<samueldr> wpcarro: oh, if you're using `nix-shell -p foo` you won't have one
<samueldr> (there are two main usage for nix-shell, one with a .nix file, one with -p)
<samueldr> worldofpeace: but with nixos, I can change stuff around without much fear
<wpcarro> samueldr: I see... I should probably setup a default shell file maybe
<samueldr> wpcarro: if you're doing it more than a one-off shell, it's really useful
<samueldr> you can do more complex stuff, commit it to the project to share with colleagues and spread the joy^Wword of nixos
<worldofpeace> samueldr: I like to do crazy things so that's just perfect
<samueldr> worldofpeace: did you ever look seriously at GoboLinux?
<wpcarro> samueldr: can you point me to a good example I can use as a starter? Happy to evangelize... I'm just a total beginner
<samueldr> hmmm, not sure what's a good starter one...
<wpcarro> samueldr: no worries... didn't know if you had one hosted somewhere
<wpcarro> not to worry... I'll forage!
<samueldr> wpcarro: I'll start one off clean with gnu hello in the buildInputs
<worldofpeace> samueldr: anything that says FU to the linux filesytem
<wpcarro> samueldr: that'd be great. Thanks
<samueldr> worldofpeace: though, talking about GoboLinux not because of their FS, but their patch they use to hide folders at the root
<samueldr> that's on NixOS
<worldofpeace> wpcarro: The irc is bascially a nix indoctrination facility :) (samueldr is honest with his agenda )
aarvar has joined #nixos
<wpcarro> worldofpeace: happy to be hypnotized
<wpcarro> baptized*
<worldofpeace> samueldr: ooh
wpcarro has quit [Remote host closed the connection]
<samueldr> well!
<Shados> Maintaining a local kernel patchset and config changes is certainly much cleaner under NixOS. Although it took me a little while to work out a setup I liked for that.
<worldofpeace> I'm not sure who's in charge of the nix baptismal rite (maybe gchristensen )
<samueldr> oh, I also track a kernel developer's repository which has patches needed for a cherry trail device I use
<samueldr> which is a godsend, makes it *trivial* to just nixos-rebuild and have everything work
<samueldr> (I really need to re-do my confs, this is accretion from all my time learning)
<worldofpeace> nix makes my life more peaceful ™
<samueldr> three links, it's what I used locally to hide everything
<samueldr> /Users/ is managed through having my user's home set as /Users/
<samueldr> well, /Users/samuel/
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> people assume macOS when my $HOME leaks into samples :)
<worldofpeace> Now I'm really interested
<samueldr> ,tell wpcarro hey welcome back, https://gist.github.com/samueldr/a8a0dfe08932fd12fc12c30b78dfc55b for a sample shell.nix
<{^_^}> samueldr: I'll pass that on to wpcarro
<adisbladis[m]> samueldr: Hehe. Confuse the enemy.
<samueldr> (there's a fun easter egg in there)
<samueldr> adisbladis[m]: now I wonder, which part confuses the enemy?
kyren has joined #nixos
<worldofpeace> hah
kyren has quit [Client Quit]
<adisbladis[m]> samueldr: /Users
<samueldr> :) since in shell.nix I export PS1="C:\>"
johnw has quit [Ping timeout: 244 seconds]
<samueldr> (for the silly sample)
dbmikus__ has joined #nixos
cryptomonoid has quit [Ping timeout: 240 seconds]
<worldofpeace> I'm just realizing that I've been skillfully indocturned
<samueldr> you've become nocturnal?
<worldofpeace> Yes :P
<samueldr> worldofpeace: another silly thing, but nix isn't *that* much more help than other distros https://gitlab.com/samueldr/nixos-configuration/blob/master/modules/console.nix#L3-13
<samueldr> my console is black on white on boot
<worldofpeace> You guys/gals/etc think you're clever with this don't yah
<samueldr> nah, only one clever here, it's not a spartacs situation
<samueldr> spartacus*
<worldofpeace> hah
<ekleog> ugh how do you live with that
<worldofpeace> I'm stealing that config, white on black console reminds me of many boot failures
<ekleog> doesn't it, like, burn your eyes?
aanderse-laptop has quit [Ping timeout: 265 seconds]
<worldofpeace> makes you feel alive
<samueldr> ekleog: I light lights around my home
<samueldr> and my monitors are at such low brightness
<ekleog> oh 'k
<samueldr> from personal experience, light on dark need higher brightness
<samueldr> then, you load a web page with black on white an die a little inside
kyren has joined #nixos
<ekleog> (even at lowest brightness I sometimes still have to turn on lights around me with dark on light)
<samueldr> but also, you're sill looking (in most case) at a full intensity light
<samueldr> just covered by LCD
djtyml has quit [Remote host closed the connection]
<worldofpeace> What about eye health? Do you look away :P
<samueldr> I just can't do anything in darkness
<samueldr> well, sleep
<samueldr> (I also have hue lights which dims automatically during the evening)
<worldofpeace> I do that rarely in my case (long blinks usually are enough)
mekeor has joined #nixos
<samueldr> oh, and you're not forced to use black on white with what I shared
<samueldr> I set up a TV computer the other day, decided to go white on nixos-blue
<samueldr> should be seen only during its atrociously slow boot (core2duo, 5400rpm spinning rust)
<worldofpeace> Is the nixos logo a snowflake?
<samueldr> nah, a lambdaflake
<worldofpeace> hah, I'm partial to hexagons
revtintin has joined #nixos
UnAmazing has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 256 seconds]
UnAmazing has joined #nixos
<galaxite> I've almost gotten all the way through the install, but I'm having a problem with the network. I followed the guide linked before to set up the wifi connection, but it hasn't worked and nothing else I've tried has worked either.
<angerman> how do I sack overrides?
<angerman> say I want to do `y = x.override { ... };`, and then allow `y.override { ... }` and have them be chained?
<{^_^}> [nixpkgs] @lukeadams opened pull request #44249 → scrcpy: init at v1.2 → https://git.io/fNVOz
IRCsum has quit [Remote host closed the connection]
IRCsum has joined #nixos
<pie_> clever, ok so yeah i thought i fixed it but im still stuck with glsl 1.3 ...
IRCsum has quit [Remote host closed the connection]
IRCsum has joined #nixos
<galaxite> It seems like the issue is that my wifi card can't detect any network for some reason. Scans show no networks even though I'm connected to one right now to post this.
rcshm has quit [Ping timeout: 264 seconds]
fresheyeball has quit [Quit: WeeChat 2.0]
igo95862 has joined #nixos
galaxite has quit [Remote host closed the connection]
galaxite has joined #nixos
<pie_> clever, nevermind i was reading the wrong version string
<pie_> OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.3.6
<pie_> OpenGL core profile shading language version string: 4.50
<pie_> so i need to figure out why its not actually taking the core profile
sigmundv has quit [Ping timeout: 248 seconds]
jperras_ has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @jbedo opened pull request #44250 → strelka: init 2.9.5 → https://git.io/fNV3W
troydm has quit [Ping timeout: 244 seconds]
<{^_^}> [nix-mode] @matthewbauer merged pull request #46 → Develop branch → https://git.io/fN2WH
<{^_^}> [nix-mode] @matthewbauer pushed 38 commits to master: https://git.io/fNV3a
endformationage has quit [Quit: WeeChat 1.9.1]
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
<{^_^}> [nix-mode] @matthewbauer pushed to master « Remove recommended config »: https://git.io/fNV3r
UnAmazing has quit [Ping timeout: 265 seconds]
andymandias has quit [Ping timeout: 240 seconds]
sbdchd has joined #nixos
andymandias has joined #nixos
nallar has joined #nixos
Ross has quit [Ping timeout: 260 seconds]
nallar is now known as Ross
Havvy has quit [Read error: Connection reset by peer]
jedai has quit [Read error: Connection reset by peer]
jedai has joined #nixos
Havvy has joined #nixos
capisce_ has joined #nixos
mcrx- has quit [Quit: ZNC 1.7.0 - https://znc.in]
mcrx has joined #nixos
d6e has quit [Ping timeout: 248 seconds]
statusfailed has quit [Ping timeout: 248 seconds]
mounty has quit [Ping timeout: 260 seconds]
capisce has quit [Ping timeout: 248 seconds]
chrrles has quit [Ping timeout: 248 seconds]
msgctl has quit [Ping timeout: 248 seconds]
kgz has quit [Ping timeout: 248 seconds]
chrrles has joined #nixos
d6e has joined #nixos
mounty has joined #nixos
statusfailed has joined #nixos
leothrix has quit [Quit: ZNC 1.7.0 - https://znc.in]
<elvishjerricco> Does anybody else find the .dir-locals.el file recently added nixpkgs to be extremely annoying?
galaxite has quit [Ping timeout: 265 seconds]
Guest49672 has quit [Remote host closed the connection]
<elvishjerricco> I don't want to accept it and have it saved, because I have several nixpkgs checkouts with different paths, so I'd have to save it several times. Plus I don't like submitting files in my home directory to nixpkgs' will, just on principle. So now I have to hit `n` almost every time I open a buffer
Guest49672 has joined #nixos
mekeor has quit [Remote host closed the connection]
kyren has quit [Ping timeout: 265 seconds]
cryptomonoid has joined #nixos
kyren has joined #nixos
sbdchd has quit [Remote host closed the connection]
Tiez has joined #nixos
msgctl has joined #nixos
blankhart has quit [Read error: Connection reset by peer]
kgz has joined #nixos
blankhart has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kalbasit> I have a derivation that reference `srcs` one a tarball and the other a file. How to tell the unpackPhase to not unpack the file but still unpack the tarball?
worldofpeace has quit [Ping timeout: 260 seconds]
fragamus has joined #nixos
cryptomonoid has quit [Ping timeout: 256 seconds]
frem has quit [Quit: Connection closed for inactivity]
revtintin has quit [Quit: WeeChat 1.9.1]
reinzelmann has joined #nixos
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
revtintin has joined #nixos
pmyjavec has joined #nixos
<pmyjavec> Hello all, I'm wondering how I use a wrapper ? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/neovim/default.nix, I want to build Neovim with Ruby support.
philandstuff has quit [Read error: Connection reset by peer]
philandstuff has joined #nixos
christiaanb has quit [Read error: Connection reset by peer]
nocoolnametom has quit [Ping timeout: 276 seconds]
unacceptable has quit [Ping timeout: 276 seconds]
grenade has quit [Ping timeout: 276 seconds]
christiaanb has joined #nixos
{^_^} has quit [Remote host closed the connection]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
{^_^} has joined #nixos
{^_^} has joined #nixos
{^_^} has quit [Changing host]
infinisil has joined #nixos
Dagger has quit [Quit: Quitting]
swflint has quit [Ping timeout: 276 seconds]
nocoolnametom has joined #nixos
swflint has joined #nixos
vmandela has joined #nixos
<smolboye> helo irc
<smolboye> i tried overriding openssl with libressl but it fails with some error
<smolboye> i need to get home before i can show that but im just putting it out there if i forget
dbmikus__ has quit [Ping timeout: 256 seconds]
Dagger has joined #nixos
grenade has joined #nixos
andreabedini has joined #nixos
Guanin has quit [Ping timeout: 240 seconds]
leothrix has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
orivej has joined #nixos
Guanin has joined #nixos
revtintin has quit [Quit: WeeChat 2.1]
revtintin has joined #nixos
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
knupfer has joined #nixos
smolboye_ has joined #nixos
smolboye has quit [Ping timeout: 268 seconds]
cdepillabout has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
cdepillabout has quit [Quit: Leaving]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Coyin has joined #nixos
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
knupfer has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/38c8be37266 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
slack1256 has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
hakujin3 has joined #nixos
hyper_ch2 has joined #nixos
slack1256 has quit [Remote host closed the connection]
spear2 has joined #nixos
hakujin3 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @kalbasit opened pull request #44251 → browsh: init at 1.4.10 → https://git.io/fNVc3
orivej has joined #nixos
UnAmazing has joined #nixos
pmyjavec has quit [Quit: leaving]
<LnL> kalbasit: srcs are meant to be unpacked, leave the file out and reference it directly in the expression
<kalbasit> LnL: I ended up making a derivation for it (see https://github.com/NixOS/nixpkgs/pull/44251/files#diff-13a9284b5839a98cc243262db11ddc81R10 )
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7ae2ba173f3 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<kalbasit> I'm looking around nixpkgs to find the answer myself and wondering if webext = fetchurl would be enough
<LnL> elvishjerricco: you are probably not alone, make a pr that adds it to gitignore and see what people think?
<LnL> kallegro[m]: it can't be a store path?
Ariakenom has joined #nixos
FRidh has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed to master « eresi: init at 0.83-a3-phoenix »: https://git.io/fNVcH
andymandias has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #44252 → makemkv: 1.12.2 -> 1.12.3 → https://git.io/fNVCv
Tobba_ has quit [Ping timeout: 255 seconds]
hamishmack has joined #nixos
andymandias has joined #nixos
Izorkin has joined #nixos
cryptomonoid has joined #nixos
kyren has quit [Ping timeout: 260 seconds]
kyren has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #44245 → bukubrow: Init at 2.4.0 → https://git.io/fNaFR
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/fNVCF
Tobba has joined #nixos
UnAmazing has quit [Remote host closed the connection]
UnAmazing has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dotlambda pushed to master « ghostwriter: 1.7.0 -> 1.7.2 »: https://git.io/fNVWl
Tucky has joined #nixos
igo95862 has quit [Quit: igo95862]
crmlt has joined #nixos
Izorkin_ has joined #nixos
crmlt has quit [Ping timeout: 256 seconds]
Izorkin has quit [Ping timeout: 256 seconds]
lutzmor has quit [Quit: Page closed]
Ariakenom has joined #nixos
UnAmazing has quit [Ping timeout: 245 seconds]
phdoerfler has joined #nixos
crmlt has joined #nixos
blahdodo has quit [Ping timeout: 244 seconds]
joehh has joined #nixos
lutzmor has joined #nixos
thc202 has joined #nixos
blahdodo has joined #nixos
crmlt has quit [Remote host closed the connection]
cryptomonoid has quit [Ping timeout: 256 seconds]
blahdodo has quit [Ping timeout: 265 seconds]
mmercier has joined #nixos
jensens has joined #nixos
Tiez has quit [Quit: WeeChat 2.2]
blahdodo has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cb19404fafe (from 55 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<etu> That nixos-unstable-small seems to be really nice at the moment :-)
<etu> I wish nixos-unstable was moving as well :p
vcunat has joined #nixos
palo_ has quit [Ping timeout: 265 seconds]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
ersran9 has joined #nixos
ersran9 has quit [Changing host]
ersran9 has joined #nixos
clementd has joined #nixos
goibhniu has joined #nixos
crmlt has joined #nixos
<hyper_ch2> hmmm, in a writeScriptBin expression, how can I add a bash variable like: ${var} ?
<hyper_ch2> if I use it like that, rebuilding nixos complains... if I use it like $\{var\} it just litterally prints $\{var\}
<hyper_ch2> this is the expression I'm having issues with: https://paste.simplylinux.ch/view/raw/cc45510d
<{^_^}> [nixpkgs] @vcunat pushed to master « Revert "Merge #44221: default for NIX_CXXSTDLIB_COMPILE" »: https://git.io/fNV4x
<hyper_ch2> I need the PE functionality of bash... hence ${var}
<{^_^}> [nixpkgs] @vcunat pushed to staging « Re-Revert "Merge #44221: default for NIX_CXXSTDLIB_COMPILE" »: https://git.io/fNVBL
Thra11 has quit [Quit: WeeChat 1.4]
dbmikus__ has joined #nixos
<hyper_ch2> ah... prefixing them with ''
phdoerfler has quit [Ping timeout: 240 seconds]
phdoerfler has joined #nixos
dbmikus__ has quit [Ping timeout: 256 seconds]
Ralith_ has quit [Ping timeout: 256 seconds]
troydm has joined #nixos
Ralith_ has joined #nixos
cryptomonoid has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aarvar has quit [Ping timeout: 240 seconds]
kyren has joined #nixos
Anton-Latukha has joined #nixos
sigmundv has joined #nixos
aarvar has joined #nixos
kyren has quit [Ping timeout: 260 seconds]
eric1 has joined #nixos
kyren has joined #nixos
<eric1> Hi there! How are you doing? Can anybody here spare a minute to help me with a small NixOS problem?
trylist has joined #nixos
<Mateon1> Huh, any idea why my JRE became headless after a full system update?
<goibhniu> Hi eric1, what's up?
aarvar has quit [Ping timeout: 260 seconds]
<Mateon1> I needed to manually remove openjre-headless and install jre10, because all Java apps stopped working after the last reboot
koisell has joined #nixos
<eric1> I'm having trouble installing composer. Or rather getting it to run.
Coyin has quit [Ping timeout: 260 seconds]
<eric1> It seems to be seeing PHP 5 while php -v on CLI show me PHP 7.3
<hyper_ch2> I just have "jre" in my list of installed packages
<eric1> I can show you the outputs, one sec
<eric1> PHP 7.2.7 actually
<Mateon1> hyper_ch2: I'm pretty sure I had a jre beta (not sure if jre9 or jre10) before the update, but after a nix-env -u it became "openjre-10.0.1-b10-headless"
<ldlework> obadz: yoooo
<goibhniu> eric1 I think someone else mentioned that recently too, maybe it's a bug?
<goibhniu> eric1 did you check if there's an issue for it?
<eric1> Extensively
<goibhniu> eric1 composer is a package manager for php, right?
<eric1> There is a similiar issue on the composer github
<eric1> But they dismissed it
<eric1> Correct
<goibhniu> interesting ... you should probably open an issue then
<eric1> I think I just solved it
<hyper_ch2> so, ordered notebook with 32gb ram... I hope I won't get anymore nix-daemon run out of memory messages anymore :)
<eric1> There seem to be multiple packages for composer
<goibhniu> ah! good to know!
<eric1> If I just nix-env -i composer
<goibhniu> hyper_ch2 from tuxedo?
<hyper_ch2> goibhniu: yep
<eric1> It will give me the 56 version. But I need 72
<hyper_ch2> with ch keyboard layout
<hyper_ch2> goibhniu: thx for pointing that out to me
<goibhniu> \o/ (but I really hope you don't have to deal with their support, of that it has improved vastly)
<goibhniu> *or that*
<symphorien> ,-A eric1
<{^_^}> eric1: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<hyper_ch2> I did ask them beforehand about VAT reimbursement - so far no issue with support
<goibhniu> excellent
<eric1> Yeah, that's what I did sorry. I just used the one from the manual ^^
<symphorien> Ah cool
<eric1> It works now!! *happydance*
<goibhniu> eric1 so it would make sense to make the default composer use php7, right?
cryptomonoid has quit [Remote host closed the connection]
<eric1> I think so
cryptomonoid has joined #nixos
<hyper_ch2> eric1: any reason why you're not using nixos?
<eric1> The default composer should work with the default php
<goibhniu> can you add an issue for that?
<eric1> hyper_ch2: I am using nixos
<eric1> Is there something I missed?
<eric1> Sure.
<goibhniu> thanks!
johnw has joined #nixos
<hyper_ch2> eric1: ah... you don't use global install then... ok
<{^_^}> [nixpkgs] @vcunat pushed 253 commits to staging-next: https://git.io/fNV0H
<eric1> I do use global install, I just don't want to clutter up the configuration.nix until I know what I want :)
<hyper_ch2> :)
<hyper_ch2> nix-daemon out of memory happens now regularly.... :(
<hyper_ch2> ever since nix v2 I think
<eric1> Thank you very much for your help, people!
<ldlework> Anyone here do dotnet on NixOs
<eric1> I will try to post an issue on the nixpkgs repo. Let's see if I get smited for it :-P
<hyper_ch2> Mateon1: got it solved?
dbmikus__ has joined #nixos
<hyper_ch2> ldlework: no
johnw has quit [Ping timeout: 265 seconds]
wpcarro has joined #nixos
betaboon has joined #nixos
<ldlework> hyper_ch2: lol
dbmikus__ has quit [Ping timeout: 256 seconds]
<etu> eric1: I will look into that for composer
<etu> eric1: I do quite alot of maintanance on the php packages
<{^_^}> [nix] @edolstra merged pull request #2313 → buildenv: remove darwin sandbox profile → https://git.io/fNzNw
<{^_^}> [nix] @edolstra pushed 2 commits to 2.0-maintenance: https://git.io/fNVEV
wpcarro has quit [Ping timeout: 265 seconds]
<etu> eric1: Oh, it's the nix-env -i composer thingy that picks the first one that matches I guess. Yeah, you'll have to pick the right version :)
sie has quit [Quit: ZNC - http://znc.in]
lielazive has quit [Quit: ZNC - http://znc.in]
daGrevis has quit [Quit: ZNC - http://znc.in]
lo_mlatu has joined #nixos
lielazive has joined #nixos
daGrevis has joined #nixos
sie has joined #nixos
sie is now known as Guest87754
andymandias has quit [Ping timeout: 264 seconds]
Neo-- has joined #nixos
lo_mlatu has quit [Ping timeout: 252 seconds]
iceychris has joined #nixos
andymandias has joined #nixos
TonyTheLion has joined #nixos
fendor has joined #nixos
eric1 has quit [Quit: WeeChat 2.0]
Aleksejs has quit [Quit: Goodbye]
Aleksejs has joined #nixos
spear2 has quit [Quit: Leaving]
Aleksejs has quit [Client Quit]
Aleksejs has joined #nixos
cnu- has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @kamilchm opened pull request #44258 → ponyc: 0.24.2 -> 0.24.4 → https://git.io/fNVz4
<Mateon1> hyper_ch2: Sorry, I was away for a sec, Yeah, it was a trivial fix, just uninstall the headless jre and install the normal one.
<Mateon1> Also, most of my packages are not part of the configuration file, I'm probably doing things wrong, but I prefer working with nix-env/nox rather than editing the config file -> nixos-rebuild switch each time
knupfer has quit [Ping timeout: 256 seconds]
<clementd> on average, how much time does it take for a package update from the push to master to its availability on the unstable channel?
<srhb> clementd: You might be able to extract the information from here: https://channels.nix.gsc.io/graph.html
<srhb> clementd: I would say on average, a few days. Currently, we're approaching 20 days.
<clementd> srhb: thanks!
ckauhaus has joined #nixos
<srhb> Ah actually, the last _commit_ that advanced to the channel is 21 days old
<srhb> (Click the latest unstable dot)
<clementd> neat
<clementd> srhb: let's say I'm waiting for an update that's been pushed a few hours ago
<clementd> what'd be my best course of action if I don't want to wait 3 weeks?
<srhb> clementd: You could cherry-pick it onto a checkout of your favourite branch and use that as your nixpkgs
<clementd> I've tried overriding the package in an overlay but I may be doing something wrong
<srhb> Or that, indeed.
<srhb> What do you have so far with the overlay?
__monty__ has joined #nixos
ThatDocsLady_ has joined #nixos
iceychris has quit [Ping timeout: 240 seconds]
<clementd> the part I'm interested in is mopidy-gmusic
dbmikus__ has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
<clementd> my issue: when the new mopidy-gmusic version is installed, it's not detected by mopidy
<clementd> so I guess I've done something wrong
<srhb> how does mopidy normally detect mopidy-gmusic?
<clementd> srhb: it looks in the available python packages
<clementd> in the python env
<clementd> looking at strace, mopidy search for files in the mopidy-gmusic dirs in the nix-store
dbmikus__ has quit [Ping timeout: 265 seconds]
<clementd> I don't know how python environments are handled on nix
alex`` has joined #nixos
<betaboon> hello #nixos, i have a question regarding nixops and args. is there a way to define the arguments given to a deployment in a nix-file, instead of as --argstr ?
cnu- has joined #nixos
ThatDocsLady has joined #nixos
kyren has quit [Read error: Connection reset by peer]
kyren has joined #nixos
<srhb> clementd: In the wrong mopidy-gmusic?
<clementd> I've started again with a clean environment, it doesn't try to find mopidy-gmusic anymore
kyren has quit [Read error: Connection reset by peer]
<srhb> clementd: How do I tell if it's finding/not finding it? :)
kyren has joined #nixos
<clementd> srhb: when starting mopidy, look for "INFO Starting Mopidy backends"
<srhb> OK :)
<clementd> if there is GMusicBackend, it's finding it :-)
Twey has joined #nixos
<TonyTheLion> does anyone know here what nixos version the gitlab ci image is?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/03e47c388ac (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
mmercier has quit [Ping timeout: 256 seconds]
philippD has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to master: https://git.io/fNVai
<clementd> srhb: when I nix-shell -p mopidy-gmusic instead of nix-env -iA, mopidy finds mopidy_gmusic
<etu> mopidy-gmusic is a lib?
<etu> I guess
<srhb> I guess it just gets shoved on the PYTHONPATH
<clementd> etu: it's a lib yes
<ekleog> clementd: also, if you feel like really motivated, you can try to make the channel advance, by looking at https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents
<srhb> Easiest might be just to make a wrapper that does that for you
<ekleog> (somehow I can never reach this page from the hydra main page, maybe that'd make sense to have a link to it in the topic of this channel?)
<etu> clementd: !library
<etu> !library clementd
<ekleog> looks like it's a chromium test that's blocking the channel ATM
<ekleog> ,library clementd
<etu> !library
<{^_^}> clementd: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<etu> ekleog: oh.
<clementd> etu: oh
<ekleog> hmm, actually I'm not sure it's , ; maybe just {^_^} slow to answer
* etu is terrible at these commands
cryptomonoid has quit [Ping timeout: 268 seconds]
<ekleog> (like, it did answer your last !library)
<etu> !factoids
<{^_^}> Have a helpful Nix factoid? Send a PR! https://github.com/grahamc/ofborg/blob/released/factoids.toml
<etu> Tell me that all have !
<clementd> I see
frank87 has joined #nixos
cacatoes has quit [Remote host closed the connection]
<clementd> the bad news is that the upgrade doesn't fix my issue
<clementd> but that's not a nix problem
<{^_^}> [nixpkgs] @xeji merged pull request #43915 → poppler_utils: 0.66.0 -> 0.67.0 → https://git.io/fNWHS
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNVVR
<{^_^}> [nixpkgs] @xeji merged pull request #44252 → makemkv: 1.12.2 -> 1.12.3 → https://git.io/fNVCv
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « makemkv: 1.12.2 -> 1.12.3 (#44252) »: https://git.io/fNVwI
orivej has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44258 → ponyc: 0.24.2 -> 0.24.4 → https://git.io/fNVz4
<{^_^}> [nixpkgs] @xeji pushed commit from @kamilchm to master « ponyc: 0.24.2 -> 0.24.4 (#44258) »: https://git.io/fNVw3
<{^_^}> [nixpkgs] @xeji merged pull request #44240 → clojure: 1.9.0.381 -> 1.9.0.391 → https://git.io/fNaKz
<{^_^}> [nixpkgs] @xeji pushed commit from @myguidingstar to master « clojure: 1.9.0.381 -> 1.9.0.391 (#44240) »: https://git.io/fNVwB
<infinisil> etu: ! Is the old one, , is the new one (with more features
<infinisil> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<infinisil> ekleog: ^
simukis has joined #nixos
Dedalo has joined #nixos
joehh has quit [Ping timeout: 260 seconds]
frank87 has quit [Remote host closed the connection]
Mateon3 has joined #nixos
<ekleog> oh, so both are there :)
Mateon1 has quit [Ping timeout: 264 seconds]
Mateon3 is now known as Mateon1
<infinisil> ekleog: yeah, gchristensen is running the ! one, he wanted to turn it off at some point
<ekleog> 'k gotcha, thanks!
jmeredith has quit [Quit: Connection closed for inactivity]
garbas has quit [Ping timeout: 256 seconds]
crmlt has quit [Ping timeout: 268 seconds]
garbas has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #44251 → browsh: init at 1.4.10 → https://git.io/fNVc3
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fNVrb
ericsagnes has quit [Ping timeout: 256 seconds]
dbmikus__ has joined #nixos
Sufixx_ is now known as Sufixx
dbmikus__ has quit [Ping timeout: 256 seconds]
phdoerfler1 has joined #nixos
vcunat has quit [Quit: Leaving.]
phdoerfler has quit [Ping timeout: 245 seconds]
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
Neo-- has quit [Ping timeout: 256 seconds]
<gbuisson[m]> save
<etu> infinisil: I see:)
katona has joined #nixos
blonkhart has quit [Quit: WeeChat 1.9.1]
phdoerfler has joined #nixos
mmercier has joined #nixos
phdoerfler1 has quit [Ping timeout: 276 seconds]
cryptomonoid has joined #nixos
MP2E has quit [Remote host closed the connection]
cryptomonoid has quit [Ping timeout: 240 seconds]
Tiez has joined #nixos
<lejonet> Seeing as codecs for mp4 are blargh, I'm guessing they aren't installed automatically for firefox, how would I enable that for firefox? Installing the codecs besides and pointing it at them somehow or is there an option I could set for it perhaps? (In the nixos options page, I could only find options for service.firefox.syncserver, I know there are other "user" options for it, where would I find those? )
joehh has joined #nixos
dbmikus__ has joined #nixos
<lejonet> is it in one of the gstreamer plugins perhaps?
<hyper_ch2> Mateon1: I prefer having stuff in the configuration.nix because upon new setup, I can just put it back
alexteves has joined #nixos
<Mateon1> hyper_ch2: I haven't needed to reuse configs yet, and there's always nix-env -q
<lejonet> Oh, thats interesting, in the quirksmode page I can run mp4, I guess the ones I've got locally is encoded a different way
<hyper_ch2> clementd: I'm using nixos-unstable-small nowadays because it gets stuff usually faster :)
dbmikus__ has quit [Ping timeout: 256 seconds]
<clementd> hyper_ch2: okay, good to know
ericsagnes has joined #nixos
<hyper_ch2> clementd: https://howoldis.herokuapp.com/
<clementd> neat!
chaker has joined #nixos
<etu> hyper_ch2: I'm thinking of switching to small :)
<Myrl-saki> How do I use a private s3 binary cache?
<hyper_ch2> etu: :)
<aminechikhaoui> Myrl-saki: you need to provide the aws creds to the nix-daemon
<Myrl-saki> aminechikhaoui: Is there a way to do that declaratively?
<{^_^}> [nixpkgs] @FRidh pushed 67 commits to staging: https://git.io/fNVPK
<{^_^}> [nixpkgs] @FRidh pushed 70 commits to staging-next: https://git.io/fNVPP
Neo-- has joined #nixos
<Myrl-saki> aminechikhaoui: OTOH, does adding it to /root/.aws/credentials suffice?
<aminechikhaoui> Myrl-saki: I think so
<Myrl-saki> Since that is checked on runtime, right?
clementd has quit [Ping timeout: 260 seconds]
<aminechikhaoui> I do systemd.services.nix-daemon.serviceConfig.EnvironmentFile = "/path/to/creds"; where the file would have the AWS env vars
<chaker> Hola! I'm trying to setup nix-daemon in OS X to download from an s3 binary cache, I added the AWS_* variables to the plist file. But that didn't work. I thought that it was a problem with how I set the variables, but even if I export them directly to shell, and run the nix-daemon , it doesn't work! "error: AWS error fetching '6mrvdn5wv3vn809gbgxkwx24yvi1rlwv.narinfo': Access Denied"
wpcarro has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wpcarro has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/94cbb8e3cd6 (from 79 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Myrl-saki> AWS error '' (Unable to connect to endpoint), will retry in 12800 ms
<Myrl-saki> ughh
<aminechikhaoui> does it throw an error at the end ?
<Myrl-saki> Yep, "Unable to connect to endpoint" :P
<Myrl-saki> Seems like it's a timeout problem.
tuusj has joined #nixos
<aminechikhaoui> a higher debug level might help -vvvvvv :D
<aminechikhaoui> I think I've seen that kind of errors when I'm on VPN btw, but mostly transient
joncfoo has quit [Ping timeout: 260 seconds]
<Myrl-saki> Oh wtf. It's actually working now, I think.
<Myrl-saki> Or not? Wtf. It seems like it was working on the higher debug levels.
<aminechikhaoui> well I don't expect it to work, but it will show more details of what's exactly failing
<hyper_ch2> why does chromium require more than 7,6 GB on /tmp to build?
joncfoo has joined #nixos
tusj has quit [Ping timeout: 260 seconds]
<Myrl-saki> Oh okay, it finally works now.
<Myrl-saki> Okay, how do I say this.
crmlt has joined #nixos
<Myrl-saki> Selection bias and all that, but every time it works, that was with debug flags. lol
<Myrl-saki> Ah, found the problem.
<Myrl-saki> Says something about clock skew.
<Myrl-saki> Sadly didn't have it in tmux.
knupfer has joined #nixos
Supersonic has quit [Ping timeout: 265 seconds]
<Myrl-saki> What does nix use to sign keys?
fendor has quit [Ping timeout: 248 seconds]
<Myrl-saki> Err, rather, what keys does nix use to sign?
cryptomonoid has joined #nixos
<Myrl-saki> Err, ignore that. I'm stupid lol
<aminechikhaoui> I think the "clock skew
<aminechikhaoui> thingy is what I saw also
joncfoo has quit [Ping timeout: 256 seconds]
<aminechikhaoui> but didn't investigate much, just disabled vpn at that time :D
joncfoo has joined #nixos
Supersonic has joined #nixos
Guest49672 has quit [Quit: Leaving]
hakujin3 has joined #nixos
logzet has joined #nixos
<Myrl-saki> Um.
<pie_> i have an unstable channel added to my user but for some reason /nix/var/nix/profiles/per-user/paprika/channels/unstable is REALLY old
<Myrl-saki> If I copied before I signed the builds
<Myrl-saki> Can I sign then copy again?
<Myrl-saki> error: cannot add path '/nix/store/pa05mz8ixqna6q04ma278sr0qiniv7nx-python3.6-celery-4.1.0' because it lacks a valid signature
<pie_> i tried nix-channel --update unstable but nothing changed
<Myrl-saki> I did a copy, got that error, so I signed then copied again, and still getting that error.
hakujin3 has quit [Ping timeout: 256 seconds]
<srhb> pie_: What does nix-channel --list say?
cryptomonoid has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #44016 → stumpish: init at 0.0.1 → https://git.io/fN8cm
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fNVyw
<pie_> srhb,
phdoerfler1 has joined #nixos
<srhb> pie_: What is "really old" ?
blankhart has quit [Ping timeout: 268 seconds]
<pie_> idk but haskellPackages.palette is stuck at 0.1.0.5 when on unstable its at 0.3.somethingorother
<pie_> at least im pretty sure it is
<srhb> pie_: And you determined the version of palette how?
<pie_> i checked the source file on github after discovering that what i got wasnt what was the most recent on hackage
<srhb> pie_: 0.1.0.5 is the most recent on nixos-unstable. :)
<pie_> and i think something else...but i forgot what that was
abcrawf has quit [Remote host closed the connection]
<srhb> pie_: Mind, nixos-unstable is about 21 days behind master currently. Hopefully it'll be fixed in the next few days.
phdoerfler has quit [Ping timeout: 265 seconds]
<aminechikhaoui> Myrl-saki: you can use `nix sign-paths`
<pie_> srhb, hm ok. i guess i can try to override the
<pie_> *then
<srhb> pie_: Sure, that should be relatively straight-forward.
<Myrl-saki> aminechikhaoui: Yeah, that's what I used.
<Myrl-saki> Um, does nix copy have some kind of a cache lol
<Myrl-saki> My amazing idea is to delete the s3 to flush everything, but now it's not copying at all.
abcrawf has joined #nixos
<aminechikhaoui> yeah might be ~/.cache/nix/binary-cache-v5.sqlite
<aminechikhaoui> ~/.cache/nix/binary-cache-v5.sqlite* actually
<aminechikhaoui> make sure to delete those for root as well
<Myrl-saki> What should I do? I'm scared of deleting random stuff now. :P
<pie_> srhb, so uh which part of this do i need to override... https://bpaste.net/show/f1c2ea1a5d30 (this is the newer version)
<aminechikhaoui> it's just a local cache of the binary cache lookups
<pie_> i mean transfer to the old version via override
dbmikus__ has joined #nixos
<srhb> pie_: "transfer to the old version" ?
init_6 has joined #nixos
<pie_> yeah i did this in the wrong order, what i pasted is the new version of the package from hackage-packages.nix
<pie_> what do i override in the old version 0.1.whatever so that i get the new 0.3.whatever version
<srhb> pie_: Ah, I'd use callHackage "palette" "0.3.0.1" {}
<pie_> oh i can do that
<pie_> ? :OOO
mgdelacroix has quit [Quit: Connection closed for inactivity]
<srhb> Sure :)
<srhb> As long as that version is in the most recent hackage snapshot of your whatever-channel
<pie_> oh my god thats amazing how have i not seen this
<pie_> callHackage i mean
<srhb> Haskell infrastructure is littered with nice utilities.
<pie_> you mean as long as callHackage is in it right?
<pie_> (well it seems to work)
<srhb> No, not quite. callHackage uses a snapshot of hackage that is embedded in your channel
<Myrl-saki> aminechikhaoui: I deleted s3 and deleted the cache, but `nix copy` still claims that it lacks a valid sig.
<srhb> pie_: That is, package names and versions
<pie_> srhb, uhh....isnt that what hackage-packages is? i mean obviously i dont know my way around this well.
<Myrl-saki> Oh wait what.
<Myrl-saki> But a normal nix build works.
<srhb> pie_: No, not quite. That's a specific sort-of-curated-almost-lts set with generally one version per package.
dbmikus__ has quit [Ping timeout: 255 seconds]
<pie_> srhb, i see. thanks
Neo-- has quit [Ping timeout: 260 seconds]
<aminechikhaoui> Myrl-saki: don't get it ? are you copying to or from s3 ?
<srhb> pie_: iirc callHackage uses the all-cabal-hashes from pkgs/data/misc/hackage/default.nix
<Myrl-saki> aminechikhaoui: I'm copying to and from S3.
revtintin has quit [Quit: WeeChat 2.1]
phdoerfler1 has quit [Quit: Leaving.]
<aminechikhaoui> the "lacks valid sig" likely happens if you don't have the public key in trusted-public-keys (nix.conf)
<Myrl-saki> nix.binaryCachePublicKeys
<aminechikhaoui> yeah that
<srhb> pie_: Something like this should do you: https://gist.github.com/srhb/fa8003f9f8d318aaf0e355d8389902a0
Twey has quit [Ping timeout: 256 seconds]
<srhb> pie_: (As an overlay, that is)
<pie_> srhb, i just added it directly to buildinputs
<srhb> Ah. :)
<pie_> \o/
Twey has joined #nixos
<{^_^}> [nixpkgs] @shlevy pushed commit from R. RyanTM to release-18.03 « rdkafka: 0.11.3 -> 0.11.4 »: https://git.io/fNVHE
<{^_^}> [nixpkgs] @dotlambda merged pull request #43770 → bittornado: init at unstable-2018-02-09 → https://git.io/fNZQd
<{^_^}> [nixpkgs] @dotlambda pushed to master « bittornado: init at unstable-2018-02-09 (#43770) »: https://git.io/fNVH7
<gchristensen> is the tla+ toolbox gui thing available in nixpkgs and I'm just not finding it?
<srhb> gchristensen: tlaplusToolbox?
<gchristensen> :O
<gchristensen> ah in unstable, thank you! :D
<srhb> :)
<tnks> it just occurred to me that I have no idea what the assymptotics of lists in Nix are because I don't think of them algebraically.
sir_guy_carleton has joined #nixos
<tnks> we emulate cons'ing with appending.
<gchristensen> I'm going to formally verify that ofborg isn't annoying to infinisil
<srhb> ... hah. I just realize I have no idea of them because I think of them algebraically.
sbdchd has joined #nixos
<srhb> gchristensen: That sounds... Enthusiastic. :P
<tnks> srhb: really? I just assumed that since the data contructors are abstract, I should make too much assumption of the implementation.
<Myrl-saki> How do I add a binary key for nix-copy? :/
<Myrl-saki> s/binary //
<infinisil> gchristensen: haha <3
<aminechikhaoui> what's a binary key ?
<gchristensen> infinisil: for the mostpart it'll come down to this: https://xkcd.com/55/
sbdchd has quit [Ping timeout: 265 seconds]
cryptomonoid has joined #nixos
<tnks> are Nix lists d-lists?
<gchristensen> vip
<{^_^}> [nixpkgs] @dotlambda pushed 7 commits to master: https://git.io/fNV7s
<{^_^}> [nixpkgs] @dotlambda merged pull request #44239 → gitAndTools.pre-commit: init at 1.10.4 → https://git.io/fNaKG
<{^_^}> [nixpkgs] @nico202 closed pull request #41499 → [WIP] julia 0.7 → https://git.io/vhRYr
<Izorkin_> latest nixpkgs error build bazaar, how to fix?
<srhb> Izorkin_: Way too few details. :) What is "latest" and what's the error.
<aszlig> tnks: unfortunately not (yet?), they're essentially arrays broken up in tList1, tList2, tListN, the first two are "Value * smallList[2]" and the last one is "struct { unsigned int size; Value * * elems; } bigList"
<aszlig> tnks: IIRC this was also mentioned at some point in the manual
<tnks> aszlig: I always think I've read the manual all the way through... but then someone makes me second guess that.
<aszlig> tnks: https://nixos.org/nix/manual/#idm140737318005888 <- "Note that lists are only lazy in values, and they are strict in length."
<Izorkin_> srhb: https://pastebin.com/7ca2Vqhj error, nixpkg-unstable
<gchristensen> nix's lists will always be VIP in my heart :(
<srhb> Izorkin_: I cannot reproduce that. Just tried with latest nixpkgs-unstable
phreedom has quit [Ping timeout: 250 seconds]
<aszlig> gchristensen: Vasoactive Intestinal Polypeptide? ;-)
<srhb> Izorkin_: So at least Hydra built it succesfully.
<gchristensen> Very Important ... ... ... P
phreedom has joined #nixos
patrl has joined #nixos
<aszlig> gchristensen: i know, but the latter fits better :-D
<gchristensen> haha
ThatDocsLady has quit [Remote host closed the connection]
<srhb> Izorkin_: But yeah, it looks like you somehow forced a rebuild and downloading the patch failed for you.
<d1rewolf> guys, I'm told on #qutebrowser that the version pacakged with nixos (1.3.3) has security issues. how can one update to a newer version of qutebrowser?
ThatDocsLady has joined #nixos
<d1rewolf> and who typically handles this sort of thing?
<srhb> d1rewolf: We all do :)
<gchristensen> well I just would hate to have them be considered d-list like Carrot Top
katona has quit [Quit: Connection closed for inactivity]
<etu> d1rewolf: Current version in master is 1.4.1
<tnks> aszlig: good to know the evaluation policy I missed in the manual... but better to know the C struct. Thanks for pointers to both.
djtyml has joined #nixos
<d1rewolf> etu: hmm...is that considered stable?
<gchristensen> update should probably be backported
<srhb> Izorkin_: Confirmed that trying to realize the patch without the cache breaks it.
<etu> d1rewolf: Well, it seems to be the latest release here: https://github.com/qutebrowser/qutebrowser/releases
<tnks> gchristensen: I just got your joke... I wasn't following until carrot top.
<etu> d1rewolf: So it should end up in unstable whenever that feels to not be stuck
<etu> And if it's not backported it should be as gchristensen said
<gchristensen> tnks: it was a massive and awful stretch of joke, thank you
<d1rewolf> etu: "whenever that feels not to be stuck"?
<d1rewolf> etu: and how would I go about learning how to backport? I wouldn't mind helping if I can
<tnks> gchristensen: I was googling for "dlist persistent data structure" and looking on Hackage.
<tnks> sorry, vip, I mean.
<etu> d1rewolf: Currently nixos-unstable is a bit under the weather when it comes to updating
<etu> ,stuck d1rewolf
<gchristensen> tnks: I should invent one
<Enzime> etu: why's that?
<srhb> Enzime: Last few days it was chromium timing out.
<d1rewolf> etu: oh really? interesting. what's going on with nixos-unstable out of curiosity?
<srhb> Reasons are numerous though.
<Enzime> srhb: ah yeah I noticed that
<srhb> Hopefully the next eval will go through.
<Izorkin_> srhb: need create issue?
<srhb> Izorkin_: Yeah, that sounds reasonable
<Enzime> howoldis looks like it's down
<Enzime> who runs it?
<aszlig> gchristensen: yeah, i didn't get the d-list joke either first, as i didn't know the term "d-list actor" =)
<Enzime> actually it's fine now
<d1rewolf> Enzime: I'm not even sure what it is
<etu> d1rewolf: But from checking the 18.03 branch, 1.4.1 is already backported to stable as well. And the nixos-18.03 stable branch is at 1.4.0 but will move soon.
<srhb> Enzime: It's a bit slow at times :)
<Enzime> srhb: never had issues with it before
<Enzime> just got a Heroku app error just there
<srhb> Oh, I haven't seen that either.
<d1rewolf> etu: I'm system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.03.132915.d6c6c7fcec6", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<d1rewolf> qutebrowser --version
<d1rewolf> qutebrowser v1.3.3
clementd has joined #nixos
<etu> d1rewolf: Then you're not on latest nixos-18.03
<etu> d1rewolf: If you upgrade your system you should get to 1.4.0
<d1rewolf> etu: hmmm...i see. thanks. i'll check into that
unacceptable has joined #nixos
<Enzime> srhb: any reason why Chromium started timing out all of a sudden
<srhb> Enzime: It's not all of a sudden, but some builders have been overloaded pending some changes to the hydra infrastructure.
<etu> The howoldis link posted above tells you which commit each channel is on. And if you look at your channel that you posted the commit isn't the same as on that page. And that page shows the latest one, therefore your channel is out of date :-)
<etu> d1rewolf: ^
<srhb> Enzime: A month or two ago we increased the timeout to 24 hours, up from 8 or 10
<srhb> Enzime: 24 hours doesn't cut it when the builder is busy.
<gchristensen> it should
<srhb> So we're just sort of skimming the limits.
dbmikus__ has joined #nixos
<srhb> gchristensen: That's a very subjective feeling, though I tend to agree. :P
<gchristensen> I can build it in 30min, we should load the systems less so they have better throughput
<srhb> I tend to agree with that as well.
<srhb> But it's always at the risk of wasting cycles with less ideal loads.
<srhb> It's unfortunate that we don't have a way to say "this job may use 16 cores but reduce maxJobs by 15 for the duration"
<gchristensen> We Have The Technology to do better
<srhb> See above :P
Twey has quit [Ping timeout: 260 seconds]
<srhb> That is what we really need. Mixing jobs and cores.
<d1rewolf> etu: I follow you. thanks
<gchristensen> srhb: ever read about TOPS?
<srhb> gchristensen: I don't think so, what is it?
<gchristensen> hmm
<srhb> I can look it up :)
<srhb> Tall womens tops. Well I am 180...
<gchristensen> I'll have to find it
<srhb> :-) Thanks.
<d1rewolf> etu: is a "nixos-rebuild switch --upgrade" all that's necessary?
<gchristensen> its a work-loss scheduler for unknown job sizes
<Enzime> sounds like something that'll be hard to find unless you know exactly what it is
<gchristensen> to prioritize throughput
<srhb> gchristensen: Ah, that makes perfect sense.
<srhb> gchristensen: Yes, we need that ;-)
<Enzime> d1rewolf: looks good to me
<d1rewolf> I did so, and now nix-info says: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.03.132921.6115f477703", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<etu> d1rewolf: yeah, should do it :-)
<d1rewolf> but qutebrowser still shows as 1.3.3
Twey has joined #nixos
<gchristensen> I'll go find it in a bit
<Enzime> d1rewolf: can you post nix-env -q
<etu> d1rewolf: Have you installed qutebrowser with nix-env?
davenpcm has joined #nixos
<d1rewolf> Enzime: etu: all nix-env -q shows is "bc-1.07.1"
<d1rewolf> qutebrowser is installed via systemPackages
<d1rewolf> as is most of my other software
<symphorien> and sudo nix-env -q ?
halfbit has joined #nixos
<d1rewolf> symphorien: empty
johnw has joined #nixos
<Enzime> symphorien: huh I actually had something installed under root nix-env...
<Enzime> didn't expect that
<srhb> gchristensen: But I believe a simpler approach is really to consider jobs and cores part of the same pool most of the time. If you hand out 8 cores to 1 job, you just have 8 fewer "slots" of whatever kind.
patrl has quit [Ping timeout: 264 seconds]
dbmikus__ has quit [Ping timeout: 256 seconds]
<Enzime> srhb: what about potentially benchmarking builds and scheduling future builds based on that?
<srhb> Enzime: That would work too, but I don't think that's any easier to implement.
<Enzime> like if Chromium takes 8 hours and i3 takes an hour, then you give Chrome 8 cores and i3 1 core
<srhb> Enzime: And our build farm is very heterogenous
<srhb> A build will perform very differently depending on where it's scheduled at any point in time.
<Enzime> :\
<d1rewolf> etu: any ideas? and how did you check that version 18.03 contains a newer version? Oddly, I still just show 1.3.3 locally
<Enzime> you could potentially schedule longer compiles on faster machines
<srhb> Enzime: Right. We have some feature for this that's very naive, namely feature flags
<Enzime> d1rewolf: https://howoldis.herokuapp.com/ check the commit hash for nixos-18.03
<srhb> Enzime: machines can be tagged with features, and jobs can require certain features
<Enzime> and compare to the hash after the last dot in your "channels(root)"
<srhb> Enzime: For instance, chromium and linux both require the feature "big-parallel"
<{^_^}> [nixpkgs] @dotlambda opened pull request #44261 → python.pkgs.python-jose: 2.0.2 -> 3.0.0 → https://git.io/fNVFB
<d1rewolf> hmm...now nix-info shows: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.03", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
patrl has joined #nixos
<Izorkin_> srhb: created issue
<d1rewolf> no hash
<Enzime> d1rewolf: did you do something?
<d1rewolf> Enzime: I just ran nixos-rebuild switch --upgrade again
<Enzime> d1rewolf: odd
jperras has joined #nixos
jameshjacksonjr[ has quit [Ping timeout: 260 seconds]
<tnks> aszlig: I was pointed to the C code by shlevy on Twitter... and I see more or less what you typed above. So... with lists easily getting larger than 2 elements, am I missing something or is there nothing constant time at all about these lists past 2 elements? That seems to make optimizing my Nix expression more hopeless.
jameshjacksonjr[ has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a1299c9951b (from 51 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
clementd has quit [Ping timeout: 256 seconds]
<srhb> gchristensen: Ah, yes. :)
<srhb> Thanks
<aszlig> tnks: well, at least builtins.length should be O(1) X-D
<etu> d1rewolf: But if you check #43368, a fix for stable is merged. So it should come to your system at some point if you keep it up to date :-)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/43368 (by dotlambda, merged): [18.03] qutebrowser: fix CVE-2018-10895
<Enzime> Izorkin_: do you know how to override patches for bazaar?
<Enzime> d1rewolf: try restarting?
<Enzime> if you're not getting the latest version of qb
<d1rewolf> guess I'll give it a reboot
<d1rewolf> what does it mean when nix-info shows no hash, as in:
<d1rewolf> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.03", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<tnks> aszlig: X-D, indeed.
<Izorkin_> Enzime: no, can build this revision https://bazaar.launchpad.net/~brz/brz/trunk/revision/7055
Raybih has joined #nixos
nightmared has quit [Quit: WeeChat 2.2]
__Sander__ has joined #nixos
Raybih has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<Enzime> Izorkin_: if you replace the url in fetchpatch on line 25 with http://bazaar.launchpad.net/~brz/brz/trunk/diff/6754?context=3
<Enzime> it might work?
<srhb> Enzime: Izorkin_: That's my conclusion as well. Possibly better to juts update bazaar to a version that includes the fix. :)
<Enzime> srhb: there is no newer version for bazaar :\
<Enzime> breezy fork exists though
<Enzime> not sure too much about the difference though
<srhb> Ah
<srhb> Enzime: I'll let you be the expert on it then :D
<Enzime> srhb: oy vey
<Izorkin_> Enzime: error patch https://pastebin.com/EKP11YnS
phreedom has quit [Ping timeout: 250 seconds]
reinzelmann has quit [Quit: Leaving]
blankhart has joined #nixos
Denommus has joined #nixos
galaxite has joined #nixos
jrolfs has joined #nixos
Anton-Latukha has quit [Quit: Leaving.]
jmeredith has joined #nixos
abrar has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
dbmikus__ has joined #nixos
galaxite has quit [Ping timeout: 260 seconds]
<Enzime> Izorkin_: ugh bzr is so slow :(
<Enzime> trying to bzr the source code of bzr atm
hux has joined #nixos
<hux> I'm back guys :P
<hux> Can anyone tell me why nix-shell -p ghc will use my nixos channel instead of nixpkgs one ?
<hux> Im on unstable and want ghc843, my script do `pkgs = import <nixpkgs> {}`
<Izorkin_> Enzime: I used it to custom mypkgs, normal work to small size
<Enzime> Izorkin_: what do you mean?
<srhb> hux: import <nixpkgs> means look up the name "nixpkgs" in $NIX_PATH
<srhb> Or rather, <nixpkgs> does
<hux> srhb: So, am I wrong when saying imprort <nixpkgs> {} import the nixpkgs channel ?
<hux> (which is unstable in my case)
phreedom has joined #nixos
Denommus has quit [Remote host closed the connection]
<srhb> hux: What does nixpkgs refer to in your $NIX_PATH?
<Enzime> hux: do echo $NIX_PATH in your shell and show us the output
ersran9 has quit [Ping timeout: 256 seconds]
<hux> nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<Izorkin_> Enzime: me bad english, I have bzr normal works, not slow
<srhb> hux: Then <nixpkgs> is root's nixos channel
cryptomonoid has quit [Ping timeout: 265 seconds]
<Enzime> Izorkin_: how long does this command take you: bzr branch lp:brz
<hux> srhb: I thought that nixpkgs was referring to a channel
oida has quit [Remote host closed the connection]
<srhb> hux: It is. /nix/var/nix/profiles/per-user/root/channels/nixos
oida has joined #nixos
<Enzime> hux: channels are like local git checkouts
<hux> srhb: sorry but I'm confused, I have two channels, nixos and nixpkgs, do you mean both are the same with different versions ?
vmandela has quit [Quit: Leaving]
<Izorkin_> Enzime: slow download
<srhb> hux: No, I'm merely saying that your <nixpkgs> is root's channel named "nixos". I know nothing about your "nixpkgs" channel. :)
abrar has quit [Quit: WeeChat 2.0]
<Enzime> Izorkin_: yeah...
<hux> Enzime: I would like to use the unstable nixpkgs channel for my nix-shell, any way I can make it (withouth overriding the -I PATH)
<Enzime> 80MB took 12 minutes :\
abrar has joined #nixos
abrar has quit [Client Quit]
<hux> srhb: what I get when listing channels
<Enzime> hux: can you do nix-info -m
<Enzime> and paste it here
<hux> - system: `"x86_64-linux"` - host os: `Linux 4.14.56, NixOS, 18.03.132921.6115f477703 (Impala)` - multi-user?: `yes` - sandbox: `no` - version: `nix-env (Nix) 2.0.4` - channels(hussein): `""` - channels(root): `"nixos-18.03.132921.6115f477703, nixpkgs-18.09pre147227.0eb13162f18"` - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`
rain1 has quit [Ping timeout: 256 seconds]
abrar has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
<tnks> aszlig: I'm realizing all is probably not lost, and I'm also realizing why builtins is this odd jumble of functions I'd kind of expect in a library.
abrar has quit [Client Quit]
<tnks> I'm guessing things like builtins.concatMap are at least optimized.
<hux> So, when doing a nix-env -iA nixos.ghc I get ghc822, when doing nix-env -iA nixpkgs.ghc I get ghc843, I would like to do a `pkgs = import <nixpkgs> {}`, then pkgs.haskellPackages.callPackage (pkgs being nixpkgs, using ghc843)
acarrico has quit [Ping timeout: 240 seconds]
logzet has quit [Remote host closed the connection]
abrar has joined #nixos
remmster has joined #nixos
abrar has quit [Client Quit]
Guest42804 has joined #nixos
<tnks> (for anyone who noticed, I meant builtins.concatLists).
Guest42804 has quit [Client Quit]
abrar_ has joined #nixos
abrar_ has quit [Client Quit]
mmercier has quit [Ping timeout: 248 seconds]
remmster has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 260 seconds]
johnw has quit [Read error: Connection reset by peer]
cryptomonoid has joined #nixos
johnw has joined #nixos
knupfer has joined #nixos
wpcarro has joined #nixos
mkoenig has quit [Remote host closed the connection]
mkoenig has joined #nixos
frem has joined #nixos
wpcarro has quit [Ping timeout: 244 seconds]
joehh has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #44122 → kicad: 4.0.7 -> 5.0.0 → https://git.io/fNEg4
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fNVjs
Tucky has quit [Remote host closed the connection]
mmercier has joined #nixos
hsribei has joined #nixos
johnw has quit [Ping timeout: 240 seconds]
patrl has quit [Ping timeout: 276 seconds]
knupfer has quit [Ping timeout: 244 seconds]
<Myrl-saki> Well, turns out nix-build is not equivalent to nix-build $(nix-instantiate)
crmlt has quit [Read error: Connection reset by peer]
crmlt has joined #nixos
instantepiphany has joined #nixos
johnw has joined #nixos
<instantepiphany> I am trying to use patchelf to make a binary (steam game) work. The binary is 32-bit as it is an older game, and I can't figure out how to get 32-bit ld-linux.so in the nix store. Once I can do that I know how to set the interpreter path. Any one done this one before?
<instantepiphany> Surely someone has tried to play some older 32-bit only game on steam!
<aminechikhaoui> Myrl-saki: nix-build = nix-store -r $(nix-instantiate <foo.nix>)
acarrico has joined #nixos
Denommus has joined #nixos
<Denommus> hello
<cocreature> instantepiphany: why do you need to patchelf it? steam should mostly work out of the box if you install it from the nix repos
<Myrl-saki> aminechikhaoui: In my case, it's more of nix-build accepting more flags than nix-instantiate, or maybe nixops is doing some secret stuff.
<instantepiphany> Well it crashes when I open it from steam, to open in in my normal user env I need to patch it right? Or is there a way for me to enter a nix-shell with the same FHS env as steam uses?
<instantepiphany> That would be a lot simpler and I have a few games I am debugging so it's worth setting it up that way if possible.
<{^_^}> [nixpkgs] @eonpatapon opened pull request #44264 → nixos/kubernetes: fix kubelet cgroup stats → https://git.io/fNwvx
<goibhniu> instantepiphany: you can try `steam-run`, although it will surely fail in the same way
orivej has quit [Ping timeout: 264 seconds]
<instantepiphany> goibhniu: Just `steam-run gamebinary`?
<goibhniu> I think so, sorry, I've never used it myself
<goibhniu> there is also a buildFHSEnv thing you can use (somehow)
<Myrl-saki> Okay, I think nix copy does not work well with s3.
<instantepiphany> I then get missing libGL.so.1 but that is something new for me to figure out, so thanks!
<Myrl-saki> Err.
<instantepiphany> No problem goibhniu
<Myrl-saki> I mean, with drvs.
<Myrl-saki> No wonder.
<goibhniu> maybe buildFHSUserEnv, that seems to be what steam uses
djtyml has quit [Remote host closed the connection]
<Myrl-saki> Does nix-copy-closure accept ssh-ng?
<aminechikhaoui> nix copy doesn't even support drvs
<instantepiphany> Thanks goibhniu I will try that too!
<goibhniu> instantepiphany: I presume opengl works for you apart from this game?
<Myrl-saki> aminechikhaoui: No wonder.
<Myrl-saki> I thought I was going insane lol
<instantepiphany> goibhniu yeah glxgears etc
<Myrl-saki> Welps, time to revert my patch!
<goibhniu> super
<instantepiphany> Thanks!
<Myrl-saki> aminechikhaoui: I noticed a lot of Nix 2 stuff not supporting drvs directly. Any reason for that?
<Myrl-saki> aminechikhaoui: The other one I can think of is why-depends
michas__ has joined #nixos
iyzsong has joined #nixos
robstrr has joined #nixos
<aminechikhaoui> Myrl-saki: niksnut would be the right person to ask :)
<robstrr> Hello, for my haskell workflow, I've read using `overlays` is the way to go right now, until now I followed https://github.com/Gabriel439/haskell-nix guide. What is the recommended way ?
<aminechikhaoui> there was a discussion before here https://logs.nix.samueldr.com/nixos-dev/2018-06-13
pie_ has quit [Ping timeout: 260 seconds]
<Myrl-saki> aminechikhaoui: Thanks.
pie_ has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.0 - https://znc.in]
Sonarpulse has joined #nixos
<{^_^}> [nix-mode] @matthewbauer pushed to develop « Add attr to nix-search »: https://git.io/fNwUA
halfbit has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #44237 → crystal: 0.25.0 -> 0.25.1; mint 0.1.0 -> 0.2.0 → https://git.io/fNarI
<{^_^}> [nixpkgs] @xeji pushed commit from @manveru to master « crystal: 0.25.0 -> 0.25.1; mint 0.1.0 -> 0.2.0 (#44237) »: https://git.io/fNwTL
<{^_^}> [nix-mode] @matthewbauer pushed to master « Add attr to nix-search »: https://git.io/fNwTt
acarrico has quit [Ping timeout: 256 seconds]
logzet has joined #nixos
halfbit has joined #nixos
<logzet> Hi, I am trying to get a program (eagle 9) running, but it crashes because of an invalid locale (?, I am using en_US.UTF8).
<logzet> Here is the output: https://pastebin.com/sTkkNq0p
<logzet> And here is a strace: https://pastebin.com/JMYvBxjJ
<logzet> It seems that this is caused by line 178ff in the strace?
robstrr has quit [Ping timeout: 252 seconds]
vmandela has joined #nixos
orivej has joined #nixos
endformationage has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<symphorien> logzet: worst case, LC_ALL=C should always work
erasmas has joined #nixos
<logzet> symphorien: It doesn't, unfortunately. Interestingly enough there is no change in the strace output, the program still searches in .../locale/en
cryptomonoid has quit [Ping timeout: 244 seconds]
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
crmlt has quit [Remote host closed the connection]
lutzmor has quit [Quit: Page closed]
acarrico has joined #nixos
instantepiphany has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 264 seconds]
ersran9 has joined #nixos
ersran9 has quit [Changing host]
ersran9 has joined #nixos
mmercier has quit [Quit: mmercier]
mdash has joined #nixos
mmercier has joined #nixos
pie_ has quit [Ping timeout: 248 seconds]
mmercier has quit [Ping timeout: 244 seconds]
pie_ has joined #nixos
galaxite has joined #nixos
Ariakenom has quit [Ping timeout: 244 seconds]
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/fNwmi
<Myrl-saki> Okay, um. This might be a stupid question.
<clever> continue
<Myrl-saki> How do I make nix-build ignor my local copy? Or "build everything remotely even if it's built locally."
<clever> you cant really
<clever> but you can use nix-store --delete to remove the local copy
<clever> why do you want to rebuild it when you already have a local copy?
hakujin3 has joined #nixos
<Myrl-saki> clever: s3 upload. :P
<clever> nix copy supports s3
<Myrl-saki> Yeah, what I mean is building and uploading from EC2 is faster than uploading from local.
wpcarro has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7c585235ff6 (from 21 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
__monty__ has quit [Quit: leaving]
alex`` has quit [Quit: WeeChat 2.2]
<gchristensen> how do autoreconfHook and things work?
<clever> one sec
ThatDocsLady_ has joined #nixos
<clever> nix-build '<nixpkgs>' -A autoreconfHook -o autoreconfHook
<clever> cat autoreconfHook/nix-support/setup-hook
ThatDocsLady has quit [Read error: Connection reset by peer]
<clever> gchristensen: autoreconfHook, cmake, python, and others, have a nix-support/setup-hook in their output
<gchristensen> nice
<clever> gchristensen: and the stdenv will source that script as it walks the buildInputs
<clever> the script is free to mutate the bash scripts the stdenv uses
<clever> preConfigurePhases+=" autoreconfPhase"
<clever> in the case of autoreconfHook, it adds its own function to the preconfigure phases
<clever> cmake will swap out the entire configure phase
<samueldr> setup-hooks are a nice thing
<cocreature> nixos-unstable updated \o/
<samueldr> though I still wonder where's the catch
<gchristensen> cocreature++
<{^_^}> cocreature's karma got increased to 1
<clever> pkgconfig will scan every build input, and add them to the pkgconfig search path
<gchristensen> samueldr: spooky action at a distance
<FRidh> They're indeed nice. Added one recently for pytest so its cache gets cleaned up when it's been used in a Nix build
<clever> gchristensen: yep
<clever> gchristensen: and because it runs substituteAll, you can use @out@ easily
<gchristensen> yaay
<samueldr> I added to the Qt setup-hook for the possible Qt fix
<clever> gchristensen: substitutions becomes the env vars for the runCommand, so you can also substitutions = { foo = "whatever"; }; and then use @foo@ in the hook too
<gchristensen> perfect
<samueldr> though, I first made a dummy thing to explore setup hooks, making derivations "a" and "b", where b uses a in buildInputs, and a has a setup-hook
<samueldr> it was really enlightening
<clever> gchristensen: and the deps become propagated deps, so when your hook is in the buildInputs, it will dynamically add everything from deps
<d1rewolf> ok, so after reboot, nix-info still says system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.4, channels(root): "nixos-18.03", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<d1rewolf> no build #
<d1rewolf> any ideas why?
<d1rewolf> and qutebrowser is still 1.3.3
<clever> d1rewolf: what did you change that you are epecting to see update?
<d1rewolf> clever: earlier, I had a build number in there. someone said it was old. qutebrowser is supposed to be 1.4.x. I did a nixos-rebuild switch --upgrade
<d1rewolf> it says complete
<clever> d1rewolf: but if your on the 18.03 channel, you likely wont get such updates
<d1rewolf> then it had the correct, latest build number, but still was qutebrowser 1.3.3. did nixos-rebuild switch --upgrade again
<d1rewolf> clever: what channel should i be on?
<gchristensen> clever: is it possible to see what nix-shell will execute when nix-shell is used in a shebang, from a setup hook?
<clever> nixos-unstable will get the latest updates, but may sometimes be more unstable
<samueldr> since qutebrowser is a browser, shouldn't it be in the sensitive software that gets backported?
<clever> gchristensen: run `env` in the setup hook and grep for something you know you passed to nix-shell ?
<samueldr> (hopefully with webkit updates from whichever webkit it uses)
<gchristensen> nothing
<d1rewolf> maybe he was referring to unstable?
<d1rewolf> clever: although qutebrowser 1.3.3 has known security issues. I'd think that'd make it into security patches for a stable branch, right?
<clever> d1rewolf: checking...
<gchristensen> seems not :/
<clever> d1rewolf: 18.03 is on 1.3.3
<gchristensen> ooohh
<clever> nixos-unstable is on 1.4.1
<clever> d1rewolf: somebody will need to backport the security update to 18.03
<samueldr> d1rewolf, clever there are CVE patches added
<samueldr> earlier this month
<samueldr> are there more security issues?
<clever> samueldr: oh, i see them
<clever> so its 1.3.3 with CVE patches
<d1rewolf> if I wanted to help backport, where would I look to learn how to help with this?
<samueldr> d1rewolf: first, it's easier if you're already acquainted with the contribution process withing nixpkgs
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/b74b1cdb2fe (from 21 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a1299c9951b (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<clever> d1rewolf: its as simple as forking nixpkgs, making a new branch based on release-18.03, and then filing a PR to change the src
<samueldr> there are (few) details here: https://nixos.org/nixpkgs/manual/#idm140737315699504
<clever> 18.03 also just updated
bigvalen has joined #nixos
<d1rewolf> samueldr: ok, thank you
<Myrl-saki> clever: Oh cool, my solution actually works. instantiate, copy drv, build, copy output, build drv.
pie_ has quit [Ping timeout: 245 seconds]
<Myrl-saki> Err. instantiate, copy drv to remote, build on remote, copy output from remote, build drv/path.
<{^_^}> [nixpkgs] @lsix opened pull request #44266 → qgis: 2.18.20 -> 2.18.22 → https://git.io/fNwZC
<Myrl-saki> I don't think the build drv/path is required though.
vmandela has quit [Quit: Leaving]
<samueldr> d1rewolf: though, you could first ask github user dotlambda as they seem to be maintaining the package right now (or at least contributes CVE patches and updates to unstable)
<bigvalen> Hi...I have a nixos system that's using ZFS for root. I've realised I don't actually know how to migrate it from an existing pool (rpool) to a new pool (npool). I think I need to create npool/root and npool/root/nixos .... probably rsync one of them, then change /etc/nixos/hardware.nix and rebuild. But ... I'd love some reassurance before trashing everything.
Neo-- has joined #nixos
dbmikus__ has quit [Ping timeout: 255 seconds]
<d1rewolf> clever: regarding your comment "18.03 also just updated", would I simply "nix-channel --update && nixos-rebuild switch --upgrade"?
<d1rewolf> samueldr: got it. thx
<gchristensen> clever: commented with the output :)
<{^_^}> [nixpkgs] @xeji merged pull request #43927 → xfce4-13.xfce4-battery-plugin: init at 1.1.0 → https://git.io/fNWFB
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fNwcZ
__Sander__ has quit [Quit: Konversation terminated!]
<clever> d1rewolf: qute did not change in 18.03, so no real need to update again
<infinisil> bigvalen: zfs send/recv should work between datasets
selfsymmetric-pa has joined #nixos
<infinisil> In fact rsync would be a lot slower than send/recv
<infinisil> (Maybe not a lot, but certainly slower)
<bigvalen> I've so little experience with ZFS, that I didn't even know about it. That's cool. I did actually play around with similar options with btrfs, so good to know it exists!
<infinisil> Maybe you want to use `nixos-rebuild boot` and then reboot instead of the normal switch, so it doesn't try to mess with the running system
<bigvalen> I'm a little unsure about how 'root' works with nixos, given that ...
<bigvalen> [root@nas:~]# mount|grep root
<bigvalen> rpool/root/nixos on / type zfs (rw,relatime,xattr,noacl)
<bigvalen> rpool/root/nixos on /nix/store type zfs (ro,relatime,xattr,noacl)
<bigvalen> Not sure how the same thing gets mounted on two locations.
jrolfs has joined #nixos
<clever> bigvalen: rpool/root is simply not mounted
jtojnar has quit [Remote host closed the connection]
<clever> you have an extra filesystem that is just being wasted
<clever> i typicaly skip making it, and just use pool/root and pool/nix directly
<infinisil> But it doesn't really matter with zfs, since it doesn't take up any space really
<clever> the metadata may take up a few kb
<bigvalen> OK, so I've changed it to filesystems."/".device = npool/root/nixos
<bigvalen> I'll see what happens when I run nixos-rebuild boot. I thought that just made the /boot filesystem ?
<infinisil> Um, copy the data over first?
<bigvalen> :)
<bigvalen> Currently trying to work out how to copy over just a filesystem, rather than the whole pool (given I just let it spend 3 days copying over /home )
<clever> bigvalen: grub or systemd-boot?
<thoughtpolice> bigvalen: "Mounted in two locations" is due to a 'bind mount', FYI. The /nix/store directory does, in fact, exist on the root device. But during boot, it gets remounted as a "bind mount" that is read/only in order to help preserve immutability. A bind mount essentially just lets you treat a directory as a mount point, instead of a block device.
<thoughtpolice> (You can find the code for this in 'stage-2-init.sh' in the NixOS code)
<infinisil> ,find stage-2-init.sh
fendor has joined #nixos
<bigvalen> clever: It's an old nixos install, so looks to still use grub.
<clever> bigvalen: i used rescue_boot.nix to move my /nix from the root dataset to its own dataset, and you can also use it to apply similar operations like renaming datasets
<bigvalen> This might work - "zfs send -R rpool/root/nixos@migrate | zfs receive -F npool/root/nixos"
<clever> bigvalen: add the above file to your imports section, and then youll have an option in grub to boot a rescue system
<clever> then you can perform operations like that send|receive with the main nixos "off"
<bigvalen> Cool. Does that 'rescue system' also work when you dd a filesystem over your /boot partition, which I did once, and learned a lot about nixos in a short space of time :)
<bigvalen> Right now, it's quiet, so I'm going with just a snapshot. Should be OK. But proper rescue would be nice.
<{^_^}> [nixpkgs] @mat8913 opened pull request #44267 → ffmpeg{,-full}: 3.4.3 -> 3.4.4 (bugfix) → https://git.io/fNwW4
jrolfs has quit [Quit: WeeChat 2.1]
<clever> bigvalen: it only works as long as /boot remains undamaged
<clever> bigvalen: and it needs about 400mb on /boot
acarrico has quit [Ping timeout: 268 seconds]
patrl has joined #nixos
<p_l> has anyone tried running tests inside docker container?
<p_l> as in, I have configuration for machine, and want to test it on remote server first?
<bigvalen> clever, Heh, but /boot is a 8GB USB stick :)
<symphorien> p_l: you can test it locally on a vm with nixos-rebuild build-vm
wpcarro has quit [Remote host closed the connection]
<Myrl-saki> bigvalen: wtf
<Myrl-saki> That's a.. um, interesting setup.
<clever> Myrl-saki: one of my machines has /boot on a 64mb usb stick :P
<p_l> symphorien: VM isn't exactly in the running
<Myrl-saki> clever: How
<symphorien> what do you mean ?
<Myrl-saki> I'm confused
<clever> Filesystem Size Used Avail Use% Mounted on
<clever> /dev/sde2 48M 28M 17M 63% /boot
<clever> Myrl-saki: just partition and format as normal
<p_l> symphorien: this is for a CI setup where on every commit to repository a docker container is spun up to verify it's OK
<symphorien> then you should use the nixos tests infrastructure
biopandemic has joined #nixos
<symphorien> this is mostly equivalent to running the vm build by nixos-rebuild build-vm and running commands on it with ssh
<hux> guys I love nixos
<symphorien> it supports graphical display, ocr, multiple machines and so on
<d1rewolf> how stable is unstable, relatively?
<p_l> symphorien: my big problem is that I can't exactly fit a VM there
<d1rewolf> i'd like to get an updated version of qutebrowser for the security fixes
<clever> d1rewolf: i run unstable on all of my machines
<symphorien> the vm is not explicit, the qemu incantation is hidden
<bigvalen> Myrl-saki, Ah, it was the easiest way to get Nixos onto a software-raid type system.
<hux> d1rewolf: running unstable aswell
<symphorien> as long as you can run nix it should work
<p_l> symphorien: and that doesn't help when qemu won't run, will it?
* d1rewolf nods.
<d1rewolf> thanks guys
<hux> d1rewolf: or add a custom one to your layer
<bigvalen> My day job these days is installing servers in a datacenter. you'd be amazed how many machines have 16 or 32 disks in RAID10, an SSD or two...and a 500GB disk, just for root.
<symphorien> I don't understand your problem
<d1rewolf> hux: what do you mean?
<d1rewolf> hux: i'd like to learn more about this
<symphorien> why would launching vms fail ?
<bigvalen> Huh. zfs send -R rpool/root/nixos@migrate | zfs receive -F npool/root/nixos &
<bigvalen> warning: cannot send 'rpool/root/nixos@migrate': signal received
<bigvalen> internal error: Bad file descriptor
<clever> bigvalen: the last time i encountered a datacenter like that, i reconfigured the raid controller to passthru every disk, then threw zfs at it
<d1rewolf> hux: thx!
<hux> d1rewolf: you can use custom version by overriding a package, I'm doing it for emacs, for example
<p_l> symphorien: because the host might not support it. I'm trying to exploit some cloud services to do continuous integration on my nix configs
<symphorien> I have no idea wether /dev/kvm is required
<symphorien> but qemu can work without kvm, it will only be super slow
<bigvalen> clever, Alas, we let everyone setup disks their own way, with shell scripts run before install. The demented stuff I've seen..... btrfs, xfs, lvm, a mix of all three. Some with LSI controllers...some HP.. sigh.
<clever> symphorien: nixos tests can run without /dev/kvm but are much slower
sk8forether has quit [Quit: Connection closed for inactivity]
genesis has quit [Remote host closed the connection]
<symphorien> ^ p_l then it should work
selfsymmetric-pa has quit [Ping timeout: 256 seconds]
Sonarpulse has quit [Ping timeout: 260 seconds]
dbmikus__ has joined #nixos
koisell has quit [Quit: WeeChat 2.0.1]
johnw has quit [Ping timeout: 240 seconds]
patrl has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
<clever> bigvalen: ive also used kexec to reinstall nixos over a baremetal machine, without any proper remote management
genesis has joined #nixos
<d1rewolf> "warning: error(s) occurred while switching to the new configuration". Aside from scrollback, are these errors stored anywhere?
<clever> only on the terminal where it happened for the most part
letty5 has joined #nixos
<letty5> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<letty5> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
letty5 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
joepie91_to_go has joined #nixos
<joepie91_to_go> wanting to get http://ppci.readthedocs.io/en/latest/index.html going on my NixOS 18.03 system ASAP; how would I approach this?
<joepie91_to_go> (ie. I do not have the time to wait for a PR on nixpkgs to be merged)
<joepie91_to_go> seems to not be in nixpkgs
baconicsynergy has joined #nixos
<symphorien> you can use pip in a virtualenv with a globally installed python
<symphorien> since it is claimed to be pure python, this should work well
<joepie91_to_go> symphorien: any special requirements, or will https://nixos.wiki/wiki/Python#pip work fine?
<symphorien> yes this should work
<joepie91_to_go> symphorien: thanks :)
information32315 has joined #nixos
<information32315> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<information32315> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<information32315> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<information32315> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
information32315 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
__monty__ has joined #nixos
Sonarpulse has joined #nixos
jtojnar has joined #nixos
<bigvalen> clever: kexec is a gift from the gods. Though I learned the hard way that no one used it on Arm until we tried it :)
Ariakenom has joined #nixos
VampiricPadraig has joined #nixos
<VampiricPadraig> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<VampiricPadraig> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<VampiricPadraig> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<VampiricPadraig> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
rihards has joined #nixos
VampiricPadraig has quit [Killed (Sigyn (Spam is off topic on freenode.))]
init_6 has quit [Ping timeout: 276 seconds]
aarvar has joined #nixos
joepie91_to_go has quit [Ping timeout: 256 seconds]
<d1rewolf> ran out of space on a LV mounted at /. I have space in the vg. filesystem is ext4. any chance of resizing without using live cd?
<srhb> d1rewolf: ext4 will live extend just fine iirc
endformationage has quit [Quit: WeeChat 1.9.1]
endformationage has joined #nixos
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
Neo-- has quit [Ping timeout: 268 seconds]
<d1rewolf> srhb: great...thanks
<{^_^}> [nixpkgs] @jtojnar pushed to master « audio-recorder: 1.9.7 → 2.1.3 »: https://git.io/fNw0I
endformationage has quit [Quit: WeeChat 1.9.1]
jensens has quit [Ping timeout: 248 seconds]
orivej has quit [Ping timeout: 248 seconds]
<d1rewolf> i have three directories called /lkcqix28w5hlkbks7qlfardr3j9kpby7-android-studio-3.0.1.0, albeit with different hashes (so /something-android-studio-3.0.1.0). Wouldn't nix-garbage-collect bring this down to 1 directory instead of three?
<mdash> d1rewolf: Only if nothing depends on the other two.
<Myrl-saki> d1rewolf: You can also use nix-store --optimise.
<{^_^}> [nixpkgs] @Yarny0 opened pull request #44268 → k3b: use cdrkit instead of cdrtools → https://git.io/fNw0x
<mdash> d1rewolf: 'nix-store -q --referrers /nix/store/yourpath' will tell you what keeps it from being GCed
<d1rewolf> mdash: is there a way to list what depends on a directory?
<mdash> Myrl-saki: Unlikely to help
<d1rewolf> mdash: you beat me to it ;) thanks
<mdash> d1rewolf: '-q --roots' is the other one to be aware of there
<Myrl-saki> mdash: Isn't nix-store --optimise a dedup?
<Myrl-saki> Like, a file-wise dedup.
<mdash> Myrl-saki: Sure, if the files are identical.
<Myrl-saki> Right.
Thra11 has joined #nixos
endformationage has joined #nixos
Fare has joined #nixos
<Fare> Hi. Are there freelancers selling Nixification services? For a startup using OCaml.
nly has joined #nixos
wpcarro has joined #nixos
knupfer has joined #nixos
<gchristensen> Fare: there is a Commercial Support sectionhere: https://nixos.org/nixos/support.html
<bigvalen> clever, Actually, is there a simple way to auto-delete old zfs snapshots that Nixos makes ?
<bigvalen> Wait. They aren't snapshots, they are volumes. Or filesystems. Whatever goes in a pool.
<clever> bigvalen: this option will auto-create, and destroy many snapshots, on every filesystem you enabled it on
kyren has joined #nixos
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
lutzmor has joined #nixos
<clever> bigvalen: there are 3 types of objects within a zfs pool, filesystems, volumes, and snapshots
<clever> bigvalen: zfs list -o name,used,refer,written,type -t all
johnw has joined #nixos
<Myrl-saki> Err, wat.
andymandias has quit [Ping timeout: 244 seconds]
<Myrl-saki> binCache.config = {
<Myrl-saki> nix.binaryCachePublicKeys = [
<Myrl-saki> while evaluating the attribute 'config.binaryCachePublicKeys' at /home/myrl/Development/foo/ops/network.nix:17:3:
<Myrl-saki> I'm using it as `imports = [ binCache ];`
<Fare> gchristensen, thanks!
<clever> Myrl-saki: can you gist the while file?
<clever> whole
<iqubic> TIL: The NixOS logo is a bunch of lambdas in a circle. "λ"
<Myrl-saki> Yep lol.
<Myrl-saki> In a hexagon, if you want to be a bit more pedantic. :)
<iqubic> I just thought it was a cool snowflake pattern.
<gchristensen> me too, then I learned what a lambda is
<Myrl-saki> clever: I think I fixed it. Seems like it's a problem on my end.
andymandias has joined #nixos
<Myrl-saki> clever: (Can't send the whole file)
cryptomonoid has joined #nixos
<TonyTheLion> how do you guys build Go packages with nix?
<TonyTheLion> is nix2go the only way to do this?
reinzelmann has joined #nixos
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Myrl-saki> clever: Yeah, I'm stupid. I used lib.optional without a lib in scope. :/
<clever> heh, that will do it
<Myrl-saki> And it works.
<mdash> iqubic: it is! 'nix' is Latin for 'snow'
<Myrl-saki> Weird "stack" trace.
<Myrl-saki> Or not.
<Myrl-saki> undefined variable 'lib' at /home/myrl/Development/foo/ops/network.nix:16:9
<Myrl-saki> I should have read the last line. Ffs.
orivej has joined #nixos
<Myrl-saki> The line was way shorter than the others, so I didn't notic eit. <.<
kyren has joined #nixos
kyren has quit [Client Quit]
huhlig5 has joined #nixos
<huhlig5> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<huhlig5> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<huhlig5> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<huhlig5> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
huhlig5 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<Myrl-saki> Curious. Does anyone else here write Pubkey instead of PubKey?
polman has joined #nixos
<__monty__> I write pubKey cause haskell : >
graphene has joined #nixos
polman has quit [Client Quit]
polman has joined #nixos
Ralith_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @bignaux opened pull request #44269 → photon: init at 1.0.7 → https://git.io/fNwaT
Ralith_ has joined #nixos
<Myrl-saki> Okay, Python doesn't have list join in its stdlib. That's amazing.
polman has quit [Client Quit]
graphene has quit [Remote host closed the connection]
<Myrl-saki> Okay, I guess itertools.chain counts.
graphene has joined #nixos
<__monty__> Myrl-saki: You mean append?
<Myrl-saki> __monty__: I mean join/concat/flatten/
polman has joined #nixos
<__monty__> I guess you'd use a comprehension for that.
<Myrl-saki> __monty__: Yeah, but that just seems so roundabout.
<Myrl-saki> Especially since the construction of list comprehension is not exactly that.. nice.
<__monty__> What do you mean? Haven't had problems with it.
<Myrl-saki> [ x | xs <- xss, x <- xs ]
chaker has quit [Ping timeout: 244 seconds]
<Myrl-saki> It looks confusing even in Haskell. :P
<__monty__> [ item for list in listoflists for item in list ] not that bad.
<__monty__> Slightly worse but not terrible.
<eeva> Hmm, anyone update unstable channel? My machine is hanging at boot on linux 4.7.11
Fare has quit [Ping timeout: 260 seconds]
alex`` has quit [Quit: WeeChat 2.2]
nlyy has joined #nixos
<hyper_ch> Enzime: still here?
<lutzmor> eeva, i did a update yesterday and booted fine (but i use a 4.4 patched kernel)
robstrr has joined #nixos
<Baughn> 4.4? 4.7?
nly has quit [Ping timeout: 250 seconds]
<Baughn> That's strangely old. My system is on 4.14, I believe.
<viric> I'm on 4.9 because 4.10 and beyhond have a bug on PS2 keyboards
nlyy is now known as nly
<viric> PS2 dead after suspend
<gchristensen> :o
<lutzmor> if you port the firmware to the newer kernel i would immediatly use it ... but on the current kernel the firmware for my wifi is broken and i can't enable power_save for it .. if i do so the firmware die ... and i need to restart to get wifi again ;)
knupfer has quit [Ping timeout: 265 seconds]
goibhniu has quit [Ping timeout: 260 seconds]
<robstrr> Hey
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/fd81a2ecb6b (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Dezgeg> I bet 4.7.11 was a typo for 4.17.11
doyougnu has joined #nixos
<cocreature> eeva: I updated a few hours ago (after nixos-unstable advanced) and things are working fine for me
<eeva> Dezgeg: exactly
<eeva> cocreature: :/ hmmm. X doesn't start and hangs. I wonder how I can check / diagnose
kyren has joined #nixos
halfbit has quit [Ping timeout: 265 seconds]
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fNwwd
sbdchd has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2281 → [bugfix] prim_mapAttrs: `f' must be evaluated lazily to avoid infinite recursion → https://git.io/fNeFA
ng0 has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
Pneumaticat[m] is now known as KevinLiu[m]
reinzelmann has quit [Quit: Leaving]
sbdchd has quit [Ping timeout: 240 seconds]
<galaxite> So is there just absolutely no way to get nvidia cards working with nixos?
wpcarro has quit [Remote host closed the connection]
<Myrl-saki> galaxite: It works for me.
<Myrl-saki> But I had to wrestle with it.
philippD has joined #nixos
<eeva> cocreature: are you running with an AMD graphics card?
<eeva> (just a hunch)
<galaxite> I've been wrestling with it for a few hours. I tried every fix linked here: https://github.com/tycho01/nix-config/issues/5 and nothing worked.
<{^_^}> tycho01/nix-config#5 (by tycho01, open): boot fails with videoDrivers nvidia
wpcarro has joined #nixos
<philippD> Hey, What dies `runHook` provided by stdenv do?
<philippD> s/dies/does/
<FRidh> philippD: as the name implies, it runs a hook
<FRidh> in the stdenv we have phases
<cocreature> eeva: nope intel
<FRidh> for each phase there is a pre and post hook
ris has joined #nixos
<FRidh> by default, it will run those
<FRidh> sometimes, functions override a phase. They may still want to run the hook, so they use runHook explicitly.
halfbit has joined #nixos
cryptomonoid has quit [Ping timeout: 260 seconds]
joepie91_to_go has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
Fare has joined #nixos
johnw has quit [Ping timeout: 260 seconds]
<acowley> I'm trying to follow the commits and reverts here, and would like to quadruple check: Is the option name xb
<acowley> Err, is the option name system.stateVersion
<acowley> ?
<galaxite> Myrl-saki: What did you do to get your nvidia card working?
hakujin3 has quit [Ping timeout: 245 seconds]
graphene has quit [Remote host closed the connection]
dbmikus has joined #nixos
dbmikus__ has quit [Ping timeout: 265 seconds]
Judson has joined #nixos
graphene has joined #nixos
Judson is now known as Guest90715
<{^_^}> [nixpkgs] @ngortheone opened pull request #44270 → pythonPackages.fluent-logger: init at 0.9.3 (#44236) → https://git.io/fNwKZ
Dave22 has joined #nixos
Dave2121 has joined #nixos
<Dave22> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<Dave2121> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<Dave22> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<Dave2121> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<Dave22> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<Dave2121> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<Dave2121> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
the has quit [Remote host closed the connection]
Dave22 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Dave2121 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Fare has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @copumpkin pushed 2 commits to release-18.03: https://git.io/fNwKR
<{^_^}> [nixpkgs] @copumpkin merged pull request #44270 → pythonPackages.fluent-logger: init at 0.9.3 (#44236) → https://git.io/fNwKZ
dbmikus_ has joined #nixos
hux has quit [Ping timeout: 252 seconds]
<smolboye_> ,logs
koisell_ has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
nly has left #nixos ["Leaving"]
graphene has quit [Remote host closed the connection]
electrocat has joined #nixos
<electrocat> how is 'nativeBuildInputs' different from 'buildInputs'?
<{^_^}> [nixpkgs] @vbgl opened pull request #44271 → ocamlPackages.lambdaTerm: 1.12.0 -> 1.13 → https://git.io/fNw6e
graphene has joined #nixos
Fare has joined #nixos
<Myrl-saki> electrocat: From what I understand, this is only used on cross compilation.
<clever> electrocat: when cross-compiling, nativeBuildInputs can run on the host that is building, but buildInputs will be for the target
<electrocat> ah cool, tnx
<endformationage> Anyone ever have trouble getting full bandwidth out of their gigabit NIC under nixos? I know the line can provide it, and tested well with another system. But mine gets ~20% tops. Could a dual core 2.5GHz cpu really be a limiting factor?
ersran9 has quit [Ping timeout: 268 seconds]
lutzmor has quit [Quit: WeeChat 2.1]
<endformationage> So far I've tried turning off the 'Interrupt Throttling Rate' of the e1000e module, with no difference.
doyougnu has quit [Ping timeout: 248 seconds]
<clever> endformationage: have you tested it with iperf3?
<clever> endformationage: with the -P 2 flag
limbo15 has joined #nixos
<limbo15> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<limbo15> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<limbo15> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<limbo15> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
limbo15 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<clever> ah dang, iperf3 is single-threaded, -P wont help that
<endformationage> clever: No just another system that pulled close to advertised speeds from a speedtest.
<clever> endformationage: that could be a browser problem as well
<clever> endformationage: iperf or a cli speedtest would maybe go faster
<clever> endformationage: `nix run nixpkgs.speedtest-cli` and `speedtest-cli`
testuser has joined #nixos
wpcarro has quit [Remote host closed the connection]
<endformationage> clever: Thanks, will try now
<clever> Download: 293.44 Mbit/s
<clever> Upload: 150.67 Mbit/s
<clever> Hosted by Pioneer Wireless (Presque Isle, ME) [206.16 km]: 20.756 ms
<clever> endformationage: thats what i get with speedtest-cli
<testuser> hi, I would like to remove system profiles that haven't been used for a long time: http://dpaste.com/1GDM69N - the sysctl/sysctl2/test profiles are not used, but these also point to the test-1-link/sysctl2-1-link/sysctl-48-link ... this means thaat basically every link inside /nix/var/nix/profiles/system-profiles/ can be removed right? How can I remove those profiles?
crmlt has joined #nixos
<clever> testuser: i dont know of anything using that system-profiles subdir
<clever> should be safe to just remove it
IRCsum has quit [Read error: Connection reset by peer]
Twey has quit [Ping timeout: 248 seconds]
<testuser> clever, so just "rm /nix/var/nix/profiles/system-profiles/*" then "nix-collect-garbage -d" ?
dbmikus_ has quit [Ping timeout: 248 seconds]
IRCsum has joined #nixos
<clever> testuser: no need for the -d, just normal nix-collect-garbage
dbmikus_ has joined #nixos
<endformationage> clever: Wow. Did not expect my browser. Download: 790.35 Mbit/s, Upload: 801.95 Mbit/s
<clever> endformationage: nice
IRCsum has quit [Read error: Connection reset by peer]
<testuser> clever, thanks, will do that
<ma27> did anybody manage to successfully use citrix receiver on nixos?
IRCsum has joined #nixos
graphene has quit [Remote host closed the connection]
robstrr has quit [Ping timeout: 252 seconds]
spall has joined #nixos
graphene has joined #nixos
spall has quit [Client Quit]
sarah____ has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #44272 → camlp4: init at 4.07+1 → https://git.io/fNwiM
<testuser> clever, just freed 40GB of spaced used by /nix but not actually needed, thanks :)
glasserc has quit [Read error: Connection reset by peer]
crmlt has quit [Remote host closed the connection]
blankhart has quit [Ping timeout: 248 seconds]
<sarah____> I am new to using nix; is there a way to force a package to be built locally even if the package is present on the system?
<symphorien> nix-build --check
steev11 has joined #nixos
<steev11> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<steev11> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<steev11> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
glasserc has joined #nixos
<steev11> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
steev11 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to master « nixUnstable: 2.1pre6148_a4aac7f -> 2.1pre6338_45bcf541 »: https://git.io/fNwPS
<philippD> is it common to define aliases in the `shellHook` section?
<{^_^}> [nixpkgs] @edolstra pushed to release-18.03 « nixUnstable: 2.1pre6148_a4aac7f -> 2.1pre6338_45bcf541 »: https://git.io/fNwPF
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/fNwPN
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
galaxite has quit [Ping timeout: 240 seconds]
blankhart has joined #nixos
<eacameron> Can nix store paths be empty?
katona has joined #nixos
<gchristensen> eacameron: what does that mean?
<gchristensen> like an empty file or an empty dir?
<eacameron> empty dir
<gchristensen> I think that is fine
<mkaito> anyone else on nixos-unstable-small seeing segfaults in radeonsi/xorg after today's update?
<tilpner> runCommand "empty" {} "mkdir $out"
<mkaito> xgksa
<Ankhers> gleber_: ping
<eacameron> tilpner: gchristensen: ah, we're getting a `source root is empty` error in a derivation
bmos1421 has joined #nixos
<bmos1421> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<bmos1421> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<eacameron> maybe that's not actually an error
<bmos1421> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<bmos1421> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
bmos1421 was banned on #nixos by gchristensen [*!*@101.166.140.85]
bmos1421 was kicked from #nixos by gchristensen [bmos1421]
Tiez has quit [Quit: WeeChat 2.2]
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.beta: 3.2.0.21 -> 3.2.0.22 »: https://git.io/fNw1O
<mkaito> s
<p_l> is there some way to manage user's profile from the system configuration.nix ?
<p_l> Kind-of wanted to bootstrap it
<mkaito> guess I'm special then. nobody else seeing segfaults after today's bump to nixos-unstable-small?
<symphorien> ,home-manager p_l
<{^_^}> p_l: home-manager allows you to manage your per-user configuration similarly to NixOS' configuration.nix: https://nixos.wiki/wiki/Home_Manager
mcspud26 has joined #nixos
<mcspud26> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<mcspud26> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<mcspud26> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<mcspud26> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
mcspud1019 has joined #nixos
<mcspud1019> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<mcspud1019> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<mcspud1019> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
Fare has quit [Ping timeout: 255 seconds]
<mcspud1019> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
mcspud26 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
mcspud1019 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
fragamus has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mrVanDalo opened pull request #44273 → memo: 0.4 -> 0.5 → https://git.io/fNw1V
<d1rewolf> guys, at some point, i think with the unstable upgrade, I've lost the ability to redirect sound to hdmi. even after pulseaudio -k, hdmi output doesn't show up although I've used it many times in the past. Any ideas? :-/
<joepie91_to_go> ,locate wat2wasm
<{^_^}> Couldn't find any packages
galaxite has joined #nixos
fragamus has quit [Client Quit]
<philippD> is it common to define aliases inside of a `shellHook`?
CcxWrk has quit [Remote host closed the connection]
<infinisil> philippD: No
CcxWrk has joined #nixos
testuser has quit [Ping timeout: 244 seconds]
doyougnu has joined #nixos
<d1rewolf> any ideas why hdmi wouldn't show up in sound outputs?
<{^_^}> [nixpkgs] @primeos pushed to master « pythonPackages.mysql-connector: 8.0.11 -> 8.0.12 »: https://git.io/fNwM7
<mdash> d1rewolf: reboot and see if it comes back
pie_ has joined #nixos
pskosinski164 has joined #nixos
<pskosinski164> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<pskosinski164> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<pskosinski164> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<pskosinski164> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<slabity[m]> Is there a formal description of the Nix language? Or do I need to extract information from the manuals?
pskosinski164 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [hydra] @edolstra pushed to master « Fix Hydra VM tests »: https://git.io/fNwDl
knupfer has joined #nixos
<joepie91_to_go> slabity[m]: none that is up to date
<joepie91_to_go> slabity[m]: for learning the language, https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55 is a good start
<slabity[m]> joepie91_to_go: That's why I'm hoping for a more formal description
<slabity[m]> Trying to make a parser
dbmikus_ has quit [Ping timeout: 264 seconds]
<mdash> slabity[m]: have you seen hnix?
<joepie91_to_go> slabity[m]: ah yes, there is nothing for that; you're best off reading the reference implementation of the parser as well as hnix
<slabity[m]> Never heard of it. I'll check it out
testuser has joined #nixos
<slabity[m]> I wish I knew enough haskell to read this :P
<slabity[m]> But it's definitely a good point to start looking
<d1rewolf> mdash: ok
<guibou_> is there a way to have the new progress indicator of nix 2.0 when I'm using `nixos-rebuild switch`?
dbmikus_ has joined #nixos
crmlt has joined #nixos
<bigvalen> How does the nixos Stage1 work ? I'm trying to work out how zfs imports pools during early boot. For some reason, it's not importing my 'new' zfs pool, so can't find root & home to mount them
<d1rewolf> mdash: rebooting seems to have had no effect :(
<d1rewolf> aplay shows the HDMI outputs tho
goibhniu has joined #nixos
<bgamari> Is there a reasonably convenient way to override an attribute of a derivation "buried" beneath a few layers of hierarchy in an overlay?
<bgamari> Say, for instance, that I want to set doCheck = false; of llvmPackages_5.llvm
npmccallum has joined #nixos
crmlt has quit [Ping timeout: 256 seconds]
phreedom has quit [Ping timeout: 250 seconds]
<acowley> Running `nixos-rebuild switch` with nixos-unstable and a plasma5 desktop is giving me "bash: kbuildsycoca5: command not found" and a new system I can't login to. Any clues?
phreedom has joined #nixos
<bgamari> the best I can think of is something like { llvmPacckages = super.llvmPackages_5.override { overrides = self: super: super.llvm.overrideAttrs { doCheck = false; };}; }
<bgamari> which gets rather wordy once you get a couple of layers in
<bgamari> it seems like we need some analogue to lenses in nix :)
orivej has joined #nixos
galaxite has quit [Ping timeout: 265 seconds]
tzemanovic has joined #nixos
nullrouted has joined #nixos
<nullrouted> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<nullrouted> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<nullrouted> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
nullrouted has quit [Killed (Sigyn (Spam is off topic on freenode.))]
fendor has joined #nixos
<d1rewolf> anyone know what package provides lscpi?
<infinisil> ,locate bin lspci
<{^_^}> Found in packages: busybox, pciutils
<d1rewolf> nm, found it
<bgamari> d1rewolf, pciutils?
<infinisil> ,locate bin lscpi
<{^_^}> Couldn't find any packages
<d1rewolf> infinisil: thx...always forget about the bot
lutzmor has joined #nixos
<d1rewolf> anyone know what would cause HDMI sound outputs to no longer show up as an option after upgrading to unstable?
<d1rewolf> worked fine in stable :-/
dave492513 has joined #nixos
<dave492513> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<dave492513> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<dave492513> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
dave492513 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
sarah____ has quit [Ping timeout: 264 seconds]
fendor has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
<bigvalen> Seems I don't understand how Nix works on ZFS at all. I did zfs send to send my old root to the new zfspool. Setup the rescue image as advised (phew). Rebooted. The kernel paniced coming up, because it couldn't find swap, even though the old and new pools both had swap configured. :(
<d1rewolf> how can I tell what sound driver i'm using?
<bigvalen> I rebooted into the rescue image to fix it, but ... I can't chroot into the old (or new) root, and re-run nixos-rebuild, hoping to fix things.
<bigvalen> There is no /run/current/sw/bin/bash !
<infinisil> bigvalen: /run/current-system/sw/bin/bash?
<samueldr> bigvalen: the rescue image?
<{^_^}> [nixpkgs] @georgewhewell opened pull request #44275 → fix libgpg-error cross build on armv7 → https://git.io/fNwHm
<acowley> Hm. set -x doesn't really help with nixos-rebuild
<acowley> The error only appears with nixos-rebuild switch, not with the build subcommand
<bgamari> d1rewolf, lsmod?
<bgamari> d1rewolf, or poke around in /sys?
<bigvalen> Oh, no. The rescue image has it. The old & new root filesystems done.
<bigvalen> don't.
<bigvalen> So, I can't chroot into those. Or am I missing the point of the rescue image - can I point that at the etc/nixos on the root filesystem, and run rebuild from that ?
rihards has quit [Quit: rihards]
<symphorien> bigvalen: /run/current-system is created by stage2 init I think
<bigvalen> So.... the rescue image. How does one rescue a system with it ?
hakujin3 has joined #nixos
<bigvalen> Can I just copy my configs into /etc/nixos on the rescue image, and run nixos-install ?
endformationage has quit [Quit: WeeChat 1.9.1]
knupfer has quit [Ping timeout: 268 seconds]
<acowley> I could get the error to go away by putting a full path to kbuildsycoca5 in plasma5.nix, but the resulting system still wouldn't let me login
<acowley> That is, ${pkgs.kdeFrameworks.kservice}/bin/kbuildsycoca5
endformationage has joined #nixos
<acowley> I suppose the only thing is to sit tight until someone else runs into the same problem.
logzet_ has joined #nixos
logzet has quit [Ping timeout: 265 seconds]
cryptomonoid has joined #nixos
<symphorien> bigvalen: iirc nixos-install will take the config on the target device so you don't need to copy the conf
logzet_ has quit [Remote host closed the connection]
hammer0657 has joined #nixos
<hammer0657> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<hammer0657> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<bigvalen> symphorien, Will that kill the existing system ?
graphene has quit [Remote host closed the connection]
hammer0657 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
graphene has joined #nixos
<symphorien> it should be equivalent to chroot; nixos-rebuild boot
<symphorien> but wait for confirmation from someone else :°
graphene has quit [Read error: Connection reset by peer]
lutzmor has quit [Quit: WeeChat 2.1]
graphene has joined #nixos
<bigvalen> What's the difference between 'nixos-rebuilt boot' and 'nixos-rebuild' - is one just boot ? Or also boot ?
<bigvalen> (the rescue image doesn't have the manpage ;)
graphene has quit [Remote host closed the connection]
tzemanovic has quit [Ping timeout: 264 seconds]
graphene has joined #nixos
<acowley> An irritating thing is that I can only trigger an error when using `switch`, but after that error my desktop is messed up (e.g. screen locker doesn't work) until I reboot and pick an earlier system from the GRUB menu.
<symphorien> nixos-rebuild can take as argument build, boot, test, switch: boot and switch will make sure when you reboot you get this generation, test and switch switch to this generation immediately
<bigvalen> And boot just sets everything up for a reboot ?
<symphorien> yes
<bigvalen> I ran one there, and it downloaded more than I expected. I'm sure it'll be fine :)
<bigvalen> I wonder where the ramdisk startup script is...there must be something that does a zfs import.
<symphorien> if you are on a sort of intallation media, make sure not to modify the installation media and really your system
<bigvalen> Ah, stage-1-init.sh
<bigvalen> I really hope that's what's happening now.
<bigvalen> Bah. No. Failed at the last hurdle.... 'updating grub2 menu' .... 'Failed to get blkid info for / on tmpfs'. It didn't look for /new :(
selfsymmetric-pa has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
fragamus has joined #nixos
badon3 has joined #nixos
<badon3> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<badon3> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
badon3 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
wpcarro has joined #nixos
fragamus has quit [Client Quit]
18VAESJXC has joined #nixos
<18VAESJXC> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<18VAESJXC> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
<18VAESJXC> I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<18VAESJXC> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
18VAESJXC has quit [Killed (Sigyn (Spam is off topic on freenode.))]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<bigvalen> I can't see how nixos-rebuild can be shown what filesystem it should run from.
<bigvalen> That can't be how it's supposed to work.
<symphorien> bigvalen: https://nixos.org/nixos/manual/index.html#ch-file-systems set fsType to zfs
<bigvalen> I'll try nixos-install. Can't be any more screwed than I am right now :(
<bigvalen> I already have that...it's the move from one pool to a new one that's made the OS upset. nixos-install is *kinda* safe, as I still have my old system on the old disk pool :)
<bigvalen> Looking at some comments on more recent changes, it looks like there are more recent versions of nixos that have a 'nixos-enter' command, which might do suich things.
lassulus has quit [Ping timeout: 244 seconds]
philippD has joined #nixos
<cransom> I'm making disk images (for generating AMIs). I'm trying to feed make-disk-image a useful size but a `du -cs $(nix path-info -r /nix/store/...-machine)` plus a 10 (or even 20%) fudge factor still ends up being small.
<cransom> any thoughts on how to calculate that more thoroughly?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/315a47d2491 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Dezgeg> nixos/lib/make-ext4-fs.nix has an estimate that hasn't failed for me so far
wpcarro has quit [Remote host closed the connection]
<cransom> oo. hrm. that is far more inclusive than what i naively tried. thanks Dezgeg.
halfbit has quit [Ping timeout: 245 seconds]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
tuusj has quit [Remote host closed the connection]
koisell_ has quit [Ping timeout: 245 seconds]
genesis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @basvandijk opened pull request #44276 → graphite: 1.0.2 -> 1.1.3 & moved dependencies to python-modules → https://git.io/fNwb3
chessai has joined #nixos
doyougnu has quit [Ping timeout: 240 seconds]
the has quit [Ping timeout: 244 seconds]
baconicsynergy has quit [Remote host closed the connection]
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44273 → memo: 0.4 -> 0.5 → https://git.io/fNw1V
<{^_^}> [nixpkgs] @xeji pushed commit from @mrVanDalo to master « memo: 0.4 -> 0.5 (#44273) »: https://git.io/fNwb2
<{^_^}> [nixpkgs] @xeji merged pull request #44272 → camlp4: init at 4.07+1 → https://git.io/fNwiM
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « camlp4: init at 4.07+1 (#44272) »: https://git.io/fNwbX
genesis has joined #nixos
MobileMatt9 has joined #nixos
<MobileMatt9> <+SP9002_@efnet> so, he wants the win. so we're just gonna get lunch or something, then hes gonna push me to the ground and tap my ass with his foot so he can claim he "kicked my ass" tbh im going along with it becase I dont wanna lose any teeth
<MobileMatt9> With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
MobileMatt9 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
tzemanovic has joined #nixos
simukis has quit [Quit: simukis]
ng0 has quit [Remote host closed the connection]
npmccallum has quit [Ping timeout: 240 seconds]
tzemanovic has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #44271 → ocamlPackages.lambdaTerm: 1.12.0 -> 1.13 → https://git.io/fNw6e
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocamlPackages.lambdaTerm: 1.12.0 -> 1.13 (#44271) »: https://git.io/fNwNw
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/333a6646a8b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ng0 has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bigvalen> Dammit. The nixos stage1 is still importing 'npool'. Where is the stage1 configuration ?
joepie91_to_go has quit [Quit: Konversation terminated!]
joepie91_to_go has joined #nixos
<bigvalen> Wait. No. Shit. It still all worked.
<bigvalen> Wooohooo
sk8forether has joined #nixos
* bigvalen does the dance of joy, as Nixos has been migrated/
philippD has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #43790 → argyllcms: 2.0.0 -> 2.0.1 → https://git.io/fNneH
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « argyllcms: 2.0.0 -> 2.0.1 (#43790) »: https://git.io/fNwAv
<bigvalen> I'd still love to know how to rebuild stage1, mind.
<symphorien> what do you mean ?
lassulus has joined #nixos
dbmikus_ has quit [Ping timeout: 256 seconds]
davenpcm has quit [Quit: Textual IRC Client: www.textualapp.com]
joepie91_to_go has quit [Ping timeout: 240 seconds]
cryptomonoid has quit [Ping timeout: 248 seconds]
<bigvalen> The stage1 that's there is still importing 'rpool', which is the old ZFS. I'd love to know why.
<bigvalen> It might be that it took a copy of an old zfs.cache or something.
scroll has joined #nixos
andymandias has quit [Ping timeout: 256 seconds]
<bigvalen> Oh, now that I have it working....what's the neatest way of upgrading from 17.09 to 18.03 ? Is it enough to add 18.03 as the new 'nixos' channel, and remove the old entry, then nixos-rebuild --upgradce ?
scroll has quit [Excess Flood]
<symphorien> @upgrade: normally yes
scroll has joined #nixos
<symphorien> read through the release notes to check if some options have changed name: https://nixos.org/nixos/manual/release-notes.html#sec-release-18.03
<bigvalen> heh, thanks. I actually have very small requirements :)
<symphorien> also since this update changes the version of nix, nixos-rebuild may ouptut some garbage until the nix-daemon is also restarted. This is transient.
andymandias has joined #nixos
joehh has joined #nixos
cherrybl0ss0m_ has joined #nixos
cherrybl0ss0m_ has quit [Client Quit]
<bigvalen> Oh. Semi-related. Have you seen any 'nixos advocacy' slide decks or talks you thought were good ? I'd love to try explain this to people.
<mdash> no, nixos is a secret reserved for only those truly worthy
<bigvalen> We are mostly going with u-root in work, for a simple OS & build environment. But I'd love to wind people up by showing another way.
<bigvalen> mdash, That...is true, from a certain point of view.
<bigvalen> I have suspicions I am not one of those people.
<bigvalen> (see earlier, when I was trying to flash an RPI image to a USB key on my NAS, and accidentally wrote over my /boot partition - on a different USB key.
<Denommus> uh
<mdash> i've done things like this
<cransom> TIL someone rewrote userland in go... oh boy.
<mdash> is userland near disneyland?
<mdash> or perhaps maryland
<{^_^}> [nixpkgs] @xeji merged pull request #44208 → capitaine-cursors: init at r2.1 → https://git.io/fN2LL
<{^_^}> [nixpkgs] @xeji pushed commit from @eadwu to master « capitaine-cursors: init at r2.1 (#44208) »: https://git.io/fNwxE
<{^_^}> [nixpkgs] @xeji merged pull request #44175 → mustache-go: init at 1.0.1 → https://git.io/fNg3P
<{^_^}> [nixpkgs] @xeji pushed commit from @Zimmi48 to master « mustache-go: init at 1.0.1 (#44175) »: https://git.io/fNwxo
joepie91_to_go has joined #nixos
joepie91_to_go has quit [Client Quit]
joepie91_to_go has joined #nixos
fragamus has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #44178 → liblinear: init at 2.20 → https://git.io/fNg83
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « liblinear: init at 2.20 (#44178) »: https://git.io/fNwxx
Thra11 has quit [Ping timeout: 264 seconds]
fragamus has quit [Client Quit]
<joepie91_to_go> for those who use EDIS (hosting provider): you've probably received an e-mail from them already notifying you of this, but they've experienced a breach and at least e-mail addresses have been leaked; possibly more
hamishmack has joined #nixos
katona has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @dotlambda merged pull request #43722 → pythonPackages.fastpair: init at 2016-07-05 → https://git.io/fNGBo
<{^_^}> [nixpkgs] @dotlambda pushed commit from @CMCDragonkai to master « pythonPackages.fastpair: init at 2016-07-05 (#43722) »: https://git.io/fNwht
__monty__ has quit [Quit: leaving]
MP2E has joined #nixos
Ariakenom has quit [Quit: Leaving]
johnw has joined #nixos
joepie91_to_go has quit [Ping timeout: 248 seconds]
worldofpeace has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 240 seconds]
betaboon has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d1ae60cbad7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jtojnar has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
erasmas has quit [Quit: leaving]
alexteves has quit [Remote host closed the connection]
semilattice has joined #nixos
jtojnar has quit [Quit: jtojnar]
selfsymmetric-pa has quit [Remote host closed the connection]
chessai has quit [Ping timeout: 256 seconds]
<d1rewolf> guys, can someone point me to a good example of managing /etc/hosts with nix?
chessai has joined #nixos
jtojnar has joined #nixos
tzemanovic has joined #nixos
mekeor has joined #nixos
<d1rewolf> samueldr: ah...I always for about that page. thanks
goibhniu has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bachp opened pull request #44277 → Minio update → https://git.io/fNreA
blankhart has quit [Read error: Connection reset by peer]
<d1rewolf> anyone using a hosts file like http://github.com/StevenBlack/hosts with nix? if so, how are you
<d1rewolf> including it in?
<samueldr> ah, there's another way
<samueldr> that uses the format from /etc/hosts verbatim
<d1rewolf> samueldr: cool. that'll work. thanks!
<samueldr> a good ol' fetchurl and you're set
<samueldr> (uh, probably not)
fragamus has joined #nixos
<samueldr> d1rewolf: fixing the commit ID otherwise it will cause issue when it updates: builtins.readFile (fetchurl { url="https://raw.githubusercontent.com/StevenBlack/hosts/d0af61d0ef92117b35342c934a94812657517664/hosts"; sha256 = "1lp3whmmrh73r2h4gmhxjm5qiq3iamh3vrzhcljlqqfqk22sg345"; })
<samueldr> oh, or alternatively, using a tag should be fine
testuser has quit [Ping timeout: 244 seconds]
Fare has quit [Ping timeout: 260 seconds]
fragamus_ has joined #nixos
chessai has quit [Remote host closed the connection]
fragamus has quit [Ping timeout: 264 seconds]
fragamus_ is now known as fragamus
<emily> I'm on a platform that unfortunately doesn't work with POSIX capabilities (setting them on the filesystem just fails)
<emily> is there any easy way to get stuff that has caps set (like ping) setuid'd instead?
alex`` has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #44278 → Gnome update → https://git.io/fNrfV
genesis has quit [Remote host closed the connection]
genesis has joined #nixos
fragamus has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #44277 → Minio update → https://git.io/fNreA
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fNrfK
hakujin3 has quit [Ping timeout: 265 seconds]
alex`` has quit [Ping timeout: 248 seconds]
tertle||eltret has joined #nixos
wpcarro has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bachp opened pull request #44279 → glusterfs: 3.12.4 -> 3.12.12 → https://git.io/fNrJT
wpcarro has joined #nixos
drakonis has joined #nixos
sheyll has joined #nixos
<tertle||eltret> is there a GNS3 all in one package for nix?
wpcarro has quit [Ping timeout: 248 seconds]
Denommus has quit [Remote host closed the connection]
init_6 has joined #nixos
Fare has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #44133 → yarn: add yarnpkg bin alias output → https://git.io/fNEpH
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fNrJp
<{^_^}> [nixpkgs] @leenaars opened pull request #44280 → inriafonts: init at 1.200 → https://git.io/fNrJj
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @bignaux opened pull request #44281 → cadence: init at 0.9.0 → https://git.io/fNrUT
wpcarro has joined #nixos
blankhart has joined #nixos
Neo-- has joined #nixos
tim[m] has joined #nixos
erratic has quit [Ping timeout: 256 seconds]
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
<iqubic> How hard is it to create a QEMU VM on NixOS?
<{^_^}> [nixpkgs] @Mic92 merged pull request #44243 → mpv: add lcms2 support → https://git.io/fNa1B
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fNrUH
sigmundv has joined #nixos
Fare has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #44220 → ocamlPackages.{uunf,uucp,uuseg}: 10.0 -> 11.0.0 → https://git.io/fN22X
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fNrUb
joehh has quit [Ping timeout: 240 seconds]
<iqubic> how does one create a QEMU on NixOS.
betaboon has joined #nixos
<genesis> there are plain documentation and manual iqubic .
cryptomonoid has joined #nixos
init_6 has quit []
<drakonis> how hard is it to create a vm under regular circumstances?
<tertle||eltret> 2 ez
<tertle||eltret> :p
<tertle||eltret> oh qemu
<tertle||eltret> idk
<tertle||eltret> vmware is ez and vbox
pie_ has quit [Ping timeout: 264 seconds]
pie_ has joined #nixos
joepie91_to_go has joined #nixos
testuser has joined #nixos
joepie91_to_go has quit [Client Quit]
wpcarro has quit [Remote host closed the connection]
<testuser> hi, I would like to build a python module manually (since it's not in the nixpkgs) with the following nix file: http://dpaste.com/27X6JDV , however running "nix-shell ./default.nix" gives me "error: attribute 'buildPythonPackage' missing" error, any ideas?
<ris> testuser: i think buildPythonPackage doesn't live at the toplevel
<ris> you might have to make it pythonPackages.buildPythonPackage
ericsagnes has quit [Ping timeout: 245 seconds]
<ris> also, if you're going to import nixpkgs like that, none of your package references need to be prefixed with "pkgs."
<testuser> ris, what is the best way to query the nixpkgs to see which names are at the top-level and which sublevels exist?
<ris> um
<ris> hm
<ris> not something i tend to have to do much
<ris> i read the nixpkgs source tbh :)
<ris> and sometimes look at https://nixos.org/nixos/packages.html which gives a good clue
jperras has quit [Ping timeout: 240 seconds]
<testuser> ris, if I enter buildPythonPackage it gives me nothing
wpcarro has joined #nixos
layus has quit [Ping timeout: 256 seconds]
symphorien has quit [Ping timeout: 256 seconds]
symphorien has joined #nixos
ris has quit [Ping timeout: 265 seconds]