gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || 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
Sonarpulse has quit [Ping timeout: 252 seconds]
woodson has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #41006 → openbox: fix wrapping of openbox-xdg-autostart → https://git.io/vhkkC
jtojnar has quit [Read error: Connection reset by peer]
mounty has quit [Ping timeout: 260 seconds]
mounty has joined #nixos
c0ffee152 has joined #nixos
jtojnar has joined #nixos
worldofpeace has joined #nixos
woodson has joined #nixos
adamt has quit [Ping timeout: 245 seconds]
pjan has quit [Remote host closed the connection]
thc202 has quit [Read error: Connection reset by peer]
jtojnar has quit [Read error: Connection reset by peer]
codelurker has joined #nixos
jtojnar has joined #nixos
worldofpeace has quit [Ping timeout: 245 seconds]
nur0n0 has joined #nixos
sigmundv_ has joined #nixos
sigmundv__ has quit [Ping timeout: 245 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
steell has joined #nixos
johnw has quit [Ping timeout: 245 seconds]
ericsagnes has joined #nixos
tzemanovic has quit [Ping timeout: 256 seconds]
sary has quit [Remote host closed the connection]
johnw has joined #nixos
asuryawanshi has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
silver has quit [Read error: Connection reset by peer]
olto has joined #nixos
oltoAltn has quit [Ping timeout: 245 seconds]
tzemanovic has joined #nixos
jperras has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
PCChris has quit [Quit: Leaving]
PCChris has joined #nixos
mbrgm has joined #nixos
<samueldr> adelbertc: just a heads up, I updated the PR regarding the docker issue, if you want to test, my previous fix did remove the error, but did not work properly, https://github.com/NixOS/nixpkgs/pull/40947 for details
PCChris has quit [Client Quit]
<gchristensen> the problem with kitty is you can't really google about it
<gchristensen> or ddg)
<samueldr> gchristensen: there's another (older) kitty terminal even
<gchristensen> :|
<samueldr> (for windows, fork of putty)
sigmundv_ has quit [Ping timeout: 256 seconds]
<samueldr> anyone I should CC to get this reviewed (and hopefully merged)? https://github.com/NixOS/nixpkgs/pull/40462
<gchristensen> whoa, kitty has an emoji selector
asuryawanshi has quit [Remote host closed the connection]
<gchristensen> samueldr: I mean
asuryawanshi has joined #nixos
<gchristensen> samueldr: any reason I shouldn't just merge it?
<samueldr> install-grub.pl has been changed
nuncanada has quit [Quit: Leaving]
<samueldr> and, uh, just now thinking about it, this may not be right I need to re-test one detail
iqubic` is now known as iqubic
<samueldr> well, it's right, if install-grub.pl is re-ran when rebuild changes the image, which I'm not eeven sure it does, does it?
<gchristensen> don't know
<samueldr> ah, right, it's only for the efibootmgr bit, I'm just confused
<samueldr> sorry, I'm now more confusing to read than I am confused; do as if I said nothing :)
asuryawanshi has quit [Ping timeout: 268 seconds]
<samueldr> though yeah, install-grub.pl has changed, the change seems benign, but it's my first time perl-ing, dunno if what I wrote is elegant
ikitat has joined #nixos
TonyTheLion has quit [Ping timeout: 252 seconds]
markus1189 has joined #nixos
<fresheyeball> how would you add a test script to a haskell project?
TonyTheLion has joined #nixos
<samueldr> thanks for the review gchristensen
markus1199 has quit [Ping timeout: 240 seconds]
<ikitat> $ cabal configure
<ikitat> error: syntax error, unexpected ',', expecting ')', at /nix/store/n57a8haq6c2d9vybr1jd1dfdh115hflm-interactive-expense-1.0.0-environment.drv:1:15
<gchristensen> samueldr: ok I'm inclined to merge it
<gchristensen> should I not?
<samueldr> I don't see any issues
<samueldr> (especially since I re-validated it works as expected, even with invalid files)
freeman42]NixOS has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #40462 → Fixes grub splashImage documentation + implementation → https://git.io/vp96m
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/vhkqs
<{^_^}> → 8f3a541a by @samueldr: nixos/grub: Updates `splashImage` description to match reality.
<{^_^}> → 0ccfe14e by @samueldr: nixos/grub: Implements use of file format for splashImage.
<{^_^}> → 290505bf by @grahamc: Merge pull request #40462 from samueldr/fix/grub-background
<ikitat> Can anyone help with the above error?
<ikitat> I feel like this happened due to switching ~/.nix-defexpr from a local copy of nixpkgs back to using channels.
<fresheyeball> ikitat: looks like cabal says there is a syntax error
<ikitat> Why would cabal read a .drv file?
<fresheyeball> ikitat: you very much have a point
TonyTheLion has quit [Ping timeout: 245 seconds]
<ikitat> cabal is configured to use nix-shell, nix-build works... I've seen this error before, but it's quite a dead-end giving no real clue to debug the problem
<ldlework> Does anyone have any reliable information about how to write a configuration that forces proprietary NVidia support in the case there is side-by-side intel & nvidia?
<iqubic> Home-Manager seems like just another way to manage packages? What is the appeal of it?
<ldlework> I want to only ever use nvidia for things, and I want to completely disable nouveu or whatever and use the propretary thing
<ldlework> iqubic: it can manage files in your home directory
<ldlework> which nix cannot
<iqubic> Interesting.
<{^_^}> [nixpkgs] @globin pushed to staging « ghc: disable format hardening »: https://git.io/vhkqu
<ldlework> iqubic: with home-manager you basically describe a huge nix package that contains all the files that should be in your home-directory, nix can do that much, then home-manager symlinks those files from your latest package build into your home directory
<iqubic> Do you use home-manager?
TonyTheLion has joined #nixos
<ldlework> iqubic: yeah I did on OSX. I just got a new laptop I'm in the thick of setting it up right now
<iqubic> Nice. Do you use home-manager to manage packages?
<ldlework> I did on OSX, but I'm not sure where the proper division is when actually using NixOS
<ldlework> I'm thinking that I might use configuration.nix to reflect the physical host's properties, and then rely on home-manager for everything else.
<ldlework> Not sure though.
<iqubic> Home-Manager seems like it has much of the same functionality as system.enviromentPackages. Not sure what the right way to divide this is.
<ldlework> iqubic, consider that with home-manager different users could have different packages available
<ldlework> mostly I will probably install software with home-manager, because for the software that has related dotfiles, I want to keep the provisioning of the configuration and the package installation together.
tmobile has joined #nixos
steell has quit [Ping timeout: 245 seconds]
srl295 has quit [Quit: Connection closed for inactivity]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
<tmobile> Hey all. Anyone had any luck populating an HTTP binary cache with the new 'nix copy' command?
<tmobile> Trying to move over to it and I think I'm going nuts.
Supersonic112 is now known as Supersonic
<iqubic> ldlework: Yeah, I feel you. But my .emacs is a long file.
klntsky_ has quit [Remote host closed the connection]
<tmobile> It's kinda spooky. There are a few paths in my cache where, if I run 'nix verify -n1 <this-bad-path> --store https://<my-private-cache>', all of my hosts report the path as "verified" _except_ this one Ubuntu machine.
<tmobile> They're all running the same nix, /nix/store/vdvla43ppjf6gfsi8nx1zmac7rwq72yd-nix-2.0.2/bin/nix.
<tmobile> All the hosts's /etc/nix/nix.conf have the same trusted-public-keys.
<ldlework> iqubic: what's that have to do with anything?
<ldlework> I have a sizable emacs configuration myself
<iqubic> How do you make home-manager manage that?
<{^_^}> [nixpkgs] @dezgeg merged pull request #40817 → Unify some shell init logic with Nix's nix-profile.sh.in → https://git.io/vphM0
<{^_^}> [nixpkgs] @dezgeg pushed 3 commits to master: https://git.io/vhkmT
<{^_^}> → 7adae10a by @dezgeg: nixos/programs/shell.nix: Quote variables
<{^_^}> → 3cfb492c by @dezgeg: nixos/programs/shell.nix: Use [ ] instead of test
<{^_^}> → 6f1f11af by @dezgeg: nixos/programs/shell.nix: Enhance bad ownership error message
Arcaelyx has joined #nixos
klntsky_ has joined #nixos
acarrico has joined #nixos
fragamus has joined #nixos
asuryawanshi has joined #nixos
drakonis has joined #nixos
<ldlework> How do I add a file to /etc/udev/rules.d/ ?
oida has quit [Remote host closed the connection]
oida has joined #nixos
<samueldr> ldlework: you can use services.udev.extraRules instead
<ldlework> Alternatively, how do I use my yubikey with NixOS?
<ldlework> samueldr: that seems to be hardcoded to a single 10-local.rules file?
<samueldr> yeah
lassulus_ has joined #nixos
<samueldr> that means that lexicographically higher files would override rules if rules happen to clash
<ldlework> I can use my yubikey in places where it expects those long string of characters
<ldlework> but not in say github
<ldlework> where it just magically somehow detects your yubikey
<ldlework> it goes "Something went wrong!" on their website
<samueldr> though, alternatively create a package with the right udev files and add to services.udev.packages
<samueldr> I don't have such hardware so I can't help
<samueldr> I only know about extraRules because I used it in the past for https://gitlab.com/samueldr/nixos-configuration/blob/master/modules/steam.nix#L12
johnw has quit [Ping timeout: 260 seconds]
<samueldr> oh, I'm lying, I used it for other stuff :)
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
steell has joined #nixos
johnw has joined #nixos
acowley has quit [Ping timeout: 264 seconds]
acowley has joined #nixos
<ldlework> samueldr: looks like the issue is this, https://github.com/NixOS/nixpkgs/issues/34747
<ldlework> since the workaround worked
<ldlework> hopefully the configuration change does too
<ldlework> Is there a way to install a package from github in your configuration.nix ?
<fresheyeball> seriously, I am finding nothing
<ldlework> like how you can do nix-env -i -f some-tar-ball
<fresheyeball> anyone know how to add to the test phase of a haskell package?
sbdchd has joined #nixos
<fresheyeball> I am using `pkgs.haskellPackages.callCabal2nix`
TonyTheLion has quit [Ping timeout: 252 seconds]
<tmobile> Ok, I'm convinced there's actually something wrong with the disk in this machine...
<fresheyeball> is it even possible to append to the test phase of a derivation?
TonyTheLion has joined #nixos
<tmobile> fresheyeball I think you can use the postTest attribute with the haskell-flavored callPackage.
<tmobile> Ah sorry, it's postCheck.
<rotaerk> hurr, I never actually ran nix-collect-garbage before...
<rotaerk> I just did for the first time; freed up 63.5GB
<{^_^}> [nixpkgs] @globin pushed 11 commits to master: https://git.io/vhkOe
<{^_^}> → e91d3c91 by @WilliButz: nixos/oxidized: add module
<{^_^}> → dc433b47 by @WilliButz: oxidized: init at 0.21.0
<{^_^}> → 40048400 by @WilliButz: oxidized: temperature patch for x-series
tzemanovic has quit [Remote host closed the connection]
lukec has quit [Ping timeout: 245 seconds]
griff_ has quit [Quit: griff_]
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
c0ffee152 has quit [Ping timeout: 245 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c0ffee152 has joined #nixos
lukec has joined #nixos
<ldlework> Hello, I just installed lastpass-cli and I've run into https://github.com/NixOS/nixpkgs/pull/7396 which was closed 3 years ago
<{^_^}> [nixpkgs] @matthewbauer pushed to master « 9pfs: add version »: https://git.io/vhk3l
<ldlework> It looks like the issue was resolved in the latest version of lastpass-cli https://github.com/lastpass/lastpass-cli/issues/409
tmobile has quit [Quit: leaving]
<ldlework> Can someome help me get that version installed on NixOS?
<{^_^}> [nixpkgs] @matthewbauer pushed to master « zookeeper_mt: add version »: https://git.io/vhk3E
<ldlework> Do I need to change my channel to unstable or something?
blankhart has joined #nixos
sbdchd has quit [Remote host closed the connection]
codelurker has quit [Quit: Leaving]
tzemanovic has joined #nixos
<ldlework> cool that worked
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<jasongrossman> \o/
olto has quit [Read error: Connection reset by peer]
steell has quit [Ping timeout: 252 seconds]
<jasongrossman> ldlework: One of the biggest advantages of Nix IMO. Not only is it really easy to change to unstable, also, unlike any other package manager I can think of (except Guix, I guess), it's really easy to change back again.
olto has joined #nixos
<jasongrossman> I often change to unstable for some single piece of work and then pop back and forth.
asuryawanshi has quit [Ping timeout: 245 seconds]
<ldlework> jasongrossman: do you know how to make it so that inside of configuration.nix you can use some packages from unstable?
sbdchd has joined #nixos
<ldlework> I have added the https://nixos.org/channels/nixos-unstable channel as nixos-unstable
<ldlework> then I did let unstable = impor t<nixos-unstable> {};
<ldlework> but it doesn't work
<jasongrossman> ldlework: I've never done that myself but there is something about it on the web somewhere ...
<ldlework> i don't want to have to modify the environment variable
<clever> ldlework: which user did you add that channel to?
<ldlework> root
<ldlework> I'm also running nixos-rebuild as root
<clever> and you did nix-channel --update?
<ldlework> no
<clever> --add wont do anything until you --update
<ldlework> I like jasongrossman's answer though.
johnw has quit [Quit: ZNC - http://znc.in]
johnw has joined #nixos
johnw has joined #nixos
<{^_^}> [nixpkgs] @ThomasMader opened pull request #41008 → dmd,dtools,dub: 2.079.0 -> 2.079.1 → https://git.io/vhkss
<jasongrossman> ldlework: One thing to add is that if you use that method then the tarball is cached for some amount of time (I believe - haven't tested this).
jperras has quit [Ping timeout: 252 seconds]
olto has quit [Quit: ZNC - https://znc.in]
olto has joined #nixos
ikitat has quit [Ping timeout: 252 seconds]
sbdchd has quit [Remote host closed the connection]
Lisanna has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
Ross has quit [Ping timeout: 245 seconds]
c0ffee152 has quit [Quit: Lost terminal]
Ross has joined #nixos
rauno has quit [Ping timeout: 252 seconds]
Sonarpulse has joined #nixos
asuryawanshi has joined #nixos
ryantm has joined #nixos
reinzelmann has joined #nixos
johnw has quit [Ping timeout: 240 seconds]
MP2E has joined #nixos
palo has quit [Quit: leaving]
reinzelmann has quit [Quit: Leaving]
<elvishjerricco> Why would `nix copy --all --from file:///foo` throw `error: path '/nix/store/4dq4g85hhf6rc1risqf9ljxmbx4yhp9z-mirrors-list.drv' is not valid`?
fragamus has joined #nixos
<elvishjerricco> `nix copy --all --from --no-check-sigs file:///foo`, that is
Rusty1_ has quit [Quit: Konversation terminated!]
spear2 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #41009 → Name normalization → https://git.io/vhkZr
<iqubic> How does one decide what to manage with configuration.nix vs home-manager?
endformationage has quit [Quit: WeeChat 1.9.1]
jperras has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
jasongrossman has quit [Ping timeout: 264 seconds]
qewzee has quit [Ping timeout: 256 seconds]
robstr has joined #nixos
<iqubic> Is NixOS considered a rolling release distro?
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<elvishjerricco> iqubic: What exactly do you mean by "rolling release distro"?
<elvishjerricco> I usually only use home-manager for things I simply can't use configuration.nix for
<iqubic> What sort of things would those be?
<elvishjerricco> Mainly the placement of files in the home directory. I guess it's technically possible to do this with configuration.nix, but it's certainly not as nice
rauno has joined #nixos
<iqubic> Is your home-manager config available online?
<elvishjerricco> iqubic: No, sorry
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> That's fine.
ldlework has quit [Quit: Page closed]
uralbash has joined #nixos
ldlework has joined #nixos
<ldlework> Woo I'm in NixOS!
jperras has joined #nixos
semilattice has joined #nixos
<iqubic> Nice.
<uralbash> Hello all, Who knows what option is required to change the keyboard layout shortcut?
<palo> uralbash: I think that depends on your windowManager/desktopManager
<elvishjerricco> uralbash: Not sure. Maybe search `man configuration.nix` for it?
<uralbash> ah I found it xkbOptions = "grp:caps_toggle";
jperras has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 40 commits to release-18.03: https://git.io/vhkc9
<{^_^}> → b1068951 by @sjau: sqlite: Raising max variable number and max expr depth values
<{^_^}> → f0ee54f7 by @volth: sqlite: 3.21.0 -> 3.22.0
<{^_^}> → df178dee by @oxij: firefoxPackages: add a patch to fix pulseaudio initialization bug
rummik has quit [Quit: WeeChat 2.0.1]
rummik has joined #nixos
Kim has quit [Quit: WeeChat 2.1]
rummik has quit [Client Quit]
Kim has joined #nixos
cheshircat has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #41010 → nixos mysql: make start-up more robust → https://git.io/vhkCm
cheshircat has joined #nixos
ldlework has quit [Quit: WeeChat 2.0]
hyper_ch2 has joined #nixos
blankhart has quit [Ping timeout: 264 seconds]
jasongrossman has joined #nixos
jperras has joined #nixos
myshoe has joined #nixos
Khetzal has joined #nixos
griff_ has joined #nixos
griff_ has quit [Client Quit]
jperras has quit [Ping timeout: 264 seconds]
palo_ has joined #nixos
palo_ has quit [Changing host]
palo_ has joined #nixos
palo has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #41005 → zziplib: gdraheim/zziplib#27 is not an issue anymore → https://git.io/vhkU0
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/vhkWm
<{^_^}> → 16728fa4 by @flokli: zziplib: gdraheim/zziplib#27 is not an issue anymore
<{^_^}> → 40e76194 by @andir: Merge pull request #41005 from flokli/master-zziplib-0.13.69
<{^_^}> [nixpkgs] @andir merged pull request #41004 → zziplib: 0.13.68 -> 0.13.69 → https://git.io/vhkUO
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-18.03: https://git.io/vhkWY
<{^_^}> → e6d143c7 by R. RyanTM: zziplib: 0.13.68 -> 0.13.69
<{^_^}> → 87e30d3e by @andir: Merge pull request #41004 from flokli/18.03-zziplib-0.13.69
Ariakenom has joined #nixos
maingo has quit [Quit: Connection closed for inactivity]
palo_ is now known as palo
MichaelRaskin has quit [Quit: MichaelRaskin]
ixxie has joined #nixos
<ixxie> morning
<iqubic> morning ixxie.
<{^_^}> [nixpkgs] @dywedir opened pull request #41011 → yarn: 1.6.0 -> 1.7.0 → https://git.io/vhklU
dispanser has joined #nixos
UNIcodeX_ has joined #nixos
UNIcodeX__ has quit [Ping timeout: 245 seconds]
asuryawanshi has quit [Ping timeout: 260 seconds]
xy2_ has joined #nixos
hamishmack has joined #nixos
vaninwagen has joined #nixos
tzemanovic has quit []
xy2_ has quit [Ping timeout: 252 seconds]
selaux has joined #nixos
periklis has joined #nixos
aarvar has quit [Ping timeout: 260 seconds]
__Sander__ has joined #nixos
jasongrossman has quit [Ping timeout: 252 seconds]
tzemanovic has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @lsix pushed to release-18.03 « pythonPackages.django: 1.11.12 -> 1.11.13 »: https://git.io/vhk4z
muzzy has joined #nixos
Joeyo133 has joined #nixos
TonyTheLion has quit [Ping timeout: 245 seconds]
jD91mZM2 has joined #nixos
coot has joined #nixos
xy2_ has joined #nixos
muzzy has quit [Ping timeout: 248 seconds]
TonyTheLion has joined #nixos
coot has quit [Client Quit]
coot has joined #nixos
jasongrossman has joined #nixos
xAFFE has joined #nixos
xy2_ has quit [Ping timeout: 264 seconds]
reinzelmann has joined #nixos
jasongro` has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #41011 → yarn: 1.6.0 -> 1.7.0 → https://git.io/vhklU
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhk0U
<{^_^}> → 06e750cc by @dywedir: yarn: 1.6.0 -> 1.7.0
<{^_^}> → 1c39035c by @yegortimoshenko: Merge pull request #41011 from dywedir/yarn
jasongrossman has quit [Ping timeout: 240 seconds]
reinzelmann has quit [Quit: Leaving]
xAFFE has left #nixos ["Error from remote client"]
jasongro` has quit [Client Quit]
jasongrossman has joined #nixos
reinzelmann has joined #nixos
ThatDocsLady has joined #nixos
jperras has joined #nixos
thc202 has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
muzzy has joined #nixos
blankhart has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
smallville7123 has joined #nixos
tzemanovic has quit [Remote host closed the connection]
alex`` has joined #nixos
jasongrossman has quit [Remote host closed the connection]
knupfer has joined #nixos
lonokhov has joined #nixos
semilattice has quit [Remote host closed the connection]
<steveeJ> I can't figure out if the cli tool gdbus is packages somewhere. any hints?
<sphalerite> steveeJ: glib.dev
Joeyo133 has quit [Ping timeout: 260 seconds]
<steveeJ> sphalerite: how did you find this?
johnw has joined #nixos
<sphalerite> nix-locate gdbus
<sphalerite> (nix-locate is in nix-index)
<steveeJ> aha, thanks a lot!
<{^_^}> [nixpkgs] @dotlambda opened pull request #41013 → nixos/borgbackup: make extraArgs a shell variable → https://git.io/vhkav
sydney has joined #nixos
<sydney> Hiho, quick question: At the beginning of package files (for example, thunar.nix in the nixpkgs repository), there is this line containing { option1, option2, option3 ? default }. How do I set, say, option3 to true? Specifically, I want to enable tumbler for thunar.
johnw has quit [Ping timeout: 260 seconds]
<etu> sydney: Maybe this example can help you: https://nixos.org/nixos/manual/#sec-customising-packages
ThatDocsLady has quit [Remote host closed the connection]
<etu> sydney: The first one with emacs in systemPackages
ThatDocsLady has joined #nixos
periklis has quit [Ping timeout: 240 seconds]
jasongrossman has joined #nixos
spyke has joined #nixos
<spyke> Hello, what is the difference betweem `builtins.fetchurl` and `pkgs.fetchurl`?
<sydney> etu: Hmm, so I just plugged in [ pkgs.xfce.tumbler ] for the option thunarPlugins right there. Rebuilt the configuration and nothing changed so far.
<spyke> Hello, what is the difference between `builtins.fetchurl` and `pkgs.fetchurl`?
athan has quit [Ping timeout: 240 seconds]
Guanin has joined #nixos
<etu> sydney: Since you're on xfce (i guess), there's probably some place else that depends on thunar (possibly without plugins). You may want to do an overlay where you define your own thunar package with that plugin. Then it will happen in all the places.
<jasongrossman> spyke: I believe they take different arguments, don't they?
athan has joined #nixos
<jasongrossman> spyke: From memory, I think one requires a checksum and the other one has an optional checksum.
<sydney> etu: I actually only use thunar as a standalone with i3.
<etu> sydney: I see, then you shouldn't need an overlay.
amir has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @nlewo opened pull request #41014 → skopeo: 0.1.29 -> 0.1.30 → https://git.io/vhkV1
muzzy has quit [Read error: Connection reset by peer]
<sydney> etu: I'm not sure that tumbler isn't working at all, though. I see the thumbnails for a few (seemingly randomly selected) pictures...
amir has joined #nixos
lanelet has quit [Quit: lanelet]
ThatDocsLady has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/vhkwZ
<{^_^}> → 1bf798b8 by @seppeljordan: nixos/ipfs: Add option to disable local port scanning for ipfs daemon
<{^_^}> → 2009c76a by @seppeljordan: nixos/ipfs: Improve behavior of localDiscovery option
<{^_^}> → e27a4502 by @srhb: Merge pull request #40879 from seppeljordan/pr-ipfs-port-scanning
<{^_^}> [nixpkgs] @srhb merged pull request #40879 → nixos/ipfs: Add option to disable local port scanning for ipfs daemon → https://git.io/vpj5u
dispanser has quit [Ping timeout: 260 seconds]
ThatDocsLady has joined #nixos
<spyke> jasongrossman: Thank you
dispanser has joined #nixos
<{^_^}> [nixpkgs] @tazjin opened pull request #41015 → Add missing gohai derivation and fix dd-agent service unit → https://git.io/vhkrr
adamt has joined #nixos
tzemanovic has joined #nixos
adamt is now known as Guest55737
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/33682d9af4c (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
atondwal has quit [Quit: atondwal]
x1n4u has quit [Ping timeout: 240 seconds]
<jasongrossman> spyke: In case you're wondering why they're different: I'm not absolutely sure, but I think the maintainers were unsure at some point about whether to make checksums compulsory in the Nix core.
atondwal has joined #nixos
medvid has quit [Ping timeout: 245 seconds]
Biappi has quit [Ping timeout: 245 seconds]
<jasongrossman> So they'll probably make both functions the same at some point in the future, or else deprecate one or the other.
jonge has quit [Ping timeout: 264 seconds]
liori has quit [Ping timeout: 240 seconds]
globin has quit [Ping timeout: 245 seconds]
fpletz has quit [Ping timeout: 240 seconds]
exi has quit [Ping timeout: 240 seconds]
azazel has quit [Ping timeout: 276 seconds]
yorick has quit [Ping timeout: 265 seconds]
hiberno has quit [Ping timeout: 256 seconds]
SOO7 has quit [Ping timeout: 264 seconds]
ok2`` has quit [Ping timeout: 240 seconds]
sphalerite has quit [Ping timeout: 240 seconds]
migy has quit [Ping timeout: 256 seconds]
phry has quit [Ping timeout: 256 seconds]
bara has quit [Ping timeout: 240 seconds]
dejanr has quit [Ping timeout: 276 seconds]
jeschli has quit [Ping timeout: 276 seconds]
oida has quit [Ping timeout: 250 seconds]
tilpner has quit [Ping timeout: 260 seconds]
Baughn has quit [Ping timeout: 276 seconds]
johbo has quit [Ping timeout: 276 seconds]
kosmikus has quit [Ping timeout: 276 seconds]
uwap has quit [Ping timeout: 276 seconds]
dispanser has quit [Remote host closed the connection]
sydney has quit [Quit: Leaving]
Guest55737 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixos-homepage] @edolstra merged pull request #201 → Include haskellPackages and rPackages in the generated package index. → https://git.io/vxKBw
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/vhkok
<{^_^}> → 4c5bcc13 by @peti: Include haskellPackages and rPackages in the generated package index.
<{^_^}> → 62b57b6e by @edolstra: Merge pull request #201 from peti/master
muzzy has joined #nixos
ldlework has joined #nixos
<ldlework> How can I make it so the login screen is just the tty-like text console login?
<ldlework> I mean I want to login to my normal desktop environment but I wanna be leet and have the login be the terminal business
Guest55737 has joined #nixos
grumble has quit [Ping timeout: 608 seconds]
Swant has quit [Ping timeout: 633 seconds]
<jasongrossman> I'm not sure exactly what you mean ...
hyper_ch2 has quit [*.net *.split]
rshiny has quit [*.net *.split]
<ldlework> like you know when you switch to a random tty
<ldlework> and it is just text, and you login and you're in a tty session?
<jasongrossman> There's the login MANAGER, which runs before the desktop environment and the window manager. Is that the thing you want tobe a tty?
<ldlework> how do I get a text only login manager?
<ldlework> yeah, exactly
<jasongrossman> Cool idea but I have no idea - sorry.
<ldlework> you got me
<ldlework> oh hah ok
uwap has joined #nixos
<jasongrossman> All the ones that already have Nix packages are graphical.
oida has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/87e30d3ed76 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jeschli has joined #nixos
exi has joined #nixos
Baughn has joined #nixos
<jasongrossman> Actually I'm pretty sure you can configure grub to do what you want. And grub can run as the login manager. I don't know how though - could look up web pages on grub.
<ldlework> I picked slim I think, and it is kind of ugly
<jasongrossman> Yeah.
atondwal has quit [Quit: atondwal]
dejanr has joined #nixos
atondwal has joined #nixos
<jasongrossman> IMO lightdm is nice, and so is gdm.
johbo has joined #nixos
<jasongrossman> Lightdm defaults to a Nix theme. :-)
kosmikus has joined #nixos
<jD91mZM2> Just disable all login managers? It'll fallback to a normal TTY
dispanser has joined #nixos
yorick has joined #nixos
<jasongrossman> Oh cool!
tilpner has joined #nixos
<jasongrossman> No but wait.
<jasongrossman> No but don't wait.
Swant has joined #nixos
<jasongrossman> Of course that's perfect. And in fact I sometimes do that myself so I don't know why I didn't think of it!
SOO7 has joined #nixos
fpletz has joined #nixos
* jasongrossman facepalms
muzzy has quit [Read error: Connection reset by peer]
<jD91mZM2> The best solution to a problem is usually the easiest one :-)
<ldlework> Hmm, are we sure that will actually work?
<jasongrossman> Yes!
<ldlework> lol
<jasongrossman> Yes I am sure. Often do it.
jtojnar has quit [Quit: jtojnar]
x1n4u has joined #nixos
<ldlework> So do I just not specify a displayManager or do I have to turn some default off?
<jasongrossman> And some of the NixOS installers have been set up that way too.
<Lears> You'll be able to log in, but I'm not so sure you'll get an X session when you do ..
<jD91mZM2> Oh wait ldlework you still want a graphical interface for once you're logged in?
<jD91mZM2> Ok so use startx from xinit.
<jD91mZM2> Forgive me for linking the Arch wiki, but: https://wiki.archlinux.org/index.php/Xinit
<ldlework> I don't know what that means
<ldlework> ok
<jasongrossman> Or use sudo systemctl start display-manager
<krav_> beware when using startx that your original tty remains active and logged in, even with a screen locker an attacker can switch to it
<jasongrossman> But the Arch wiki is WONDERFUL!
<jD91mZM2> krav_: Doesn't startx open on the same TTY by default? Or is that only because I followed Arch's guide back when I used xinit?
<jasongrossman> I don't remember how I turn the display manager off (sorry), but when I do I start the display manager manually with systemctl and it's all fine.
<etu> jD91mZM2: nah
<jasongrossman> Sorry - I start the WINDOW manager with systemctl.
<jasongrossman> I am all apologies today.
<etu> jD91mZM2: maybe recently. not in the past.
<krav_> jD91mZM2: maybe with the framebuffer driver, try ctrl-alt-f1 for instance to get out of x
logzet has joined #nixos
<ldlework> I don't want to type in a command each time, and the idea seems contentious now lol so maybe more trouble than it is worth.
<goibhniu> jD91mZM2: that's not quite so easy on NixOS AFAIK
Izorkin has quit [Read error: Connection reset by peer]
<ldlework> But it /would/ be cool.
hyper_ch2 has joined #nixos
<jasongrossman> It's not hard but it does mean typing a command each time or setting up an alias. Of course it does! You wanted a tty.
<jD91mZM2> ldlework: You can add it to your shell's startup script :)
<ldlework> I haven't taught xterm how to let me click URLs yet
<jD91mZM2> goibhniu: Why not?
<goibhniu> systemd IIUC
Izorkin has joined #nixos
<jasongrossman> goibhniu: That's a good page for people who want to run X as unprivileged users. For what ldlework wants, it's less complicated.
<jD91mZM2> etu: Ok so apparently that was my ~/.xserverrc that did that. Cool!
<goibhniu> I'll be happy if you get it to work
<jD91mZM2> jasongrossman: Except startx is unprivileged, no?
<jasongrossman> I use systemctl, not startx.
<jD91mZM2> how?
<{^_^}> [nixpkgs] @Mic92 merged pull request #41015 → Add missing gohai derivation and fix dd-agent service unit → https://git.io/vhkrr
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/vhkKD
<{^_^}> → ab500439 by @tazjin: gohai: init at 2018-05-23
<jasongrossman> sudo systemctl start display-manager
<{^_^}> → f4c87183 by @tazjin: nixos/dd-agent: fix runtime errors by adding gohai to $PATH
<{^_^}> → d45e3e36 by @Mic92: Merge pull request #41015 from tazjin/feat/datadog-gohai
<jD91mZM2> but that starts the display manager
<jD91mZM2> He didn't want a login screen
<jasongrossman> Actually no! It starts the window manager!
<jD91mZM2> what
<jasongrossman> Because life is unreasonable.
<jD91mZM2> Uhhh did you disable password
<jasongrossman> I'm pretty sure about this, from memory. Haven't got time to test it right away. Got to dash.
<jD91mZM2> Ah, okay. See you!
<jasongrossman> From memory, I log in as root, then do that.
<jasongrossman> In which case I don't need sudo, obviously.
<jasongrossman> Later!
amir has quit [Ping timeout: 265 seconds]
humanoyd has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #41016 → slurm/module: fix default module parameters, update documenation → https://git.io/vhkKx
<etu> jasongrossman: And you don't have a loginmanager that does autologin?
<jD91mZM2> goibhniu: What would happen if you enable the xserver but don't enable a display manager?
asuryawa_ has joined #nixos
<goibhniu> no idea
amir has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
jensens has joined #nixos
jasongrossman has quit [Ping timeout: 252 seconds]
jtojnar has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a2ce9bb6107 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
grumble has joined #nixos
leat has joined #nixos
<jD91mZM2> Just tried it in build-vm and it just gave me a black screen.
ldlework has quit [Quit: WeeChat 2.0]
Wharncliffe has joined #nixos
sphalerite has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2178 → Fix docs on --check suffix → https://git.io/vhTFR
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vhki7
<{^_^}> → 579f3895 by @alexfmpe: Fix docs on --check suffix
<{^_^}> → e87242e0 by @edolstra: Merge pull request #2178 from alexfmpe/fix-docs-check-suffix
<sphalerite> noooooooo all my weechat state got lost in the hetzner outage
<jD91mZM2> ooo another weechat user
<jD91mZM2> I thought everybody but me used irssi
<sphalerite> a reluctant one
blankhart has quit [Ping timeout: 240 seconds]
<sphalerite> no, quite a lot of people use weechat
<jD91mZM2> Nice!
medvid has joined #nixos
<sphalerite> I think I might need to set something else up though. Weechat completely disregards the concept of separation of state and config
<jD91mZM2> By the way I now know what reluctant means. How did I find out so fast? You're right - duckduckgo doesn't have a captcha. Finally :D
<sphalerite> haha
<sphalerite> tilpner: how far did you get with your attempts at getting weechat to play along with declarative config?
<sphalerite> (that was you right?)
<tilpner> Yes, it was, and it's working, but I don't know if it's worth it
<jD91mZM2> By the way, what do you mean "state"? What else is saved apart from the config stuff?
ldlework has joined #nixos
<tilpner> sphalerite - What outage?
<jD91mZM2> Ok, maybe the logs, but anything else?
<ldlework> So I refactored my configuration.nix into a bunch of files and when I do sudo nixos-rebuild test, I crash out to a tty login.
<tilpner> sphalerite - Oh, and I have a duplicity module, because backups help too
<{^_^}> https://github.com/NixOS/nixpkgs/pull/8842 (by risicle, closed): update django minor versions (including security fixes) - 14.12 backport
<jD91mZM2> ldlework: Oh no, nixos-rebuild killed your X server?
<jD91mZM2> ldlework: Using unstable or stable?
<sphalerite> ldlework: are you on unstable?
<jD91mZM2> plsbeunstableplsbeunstableplsbeunstable
<ldlework> I am on stable
<jD91mZM2> crap
<sphalerite> ouch
<ldlework> I use one unstable package...
<tilpner> sphalerite - Oh, mine's in Falkenstein too. How did that cause loss of data though?
<jD91mZM2> You should probably report this
<ldlework> with that tarfile trick
<aminechikhaoui> oh there was a Hetzner outage :o
<sphalerite> tilpner: server got reset, weechat died
<sphalerite> ldlework: anything relevant in the journal?
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<jD91mZM2> I wonder if you could make a weechat module for home-manager
<sphalerite> tilpner: no very important data, but it's stuff that's frustrating to lose…
<tilpner> sphalerite - And the reset deleted/corrupted your profile?
<sphalerite> no, but it meant that the arrangement of my channels and stuff got lost. I suppose it's my fault for relying on RAM for stuff that I want to keep :p
<sphalerite> I guess what I need is some sort of autosave
<tilpner> Oh
<tilpner> I can give you what I have, but I don't think you'll be very happy with it
<sphalerite> I should switch to ii :D
sigmundv_ has joined #nixos
<jD91mZM2> Heh, yet another suckless program
sigmundv has quit [Disconnected by services]
sigmundv_ is now known as sigmundv
leat has quit [Ping timeout: 256 seconds]
<tilpner> sphalerite - tx0.co/weechat-config tx0.co/weechat-default
sigmundv_ has joined #nixos
<tilpner> For which you'll also need tx0.co/makeBubblewrap and tx0.co/bubbleWrapPresets
<jD91mZM2> By the way, how do you guys handle your own programs? I know I've been asking similar questions way too much in this channel, but I still feel like I'm doing it wrong. I have packages for my own programs but I want to use the absolutely latest versions so I can notice immediately when I break something. Currently I'm just having scripts in ~/bin/ that run `nix-shell -p <dependencies> "/path/to/binary $@"`, but
<hyper_ch2> poor weechat....
<jD91mZM2> that feels hacky
<sphalerite> I'll see what I can make of that, thanks tilpner
simukis has joined #nixos
ldlework has quit [Quit: WeeChat 2.0]
jperras has joined #nixos
<maurer> jD91mZM2: I uh, just install them via nix-env like anything else?
<maurer> Assuming that you have a default.nix for a project, you can just do nix-env -f path/to/proj -i
<maurer> and then it'll get added to your path and installed properly
<jD91mZM2> Oh so you have a default.nix for each thing, right
tzemanovic has quit [Remote host closed the connection]
<maurer> Yeah, in the source dir, right next to the makefile/cargo manifest/cabal file etc.
<maurer> They're usually pretty short
<tilpner> sphalerite - It was an experiment (see if I can get away with it), but you lose interactive configuration (fset), which makes it somewhat annoying to use
ldlework has joined #nixos
<jD91mZM2> maurer: I only have my default.nix in nixpkgs, and that one uses the latest release, not the latest git
<maurer> Uh, you misunderstand then probably
<ldlework> Is it possible that the problem is that my configuration.nix is a symlink now? That can't be it right?
<maurer> I have things like that in my projects
<tilpner> sphalerite - If your goal is not to have a weechat config in Nix, autosave and backups would probably be better for you. unison sync for profiles may also be an option, depending on how many devices you want to run weechat in parallel
<sphalerite> I use almost completely default weechat settings, I think the only things I've set up are servers to connect to and channels to autojoin
<maurer> Not the big default.nix from nixpkgs
<sphalerite> I only run weechat on one machine
<maurer> instead something that imports nixpkgs, and then evaluates to a package for the local project
<sphalerite> and ssh into it from others
<sphalerite> ldlework: no, that can't be it
<sphalerite> 95% certain
jperras has quit [Ping timeout: 245 seconds]
<jD91mZM2> maurer: Aha. If you do have a version in nixpkgs though, doesn't it feel redundant to have both?
<ldlework> this is my config after undoing the refactor, https://gist.github.com/dustinlacewell/033631ccb3926be4c76bc1302b0c523d
<maurer> ?
<maurer> default.nix is not a system definition, it is "If you are in this directory, this is the default file to load for most tools"
<ldlework> anything here that would be broken? I mean I'm running on a build very similar to this
<ldlework> Is there anyway to recover the configuration.nix that went into a specific generation?
<jD91mZM2> maurer: I mean if you have both a default.nix in each program's folder and then also one in nixpkgs because you publish stuff there, wouldn't it feel better if you could merge them into one somehow?
<ldlework> like the one I booted?
<maurer> jD91mZM2: The one in nixpkgs is pointed at my actual release repositories, the one in my dev environment is pointed at the current folder
<maurer> they do different things
grumblr has joined #nixos
<ldlework> pls
<maurer> (I'll also note that the thing you're doing with nix-shell -p deps path/to/bin will _break_ when you update nixpkgs and gc
<{^_^}> [nixpkgs] @peterhoeg opened pull request #41017 → [WIP] nixos: make several modules not run as root → https://git.io/vhkX7
<nyanloutre[m]> Hello,
<jD91mZM2> maurer: But if you add a C dependency to the project you need to add it to buildInputs in both files, yeah?
<maurer> jD91mZM2: So, if I add a C dependency, I add it only in the deps for the dev project
<jD91mZM2> ldlework: I don't think you can unless you set system.copySystemConfiguration
<maurer> then, when I cut a new release, I copy the changes into nixpkgs and bump the release number
<nyanloutre[m]> Does anyone know how to use some modules from unstable while running 18.03 ?
<nyanloutre[m]> I know how to install some packages from unstable but I can't figure out for modules
<jD91mZM2> maurer: And that's my point, doesn't it feel redundant to copy things over?
<{^_^}> [nixpkgs] @ghuntley opened pull request #41018 → [k8] fix: connect the --bind-address arg to the cfg.apiserver.address option → https://git.io/vhk1t
<srhb> nyanloutre[m]: imports = [ (import (nixos-unstable-src + "/nixos/modules/...")) ] while blacklisting the same modules
<sphalerite> nyanloutre[m]: imports = [<nixos-unstable/nixos/modules/foo/bar/baz.nix>];
<nyanloutre[m]> thanks !
<maurer> jD91mZM2: No, not really.
<jD91mZM2> maurer: Oh ok
<nyanloutre[m]> I didn't know you could use path inside the braquets
<maurer> In any case, the nix-shell -p deps path/to/bin thing you were describing will break, so you should probably install that properly at some point
<srhb> That's what angle brackets are for in their entirety :)
<sphalerite> nyanloutre[m]: <> is for lookup on NIX_PATH
<srhb> If you don't avoid NIX_PATH with a vengeance...
<nyanloutre[m]> nice
<ldlework> jD91mZM2: sphalerite does anything look wrong with my config?
<ldlework> nixos-rebuild build works..
<jD91mZM2> ldlework: What specifically?
<ldlework> I don't know! When I do nixos-rebuild test, I crash to tty login
<sphalerite> anything relevant in the journal?
<ldlework> What is that?
<jD91mZM2> maybe you're missing `enable = true` in xserver?
<ldlework> I'll look.
<ldlework> lol that would be funny
<sphalerite> Also, out of curiosity, what's the sessreg stuff for?
<ldlework> oh man it doese look like I'm missing enable = true in xserver
<ldlework> lmao
<ldlework> sphalerite: no idea
<ldlework> copy pasta from the internets
<sphalerite> well, that would explain it I guess lol
<sphalerite> although I don't know why that wouldn't already have caused trouble for you
<sphalerite> did you remove it by accident?
grumble has quit [Ping timeout: 606 seconds]
grumblr is now known as grumble
<ldlework> nice that was it
<ldlework> yeah I refactoed my original config into a bunch of files using imports = [];
<sphalerite> aah right
<ldlework> so it must of got lost in the shuffle
<ldlework> thank you so much guys
<ldlework> or gals,w/e
<jD91mZM2> I idenify as a ceiling fan
<ldlework> some of my best friends are ceiling fans
<elvishjerricco> Just got bit by the install_name problem on Darwin: https://nixos.org/nixpkgs/manual/#sec-darwin
<elvishjerricco> Is there a reason nixpkgs doesn't just `install_name_tool -id "$f" $f` on all dylibs?
rauno has quit [Ping timeout: 252 seconds]
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
smallville7123 has quit [Excess Flood]
<jD91mZM2> maurer: I got an idea. What if I add a package overlay that changes src to point to my folder?
<sphalerite> jD91mZM2: a good idea :)
smallville7123 has joined #nixos
<maurer> jD91mZM2: If you like it, then whatever. I mentally classify release .nix files separately from the one that lives on master
<jD91mZM2> Ah, I see
smallville7123 has quit [Client Quit]
globin has joined #nixos
ldlework has quit [Ping timeout: 268 seconds]
ixxie has joined #nixos
smallville7123 has joined #nixos
smallville7123 has quit [Excess Flood]
ericsagnes has quit [Ping timeout: 245 seconds]
smallville7123 has joined #nixos
spyke has quit [Quit: Leaving]
Ariakenom has quit [Ping timeout: 252 seconds]
johnw has joined #nixos
johnw has quit [Ping timeout: 245 seconds]
<Plato[m]> I'm trying to use android studio to develop Android apps. The problem is, it downloads this android SDK, which contains binaries.
<Plato[m]> These binaries don't work, of course, because their linker is /lib/foo, not /nix/...
<Plato[m]> Am I to manually patchelf these, or is there a nixpkgs solution for that already?
vaninwagen has quit [Ping timeout: 245 seconds]
__monty__ has joined #nixos
<tilpner> That one has a few links about androidenv at the bottom
<Plato[m]> Ah.
<adisbladis[m]> Plato[m]: The android-studio package uses buildFHSUserEnv
<adisbladis[m]> It should work out of the box
<Plato[m]> Hmmm, but only if android studio runs the sdk binaries, right?
<Plato[m]> I'm running them on the command line sometimes.
<Plato[m]> And that fails.
<adisbladis[m]> Plato[m]: Ahh yes, only if you go through the android env.
azazel has joined #nixos
<sphalerite> Plato[m]: is installing androidEnv.platformTools and using that on the commandline an option?
<Plato[m]> Maybe. The thing is, I'm using react-native, so I'm not the one calling these tools even.
Guest55737 has quit [Changing host]
Guest55737 has joined #nixos
Guest55737 is now known as adamt
<adisbladis[m]> sphalerite: Platformtools is not very comprehensive
<adisbladis[m]> Only adb/fastboot iirc
<Plato[m]> Ah yeah, that, too.
<Plato[m]> Hmm. I might be able to package my own application with a FHSenv.
<Plato[m]> That's probably what the Wiki article is doing.
smallville7123 has quit [Quit: rosa]
Ariakenom has joined #nixos
thblt has joined #nixos
smallville7123 has joined #nixos
<sphalerite> adisbladis[m]: Plato[m]: androidenv.buildTools and androidEnv.platformtools should cover everything, no?
smallville7123 has quit [Client Quit]
<Plato[m]> The thing is, this react-native thingy wants version 23.0.1 of the platform sdk in a specific location apparently.
Biappi has joined #nixos
<Plato[m]> Building with this FHS env worked, however. Nice.
<Plato[m]> With Wiki articlces, you never know if they still work.
leat has joined #nixos
MP2E has quit [Remote host closed the connection]
jmiven has quit [Quit: co'o]
smallville7123 has joined #nixos
jmiven has joined #nixos
blankhart has joined #nixos
jasongrossman has joined #nixos
<jD91mZM2> sphalerite: Oh noes, one problem with making an overlay: Nix's rustc is outdated
<sphalerite> use the mozilla rust overlay as well?
<jD91mZM2> Good idea
<jD91mZM2> I keep forgetting that exists
<jD91mZM2> I guess I could stop using rustup completely
<jD91mZM2> builtins.toPath is drunk
<jD91mZM2> builtins.toPath ((builtins.getEnv "HOME") + "/whatever") still fails to be used as src
<jD91mZM2> But /. + (builtins.getEnv "HOME") + "/whatever" works
tzemanovic has joined #nixos
jasongrossman has quit [Ping timeout: 245 seconds]
<sphalerite> jD91mZM2: how about ~/whatever ?
<sphalerite> :_)
<sphalerite> s/_//
jasongrossman has joined #nixos
<jD91mZM2> please don't tell me that's a thing and has been a thing for a while
<Myrl-saki> sphalerite: :^) is the most cheekiest face
<sphalerite> Myrl-saki: or, you could say it's a nosy face. :p
knupfer has quit [Remote host closed the connection]
<Myrl-saki> life is unhappy now. :(
<sphalerite> jD91mZM2: well I definitely won't say it's not a thing or that it hasn't been a thing for very long
<sphalerite> because that would be a lie
<Myrl-saki> sphalerite: i always thought ^ was a tear, but wow. I'm stupid.
<sphalerite> I'd use ' for a tear :')
<sphalerite> but no, you're not stupid just because you don't interpret emoticons the same way as me!
<Myrl-saki> #accidentalwholesome
<jD91mZM2> Am I insane if I'm trying to use home-manager to install mozilla's rust overlay?
<jD91mZM2> OMG lol it worked
<jD91mZM2> home.file.".config/nixpkgs/overlays/rust-overlay.nix".source = pkgs.fetchFromGitHub {
raynold has quit [Quit: Connection closed for inactivity]
adamt has quit [Ping timeout: 256 seconds]
<jD91mZM2> LOOOOOOOOL it actually works I don't know why I'm so surprised but it sounds hilarious to me for some reason
bara has joined #nixos
adamt has joined #nixos
adamt is now known as Guest89694
<jD91mZM2> Oh except apparently home-manager can set overlays already so I had to no reason to make it install it like that
joehh has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41002 → nix-du: 0.1.1 -> 0.1.2 → https://git.io/vhTQZ
<{^_^}> [nixpkgs] @xeji pushed commit from @symphorien to master « nix-du: 0.1.1 -> 0.1.2 (#41002) »: https://git.io/vhk7C
<joehh> how does one set flags for packages?
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<jD91mZM2> Can the rust overlay cross compile to other targets by the way?
<joehh> my aim is to use python with opencv and be able to read video files which require opencv to be built with ffmpeg support
<jD91mZM2> joehh: Make a package overlay which uses .override { enableFfmpeg = true }
<jD91mZM2> self: super: { my-package = super.package.override { enableFfmpeg = true; }; }
<jD91mZM2> ^ put the above code in ~/.config/nixpkgs/overlays/whatever.nix
<jD91mZM2> and then install nixos.my-package which you just defined
<hyper_ch2> hmmmm, anyone knows about setting up a dns server?
<joehh> jD91mZM2: thanks for that, I'll give it a go
griff_ has joined #nixos
<joehh> will that be picked up by other things that depend on it (ie the opencv python package?)
<joehh> or will I need to overlay/override it too?
<sphalerite> ,ask hyper_ch2
<{^_^}> hyper_ch2: Just ask your question. It's the best way to know if anybody can help.
<hyper_ch2> sphalerite: hmmmm, anyone knows about setting up a dns server?
<hyper_ch2> :)
<sphalerite> Yes.
<etu> I'm sure someone does
<sphalerite> Since there are DNS servers in the world, somebody must know about setting them up.
<etu> I sure hope so, unless they are set up by the unicorns.
<sphalerite> Another satisfied customer. Next!
ericsagnes has joined #nixos
<sphalerite> etu: I'm pretty sure a unicorn counts as somebody.
<srhb> etu: What. Unicorns are great. I'd trust them to set up DNS.
<hyper_ch2> you're really sure they know what they're doing and didn't just accidentally set it up correctly? :)
blonkhart has joined #nixos
<etu> I was hoping that someone would say: "Which unicorns?" so I could say: "Exactly!" :D
<jD91mZM2> what
<etu> srhb: Yeah, I know. So do I :)
<hyper_ch2> etu: the white ones
<{^_^}> [nixpkgs] @ghuntley opened pull request #41019 → [k8] housekeeping: corrected 404 links to k8 documentation → https://git.io/vhk5q
<gchristensen> sphalerite: the nixos community has not just people who configured them, but people who wrote them
<hyper_ch2> gchristensen: the nixos community has people who wrote unicorns?
<sphalerite> gchristensen: wow so there's even someone in the nixos community who knows about it!
<hyper_ch2> ah right.. kresd IIRC
<Myrl-saki> Uhh..
<srhb> hyper_ch2: By the way, the point of ,ask is to encourage people to ask their _actual_ question (eg. their particular issue with setting up DNS in this case :P)
<Myrl-saki> Wouldn't calling unicorns somebody be anthromorphism?
asuryawa_ has quit [Remote host closed the connection]
<hyper_ch2> srhb: I do like to point out !metaquestion to others... I don't like it being pointed out to me :)
<srhb> hyper_ch2: Surprising. :-)
<Myrl-saki> ,ask
<{^_^}> Just ask your question. It's the best way to know if anybody can help.
asuryawanshi has joined #nixos
<hyper_ch2> what's the meaning of nixos, the universe and everything else?
<hyper_ch2> well, I'm not sure what dns server to use... I'd like to setup a recurisive caching dns server but also host a few custom zone files on it.. from what I gathered, unbound would be pretty great but can't host custom dns
<sphalerite> srhb: nice
steell has joined #nixos
<Myrl-saki> Hmmm
<srhb> sphalerite: Gloryhammer is excellent. :3
logzet has quit [Remote host closed the connection]
<Myrl-saki> What git web frontend is the one with a huge-ass red git symbol?
<Myrl-saki> You know the MIT logo? Think of that, but is Git.
Guest89694 has quit [Ping timeout: 268 seconds]
<Myrl-saki> cgit?
jasongrossman has quit [Remote host closed the connection]
<srhb> Gitlab has a red fox or something...
<Myrl-saki> Apparently, I'm stupid. cgit's logo is configurable.
<etu> Myrl-saki: gogs?
<Myrl-saki> But yeah, cgit was what I was thinking.
<samueldr> Myrl-saki: redmine isn't strictly a git frontend, but has a red logo
Guest89694 has joined #nixos
<etu> gogs is red as well, but isn't really a git frontend. Just related.
<Myrl-saki> Oh cool, Gogs seems pretty cool.
<Myrl-saki> It's cgit.
<Myrl-saki> And yeah, I'm stupid.
<samueldr> gogs/gitea has some support in nixos
<Myrl-saki> Why are brains so lossy? :P
<sphalerite> Myrl-saki: you keep using that word. I do not think it means what you think it means.
<etu> The gitea modules are great :)
xAFFE has joined #nixos
<Myrl-saki> sphalerite: which word? :x
<jD91mZM2> "brains"
<Myrl-saki> rawr brains uwu
<sphalerite> Myrl-saki: stupid
<sphalerite> :p
<Myrl-saki> Anyways. I'm open to suggestions.
<Myrl-saki> I'm into something bland like cgit. :P
* etu has done some work on improving the gitea module as well, not sure what state the gogs module is in
<Myrl-saki> samueldr: Cool. :D
<Myrl-saki> samueldr: That + a mailing list? :P
<tilpner> Myrl-saki - If you like cgit, why are you looking for suggestions? It's working great here
<sphalerite> which was the one that wants to be API-compatible with github?
<jD91mZM2> sphalerite: I think that's GitHub
<samueldr> I'd guess gogs/gitea if one was to be
<Myrl-saki> tilpner: I still haven't tried setting it up.
<Myrl-saki> I like how it looks.
<tilpner> Myrl-saki - Ping me if you want the config files for git.tx0.co
thblt has quit [Remote host closed the connection]
<Myrl-saki> Is my auto-theming kicking in, or is taht Solarized?
seafood has joined #nixos
<tilpner> That is solarized :)
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @globin merged pull request #41013 → nixos/borgbackup: make extraArgs a shell variable → https://git.io/vhkav
<{^_^}> [nixpkgs] @globin pushed commit from @dotlambda to master « nixos/borgbackup: make extraArgs a shell variable »: https://git.io/vhkdM
<Myrl-saki> Oh okay. :P
steell has quit [Ping timeout: 240 seconds]
<Myrl-saki> tilpner: Did you set it up using NixOS? My online servers are Debian, I do have root access, so I could do that replacing rootfs thing.
<tilpner> Yes, it's a NixOS module
Wharncliffe has quit [Quit: Lost terminal]
<Myrl-saki> Awww. :Y
<Myrl-saki> :(
<Myrl-saki> I really prefer using NixOS.
<tilpner> Huh?
<Myrl-saki> tilpner: My VPSes are in Debian.
<sphalerite> well then switch them to nixos? :D
<tilpner> What am I missing here... You prefer NixOS, but then are disappointed when I say it's NixOS?
<Myrl-saki> tilpner: Noooo
<Myrl-saki> tilpner: I'm disappointed that I can't use NixOS. :P
johanot has joined #nixos
<Myrl-saki> Err. How do I say this.
<Myrl-saki> You're using NixOS modules, so I can't just drop-in your config.
<sphalerite> you can, after switching to nixos ;)
<Myrl-saki> sphalerite: hush, no tempting.
jperras has joined #nixos
<Myrl-saki> >:c
<tilpner> "so I could do that replacing rootfs thing"
Rusty1_ has joined #nixos
<tilpner> Sounded like you were tempted already c.c
<Myrl-saki> noooo
<jD91mZM2> Guys, he is trying to keep in control
coot has quit [Quit: coot]
<jD91mZM2> Don't tempt him or he might lose it
<srhb> Just make the debian a thin wrapper over a NixOS vm
<srhb> No one will notice.
<tilpner> D:
* srhb is helping, sort of
<Myrl-saki> lmao
<Myrl-saki> Sometheng something Gobolinux?
woodson has quit [Ping timeout: 245 seconds]
coot has joined #nixos
amir has quit [Ping timeout: 268 seconds]
<jD91mZM2> I wonder if anybody has installed Nix on windows without WSL
<Myrl-saki> Also, I have a question... does programmer@adrianpar.vin sound tacky?
toppler has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
toppler has joined #nixos
toppler has quit [Remote host closed the connection]
jperras has quit [Ping timeout: 260 seconds]
<etu> tilpner: Maybe you could use nix to build a docker container and deploy :)
<tilpner> It's not that hard to setup cgit on Debian either
Mateon3 has joined #nixos
<tilpner> But of course more effort than "just drop in this module and rebuild"
Mateon1 has quit [Ping timeout: 252 seconds]
Mateon3 is now known as Mateon1
woodson has joined #nixos
<gchristensen> hi does anyone run a small public hydra I can look at?
alter-schjetne has joined #nixos
<joehh> jD91mZM2: there are reports on using nix with cygwin from a year or two ago
<gchristensen> * with a channel turned on
<jD91mZM2> Is there a list of nix builtins anywhere btw?
<tilpner> > builtins.attrNames builtins
<{^_^}> [ "abort" "add" "addErrorContext" "all" "any" "attrNames" "attrValues" "baseNameOf" "builtins" "catAttrs" "compareVersions" "concatLists" "concatStringsSep" "currentSystem" "currentTime" "deepSeq" "de...
<jD91mZM2> oh
<tilpner> (Just don't ask for documentation of each item)
schjetne has quit [Ping timeout: 276 seconds]
<jD91mZM2> Running this in nix-repl returns <<primop>>
amir has joined #nixos
<jD91mZM2> oh never mind I needed the trailing builtins
<tobiasBora> Hello,
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a2ce9bb6107 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<tobiasBora> I don't understand why, I just did "nix-env -i nixpkgs.geogebra", after a few seconds I come back to the prompt, but nothing is written at all (not even error), and "nix-env -q" does not return anything for geogebra
<srhb> jD91mZM2: Yes, it's the function builtins.attrNames applied to builtins itself. :)
coot has quit [Quit: coot]
<jD91mZM2> ooo thanks
<sphalerite> !-A
<{^_^}> 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.
<sphalerite> tobiasBora: ^
<tilpner> ,-A sphalerite
<{^_^}> sphalerite: 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.
<tobiasBora> sphalerite: I actually used the -A option, my bad
<tilpner> That way, the bot highlights the user itself
<tobiasBora> so here is the exact copy pasted line I used: "nix-env -iA nixpkgs.geogebra"
<tobiasBora> then no output at all, and no geogebra installed
<srhb> > nixpkgs.geogebra.meta.license
<{^_^}> undefined variable 'nixpkgs' at (string):41:1
<sphalerite> tobiasBora: oh, this might be a case of a bug that hides warnings
<srhb> Aw
<sphalerite> tobiasBora: try nix build nixpkgs.geogebra, that might print the error
<sphalerite> srhb: it's pkgs.
<sphalerite> >pkgs.geogebra.meta.license
<srhb> sphalerite: Thanks :)
<sphalerite> > pkgs.geogebra.meta.license
<{^_^}> [ <CODE> <CODE> <CODE> ]
<etu> :D
<etu> {^_^}++
<{^_^}> {^_^}'s karma got increased to 131
<tobiasBora> ok yes it's a problem of licence
<sphalerite> > builtins.deepSeq pkgs.geogebra.meta.license
<{^_^}> <PRIMOP-APP>
<sphalerite> > builtins.deepSeq pkgs.geogebra.meta.license pkgs.geogebra.meta.license
<{^_^}> [ { fullName = "GNU General Public License v3.0 only"; shortName = "gpl3"; spdxId = "GPL-3.0"; url = "http://spdx.org/licenses/GPL-3.0.html"; } { fullName = "Creative Commons Attribution Non Commercia...
<srhb> That doesn't look problematic...
<sphalerite> the second one is
<tobiasBora> wouldn't it be nice to have a nice error in case of a licence issue?
<sphalerite> CC-BY-NC is nonfree
<srhb> Aha!
<sphalerite> tobiasBora: there is one, it's just that a fix for another bug stopped it from showing up. It's a pain.
<{^_^}> [nixpkgs] @globin merged pull request #41019 → [k8] housekeeping: corrected 404 links to k8 documentation → https://git.io/vhk5q
<{^_^}> [nixpkgs] @globin pushed commit from @ghuntley to master « kubernetes: fix 404 links to documentation »: https://git.io/vhkN3
<sphalerite> tbh my suspicion was that it would be broken, not nonfree
<sphalerite> but hey
smallville7123 has quit [Quit: rosa]
<srhb> 50/50 chance :P
<tobiasBora> problem solved, thanks!
<tilpner> Any tips on how to track down the cause of "is not allowed to refer to the following paths:"?
<sphalerite> tilpner: check allowedReferences on the derivation that errors
<srhb> tilpner: nix-store -qR and look for the typical disallowed ones
thblt has joined #nixos
<srhb> tilpner: Are you debugging this on 17.09 by any chance?
rauno has joined #nixos
<tilpner> sphalerite - There is no field allowedReferences, only disallowedReferences
<tilpner> srhb - No, unstable
<srhb> Ah, okay.
<srhb> Start moving inputs to allowedReferences then?
<sphalerite> I'd suggest removing them from disallowedReferences instead, or making sure they're not referenced.
<tilpner> Hmm, I don't want that either (but you couldn't know that)
<tilpner> Nix file: tx0.co/X
<tilpner> * Nix file: tx0.co/W , build error: tx0.co/X
vidbina has joined #nixos
<tilpner> So I don't want to refer to /nix/store/wlcllq55rfdffn0s5wasjw73hgwy7x6b-go-1.10.1 at all
<tilpner> And removing postInstall makes it work
<srhb> I've seen a lot of use of removeReferences* in go packaging...
<sphalerite> tilpner: oh right, yeah, you'll want to use removeReferencesTo
<tilpner> Ah
<sphalerite> although I thought that happened in the fixup phase
<srhb> But it always makes me think of unsafePerformIO. :P
<__monty__> unsafePerformGO?
<sphalerite> tilpner: ah right, the fixup thing in buildGoPackage only searches the bin directory, not libexec
griff_ has joined #nixos
<tilpner> srhb, sphalerite - Thank you! :)
* tilpner begins seeing /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.10.1/share/go/src/runtime/panic.go:502 +0x229 in stacktrace
<sphalerite> yep, that's how crudely removeReferencesTo is implemented.
<gchristensen> tilpner: the "eeeee"s are the grimmace / squeal of pain and regret
<srhb> It also happens to be the hash of go itself.
<srhb> (not really)
<gchristensen> haha
<tilpner> :D
<sphalerite> e isn't even in the character set is it?
vidbina has quit [Ping timeout: 256 seconds]
<gchristensen> it isn't
jperras has joined #nixos
<palo> /
<jD91mZM2> sphalerite: My overlys now work except it's of course recompiling the whole thing every time instead of storing any compilation cache
<sphalerite> yeah
<jD91mZM2> Can I tell nix to not copy my stuff before compiling?
<tilpner> Could try semi-automated carnix for crate caching
<sphalerite> ^
<sphalerite> jD91mZM2: no, because that would break purity
<tilpner> But you can tell it to not copy target
<sphalerite> if the files have changed it's not the same build
<tilpner> (if that's why you're asking)
<__monty__> sphalerite: Why isn't e part of the alphabet?
<jD91mZM2> oh god all i want to do is to run a binary without being in nix-shell
<sphalerite> jD91mZM2: cargo install and add ~/.local/bin to your path? :p
<jD91mZM2> C runtime libraries
mkoenig has quit [Ping timeout: 260 seconds]
<sphalerite> __monty__: it's base32, and the letters are chosen to minimise the amount of rude words you can make with them :p
<jD91mZM2> Maybe I should just look into making everything static
<jD91mZM2> I'm sure there's a way somehow
<__monty__> Wow, that's like the saddest thing I've learned today.
<sphalerite> lol
mkoenig has joined #nixos
rain1 has joined #nixos
peacememories has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
griff_ has quit [Ping timeout: 260 seconds]
<jD91mZM2> Can I just callPackage the generated nix file?
<tilpner> Yes-ish
<jD91mZM2> Will it take care of C dependencies?
<tilpner> No, you may need to add override for some crates
<tilpner> There are default override in nixpkgs though, so it depends on your... dependencies
<srhb> How hard is statically building rust with musl in nix these days?
<jD91mZM2> srhb: I think it's literally just adding a rustup target
<tilpner> jD91mZM2 - You missed the "in nix" part of the question
<jD91mZM2> oh
<jD91mZM2> oh no
Maxdamantus has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @bkchr opened pull request #41020 → androidndk: Fixes missing libraries for prebuilt clang → https://git.io/vhkxP
thblt has quit [Remote host closed the connection]
<srhb> I have a feeling it's pretty close to being trivial, but not quite.
griff_ has joined #nixos
ixxie has joined #nixos
<jD91mZM2> tilpner: Well it happened.... how do I override a thing?
<tilpner> Uh, let me check IRC logs
<srhb> jD91mZM2: Depends, what's the thing?
thblt has joined #nixos
<jD91mZM2> Believe it or not, scoped_threadpool is failing with "cannot find -lglib-2.0"
<jD91mZM2> scoped_threadpool should not be using glib
<tilpner> jD91mZM2 - tx0.co/wireguard-default.nix
<jD91mZM2> sigh
<jD91mZM2> what do I name this file?
<tilpner> default.nix
<jD91mZM2> what do I name the file generated by carnix?
<tilpner> Cargo.nix is what mine was called
vaninwagen has joined #nixos
vidbina has joined #nixos
<jD91mZM2> Is there really no easy way to make a binary require runtime dependencies
<tilpner> There is, with wrappers
<jD91mZM2> `nix-shell -p libsixel "/path/to/termplay $@"`?
<jD91mZM2> that's what I did first and was told that that's a horrible way to do it
<hyper_ch2> well, I'm not sure what dns server to use... I'd like to setup a recurisive caching dns server but also host a few custom zone files on it.. from what I gathered, unbound would be pretty great but can't host custom dns zone/entries
<jD91mZM2> (also I forgot --run)
Maxdamantus has joined #nixos
<tilpner> jD91mZM2 - Write a new script, #! /usr/bin/env nix-shell \n #! nix-shell -p libsixel \n exec /path/to/termplay "$@"
<tilpner> :/
<tilpner> Hmm, may be missing -i sh
<jD91mZM2> tilpner: ooooooooooo
<jD91mZM2> Well okay I just wasted my entire day :D
<tilpner> It's more useful when downloading interpreters. E.g. executing tx0.co/Y will download the Racket runtime, then continue to execute the rest of the script with the new runtime
<tilpner> But it also works for libraries, of course
steell has joined #nixos
<jD91mZM2> Wait, so \n is a new line here?
<jD91mZM2> Because running that just puts me in nix-shell now
<infinisil> tilpner: Damn these tx0.co links, my url opener doesn't recognize them as urls without the http prefix..
<infinisil> Luckily they're super easy to type manually though :)
rauno has quit [Ping timeout: 268 seconds]
* tilpner doesn't have a url opener, so never noticed that
<infinisil> You just type every url you see here manually into the browser??
<tilpner> No, I double-click it, then pres super+w
<jD91mZM2> Ah, I needed `-i sh`
<tilpner> Which is problematic if links are too long to fit on one line
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> if you have weechat, alt-l
<nyanloutre[m]> tilpner: what are you using to create those links ?
* etu just rightclick links to open them in the browser, but that only works with protocol in front.
* jD91mZM2 copy pastes them with tmux lol
<etu> gchristensen: What is the default binding of alt-l in weechat? I run weechat but due to dvorak-based layout alt-l goes to window 20.
<tilpner> nyanloutre[m] - Can you rephrase that question please? What part are you curious about?
<gchristensen> etu: /window bare
<tilpner> gchristensen - I do, but that's annoying. Luckily, people don't often paste links that long :)
<nyanloutre[m]> It's about tx0
<etu> gchristensen: ooooh, nice
<gchristensen> :)
<jD91mZM2> wait so how does alt+l help me open links
<tilpner> nyanloutre[m] - Yes, but what part of that? This is offtopic for #nixos, let's move to PM or #nixos-chat
<gchristensen> it disables ncurses and just shows unwrapped messages, letting your terminal emulator do the wrapping
<etu> jD91mZM2: Wider window so long links doesn't break unless they are really long
<jD91mZM2> oh
<nyanloutre[m]> tilpner: it seems to be some selfhosted pastebin, so I am curious about it 😃
<gchristensen> etu: even on long URLs it doesn't break, because there is no \n
<etu> gchristensen: I have my weechat in a tmux that is split both horizontally and vertically :D
<gchristensen> you poor thing
<etu> So it will break :D
<etu> But maybe I can change that now when I know that I can have a use for that change.
<{^_^}> [nix] @edolstra merged pull request #2157 → add builtins: __bitAnd, __bitOr, __bitXor → https://git.io/vpS2Q
<{^_^}> [nix] @edolstra pushed 6 commits to master: https://git.io/vhkhi
<{^_^}> → 8a6a14e1 by @volth: add `mod' and bitwise builtins
<{^_^}> → 49b7cf18 by @volth: add `mod' and bitwise builtins: remove infix functions
<{^_^}> → f3c090f9 by @volth: add `mod' and bitwise builtins: remove `mod' and shifts
Neo-- has joined #nixos
<gchristensen> hoo buddy builtinso!
ihar has quit [Quit: WeeChat 2.0]
migy has joined #nixos
pjan has joined #nixos
iyzsong has joined #nixos
winem_ has joined #nixos
lanelet has joined #nixos
vaninwagen has quit [Ping timeout: 256 seconds]
hamishmack has quit [Ping timeout: 252 seconds]
ilyaigpetrov has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
alexteves has joined #nixos
dx_ has joined #nixos
<dx_> this bash cache being disabled in nixos, is mandatory for nixos to work correct?
coot has joined #nixos
asuryawanshi has quit [Ping timeout: 256 seconds]
<gchristensen> bash cache?
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<hyper_ch2> he probably means the history file
<elvishjerricco> No bash caches the actual locations of programs after it has searched for them on PATH once.
<Dezgeg> set +h
<elvishjerricco> I think this is disabled on NixOS
<Dezgeg> bashrc has that plus: # Disable hashing (i.e. caching) of command lookups.
<{^_^}> [nixpkgs] @globin merged pull request #41014 → skopeo: 0.1.29 -> 0.1.30 → https://git.io/vhkV1
<{^_^}> [nixpkgs] @globin pushed commit from @nlewo to master « skopeo: 0.1.29 -> 0.1.30 »: https://git.io/vhIfA
blonkhart has quit [Quit: WeeChat 1.9.1]
<dx_> i meant, `hash -r` which can be turned on/off via `set -h` or `set +h`
seafood has quit [Quit: seafood]
<dx_> it has to be disabled to avoid complications, correct?
<Dezgeg> it's disabled by default, yes
tzemanovic has quit []
Myrl-saki has quit [Quit: WeeChat 1.6]
<sphalerite> dx_: it's not strongly required, but enabling it can cause confusing issues, not just on nixos.
<elvishjerricco> sphalerite: What kind of issues?
peacememories has joined #nixos
<sphalerite> elvishjerricco: when the program is installed into different places, it can cause two shells to invoke a different one even though they have the same PATH, based on the state of their hash
rauno has joined #nixos
ramses_ has joined #nixos
jasongrossman has joined #nixos
reinzelmann has quit [Quit: Leaving]
Myrl-saki has joined #nixos
Myrl-saki has quit [Client Quit]
Guest89694 has quit [Ping timeout: 260 seconds]
Myrl-saki has joined #nixos
<{^_^}> [nixpkgs] @lblasc opened pull request #41023 → lua packages: add init.lua to modules search path → https://git.io/vhIT1
<dx_> i need a way to do cut&paste, i have fluxbox. Need some tip
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #40975 → criu: 3.8.1 -> 3.9 → https://git.io/vhUOp
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from R. RyanTM to master « criu: 3.8.1 -> 3.9 »: https://git.io/vhIkW
dbmikus has joined #nixos
Neo-- has quit [Ping timeout: 276 seconds]
dx_ is now known as cryp2nomicon
jasongrossman has quit [Remote host closed the connection]
Guest89694 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #41024 → busybox: 1.28.3 -> 1.28.4, fix fsck exit code → https://git.io/vhIIJ
camsbury has joined #nixos
jperras has joined #nixos
jperras has quit [Remote host closed the connection]
jperras has joined #nixos
dbmikus_ has joined #nixos
erasmas has joined #nixos
dbmikus has quit [Ping timeout: 265 seconds]
Guest89694 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #39743 → llvm: factor out compiler-rt, fix libstdcxxStdenv sanitizer headers → https://git.io/vpRAl
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to staging: https://git.io/vhILo
<{^_^}> → e5175fbf by @Ericson2314: Merge remote-tracking branch 'upstream/master' into ios-mini-staging
<{^_^}> → 16da44b5 by @Ralith: llvm and clang 6: factor out compiler-rt, fix libstdcxxStdenv sanitizer headers
<{^_^}> → 46eeef18 by @Ralith: tests.cc-wrapper: verify building with sanitizers
steell has quit [Ping timeout: 256 seconds]
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #40995 → fplll: 5.2.0 -> 5.2.1, pythonPackages.fpylll: 0.3.0dev -> 0.4.0dev → https://git.io/vhTeG
<{^_^}> [nixpkgs] @dotlambda pushed commit from @timokau to master « fplll: 5.2.0 -> 5.2.1, pythonPackages.fpylll: 0.3.0dev -> 0.4.0dev (#40995) »: https://git.io/vhIma
blankhart has quit [Ping timeout: 252 seconds]
woodson has quit [Ping timeout: 240 seconds]
<sphalerite> cryp2nomicon: it depends on the applications you're using, but typically selecting text will copy it into the PRIMARY buffer which you can paste using a middle click.
<{^_^}> [nixpkgs] @globin pushed 3 commits to master: https://git.io/vhIYU
<{^_^}> → 2e41891e by @globin: python.pkgs.openid: init at 2.2.5/3.1.0
<{^_^}> → 6b29b2c3 by @globin: python.pkgs.django-allauth: init at 0.36.0
<{^_^}> → e2439932 by @globin: python.pkgs.django-gravatar2: init at 1.4.2
<{^_^}> [nixpkgs] @xeji merged pull request #41010 → nixos mysql: make start-up more robust → https://git.io/vhkCm
<{^_^}> [nixpkgs] @xeji pushed commit from @peterhoeg to master « nixos mysql: make start-up more robust (#41010) »: https://git.io/vhIYq
ihar has joined #nixos
ixxie has joined #nixos
aminechikhaoui has quit [Ping timeout: 245 seconds]
jasongrossman has joined #nixos
chessai has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
Sonarpulse has quit [Ping timeout: 252 seconds]
<manveru> (also shift+insert)
Lisanna has quit [Quit: Lisanna]
Ariakenom has quit [Ping timeout: 240 seconds]
ikitat has joined #nixos
griff_ has quit [Ping timeout: 240 seconds]
<sphalerite> manveru: isn't that for CLIPBOARD though?
<sphalerite> And copying to CLIPBOARD is more application-dependent
endformationage has joined #nixos
<{^_^}> [nixpkgs] @globin pushed commit from @ciil to master « confluence: 6.6.1 -> 6.8.0 »: https://git.io/vhIZt
nixosuser1 has joined #nixos
<nixosuser1> I'm on 18.03 and would like to see the fixed firefox icon displaying. I've run nixos-rebuild switch, but haven't seen it. Any ideas of what nix command I need to run to get this updated?
<__monty__> I'm assuming you updated your channel?
<nixosuser1> I did. system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0, channels(root): "nixos-18.03.131807.489a14add9a", channels(nixuser1): "nixpkgs-18.03.132448.33682d9af4c, latest", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/vhInu
<{^_^}> → fb7428c5 by @markuskowa: nixos/slurm: enable munge by default, added note to slurm description
<{^_^}> → 2a14e898 by @markuskowa: slurm/module: add ProcTrackType option to unbreak default setup
<nixosuser1> I've specified firefox in my configuration.nix, perhaps I need an overlay or something?
<{^_^}> → 96e5a8bc by @markuskowa: nixos/slurm: add slurm test to release.nix
<{^_^}> [nixpkgs] @xeji merged pull request #41016 → nixos/slurm: fix default module parameters, update documenation → https://git.io/vhkKx
jD91mZM2 has quit [Quit: WeeChat 2.0]
Guest89694 has joined #nixos
WilliButz has quit [Quit: WeeChat 2.0]
<sphalerite> nixosuser1: you may need to log out and back in
WilliButz has joined #nixos
<sphalerite> desktop environments tend to be weird nasty stateful beasts
<nixosuser1> lol, I will hit my forehead and try that now. thanks!
nixosuser1 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
johanot has quit [Quit: Leaving.]
ciil has quit [Quit: leaving]
<{^_^}> [nixpkgs] @kamilchm opened pull request #41027 → qtile: 0.10.7 -> 0.11.1 → https://git.io/vhIcr
nixuser1 has joined #nixos
griff_ has joined #nixos
Lisanna has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<nixuser1> hhm, fresh reboot and still no updated firefox icon
knupfer has joined #nixos
leat has quit [Ping timeout: 240 seconds]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sonarpulse has joined #nixos
ciil has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
xAFFE has left #nixos ["Error from remote client"]
<{^_^}> [nixpkgs] @Ekleog opened pull request #41030 → nheko: 0.4.0 -> 0.4.1 → https://git.io/vhIWb
nixuser1 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
lonokhov has quit [Quit: WeeChat 2.0]
<manveru> sphalerite: pretty sure i use it with PRIMARY
barrucadu is now known as dr_barrucadu
<sphalerit> ¯_ (ツ) _/¯
logzet has joined #nixos
* manveru hands sphalerit a \
dispanser has quit [Ping timeout: 264 seconds]
<sphalerit> Ugh matrix. Why do you ruin my shrugs.
<sphalerite> it also delays my messages. I wrote the second one immediately after the first.
aarvar has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
drakonis has joined #nixos
chessai has quit [Ping timeout: 256 seconds]
Guest89694 has quit [Ping timeout: 240 seconds]
aneeshusa has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41027 → qtile: 0.10.7 -> 0.11.1 → https://git.io/vhIcr
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vhIBT
<{^_^}> → a54c1c25 by @xeji: Merge pull request #41027 from kamilchm/qtile
<{^_^}> → bd3489e0 by @kamilchm: qtile: 0.10.7 -> 0.11.1
daveo has joined #nixos
aneeshusa has quit [Client Quit]
<daveo> I'm interested in adding applications to NixPkgs
<daveo> recommended resources?
<lejonet> daveo: look at the nixpkgs manual, it gives you a starting point, then look around at other nixpkgs and see how they are made
<daveo> lejonet: Thanks!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41031 → wireguard: 0.0.20180519 -> 0.0.20180524 → https://git.io/vhIB6
lanelet has quit [Quit: lanelet]
<makefu> daveo: there is also https://nixos.wiki/wiki/Nixpkgs
<makefu> esp. the 'contributing' part
griff_ has quit [Ping timeout: 268 seconds]
<lejonet> daveo: :)
rihards has joined #nixos
ikitat has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41032 → xmrig-proxy: 2.5.2 -> 2.6.2 → https://git.io/vhIR6
chessai has joined #nixos
alexteves has quit [Read error: Connection reset by peer]
alexteves has joined #nixos
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/vhI04
<{^_^}> → 42af0d6e by @gebner: libqalculate: 2.3.0 -> 2.5.0
<{^_^}> → d96cc05a by @gebner: qalculate-gtk: 2.3.0 -> 2.5.0
globin has quit [Ping timeout: 260 seconds]
Ariakenom has joined #nixos
chessai has quit [Ping timeout: 248 seconds]
asuryawanshi has joined #nixos
Mic92_ has quit [Ping timeout: 265 seconds]
spear2 has joined #nixos
Mic92_ has joined #nixos
cryp2nomicon has quit [Quit: leaving]
<tazjin> I'm trying to add a `patches` attribute to a derivation, but it seems to have no effect at all
griff_ has joined #nixos
<tazjin> it seems like the patchPhase is not run at all, but the `phases` attribute is not overridden and this just uses stdenv.mkDerivation
<tazjin> any ideas what would cause that?
Ariakenom has quit [Ping timeout: 256 seconds]
jperras has joined #nixos
<clever> tazjin: can you gist the original expression and your override?
swaaws has quit [Quit: ZNC 1.8.x-git-52-4f3ed09 - https://znc.in]
swaaws has joined #nixos
<tazjin> the only change is the addition of line 41
justbeingglad has joined #nixos
justbeingglad has quit [Client Quit]
<clever> tazjin: buildCommand stops all phases from being ran
justbeingglad has joined #nixos
<clever> tazjin: you need to manually run unpackPhase somewhere inside buildCommand
justbeingglad has left #nixos [#nixos]
<tazjin> ah!
<tazjin> unpackPhase or patchPhase?
<tazjin> will try, thanks
<clever> oops, patchPhase, yeah
ixxie has joined #nixos
<yorick> so exportReferencesGraph won't work with hardcoded store paths?
<yorick> is there an alternative?
hiroshi has quit [Ping timeout: 264 seconds]
<tazjin> clever: I think it may actually also unset the phases, $patchPhase is empty - I'll just fix this with `sed` instead
globin has joined #nixos
<clever> tazjin: there is both a $patchPhase, and a patchPhase function
<clever> tazjin: you want the function
dispanser has joined #nixos
jensens has quit [Ping timeout: 276 seconds]
alexteves_ has joined #nixos
Izorkin_ has joined #nixos
leat has joined #nixos
<tazjin> clever: with a little bit more trickery that worked, thanks
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
Izorkin has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @tazjin opened pull request #41035 → dd-agent: fix compatibility issue with iostat → https://git.io/vhIzx
sanscoeur has joined #nixos
<ixxie> is there a function for creating a path if it doesn't exist already?
<clever> ixxie: where and when should the path be created?
<sphalerite> ixxie: a function?
<sphalerite> `mkdir -p` I guess sort of
<ixxie> Nix expression :P
<sphalerite> nix expressions don't create files.
<ixxie> some builtins do no?
<ixxie> writeFile ?
<ixxie> I donno what to call those besides functions
<sphalerite> they create store paths
<ixxie> so Nix expressions can never touch anything outside the store?
<sphalerite> there's builtins.toFile, there's copying stuff to the store, and there's derivations
<sphalerite> they can read stuff outside the store, but not write it
winem_ has quit [Ping timeout: 256 seconds]
<ixxie> I am trying to debug an issue I found with https://github.com/NixOS/nixpkgs/pull/33673 where a certain path attribute option isn't working as expected
<ixxie> I was wondering whether it should create the directory and set permissions if they don't exist already but I guess not
<ixxie> but now I wonder how the heck can NixOS modules create the directories needed for stateful stuff like dbs
<clever> ixxie: at runtime, in places like the pre-start script of a service
<clever> thats less the job of nix, and more the job of systemd/bash, which are configured by nix
Ariakenom has joined #nixos
<ixxie> clever: so is that sort of thing defined anywhere in a module or how can we fix that PR?
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @florianjacob opened pull request #41036 → matrix-synapse: 0.28.1 -> 0.30.0 → https://git.io/vhIgN
muzzy has joined #nixos
<clever> ixxie: systemd.services.jupyter.preStart = ''mkdir /foo/bar'';
kitemikaze_ has joined #nixos
<{^_^}> [nixops] @AmineChikhaoui merged pull request #933 → Add labelling for newly created GCP disks and snapshots → https://git.io/vp3OF
<{^_^}> [nixops] @AmineChikhaoui pushed 6 commits to master: https://git.io/vhI2a
<{^_^}> → 5aab7f3f by Memni Aymen: Add labelling for newly created GCE volumes and snapshots
<{^_^}> → 55473604 by Memni Aymen: Fix indentation and add function wait_for_snapshot_initiated()
<{^_^}> → 617b2a1e by Memni Aymen: Better use libcloud function ex_get_snapshot() to retrieve a snapshot
leat has quit [Ping timeout: 260 seconds]
<NYXT> hey there - new to Nix, trying to work out the best way to package https://github.com/jakeday/linux-surface - unfortunately I need it which adds a complication to learning Nix. Trying to work out how I'd go about making a package that has a kernel with the patches, and a package with the firmware it includes. Any thoughts?
hiroshi has joined #nixos
<ixxie> cheers clever!
<{^_^}> [nixpkgs] @jtojnar opened pull request #41037 → tex-gyre: ~2.003 → 2.501 → https://git.io/vhI29
griff_ has quit [Quit: griff_]
MichaelRaskin has joined #nixos
Tucky has quit [Quit: WeeChat 2.1]
reinzelmann has joined #nixos
fragamus has joined #nixos
drakonis has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 260 seconds]
Mic92_ has quit [Ping timeout: 256 seconds]
logzet has quit [Read error: Connection reset by peer]
Ariakenom has quit [Quit: Leaving]
Ariakenom has joined #nixos
Mic92_ has joined #nixos
logzet has joined #nixos
coot has quit [Read error: No route to host]
coot has joined #nixos
Mic92_ has quit [Ping timeout: 245 seconds]
simukis has quit [Read error: Connection reset by peer]
fragamus has quit [Max SendQ exceeded]
leat has joined #nixos
<ixxie> clever: I get permission denied errors when trying to let the service create /var/srv
jonge has joined #nixos
<clever> ixxie: in that same preStart string, run `id` and `ls -ld /var/`
simukis has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji merged pull request #41036 → matrix-synapse: 0.28.1 -> 0.30.0 → https://git.io/vhIgN
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vhIw4
<{^_^}> → 429d81db by @florianjacob: matrix-synapse: 0.28.1 -> 0.30.0
<{^_^}> → 3cfc90e9 by @xeji: Merge pull request #41036 from florianjacob/matrix-synapse
<{^_^}> [nixpkgs] @coretemp opened pull request #41039 → dnscrypt-proxy: make man 8 dnscrypt-proxy work → https://git.io/vhIwE
Izorkin_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
iqubic has quit [Remote host closed the connection]
<ixxie> clever: uid=1001(jupyter) gid=499(jupyter) groups=499(jupyter)
<ixxie> as expected
spear2 has quit [Quit: Leaving]
<ixxie> and drwxr-xr-x 9 root root 4096 May 24 20:34 /var/
<ixxie> which makes sense really
<clever> ixxie: one min
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41040 → smplayer: 18.4.0 -> 18.5.0 → https://git.io/vhIrn
<clever> ixxie: serviceConfig.PermissionsStartOnly = true;
<clever> ixxie: this causes the User= to only affect ExecStart, so preStart gets ran as root
<clever> ixxie: a second option, set home="/var/jupyter"; createHome = true; on the user in question
<clever> oh, the PR already has that
<clever> ah, srv is whats failing, not /var/lib/jupyter
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41041 → speedtest-cli: 2.0.0 -> 2.0.1 → https://git.io/vhIrP
<fresheyeball> hey out there
<fresheyeball> I am stuck on how to work with `callCabal2nix`
<fresheyeball> how can I do anything with the derivation it makes?
<ixxie> clever: given the path in question is a user provided option, I think the first option is a must
<clever> fresheyeball: the derivation it makes will build the project
<fresheyeball> clever: right, but how can I extend its functionality? Add more checks, add dev tools to the env, ...
<ixxie> clever: where does the serviceConfig go?
<ixxie> in config?
<ixxie> oooh oops xD
<clever> fresheyeball: run overrideCabal on the derivation
<{^_^}> [nixpkgs] @ThomasMader opened pull request #41042 → binutils: Apply patches from 2.30 branch → https://git.io/vhIof
<clever> fresheyeball: i think it was: overrideCabal (callCabal2nix "name" ./. {}) (drv: { .... })
<clever> > haskell.lib.overrideCabal
<{^_^}> <LAMBDA>
Guest89694 has joined #nixos
spear2 has joined #nixos
chessai has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
<fresheyeball> clever: ok!
<ixxie> thanks clever that did the trick :)
Guest89694 has quit [Changing host]
Guest89694 has joined #nixos
Guest89694 is now known as adamt
woodson has joined #nixos
Neo-- has joined #nixos
<elvishjerricco> fresheyeball: Yea `overrideCabal` and all the functions in `haskell.lib` still work on it
leat has quit [Ping timeout: 256 seconds]
ikitat has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #41043 → lib: Fix `nix-env -qaP -f . --xml --meta` → https://git.io/vhI6T
<ixxie> I am trying to package this thing called beakerx ( http://beakerx.com/documentation )
<ixxie> its a bit of a monster that includes a pip package, a jupyterlab extension (=npm package) and some other stuff
maingo has joined #nixos
<ixxie> they have their own python install script here https://github.com/twosigma/beakerx/blob/master/beakerx/beakerx/install.py
<ixxie> but I am unsure how to proceed in packaging this
<tilpner> Hey, anyone else on a laptop with libinput? Could you verify that X crashes when you repeatedly left-swipe with >= 3 fingers?
<ixxie> tilpner: left swipe the screen?
<tilpner> No, the touchpad
<symphorien> tilpner: no nothing happens for me
<tilpner> Try it a few times, it doesn't seem that reliable
<clever> tilpner: absolutely nothing happens on my laptop when i swipe with 3 fingers in any direction, any number of times
<tilpner> (Or maybe your touchpad doesn't support that many fingers? I don't know much about touchpads)
<tilpner> Huh
<symphorien> like clever said
<ixxie> same here but I donno if I have libinput
<clever> 2 finger swipe does "mouse wheel" scrolling
Suncatcher has joined #nixos
<tilpner> It even works on slock, so I guess that's another good reason against auto-login
_rvl has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos
_rvl has joined #nixos
Neo-- has quit [Ping timeout: 256 seconds]
humanoyd has quit [Quit: WeeChat 2.1]
Suncatcher has quit [Client Quit]
<ixxie> FRidh: got a moment to give a little advice on packaging a jupyter widget?
<FRidh> ixxie: maybe, it's just a Python package? :)
<ixxie> FRidh: well, this one is not 'just' a python package.... its a python package plus a jupyterlab/notebook extensions (=npm package) plus some other stuff
<ixxie> do I pretty much have to port that install scrip to Nix or what?
leat has joined #nixos
tmaekawa has joined #nixos
<FRidh> ixxie: probably. Some parts look like would work just fine, but it all depends where it tries too write. Because you can set --prefix I suppose you can point that to $out, and that way have a separate "package" that has all of this. Where are jupyter extensions normally installed to?
<ixxie> FRidh: don't know.... where are npm packages normally installed to?
aminechikhaoui has joined #nixos
simukis has quit [Quit: simukis]
aither has quit [Ping timeout: 260 seconds]
simukis has joined #nixos
snajpa has quit [Ping timeout: 264 seconds]
Adluc has quit [Ping timeout: 256 seconds]
snajpa has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41044 → riemann: 0.3.0 -> 0.3.1 → https://git.io/vhIPR
tmaekawa has quit [Client Quit]
aither has joined #nixos
simukis has quit [Client Quit]
simukis has joined #nixos
Mic92 has joined #nixos
jD91mZM2 has joined #nixos
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #40665 → nixos/kubernetes: Update kube-dns and kube-dashbashboard docker image… → https://git.io/vpNZO
<{^_^}> → b4b3892b by @seppeljordan: nixos/kubernetes: Update kube-dns and kube-dashbashboard docker image derivations to new pullImage function signature
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vhIXO
<{^_^}> → 4ccb13ad by @nlewo: Merge pull request #40665 from seppeljordan/fix-kubernetes-modules
<worldofpeace> Anyone else having a rife time with this issue? https://github.com/NixOS/nix/issues/1528
Adluc has joined #nixos
<FRidh> ixxie: I have no idea
obadz has quit [Ping timeout: 252 seconds]
<ixxie> it looks like it puts them in its own app directory
<ixxie> I will investigate further tomorrow by asking some jupyter folks about this
xAFFE has joined #nixos
fragamus has joined #nixos
fragamus has quit [Client Quit]
<{^_^}> [nixpkgs] @xeji merged pull request #41030 → nheko: 0.4.0 -> 0.4.1 → https://git.io/vhIWb
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vhIMS
<{^_^}> → 0e84af17 by @Ekleog: nheko: make darwin build fail later
<{^_^}> → 29180835 by @Ekleog: nheko: 0.4.0 -> 0.4.1
<{^_^}> → a2d2a6ea by @xeji: Merge pull request #41030 from Ekleog/nheko-0.4.1
ldlework has joined #nixos
aminechikhaoui has quit [Ping timeout: 268 seconds]
aminechikhaoui has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c29d2fde74d (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
obadz has joined #nixos
<ixxie> FRidh: is there anything else besides my fix needed to fix https://github.com/NixOS/nixpkgs/pull/33673
fragamus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41045 → QmidiNet: 0.5.0 -> 0.5.1 → https://git.io/vhIyU
krey has joined #nixos
alexteves_ has quit [Remote host closed the connection]
<krey> is there a standard replacement for nix channels?
<krey> something that handles master/pinning?
<clever> ,pinning
<krey> clever: I know, but it's quite manual
<krey> and nix-prefetch-git takes a very long time
<{^_^}> [nixpkgs] @peti merged pull request #41043 → lib: Fix `nix-env -qaP -f . --xml --meta` → https://git.io/vhI6T
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vhIyz
<{^_^}> → d437f2c3 by @Ericson2314: lib: Fix `nix-env -qaP -f . --xml --meta`
<{^_^}> → 2ce9d4f6 by @peti: Merge pull request #41043 from obsidiansystems/fix-nix-env-meta
dispanser has quit [Ping timeout: 268 seconds]
<clever> krey: nix-prefetch-url is probably faster then -git
FRidh has quit [Quit: Konversation terminated!]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<krey> clever: also, I actually want to have these channels in my NIX_PATH
phry has joined #nixos
logzet has quit [Ping timeout: 245 seconds]
<krey> so I can use them from nix-shell
<symphorien> -I supports urls, maybe NIX_PATH as well
<clever> NIX_PATH does support url's
ajs124 has joined #nixos
<tilpner> krey - Does it have to be standard (there isn't anything AFAIK), or do you just want something that works? (I have something like that)
reinzelmann has quit [Quit: Leaving]
<krey> o/ tilpner
<krey> yeah, I'm looking specifically for something standard
<krey> I'm sure other users have the same issue...
awygle is now known as aygle
<tilpner> nix-channel is the standard solution, although edolstra wanted to replace it with something else for Nix 2 (IINM)
aminechikhaoui has quit [Ping timeout: 252 seconds]
<tilpner> I just keep JSON files around that describe fetchTarball arguments. Those files can be easily updated with a shell script, and can be kept in git
aminechikhaoui has joined #nixos
logzet has joined #nixos
<tilpner> But... my logs say I already told you that
<ixxie> not sure this is relevant but recently someone posted https://github.com/timbertson/nix-pin/
<krey> tilpner: yeah, I remember, but it sounded kinda complicated!
<ixxie> that post links to a blog explaining it but didn't have time to read
<ixxie> anyway good luck
<krey> tilpner: was wondering if an out of the box solution exists yet
ixxie has quit [Quit: Lost terminal]
aygle is now known as awygle
selaux has quit [Quit: Leaving]
<ldlework> Do I need to enable a desktopManager if I use a tiling window manager?
<sphalerite> no
<ldlework> OK I have xfce enabled but it doesn't even seem to do anything anyway, so I'll remove that.
<jD91mZM2> It probably added a thing to your DM's session list
<sphalerite> are you using a display manager?
<jD91mZM2> So you could choose between xfce and whatever
<sphalerite> If not then yeah that would explain it. Or if you have a ~/.xsession which overrides any choice in the display manager
<ldlework> sphalerite: as far as I know, if you don't specify a displayManager then Slim is automatically enabled
<ldlework> If you are using a windowManager
<jD91mZM2> ldlework: I tried disabling my displayManager that with build-vm earlier today and it didn't seem to work.
<jD91mZM2> Maybe I did it incorrectly or didn't give it enough time to load?
ldlework has quit [Quit: WeeChat 2.0]
<Myrl-saki> TIL, stackage2nix is easy to install now.
<{^_^}> [nixpkgs] @nlewo merged pull request #40947 → dockerTools: fixes extraCommands for mkRootLayer. → https://git.io/vhJdf
<{^_^}> [nixpkgs] @nlewo pushed 3 commits to master: https://git.io/vhI9y
<{^_^}> → 60737bd3 by @samueldr: dockerTools: fixes extraCommands for mkRootLayer.
<{^_^}> → 902b0593 by @samueldr: tests/docker-tools: Adds regression test for #34779
ldlework has joined #nixos
<{^_^}> → 2e98e0c0 by @nlewo: Merge pull request #40947 from samueldr/fix/34779
tazjin has quit []
tazjin has joined #nixos
<ldlework> I just tried it out, I only set my window manager, and slim was used to login.
<ldlework> no desktop manager set
<symphorien> ldlework: "it doesn't seem to do anything anyway" << it will prompt you nicely when you plug a monitor for example
<symphorien> with slim, use F1 to navigate from none+i3 (for example) to xfce+i3
etu has quit [Quit: WeeChat 2.1]
p_l has quit []
rodarmor has quit []
p_l has joined #nixos
Izorkin has joined #nixos
<fragamus> I am trying to install cabal and ghc and whichever one I install first works and then when installing the other I get something like use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
rodarmor has joined #nixos
<fragamus> can someone give me some thoughts
etu has joined #nixos
p_l has quit [Client Quit]
p_l has joined #nixos
Notkea has quit [Remote host closed the connection]
dbe has joined #nixos
Notkea has joined #nixos
ramses_ has quit [Ping timeout: 260 seconds]
earldouglas has quit [Quit: leaving]
ikitat has quit [Ping timeout: 260 seconds]
p_l has quit []
edef is now known as Guest22643
_habnabit is now known as Guest67145
afics is now known as Guest71029
Shados is now known as Guest16682
ocharles is now known as Guest27988
ij is now known as Guest39430
bitonic is now known as Guest21076
flugsio is now known as Guest707
mkaito is now known as Guest73467
{^_^} is now known as Guest93247
sc_ is now known as Guest38570
benley is now known as Guest78700
Georgyo is now known as Guest7739
stqism is now known as Guest49421
shapr is now known as Guest63770
sjourdois is now known as Guest31311
savanni is now known as Guest96806
kaychaks is now known as Guest84464
joepie91 is now known as Guest25804
philipcristiano is now known as Guest93575
Unode is now known as Guest64915
swistak35 is now known as Guest50286
stew is now known as Guest87130
BombStrike is now known as Guest36547
vil is now known as Guest19749
spion is now known as Guest58558
balaji is now known as Guest51752
Sigma is now known as Guest6248
r0bby is now known as Guest42461
jbetz is now known as Guest7427
benny is now known as Guest63762
systmkor is now known as Guest81514
thor is now known as Guest68528
garbas is now known as Guest55520
tg is now known as Guest84083
xorkle is now known as Guest44137
p_l has joined #nixos
ldlework has quit [Changing host]
ldlework has joined #nixos
<Guest50191> poor freenode
<ldlework> lol
Guest22643 is now known as edef
Guest63770 is now known as shapr
ThatOtherGuy has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
LogicAside has quit [Quit: ZNC 1.6.5+deb1 - http://znc.in]
Guest93575 is now known as philipcristiano
Guest25804 is now known as joepie91
<samueldr> WELL
<adamt> What happened? Not anetsplit, and didn't look like the usual "omg the matrix-irc bridge died... again"
ThatOtherGuy has joined #nixos
<samueldr> no
<samueldr> [15:07:31] [tomaw] [Global Notice] Hi all. We need to take services (NickServ, ChanServ and their friends) offline for a few minutes for maintenance. Downtime's expected to be less than 30 minutes.
<samueldr> it was announced, then they uh, did something wrong
<samueldr> [15:18:38] [tomaw] [Global Notice] NickServ, ChanServ and their friends are back up and running as normal now!
<samueldr> [15:27:09] [mquin] :[Global Notice] Seems that was premature. There are ongoing issues with services that are being looked into - please bear with us
<samueldr> (sorry for the low level spam)
<gchristensen> Services broke, and then broke more
LogicAside has joined #nixos
<samueldr> and a new notice just now :/
Guest7739 is now known as georgyo
georgyo has quit [Changing host]
georgyo has joined #nixos
georgyo has joined #nixos
<gchristensen> all the renames to GuestNNNN were because of nick protection
etu has quit [Quit: WeeChat 2.1]
etu has joined #nixos
<samueldr> exactly, looks like for some users 1) their client does not auto-login or 2) their session wasn't kept by the services
<joepie91> samueldr: auto-login wouldn't have saved you in this instance
<Guest93247> [nixpkgs] @r-ryantm opened pull request #41046 → powerdns: 4.1.2 -> 4.1.3 → https://git.io/vhIQi
<joepie91> at least not how clients normally implement it
<joepie91> (namely, on connect only)
<joepie91> "forcibly getting logged out due to a destructive mishap by network opers" is not an edge case that IRC client developers typically design their authentication mechanisms around :D
<srhb> argh.
chessai has quit [Remote host closed the connection]
<gchristensen> poor Guest93247
<samueldr> uuuh, joepie91 autologin on the "This nickname is registered." message does :)
<samueldr> (that's how my client handled it even!)
<gchristensen> well lookee you, fancy!
* samueldr doesn't actually know in the pile of hack where it was handled
reinzelmann has joined #nixos
<samueldr> quassel connects through znc to the irc servers
reinzelmann has quit [Read error: Connection reset by peer]
<gchristensen> samueldr: while true; do pm(nickserv, "identify <password>"); sleep 25; done
<adamt> gchristensen: "identify <username> <password>" to account for getting a guest nick
<gchristensen> oh sure
<samueldr> now, don't connect on a hostile server with a rogue nickserv user
<tilpner> gchristensen - Knowing your second-last IRC "bot", I'd believe you if you said that's your strategy c.c
<joepie91> samueldr: most clients don't do that though :P
<adamt> i really should get my client to send my password on connect as server passwd instead of msg'ing nickserv..
<joepie91> samueldr: the common implementation is "if end of MOTD, then message nickserv"
<ldlework> adamt: weechat makes that very easy
<adamt> It's like mquin is following #nixos and repeating my suggestion as a notice! That big copycat :>
<adamt> ldlework: Sure does. I just haven't come around to it.
<srhb> I'm starting to feel my name isn't protected at all...
<gchristensen> srhb: go enable nick protection
<samueldr> now, I'm happy my bot was victim of a netsplit and used an unregistered derivative nick :)
makefu has quit [Quit: WeeChat 1.9.1]
<adamt> srhb: You're still new on freenode, so can't blame you. :P
<gchristensen> srhb: I didn't, and someone crashed my client, then took my nick and sent everybody spam as me
jD91mZM2 has quit [Quit: WeeChat 2.0]
<Guest93247> [nixpkgs] @r-ryantm opened pull request #41048 → pdfgrep: 2.1.0 -> 2.1.1 → https://git.io/vhI7B
makefu has joined #nixos
<srhb> gchristensen: I remember. :P
<srhb> gchristensen: Is that the same as nick registration? IN that case I'm covered.
<srhb> adamt: :|
<ldlework> adamt: set irc.server.freenode.sasl_username "mynick"
<srhb> adamt: I sense irony.
<ldlework> same for password. that's it.
<gchristensen> srhb: no
<srhb> gchristensen: Okay, I'll look it up, thanks :)
<adamt> srhb: nope, my account is more than five years older than yours ;-)
<gchristensen> srhb: nick protection is if I become srhb, it'll give me 30s to log in before forcing me to change my name
jtojnar has quit [Remote host closed the connection]
<srhb> Gotcha
<adamt> nick protection is also really annoying when youdon't ident fast enough
<srhb> adamt: How do you tell?
<Guest93247> [nixpkgs] @xeji merged pull request #41040 → smplayer: 18.4.0 -> 18.5.0 → https://git.io/vhIrn
<Guest93247> [nixpkgs] @xeji pushed commit from @r-ryantm to master « smplayer: 18.4.0 -> 18.5.0 (#41040) »: https://git.io/vhI7X
<adamt> having to /msg nickserv release <nick> and everything.
<srhb> I have automatic identification set up because I'm not a freenode noob.
<srhb> :)
<adamt> srhb: /msg nickserv info <nick>
<ldlework> A lot of people in this channel have [m] postfixed to their name
<srhb> Thanks
<ldlework> what's with that
<samueldr> srhb: all *Serv services will respond to help
<adamt> ldlework: probably connected through matrix
<ldlework> I don't really understand what matrix is.
<ldlework> I've read the website like 5 times.
<srhb> XMPP for millennials.
<adamt> ldlework: it's a (in theory) better jabber/irc with built-in end-to-end encryption.
<georgyo> I don't think it does end to end encryption default
vaninwagen has joined #nixos
<adamt> georgyo: No, but it can
<joepie91> more generally, it's a federated IM/chat network/protocol
<joepie91> :P
<joepie91> with support for bridges to other protocols like IRC
srhb is now known as srhb_
srhb_ is now known as srhb
* srhb shrugs
<tilpner> It's awesome in concept, but the current server/client/appservice implementations aren't that mature
<samueldr> you're already identified
<samueldr> srhb: change nick, connect using e.g. the web client of freenode
<tilpner> (Let alone the spec...)
jmeredith has joined #nixos
srhb is now known as srhb_
<gchristensen> srhb_: for example, change to the nickname `the`
<gchristensen> (minus quotes)
<joepie91> tilpner: you'll be happy to know that a friend of mine is working on a non-sucky client :P
<tilpner> What's it called? (FWIW, I'm okay with gomuks for now)
<joepie91> Neo
<tilpner> That is a terrible name to search for
<joepie91> lol
<joepie91> tilpner: https://github.com/f0x52/neo
<joepie91> oh it has a site now
<srhb_> It works, thanks for the heads-up.
<adamt> at least the new vim is called neovim, not neo..
liori has joined #nixos
<joepie91> er, somewhere
<joepie91> sec
<tilpner> adamt - It's worse. Try searching for "matrix neo", and see how many GitHub results you get
srhb_ is now known as srhb
<adamt> tilpner: I didn't even think about Mr. Anderson. :P
<__monty__> I'm waiting on RIIR vim before I switch.
<srhb> Have you guys ever tried to search for that thing called nix? Something thought it would be hilarious to name a whole suite of things something that's usually used for something related but entirely different.
<Guest93247> [nixpkgs] @r-ryantm opened pull request #41049 → pdns-recursor: 4.1.2 -> 4.1.3 → https://git.io/vhI5M
<tilpner> Google picked up on that by now, nixos.org/nix is my first search result for "nix"
<srhb> Training the monster... Good on you ;-)
<joepie91> tilpner: ah there we go: https://neo.lain.haus
<__monty__> srhb: It's actually genius SEO all those noobs that search for *nix are belong to us.
<joepie91> but it's basically just the git repo readme apparently
<joepie91> lol
<tilpner> "Neo runs in your browser" :/
sbdchd has joined #nixos
<adamt> Google is constantly auto-correcting nix to unix for me.
<__monty__> joepie91: I thought you said non-sucky: "web-based".
<tilpner> joepie91 - Does the feature cryptpad load for you? https://pad.lain.haus/pOyNngluQGuxFnl17awPKQ/
xAFFE has left #nixos ["Error from remote client"]
<joepie91> shrug, if 'web-based' automatically translates to 'sucky' for you then there's not much of a conversation to be had :)
<joepie91> tilpner: hm, it doesn't, that's odd. sec
<tilpner> joepie91 - Not directly, I haven't tried it yet, but I tend to prefer native/TUI applications
i0-dfn has joined #nixos
Guest7427 is now known as jbetz
<__monty__> joepie91: Haven't come across a web-based application that wasn't bloated.
robstr has quit [Ping timeout: 240 seconds]
<joepie91> I have :)
<tilpner> I just have never seen a web chat client that felt as good as weechat
* srhb hands out <opinion></opinion> tags
<joepie91> (I build them, actually)
<joepie91> anyway, 'web' isn't the problem with these things, 'incompetent developers' usually is
<gchristensen> so
<ldlework> Speaking of Neo have you guys seen Neos?
<gchristensen> how about thaht #nixos-chat y'all
<joepie91> some exceptions for edge cases exist ofc
<ldlework> amazing.
<ldlework> NeosVR that is.
<ldlework> Proper metaverse incoming.
rauno has quit [Ping timeout: 268 seconds]
sbdchd has quit [Ping timeout: 260 seconds]
knupfer has quit [Remote host closed the connection]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> Whoa, zeronet is not in nixpkgs :O
<infinisil> Not yet at least: #40883
<Guest93247> https://github.com/NixOS/nixpkgs/pull/40883 (by fgaz, open): zeronet: init at 0.6.2
<infinisil> Oh no, what happened to {^_^}?
<srhb> infinisil: Freenode blargh.
drakonis has joined #nixos
Guest93247 has quit [Remote host closed the connection]
{^_^} has joined #nixos
ArdaXi1 has quit [Changing host]
ArdaXi1 has joined #nixos
ArdaXi1 has joined #nixos
<gchristensen> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
civodul has joined #nixos
tazjin has quit []
tazjin has joined #nixos
<{^_^}> [nixpkgs] @thpham opened pull request #41050 → fix: kubernetes addons (dashboard/dns) with proper imageDigest → https://git.io/vhIbk
<hodapp> blaaargh, why does bitbake assume perl is in /usr/bin/perl?
<hodapp> what are my options besides "run crap in Docker" and "make an ugly symlink"?
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vhIb0
<{^_^}> → 99e0fb04 by @pSub: colm: 0.13.0.5 -> 0.13.0.6
<{^_^}> → 9dc00992 by @pSub: ragel: 7.0.0.10 -> 7.0.0.11
Guest78700 is now known as benley
<{^_^}> [nixpkgs] @pSub pushed 2 commits to release-18.03: https://git.io/vhIbV
<{^_^}> → 1ae2d600 by @pSub: ragel: 7.0.0.10 -> 7.0.0.11
<{^_^}> → 2522b7b1 by @pSub: colm: 0.13.0.5 -> 0.13.0.6
<Ralith_> Sonarpulse: you're Ericson2314, right?
<Sonarpulse> Ralith_: yes
vidbina has joined #nixos
lejonet has quit [Remote host closed the connection]
<Ralith_> Sonarpulse: awesome work on the llvm PR! Thanks for polishing that up and bringing it to completion.
<Sonarpulse> Ralith_: NP!
<Sonarpulse> yeah I've been wanting that for a while
<hodapp> symphorien: there's not just some file I can go edit this out of
<Sonarpulse> very happy when I saw compiler-rt finally pulled out
lejonet has joined #nixos
<hodapp> this is a cascade of like 73 build systems
<Ralith_> it's exciting to see the nixpkgs build stack getting more and more loosely coupled
<Ralith_> may not be long until the stock answer to "how do I cross compile from linux" is nix
chessai has joined #nixos
adamt has quit [Ping timeout: 252 seconds]
adamt has joined #nixos
Guest67145 is now known as _habnabit
drakonis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @benley opened pull request #41051 → slack: 3.1.0 -> 3.2.0-beta2 → https://git.io/vhINk
<Ralith_> Sonarpulse: although, why only run the test under compiler-rt? Surely we care about the sanitizers working properly elsewhere.
<Sonarpulse> Ralith_: they don't though?
<Sonarpulse> the santizer header is imported
<Sonarpulse> that will fail
<Sonarpulse> and the sanitizer runtime is part of compiler-rt
<Sonarpulse> it fails to build
<ldlework> Anyone here use weechat? How do you handle the configuration?
<Ralith_> Sonarpulse: sanitizers, header and runtime and all, are equally supported under gcc, clang/libstdc++, and clang/libc++
<Ralith_> if the test was failing under any of those, that means we're doing something wrong :/
<Ralith_> unless I was testing it wrong, the original patch had it working in all of those cases, too
<Sonarpulse> Ralith_: Ah so then we just need to make compiler-rt part of both stdenvs
<Sonarpulse> there's two things going on I guess
<Ralith_> I'm not sure gcc uses compiler-rt for that
<Sonarpulse> both clang ones
<infinisil> ldlework: Ugh, I'm not sure myself
<Ralith_> ah, maybe
<infinisil> ldlework: I've just been trying to keep my machines in sync manually
<infinisil> ldlework: Weechat's config doesn't really work with nix
knupfer has joined #nixos
Garry` has joined #nixos
hotfuzz_ has joined #nixos
worldofpeace has quit [Ping timeout: 245 seconds]
worldofpeace has joined #nixos
inquisitiv3 has joined #nixos
<ldlework> Yeah it is annoying.
hotfuzz has quit [Ping timeout: 256 seconds]
<Garry`> Anyone around for a (hopefully quick) newbie question?
<ldlework> Weechat needs a patch to set where it reads the config from and where it writes the config to.
<ldlework> So we can have it write to our dotfile repos
<inquisitiv3> Have the Nix pills been removed from the website? I can't find them.
<adamt> Garry`: Maybe it's better to just try your luck with the question :P
<ldlework> And have it read from the home-manager established symlinks
<symphorien> !pills
<inquisitiv3> Thanks! But there can I find the link?
<symphorien> what do you mean ?
<inquisitiv3> Ooh, found it
<Ralith_> Sonarpulse: yeah, on consideration I'm pretty sure clang's compiler-rt use is totally independent of C++ stdlib
<Sonarpulse> Ralith_: absolutely
<Sonarpulse> so early on I thought kindof we were punning on that
<inquisitiv3> I miss remembered. I thought they where linked from the Nix's page, but they are linked from NixOS's page. :)
<Sonarpulse> like like libgcc + libstdcxx or compiler-rt + libcxx
<Sonarpulse> Ralith_: in reality both use libgcc, full stop
* Ralith_ nod
<Sonarpulse> so both need compiler-rt *only* for santizers
<Sonarpulse> of course, with it there, one could pass -rtlib=compiler-rt
<Sonarpulse> but that's not the default
<Garry`> I'm trying to write a simple haskell servant web API and I wanted to supplement the shell.nix that cabal2nix made with system deps such as pg_config. My question is - is that the "correct" way to think about developing with nix?
<Sonarpulse> Ralith_: I don't have time for nixpkgs programming today
<srhb> Garry`: You absolutely can.
<Ralith_> and rtlib selection may not be important to expose in the way that stdlib selection is
<{^_^}> [nixpkgs] @xeji pushed to master « perlPackages.DateManip: disable tests on i686 »: https://git.io/vhIAO
<srhb> Garry`: I've seen (and authored) a few different servant skeleton nix infras. There's space for variety.
<Sonarpulse> Ralith_: yeah
<Ralith_> I can try to make a fix PR against staging, if that would help
<Sonarpulse> so feel free to make the test conditional
<Sonarpulse> yeah
<Sonarpulse> beat me to it :)
<Ralith_> er, you mean remove the test conditional?
<Sonarpulse> yeah
<Ralith_> right
<Sonarpulse> and do the compiler-rt fixup in both wrappers
<Sonarpulse> (-resource-dir=....)
* Ralith_ nod
<srhb> Garry`: I prefer to keep my shell.nix very minimal, essentially just calling the default.nix for dependencies.
<srhb> Garry`: But I suppose that depends on your project, too :)
<Ralith_> my favorite thing about WFH is spinning up all these llvm/clang builds on a computer that's miles away instead of in front of me :D
<Garry`> Ah that sounds probably more what I need to do. I'll look up the docs for calling one nix expression from another file. Thanks!
<Sonarpulse> Ralith_: haha
vaninwagen has quit [Quit: WeeChat 2.1]
<Garry`> srhb - "project" is probably a grand term. I'm just hacking together a DnD web service to kick the tyres on Servant and Nix
<srhb> Garry`: Awesome. :)
<ldlework> Dungeons and Dragons?!
<Garry`> ldlework, yes
asuryawanshi has quit [Ping timeout: 252 seconds]
<infinisil> ldlework: But it does that already?
daveo has quit [Remote host closed the connection]
<infinisil> ldlework: `weechat --dir /path/to/config/dir`
<infinisil> And it also listens to $WEECHAT_HOME
<infinisil> The config is just so stateful that I can't create a nix module for it
<ldlework> infinisil: I'm saying different paths for read and write.
<ldlework> So you can read from your home-manager produced read-only symlinks, and write to your git repo containing your nix content.
Garry` has quit [Quit: Thanks for the help folks, nice meeting you]
<ldlework> Configuration wont be present if you restart weechat, of course, until you produce a new nix generation.
adamt has quit [Quit: WeeChat 2.0]
<ldlework> I can't think of any other sensible way for programs with stateful configuration to work with things like Nix
<ldlework> But I've only been thinking about it for 20 minutes so.
<ajs124> Hey, I'm trying to cross-compile something for arm on nixos right now, but can't manage to get a arm-linux-gnueabihf-gcc, etc. into my environment. Any ideas how to do this?
<infinisil> ldlework: But that means the settings you apply would not be read as you set them
atu has joined #nixos
atu has quit [Changing host]
atu has joined #nixos
atu is now known as adamt
<ldlework> infinisil: I highly doubt that when you set a setting in weechat, it first write to a file then rereads the configuration
<ldlework> in fact I know it does not do that
<infinisil> ldlework: So you think weechat should only read the file once on startup and not ever again, only rely on the in-memory instance of the settings?
<ldlework> I mean you could do /reload
<infinisil> ldlework: There's a settings file for every plugin iirc
<ldlework> and that would replace the in-memory settings from the current symlink content
<infinisil> Hmm..
<ldlework> this is a general problem for software that manages its own configuration state
<ldlework> not just weechat
<ldlework> in face of reproducable systems like Nix/Guix
<infinisil> Yeah such a read-to-A, write-to-B might work, but I bet it's gonna be wonky, because nobody expects to read something different than they just wrote
<{^_^}> [nixpkgs] @xeji merged pull request #41008 → dmd,dtools,dub: 2.079.0 -> 2.079.1 → https://git.io/vhkss
<{^_^}> [nixpkgs] @xeji pushed commit from @ThomasMader to release-18.03 « Merge pull request #40228 from ThomasMader/dlang-update (#41008) »: https://git.io/vhIxG
<ldlework> infinisil: yes, but this is a real problem for any software that behaves this way for users of operating systems like NixOS
<ldlework> there is going to be *something* unfamiliar with the solution whatever it is
<{^_^}> [nixpkgs] @srhb closed pull request #41050 → kubernetes-addons: fix dashboard & dns with proper imageDigest → https://git.io/vhIbk
<infinisil> Hmm.. What if..
rauno has joined #nixos
<infinisil> NixOS had some stateful read-writable thing, maybe git, that records a state for each generation
<infinisil> Activating a generating does a `git checkout`
<infinisil> So you can do changes to whatever generation you're currently in
<infinisil> It's writable. And you can move changes you do to the current generation to others, by just git cherry-pick, or git stash
<srhb> No, just make more generations. :P
<srhb> Generations are cheap.
<infinisil> Not sure how that solves the problem
<ldlework> Not sure how your solution solves the problem either.
<etu> srhb: Unless you approach maxint ;)
<srhb> Not sure it's a problem!
<ldlework> The state that weechat needs to write isn't just some random state.
<ldlework> Its the configuration for weechat itself.
<srhb> etu: I think we need to optimize nix a bit for that to happen, ever :P
<ldlework> Which you probably have in some dotfiles repo.
<infinisil> ldlework: Yeah, but that can be recorded as a git submodule or so
<ldlework> Weechat needs to save to your record-of-truth
<ldlework> hrm, maybe
<infinisil> But what if you check out generation 1 where your weechat config sucks
<infinisil> So it read from gen 1, your config sucks, but you do one change, and your generation 100 should get overridden with the slightly-less-shittier config?
<sphalerite> infinisil: what I was planning to do at some point is wrap nixos-rebuild so it automatically makes a commit on a separate branch in my config repo, and puts the generation number and nixpkgs rev in the commit message
<ldlework> You lost me.
myshoe has quit [Remote host closed the connection]
<sphalerite> oh right no that's orthogonal to what you're saying. Mostly.
<infinisil> ldlework: The point of generations and immutability is that you can roll back to any previous one and get everything how it was at that point
<infinisil> Which is the major point of immutability for nixos
<sphalerite> infinisil: so what you're saying is like… zfs snapshot on rebuild? :p
<infinisil> ldlework: With your solution (writing to the config directly), that would lead to weird behaviour when you check out older generations
vidbina has quit [Ping timeout: 240 seconds]
<infinisil> sphalerite: Yeah, zfs might be better for this!
<ldlework> What would be wierd about it?
shabius has quit [Quit: Leaving]
<infinisil> sphalerite: And zfs clone on rollback (because you don't want to lose the old state but still be able to modify it)
<ldlework> You'd check out the older generation, the symlink would contain whatever was in the config at that generation, and when you start weechat, it reads whatever is in the file.
<sphalerite> yeah
<ldlework> No magic, just exactly what's supposed to happen.
<infinisil> ldlework: Yeah reading is not the problem
<ldlework> infinisil: oh then you change something?
<infinisil> ldlework: Writing is, because once you do a single config change, your latest actual config would get overridden
<ldlework> I think weechat should write to your source git repo
<ldlework> Not anything Nix knows about
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41054 → openblas: 0.2.20 -> 0.3.0 → https://git.io/vhIpX
<ldlework> So if you switch to an old nix generation
<ldlework> Nothing changed about your git repo
<ldlework> If you make a change in weechat, save
<ldlework> then in your git repo you'll see exactly what happened
<infinisil> Hmm I guess it's not that terrible
<infinisil> Yeah
<infinisil> The idea of writing to one place but reading from another just sounds like it would cause a lot of problems down the line
<ldlework> "Oh fuck, I saved while on an old nix generation and the diff want to change everything back to weechat config from ages ago"
ikitat has joined #nixos
<ldlework> then you just don't merge that, and undo it
amir has quit [Ping timeout: 265 seconds]
<ldlework> maybe even cherry pick the exact changes that you made live in weechat, into your HEAD config, discarding all the garbage in the diff that came from using an old nix generation
<ldlework> then rebuild new generation
<ldlework> voila weechat is running with your modern config and the new mutation, whatever it was
<infinisil> Doing the generation checkouts with a git checkout and applying the diff to your actual config sounds like a much saner solution
<infinisil> Then you have to deal with merge conflicts, which is how it should be
amir has joined #nixos
<ldlework> Honestly
<ldlework> If I could tell home-manager where on my disk my configuration git repo was
<ldlework> Then I could just have home manager make ~/.weechat a symlink to the writable git repo
<ldlework> and skip the whole part where we put ~/.weechat into a nix derrivation
<ldlework> get me?
rihards has quit [Quit: rihards]
<infinisil> Um, you can do that?
<ldlework> Yeah, but what do you think about that?
<infinisil> Just have `ln -s ~/actual/config/weechat ~/.weechat` in the activation phase
<ldlework> yep
<infinisil> That's just a symlink, no config saving going on
<infinisil> your nix build will not contain the config, you can't roll back
<ldlework> infinisil: you can't roll back with Nix, but you can with git.
lord| has quit [Ping timeout: 245 seconds]
<infinisil> clever: That's just the pkg itself though, not the config
<clever> infinisil: line 26
<infinisil> ldlework: Hmm I guess
<clever> infinisil: though thats the only config i cared about at the time
<ldlework> It is definitely a not-bad.jpg middle ground
<ldlework> until someone way smarter figures out how to handle this case
<ldlework> well the general case
<infinisil> clever: Yeah, weechat's config is hella big..
<ldlework> composed of multiple files even
<ldlework> mixed in with its like log state and shit
yorick has quit [Quit: brb]
<infinisil> I don't like the idea of detaching the config from nix completely
<infinisil> You can't nix-build your nixos and expect everything to be there
jtojnar has joined #nixos
lord| has joined #nixos
<infinisil> Oh I guess you could put the full .git into the config too and do it like this maybe
<pikajude> okay, my node2nix is producing a derivation that will not build
<pikajude> how do i debug why this is happening
Fare has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/slurm: fix xml tag mismatch in manual »: https://git.io/vhIh7
blankhart has joined #nixos
muzzy has quit [Ping timeout: 240 seconds]
Guest44137 has quit [Quit: ZNC 1.6.6 - http://znc.in]
xorkle has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #40884 → ocamlPackages.earley_ocaml: init at 1.0.2 → https://git.io/vhelP
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vhIj8
<{^_^}> → 19f768a9 by @vbgl: ocamlPackages.earley_ocaml: init at 1.0.2
<{^_^}> → 8d1eddea by @srhb: Merge pull request #40884 from vbgl/ocaml-earley-ocaml
mightybyte has quit [Quit: leaving]
fragamus has joined #nixos
<ldlework> infinisil: what do you mean
<infinisil> ldlework: having a weechat config submodule, and including that in your system with "${./path/to/submodule}", which will put the full .git directory and all commits into every nixos-rebuild you're gonna run in the future
<infinisil> But it means that you can check out older versions by nixos-rebuild --rollback
<infinisil> I think
<elvishjerricco> pikajude: Look at build logs and find error messages :P
xorkle has quit [Quit: ZNC 1.6.6 - http://znc.in]
<ldlework> infinisil: I'm still a bit unclear on how to bootstrap a nixos system. Do you have a git repo with your configuration.nix and your home.nix and you write that to the partition before running nixos-install ?
<pikajude> elvishjerricco: ok!
<clever> ldlework: yeah
<ldlework> Do you somehow invoke the home-manager build in your nixos-rebuild?
<clever> ldlework: i dont use home-manager
<ldlework> clever: how do you manage?
<ikitat> What's a good workflow for fixing/testing a PR against nixpkgs-unstable? I've messed around with ~/.nix-defexpr and $NIX_PATH before but it was pretty confusing and long winded. Wondering how others go about it.
<elvishjerricco> pikajude: If it helps, you can do `nix log /nix/store/...-failing-build.drv` to see the log of a build you've already tried
puercowork has joined #nixos
<clever> ldlework: i just have nixos configure most things properly, system wide
<ldlework> clever: but somethings must go into your home directory
<srhb> ikitat: -f, -I and maybe just learning how to build directly in your checkout.
fragamus has quit [Client Quit]
<srhb> ikitat: Like, nix-build . -A hello
<tilpner> ldlework - weechat config doesn't have to go into your home though
<clever> ldlework: it starts with an empty home
<ldlework> clever: and you manage your home directory manually then?
<clever> ldlework: yeah
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/vhLeG
<{^_^}> → 48b3da99 by @tazjin: nixos/dd-agent: fix runtime errors by adding gohai to $PATH
<{^_^}> → 6e7d5cf6 by @tazjin: gohai: init at 2018-05-23
xorkle has joined #nixos
<ldlework> infinisil: can you show me how you make home-manager happen on nixos-rebuild
<ldlework> I don't exactly mind doing them separately but I'm curious.
<puercowork> Hi, so I've read nix-pills but know I want to learn about the language specific 'helpers'(?) (ej. bundix) come with Nix. I'm having trouble googling documentation on them. Is there a somewhere where they are documented? I'm mostly interested in Ruby and Javascript.
shabius has joined #nixos
<ldlework> infinisil: fascinating. does the home-manager switch happen each nixos-rebuild?
<infinisil> puercowork: Maybe these are in https://nixos.org/nixpkgs/manual/#chap-language-support
Peaker has joined #nixos
<infinisil> ldlework: Yeah, it's a systemd service that gets run
pikajude has quit [Remote host closed the connection]
<Peaker> I couldn't find this in the faq, so: Why does Nix use a weird language of its own? Why not a library for an existing language/ecosystem?
pikajude has joined #nixos
<Peaker> (and such a weird one at that, the top imports section seems quite redundant?)
<srhb> Peaker: The top imports section? Do you mean the argument set?
<puercowork> infinisil: Thanks. I see there is a chapter on Ruby there.
<ldlework> Peaker: the nix expression language is actually very cleverly and well-designed
<srhb> Peaker: I think you'd probably need to read the paper to find a real answer :)
<Peaker> srhb, perhaps ;) I don't understand the Nix language yet
<srhb> I also don't find it very weird...
<ldlework> you will realize that its design is absolutely perfect for describing a system configuration
<elvishjerricco> Peaker: What other language has the level of purity, along with path literals and pure file IO operations Nix has?
<srhb> Peaker: Then I think your question might be a bit premature. :D
<ldlework> srhb: name another language like it
<ldlework> nix expression language is very strange in that there are basically no other languages like it
<srhb> ldlework: Haskell springs to mind.
<srhb> ldlework: Sans types, sadly.
<ldlework> Haskell can do things.
<elvishjerricco> srhb: It'd be really hard to adapt haskell to be suitable for Nix
coot has quit [Quit: coot]
<ldlework> nix is a language who's only function is to describe a data structure
<srhb> elvishjerricco: How so?
<tertle||eltret> it can? i thought it was just unnecessarily complicated for the sake of terseness
<ldlework> because of what I just said
Notkea has quit [Remote host closed the connection]
<infinisil> srhb: I can't see a way of making the module system work well in a typed fashion
<Peaker> ldlework, why do I have to repeat all my dependency names on the top of my nix file? I guess that's the argument set?
<ldlework> the syntax of nixlang is all about composing a merged data structure, which is then used by nix to do things
Notkea has joined #nixos
<ldlework> nixlang doesn't do anything itself
<ldlework> it only produces a data structure
<srhb> Peaker: It's the inputs to your function. You've got to get the inputs from somewhere.
<elvishjerricco> srhb: Well, being able to import other people's code relies on eval-time code importing
<srhb> Peaker: Your package being "the body" of the function
<elvishjerricco> Can't really do that in Haskell without some serious absurdities
<Peaker> srhb, couldn't it infer the inputs?
<srhb> elvishjerricco: This is true.
<etu> Peaker: Also, remember nix is not new in itself. It's been around for 15 years. And I think the language is about as old. There wasn't the same hype back then to roll your own thing and such.
<ldlework> The larger point is that in using Haskell, the syntax is not a DSL for describing the end result.
<srhb> Peaker: Sure, and you can sort of do that, but that'd be quite implicit.
<__monty__> ldlework: Dhall?
<ldlework> You would need abstractions that build the data object
<Peaker> srhb, explicit - since you explicitly refer to the input. Now it's more than explicit, it's verbose
<elvishjerricco> srhb: The implicit translation between path literals, derivations, etc is quite important and Haskell wouldn't have that
<ldlework> Rather than literalizing the data object partials
sbdchd has joined #nixos
chessai has quit [Remote host closed the connection]
<srhb> Peaker: For instance, you could just require pkgs as the only item in the set. But that would give you worse errors.
<ldlework> elvishjerricco: other good points
<ldlework> __monty__: I'll take your word for it, but I think that makes my point haha :)
<elvishjerricco> srhb: Types make nixpkgs-style code absurdly hard. This could probably be worked around, but it's hard for me to imagine a type-safe concept of `overlays`
<srhb> elvishjerricco: Surely we could do interpolation in a number of ways that are not too inconvenient
<infinisil> Peaker: It's like defining a haskell function `foo a b c` and using a b c within your function, just that nix can know what these argument names are and uses it to determine which dependencies to pass
<srhb> I'm not talking about a verbatim translation here.
<ldlework> More inconvinent than nixlang
<srhb> I was mainly just thinking "lazy" and "pure"
<srhb> It did not seem at all that weird to me from those perspectives.
<ldlework> Yes, haskell and nixlang share those, but that's about all they share really
<elvishjerricco> srhb: Of course not, but these do seem to be really important for the extensibility of Nix, and it's hard to imagine how to do that with Hsakell
<srhb> Those are both a big deal to me and helped me immensely feel that the language was not that weird to get into
<infinisil> But tbh, I'm pretty sure the argument list for packages at the top can be avoided, multiple ways in nix 2.0
<srhb> Honestly most of the things you've mentioned now were curious implementation details to me for a long time
<ldlework> they are certainly way to relate
jperras has quit [Ping timeout: 252 seconds]
<__monty__> ldlework: Dhall has a dhall-to-nix compiler, hence why I suggested.
<srhb> elvishjerricco: I do think extensibility is key, agreed.
<ldlework> __monty__: neat
<srhb> elvishjerricco: And that is definitely tricky.
<clever> __monty__: link?
<elvishjerricco> srhb: The dynamic importing thing is the main thing to me
<ldlework> I think the fact that Nixlang is a syntactic DSL for merging structural partials can't be understated.
<srhb> elvishjerricco: Can you elaborate on what you mean by dynamic importing?
<elvishjerricco> I just can't figure a way to rely on a library at eval time without requiring a build system for your build system :P
<ldlework> It is precisely the need of the package system.
<srhb> Ah
<srhb> No, indeed.
<srhb> Even Nix sometimes falls short there.
<clever> __monty__: that looks useful
<srhb> cf. nix-in-nix...
<elvishjerricco> IFD is good enough IMO, but yea it can be annoying
mkoenig has quit [Remote host closed the connection]
<srhb> It's sloooow
<srhb> It ruins Hydra.
<srhb> :(
<srhb> But OK, that's mainly Hydra's fault.
<infinisil> srhb: What's so slow about it?
<elvishjerricco> Why is it so slow?
<srhb> I don't know. I wish it weren't.
<elvishjerricco> I have noticed that the overhead in `nix-store -r` is non-negligible
<srhb> Oh, really?
<elvishjerricco> So that's some inherent overhead in IFD
<__monty__> clever: Only reason I wouldn't use it is it'd be harder to ask for help here. Maybe the generated nix isn't too bad though.
sbdchd has quit [Ping timeout: 260 seconds]
<clever> __monty__: ive had issues in the past, where i had to compile a whole haskell program, just to read 1 field in a dhall file, lol
<srhb> elvishjerricco: Well, that's a promising lead at least.
<ldlework> IFD?
<srhb> import from derivation
<elvishjerricco> srhb: How would you represent a dynamically sized package set, with concrete dependencies in Haskell?
<ldlework> the fact that you can do imports = [ ./some-file ]; in { foo = bar }
<ldlework> and the result will be the merged structure
<ldlework> that's the sauce.
<ldlework> there's no way to lexically do that kind of thing in haskell
<ldlework> you're calling stuff
inquisitiv3 has quit [Ping timeout: 245 seconds]
<elvishjerricco> ldlework: There's stuff you could do, but it wouldn't be as nice as it is in Nix
<srhb> elvishjerricco: I don't know. I don't think I've ever taken the time to work out what the requirements are.
<ldlework> elvishjerricco: and would be essentially magic at that point
<elvishjerricco> srhb: I get the feeling everything would live in an ExceptT :P
<srhb> elvishjerricco: That sounds quite probable.
<elvishjerricco> At least evaluation would be way faster...
<elvishjerricco> Barring long compile times
<ldlework> heh
<srhb> (Also, I didn't suggest this! I merely stated that my knowledge in Haskell really helped me get into Nix. :-))
<ldlework> srhb: my lack of experience with functional languages including purity and laziness -fucked me hard- when I first saw Nix
<elvishjerricco> srhb: Having Haskell instead of Nix for the language would be really nice. It's just really hard. I'd love to see the questions answered
<srhb> I think one of the most defining things for me in Nix is how there's functions everywhere, serialized in nice, readable format in the tree that is easy for me to read (directory structure) and often represented the same way internally (mostly)
<srhb> elvishjerricco: Agreed :)
<ldlework> infinisil might remember the two weeks of me just asking the dumbest questions over and over trying to wrap my head around Nixlang
<elvishjerricco> Oh and while we're complaining about languages: Nix's dynamic scoping is utterly insane
<ldlework> the fact that things are not evaluated in lexical order completely infantilized me, engineering-wise
<elvishjerricco> `with` keyword should die!
<ldlework> dunno, with cleans up some expressions real nice
<ldlework> I'm all about that DRYness
<clever> elvishjerricco: how would you do: with pkgs; [ foo bar baz ]; then?
<clever> elvishjerricco: inherit (pkgs) foo bar baz; doesnt work on a list
<Peaker> How does nix guarantee that all dependencies are specified? Does it use chroot or such?
<srhb> Trivially implemented with a fold though
<elvishjerricco> clever: I'd probably prefix them all like `pkgs.foo`. But in my configuration.nix I use `builtins.attrValues { inherit (pkgs) ...; }`
<clever> Peaker: the paths are hashes under /nix/store/, and if you dont ask for something, you dont get its hash
<clever> Peaker: only if your very naughty and search /nix/store/*/include/ will you ever find something you didnt ask for
<Peaker> clever, what prevents packages from installing stuff willy nilly in other places and then later reading other places?
<elvishjerricco> My attrValues trick makes it clear exactly where each value is being taken from. I like it a lot actually
<Peaker> (or just reading /etc or whatever exists in nix?)
<clever> Peaker: and the builds are ran under a dedicated user like nixbld1, that has limited write access
<srhb> elvishjerricco: Agreed. I should start being more fervent with that...
<srhb> The worst part about with is how easy it is to reach for. :P
<clever> Peaker: reading things like /usr/include (if it exists) and /etc are still an issue, but the nix sandbox can do that (it uses namespacing)
<elvishjerricco> Right :P
<ldlework> elvishjerricco: do you have a blog?
<ldlework> we need more people writing about Nix
<clever> Peaker: with the sandbox on, you cant even search /nix/store/*/include/
<elvishjerricco> ldlework: I do but I rarely post there
<gchristensen> agreed, ldlework
<Peaker> clever, "the nix sandbox"? Is that a chroot jail?
<elvishjerricco> Every moment I spend writing a blog is a moment I wish I was writing Nix / Haskell instead :P
<clever> Peaker: its using mount, user, and network namespaces, which act mostly like containers
<elvishjerricco> Which is faulty reasoning, but that's at least the reason I don't blog much
<clever> Peaker: the network namespace also stops you from doing network access
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41056 → nanomsg: 1.1.2 -> 1.1.3 → https://git.io/vhLJL
<ldlework> elvishjerricco: you might inspire exponentially more nix authorship than you can do yourself though
<elvishjerricco> ldlework: I know. It's just not as exciting :P
<ldlework> you are hinting at wisdom here that I'm tempted to ask you about, but it'll be a shame that only the people here will know it
<Peaker> clever, interesting.. what happens if a build is interrupted (SIGINT) or otherwise dies? Do leftovers contaminate things or are they properly cleaned up? Can a "poisoned build" remain installed?
<clever> Peaker: only if a build exits with code 0 will nix keep its results
<{^_^}> [nixpkgs] @nyanloutre opened pull request #41057 → nixos/duplicati: add port and datafolder options → https://git.io/vhLJc
<clever> Peaker: if it dies for any other reason, nix will delete all output it had created
<elvishjerricco> I'm also a big proponent of Docs over Blogs. Every time I write a blog about teaching people something, I realize it should have been documentation in official locations instead
<Peaker> clever, great, thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41058 → lxqt.lxqt-build-tools: 0.4.0 -> 0.5.0 → https://git.io/vhLJg
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<ldlework> elvishjerricco: documenting technique is strange
<ldlework> approach and strategy
<ldlework> convention and modeling
<ldlework> elvishjerricco: the solution is a nix planet aggregator
jbboehr has joined #nixos
<ldlework> oh wait we killed RSS for no good reason
doyougnu has joined #nixos
sanscoeur has quit [Ping timeout: 256 seconds]
acarrico has quit [Ping timeout: 245 seconds]
<srhb> We do have a planet, I think. Very low value of course :P
<ldlework> In the Emacs world, there is this lady Sasha Chua who basically scowers the whole net once a week and compiles everything happening in the emacs sphere and sends out an email/blog post
<ldlework> I'm sure people send her stuff too, to help out.
steell has joined #nixos
hiratara has quit [Ping timeout: 245 seconds]
<__monty__> Killed RSS? OH, THE HUMANITY!
<capisce> the death of rss has been greatly exaggerated
<Myrl-saki> error: attribute 'libraryHaskellDepends' missing, at /home/myrl/Development/mysc/config.nix:51:35
<ldlework> I'd put the number of things I'd like to subscribe to that have RSS ~30%
<Myrl-saki> How do I override libraryHaskellDepends? I tried overrideCabal and overrideAttrs.
<clever> Myrl-saki: can you gist the file?
<Myrl-saki> and normal override.
<clever> Myrl-saki: you want overrideCabal
<srhb> overrideCabal will do it.
<Myrl-saki> Huh, I'm stupid. Must have not saved the file.
<Ralith> Sonarpulse: I'm having trouble reproducing a failure when compiler-rt is not provided to clang/libstdc++. What was the testcase that motivated the conditionalization in the first place?
<Ralith> it's not obvious to me that configuration can't just use the same libs/headers the gcc does
<Sonarpulse> Ralith: it cannot find the ubsan.x86_64.a
<Sonarpulse> (or likewise for other sanitizer)
<ldlework> Hmm, that planet page could use an aesthetic hand.
<{^_^}> [nixpkgs] @srhb merged pull request #40922 → rust-cbindgen: init at 0.6.0 → https://git.io/vhfnP
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/vhLUR
<{^_^}> → c2361d63 by @jtojnar: rust-cbindgen: init at 0.6.0
<{^_^}> → c04d3ae0 by @srhb: Merge pull request #40922 from jtojnar/rust-cbindgen
<Myrl-saki> Any explanation why Nix uses ++ for list concatenation, when + is used for string concatenation?
<ldlework> To simplify the parser?
hiratara has joined #nixos
<Myrl-saki> ldlework: HOw would that simplify it?
<clever> Myrl-saki: it wont need to inspect the types of both params to know which append to use
worldofpeace has quit [Read error: Connection reset by peer]
<ldlework> Myrl-saki: you don't need to know what the surrounding tokens are to know whether you've got a string-concatenation-operator or a list one
<Myrl-saki> But numbers?
<ldlework> Beats me.
<Sonarpulse> Ralith: in particular if you just make the test unconditional
<Ralith> Sonarpulse: what was the testcase, specifically? I'm unable to reproduce
<ldlework> If I wanted to help improve the styling of planet.nixos.org where to look?
<Sonarpulse> Ralith: tests.cc-wrapper-clang-6 shoudl fail
<Sonarpulse> Ralith: it couldn't build sanitized.c
<Sonarpulse> (or whatever that file is called)
<Sonarpulse> linking error
<Sonarpulse> where would clang get ubsan.la if not compiler-rt?
worldofpeace has joined #nixos
<Myrl-saki> on the commandline: warning:
<Myrl-saki> -package-conf=/tmp/nix-build-haskell-src-meta-0.8.0.1.drv-0/package.conf.d is deprecated: Use -package-db instead
<Myrl-saki> which gets considered as serious compiletime warning
<Myrl-saki> I'm using stackage2nix
coot has joined #nixos
<Ralith> Sonarpulse: same place gcc gets it?
<Myrl-saki> Oh, there seems to be an override for it.
<Sonarpulse> Ralith: a) clang says it only works with compiler-rt
<Sonarpulse> b) it looks not on NIX_LDFLAGS
<Sonarpulse> or the linker path in general
jtojnar has quit [Quit: jtojnar]
<kandinski> I just got this error: "The option `system.nixos.stateVersion' defined in `/etc/nixos/configuration.nix' does not exist." when trying a `nixos-rebuild switch`. This is the offending line: 'system.nixos.stateVersion = "18.03"'. `nix-channel --list` does show nixos https://nixos.org/channels/nixos-18.03
<Ralith> hmm
<Ralith> Sonarpulse: looks like I've been running the test wrong, thanks for the sanity check
<kandinski> What could be wrong?
<Sonarpulse> it is instead looks on this resource path
<Sonarpulse> very nasty stuff
jtojnar has joined #nixos
amir has quit [Ping timeout: 245 seconds]
Guest58558 is now known as spion
<Sonarpulse> Ralith: it's like another "sysroot"
jperras has joined #nixos
<Sonarpulse> where only this stuff and crt{begin,end}.a is found
spion is now known as Guest11810
<Ralith> yeah, I get the idea, was just really confused by the results I thought I was observing
<Myrl-saki> oh no
<Myrl-saki> I just realized I'm using two package sets...
<infinisil> It turns out with Nix 2.0 it's possible to implement callPackage that doesn't require the argument list at the top of the file
amir has joined #nixos
<Myrl-saki> infinisil: What do you mean?
jperras has quit [Ping timeout: 240 seconds]
<ajs124> Any ideas how to get arm-linux-gnueabihf-gcc, etc. into a nix environment or shell?
<infinisil> Myrl-saki: Every package in nixpkgs is declared with an argument list like { stdenv, hello, libfoobar }: at the top
Ralith_ has quit [Ping timeout: 245 seconds]
<infinisil> Myrl-saki: It's possible to just remove that argument list, adjust the callPackage implementation and it will work still
fragamus has joined #nixos
<infinisil> So no more having to add `hello` to the argument list when you want to use the hello package in your build inputs
<infinisil> you just write in in there
<srhb> I can do that with nix 1.x!
palo has quit [Quit: ZNC 1.6.5 - http://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41059 → lxqt.libqtxdg: 3.1.0 -> 3.2.0 → https://git.io/vhLTw
<infinisil> The magic lies within `builtins.scopedImport`
<infinisil> srhb: Does nix 1.x have that?
<srhb> infinisil: No. But I can use the fact that pkgs.pkgs.pkgs.pkgs.hello is as good as pkgs.hello :P
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<infinisil> Yeah but then you still require the pkgs argument, which is about the same, but still!
<infinisil> I like the scopedImport magic
* srhb nods
<infinisil> Here's how it would work for the ones interested: https://github.com/Infinisil/newCallPackage/blob/master/default.nix#L13
<clever> infinisil: i believe scopedImport breaks caching in nix
<__monty__> infinisil: Wait, this is even more magic? I already think the argument list is too much magic.
<sphalerite> infinisil: scopedImport was already in 1.x
<clever> infinisil: behind the scenes, import can cache the value that results from importing a file
<srhb> __monty__: The argument is zero magic. callPackage is a tiny bit of magic :)
<clever> infinisil: but scopedImport cant
<infinisil> clever: Pssshht
<infinisil> ,magic = Magic is just science we don't understand yet
<{^_^}> magic defined
<infinisil> ,magic __monty__
<{^_^}> __monty__: Magic is just science we don't understand yet
<__monty__> srhb: How is it zero magic? Just because you name an argument something it gets filled with the right value? It feels very much like J2EE dependency injection magic.
<Myrl-saki> nix-repl> ((import <nixpkgs> {}).callPackage ./pkgs/ghcjs {}).callPackage <nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix>
<Myrl-saki> «lambda @ /etc/nixos/nixpkgs/pkgs/development/haskell-modules/make-package-set.nix:102:22»
<srhb> __monty__: That's callPackages doing
<Myrl-saki> nix-repl> ((import <nixpkgs> {}).callPackage ./pkgs/ghcjs {}).callPackage <nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix> {}
<Myrl-saki> error: value is a function while a set was expected
<Myrl-saki> ??
<srhb> __monty__: The argument set does nothing but require that the function be called with exactly that set of values.
Ralith_ has joined #nixos
<srhb> __monty__: (That is, a set with those names defined)
<srhb> __monty__: No more, no less, or you get an error.
<infinisil> > builtins.functionArgs ({ foo, bar }: " __monty__ ")
<{^_^}> { bar = false; foo = false; }
<infinisil> That's all magic there is ^^
<clever> Myrl-saki: what is the type of ((import <nixpkgs> {}).callPackage ./pkgs/ghcjs {})
<ldlework> One of my favorite things about Nixlang is how refactorable it is.
<ldlework> It is kind of ridiculous actually.
<clever> Myrl-saki: and what arguments does nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix expect?
<Myrl-saki> clever: Should be the same type as haskellPackages.
<Myrl-saki> Oh yeah, I see now.
<sqzlh> when building custom packages with fetchgit/fetchgitPrivate, is it possible to always follow the latest commit on a stable branch?
<Myrl-saki> { pkgs, stdenv, callPackage }:
<Myrl-saki> self: {
logzet has quit [Remote host closed the connection]
<clever> Myrl-saki: grep nixpkgs to see how hackage-packages.nix is meant to be loaded
<Myrl-saki> Yeah, that's what I'm doing right now.
<__monty__> Ah, thanks for the insight. Began to see the { } as syntax for function( ). Immediately makes more sense as a set "description"(no idea what to call it).
ikitat has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #41060 → all-cabal-hashes: update Hackage snapshot to latest version → https://git.io/vhLkY
* infinisil goes to sleep
<srhb> __monty__: It's called an argument set. It is one argument that is a set.
<Myrl-saki> clever: Just a guess, but this seems like some fixedpoint magic.
iqubic has joined #nixos
<clever> Myrl-saki: yeah, thats my guess too
<Myrl-saki> haskellPackages = pkgs.callPackage makePackageSet {
<Myrl-saki> package-set = import ./packages.nix;
<__monty__> srhb: Thanks. You just made the world slightly less magic to me :'(
<Myrl-saki> From my stackage2nix file.
<Myrl-saki> I'm guessing the same thing is to be expected for this.
<Myrl-saki> This is actually better for me.
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1ae2d600b46 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jasongrossman has quit [Remote host closed the connection]
<clever> Myrl-saki: something fun i did 7 months ago: https://gist.github.com/cleverca22/60c46368afb999c16224fc17af5c538d
<srhb> __monty__: Sorry. At least unicorns are real. Take comfort in this.
<Myrl-saki> lol
<worldofpeace> Anyone want to help decide what directory a certain software should go in nixpkgs? I'm having trouble.
<__monty__> srhb: : ) I spot unicrons on a regular basis.
<__monty__> (Not a typo.)
<Myrl-saki> Oh, I still have to make that horridly long import string... dammit.
<Myrl-saki> package-set = import <nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix>;
<Myrl-saki> Looks a bit cleaner, I guess.
hamishmack has joined #nixos
<__monty__> nn peoples
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__monty__ has quit [Quit: leaving]
Neo-- has joined #nixos
Wharncliffe has joined #nixos
<Myrl-saki> TIL, you can use inherit for non-set stuff.
<joepie91> huh?
<clever> i think let is the only place it works
<Myrl-saki> Yep.
<Myrl-saki> It works in let and sets.
<Myrl-saki> Basically, if it ends with an et, it will work.
<clever> `let foo = bar; in` == `with rec{ foo = bar; };` essentially
<joepie91> lol
<ldlework> I don't know why I'm so nervous about using the home-manager nixos feature.
<ldlework> I'm so scared of screwing up my system and having to start over lol.
<ldlework> Its like being abused for years and learning to trust again.
joehh has quit [Ping timeout: 245 seconds]
<infinisil> Myrl-saki: Let me show you some surprising semantic of nix
camsbury has quit [Remote host closed the connection]
worldofpeace has quit [Quit: Konversation terminated!]
camsbury has joined #nixos
<iqubic> What part of it surprising?
<Myrl-saki> why will you short circuit my mind you meanie
<infinisil> Wait
<infinisil> I can't find it anymore, hold on
<clever> > a:b
<{^_^}> "a:b"
<Myrl-saki> myrl@myrl:~/Dev/mysc[master•]$ nix-build --max-jobs 4
jasongrossman has joined #nixos
<Myrl-saki> error: infinite recursion encountered, at undefined position
<Myrl-saki> nice
<clever> Myrl-saki: can you guess why what i just did happened?
<Myrl-saki> clever: Uhh
<Myrl-saki> A path or something?
<clever> close!
<ldlework> hostname?
<clever> URI
<Myrl-saki> Ohhh
<Myrl-saki> cool.
<ldlework> yeah I was thinking foo:80
<Myrl-saki> Does that mean Nix is webscale? :P
<clever> > a: a
<{^_^}> <LAMBDA>
<clever> > a:a
<{^_^}> "a:a"
<clever> be careful when writing identity :P
sbdchd has joined #nixos
<Myrl-saki> clever: The reason why I was able to guess close is because it literally just happened on my editor. Was patching some functions and foo:bar: turned blue.
<iqubic> What?!?! Nix determines if it is a string or a function based on a single space???
<Myrl-saki> Which means string.
<Myrl-saki> Rather, means path.
<infinisil> I found it
<Myrl-saki> And apparently, URI too.
camsbury has quit [Ping timeout: 248 seconds]
hiratara has quit [Quit: ZNC - http://znc.in]
<infinisil> > let foo = "outer"; with { foo = "inner"; }; foo
<{^_^}> error: syntax error, unexpected WITH, at (string):41:20
<infinisil> > let foo = "outer"; in with { foo = "inner"; }; foo
<{^_^}> "outer"
<infinisil> WHY ^^
<clever> infinisil: let has higher scope, so `with pkgs;` doesnt overwrite things on you
<Myrl-saki> I call dibs on scoping.
<iqubic> Scoping is weird.
<infinisil> clever: Why though..
<clever> other then `with lib;` i keep my with statements as narrow as possible
hiratara has joined #nixos
<infinisil> I would not expect it to work like this
<clever> foo = with pkgs; [ a b c ]; rather then with pkgs; { foo = [ a b c ];
<infinisil> This totally ruins my nixbot
<infinisil> > foo = "outer"
<{^_^}> foo defined
<infinisil> > with { foo = "inner; }; foo
<{^_^}> error: syntax error, unexpected $end, expecting '"', at (string):42:15
<ma27> does anybody know how long nixos 17.09 will be supported?
<Myrl-saki> Ohhh
<infinisil> > with { foo = "inner"; }; foo
<{^_^}> "outer"
<Myrl-saki> infinisil: That's way clearer.
<Myrl-saki> clever: *
<Myrl-saki> clever: So basically, it's something that makes sense for package management.
<clever> Myrl-saki: it both makes it easyer to read, and also harder to parse wrong
<Myrl-saki> with pkgs; let ... in ... also looks a bit weird.
<ldlework> > with { foo = "outer"; }; let foo = "inner"; in foo
<{^_^}> "inner"
<Myrl-saki> And will that even parse correctly?
tzemanovic has joined #nixos
sbdchd has quit [Ping timeout: 245 seconds]
<Myrl-saki> ugh, i'm stupid. >~<
<iqubic> @undefine foo
<iqubic> Wait, wrong bot.
<iqubic> > foo =;
<{^_^}> error: syntax error, unexpected ';', at (string):9:8
<Myrl-saki> I literally just copied in haskell.packages.ghcjsHEAD to my own package set.
<Myrl-saki> I should have done something like merge the 2 package sets together.
<Myrl-saki> :(
<iqubic> Well, how do we undefine foo?
<infinisil> > :d foo
<{^_^}> undefined foo
<infinisil> :d might break the whole bot though, so don't try to use it too much :P
knupfer has quit [Ping timeout: 265 seconds]
<infinisil> Need to fix it
furon has joined #nixos
simukis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @joachifm merged pull request #40919 → systemd-timesyncd.service: use the correct server list → https://git.io/vhfUW
<{^_^}> [nixpkgs] @joachifm pushed commit from @tokudan to master « nixos/systemd-timesyncd: use the correct server list (#40919) »: https://git.io/vhLLa
Ariakenom has quit [Read error: Connection reset by peer]
<Myrl-saki> Ughhh
martingale has quit [Read error: Connection reset by peer]
woodson has quit [Ping timeout: 245 seconds]
<infinisil> What is it Myrl-saki-sama
amir has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #41048 → pdfgrep: 2.1.0 -> 2.1.1 → https://git.io/vhI7B
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « pdfgrep: 2.1.0 -> 2.1.1 (#41048) »: https://git.io/vhLLN
martingale has joined #nixos
Peaker has quit [Ping timeout: 268 seconds]
woodson has joined #nixos
<Myrl-saki> infinisil: lmao
lsyoyom has quit [Ping timeout: 256 seconds]
amir has joined #nixos
devx has quit [Quit: . .. ...]
devx has joined #nixos
<Myrl-saki> what the
<Myrl-saki> ghcjs-prim is not even defined. what the
<Myrl-saki> development/haskell-modules/configuration-common.nix
<Myrl-saki> 28: ghcjs-prim = null;
<Myrl-saki> lmao what
<{^_^}> [nixpkgs] @dezgeg pushed 6 commits to master: https://git.io/vhLtO
<{^_^}> → 402ab213 by @dezgeg: ntfs-3g: Split into multiple outputs
<{^_^}> → 0541762f by @dezgeg: efivar: Split into multiple outputs
<{^_^}> → 91117f0d by @dezgeg: nixos/installer: Drop dmraid
dtulig has joined #nixos
<Myrl-saki> There are a lot of dependencies for a package that doesn't exist. Huh.
seafood has joined #nixos
jasongrossman has quit [Ping timeout: 245 seconds]
seafood has quit [Client Quit]
joehh has joined #nixos
<azazel> uh, so what are the differences between nixos "profiles" and "overlays"? I've to backport a feature from unstable to 18.03 and it's composed by a configuration module and several packages... what should I do? what's the most "official" and up-to-date way to do it? Someone on github suggested doing a overlay
erasmas has quit [Quit: leaving]
mkoenig has joined #nixos
lsyoyom has joined #nixos
newhoggy has joined #nixos
<azazel> symphorien: thanks, I knew the first but not the second...
drakonis has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
<Myrl-saki> clever: Ping.
<clever> Myrl-saki: pong
<Myrl-saki> clever: If I have 2 functions that are called by callPackage
<Myrl-saki> ...I'm stupid.
<Myrl-saki> I was going to ask how to merge them.
<Myrl-saki> All that I now know is I have no idea.
<Myrl-saki> Ugh. :/
bemeurer has joined #nixos
<Myrl-saki> Apparently, there's some magic that makes head_stage2.nix propagate to the haskell.compiler.ghcjsHEAD.packages, but I have no idea what the magic is.
<bemeurer> Hey there
<Myrl-saki> How should I do that?
<Myrl-saki> Is there like some why-depends, but for filse
<bemeurer> Could anyone help me out, I just set up nixos on a server, and I'm trying to install cuda
<bemeurer> but when I do nix-env -i cuda
<Myrl-saki> I guess "error" is, in a way?
<clever> Myrl-saki: thats one way
<bemeurer> I get nix-env -i cuda
TonyTheL1on has joined #nixos
<bemeurer> error: selector 'cuda' matches no derivation
<clever> > cuda
<{^_^}> undefined variable 'cuda' at (string):41:1
<Myrl-saki> What's the error keyword?
<clever> > throw "custom error"
<{^_^}> custom error
<Myrl-saki> Thanks
<clever> infinisil: it may need to render errors better
<ldlework> Let's say I have an expression in a foo.nix that I am going to add to imports = []; Is there a way to do that while overriding some parts of the module?
<Myrl-saki> Wtf. It's simple?
drewr has quit [Read error: Connection reset by peer]
<infinisil> clever: totally
<clever> bemeurer: i think you want nix-env -iA nixos.cudatoolkit
<Myrl-saki> Hmm
TonyTheLion has quit [Ping timeout: 268 seconds]
<infinisil> > abort "foobar"
<Myrl-saki> I'm wrong. I'm not getting the stack trace I expected.
<{^_^}> evaluation aborted with the following error message: 'foobar'
<Myrl-saki> I want to know why haskell.packages.ghcjsHEAD.foo is in foo.
<bemeurer> clever: Hmm, that just gives me an empty output and does nothing
<Myrl-saki> So the very top of the stack-trace should be all-packages.nix.
drewr has joined #nixos
<clever> bemeurer: try adding -v
nur0n0 has joined #nixos
<infinisil> Hahaha, it's always funny when people in ##linux have problems that are completely solved with NixOS xD
<bemeurer> Is it because I configured nvidia and it auto-install all of this?
palo_ has joined #nixos
<Myrl-saki> infinisil: Ikr. :P
<clever> bemeurer: and nix-env -q shows?
<Myrl-saki> OHHHHkay.
<Myrl-saki> I'm stupid.
<bemeurer> clever: Just git and htop
<Myrl-saki> in stage1 // stage2 // {
<Myrl-saki> Of course..
palo has quit [Ping timeout: 252 seconds]
<clever> bemeurer: thats strange
steell has quit [Ping timeout: 264 seconds]
<Myrl-saki> I'm pretty sure I'm complicating this. A lot.
<symphorien> bemeurer: try nix-build "<nixpkgs>" -A cudatoolkit
<Myrl-saki> Uhh.
<bemeurer> clever: Aha! I was missing the nonfree enable config
<bemeurer> :)
<clever> bemeurer: nix-env should clearly say that
<clever> oh, didnt that break in nix 2.0?
<symphorien> I think an issue is open about it
<Myrl-saki> Stupid question, but why aren't version-locked Haskell packages in configuration-common.nix?
<Myrl-saki> Why should they ben hackage-packages?
woodson has quit [Ping timeout: 256 seconds]
ajs124 has left #nixos ["Machine going to sleep"]
<Myrl-saki> be in
jperras has joined #nixos
sbdchd has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #41061 → Python language server → https://git.io/vhLmF
<Mic92> ^ that one is cool for python
sbdchd has quit [Ping timeout: 260 seconds]
<bemeurer> If I want to build ffmpeg-full myself, how could I do that?
puercowork has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41062 → glm: 0.9.8.5 -> 0.9.9.0 → https://git.io/vhLY8
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41063 → girara: 0.2.9 -> 0.3.0 → https://git.io/vhLYR
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/a2ce9bb6107 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
iqubic` has joined #nixos
<Myrl-saki> How is hackage-packages generated?
iqubic` has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #41064 → googler: 3.5 -> 3.6 → https://git.io/vhLYS
iqubic has quit [Ping timeout: 245 seconds]
fragamus has joined #nixos
<Myrl-saki> Thanks.
fragamus has quit [Client Quit]
<bemeurer> clever: Any ideas?
<clever> bemeurer: nix-build '<nixpkgs>' -A ffmpeg-full
<bemeurer> clever: Oh
<bemeurer> What if I want to rebuild it?
adamt has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/849e261a1d9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<bemeurer> I had it installed, but now I have the cuda stuff installed, so I need to rebuild to enable those features
woodson has joined #nixos
<clever> bemeurer: nix doesnt work like that
<clever> bemeurer: it will never pick up libraries you have installed when rebuilding
<bemeurer> Hm
Lisanna has quit [Ping timeout: 252 seconds]
<bemeurer> Then how do I even get ffmpeg-full with cuda support?
<bemeurer> cuda/nvenc
<clever> bemeurer: you will need to write an override for ffmpeg that adds cuda support
<bemeurer> clever: What about this line in the default.nix file?
<Myrl-saki> How do I know what file created the drv?
<Myrl-saki> If that's even possible.
<clever> bemeurer: nix-build -E 'with import <nixpkgs> {}; ffmpeg-full.override { nvenc = true; }'
<clever> bemeurer: and it doesnt need cuda to be installed, it will automatically download it
ericsagnes has quit [Ping timeout: 248 seconds]
ldlework has quit [Quit: WeeChat 2.0]
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<bemeurer> clever: This just yields me this:
<bemeurer> Some error
<clever> bemeurer: i dont see an error in that gist
<Myrl-saki> hWait
<Myrl-saki> I think I know how to do it?
<Myrl-saki> deep filter nixpkgs to find out which drv matches.
<Myrl-saki> Is that a stupid idea?
<clever> Myrl-saki: paste the full path of the drv file
<Myrl-saki> /nix/store/5bk1ddvdzxhixj3lhlaps2yvzhhgzg4h-blaze-builder-0.4.0.2-r1.cabal.drv
<clever> bemeurer: testing things on my end, it looks like it needs ffmpeg-full.override { nvenc = true; nonfreeLicensing = true; }
<clever> Myrl-saki: and its contents?
<Myrl-saki> Uhh wait. I'm stupid.
steell has joined #nixos
<Myrl-saki> Apparently, this is a hackage revision cabal.
<Myrl-saki> Which means my package set desynced. Again.
<Myrl-saki> THey both have the same versions, so that raised some brows.
<Myrl-saki> Sorry. :x
<bemeurer> My bad
<{^_^}> [nixpkgs] @Ralith opened pull request #41065 → clang_6: fix sanitizers under libstdc++ → https://git.io/vhL3f
<Myrl-saki> clever: Thanks, it was obvious when I catted it.
fragamus has joined #nixos
<clever> bemeurer: yeah, you need nonfreeLicensing = true; as well