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
ericsagnes has quit [Ping timeout: 240 seconds]
<eacameron> I just fired up an EC2 instance of NixOS but the /etc/nixos/configuration.nix file is readonly, even for root.
<eacameron> How do I change things and nixos-rebuild?
<eacameron> Nevermind...I don't know what vim was talking about.
<stumble> iqubic: If I were you I'd try trial and error!
<iqubic> Alright, I will.
<iqubic> That doesn't seem to be working.
<iqubic> "pactl list sinks" seems to have given me just the active sinks. Let's see if this works.
stumble` has joined #nixos
<iqubic> Alright, I got it to work.
stumble has quit [Ping timeout: 264 seconds]
broccoli_ has quit [Ping timeout: 240 seconds]
jackdk has joined #nixos
romildo has joined #nixos
sigmundv__ has quit [Ping timeout: 260 seconds]
udono1 has joined #nixos
worldofpeace has joined #nixos
silver_ has joined #nixos
<worldofpeace> Anyone have any idea where this gem https://github.com/castwide/solargraph would be organized if it were added to nixpkgs?
udono has quit [Ping timeout: 265 seconds]
silver has quit [Ping timeout: 260 seconds]
sigmundv_ has quit [Ping timeout: 264 seconds]
pxc1 has quit [Ping timeout: 260 seconds]
pxc has quit [Ping timeout: 240 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
<gchristensen> clever: 'round?
romildo has quit [Quit: Leaving]
jperras has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7f27566efd3 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
asuryawanshi has joined #nixos
thc202 has quit [Read error: Connection reset by peer]
Lisanna has joined #nixos
brendanzab has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
pxc has joined #nixos
sigmundv_ has joined #nixos
jackdk has quit [Ping timeout: 265 seconds]
silver_ has quit [Read error: Connection reset by peer]
ericsagnes has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
novum has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @rkoe opened pull request #40623 → lighttpd: add option to enable WebDAV → https://git.io/vpb0z
griff_ has quit [Ping timeout: 240 seconds]
novum has joined #nixos
oltoAltn has joined #nixos
olto has quit [Ping timeout: 265 seconds]
camsbury has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm has joined #nixos
Tobba has quit [Ping timeout: 265 seconds]
<{^_^}> [hydra] @lopsided98 opened pull request #561 → Update Perl dependencies → https://git.io/vpbEf
nuncanada has quit [Quit: Leaving]
NJBS has joined #nixos
<NJBS> Is there a torrent/mirror up for nixOS? The main download link on the site for the 64-bit graphical live CD downloads at 100 KB/s for me.
Have-Quick has quit [Quit: Have-Quick]
Tobba has joined #nixos
jperras has joined #nixos
Have-Quick has joined #nixos
worldofpeace has quit [Ping timeout: 260 seconds]
worldofpeace has joined #nixos
<NJBS> Thanks, I'll give it a go.
<worldofpeace> Hope you can get it :)
Have-Quick has quit [Client Quit]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ee951c348b3 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<NJBS> much better! Thanks a ton worldofpeace :)
<samueldr> NJBS: the equivalent release, to verify sha256 sum https://d3g5gsiof5omrk.cloudfront.net/nixos/18.03/nixos-18.03.131768.a74969256b0
<samueldr> (looked at the filename in the torrent)
Tobba has quit [Ping timeout: 264 seconds]
<NJBS> thanks, I'll verify once it's done.
<samueldr> nixos isn't really mirrored or torrented
<samueldr> probably due to the fact it's using amazon cloudfront for global distribution
<samueldr> and that the iso is updated... way too often
<samueldr> everytime the channel advances (updates are ready) the iso is updated
<worldofpeace> ipfs?
<samueldr> I don't know much about ipfs, and I don't know if it's available on ipfs
<NJBS> hashes match, thanks again samueldr and worldofpeace :)
Have-Quick has joined #nixos
<worldofpeace> NJBS: np :)
griff_ has joined #nixos
justanotheruser has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5e4a52cc0ed (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<{^_^}> [nixpkgs] @limeytexan opened pull request #40624 → perlPackages.ParsePlainConfig: init at 3.05 → https://git.io/vpbEA
<samueldr> though, if the iso download was slow... maybe there's something wrong with your connection NJBS, you may have issues installing / updating
<samueldr> (or somewhere between the connection and amazon)
<worldofpeace> nothing worse than having it stall forever...
<NJBS> samueldr, hmm, perhaps cloudfront's cdn is having issues in my region? The torrent downloaded at my regular speed.
<samueldr> yeah, something like that
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ec1ee660c99 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<tomberek> has anyone tried to have nixops on a NixOS machine manage itself?
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vpbuC
<{^_^}> → b577dc3b by @NeQuissimus: linux-copperhead: 4.14.39.a -> 4.14.41.a
<{^_^}> → 1006c8c8 by @NeQuissimus: linux-copperhead: 4.16.7.a -> 4.16.9.a
aarvar has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: 4.14.39.a -> 4.14.41.a »: https://git.io/vpbul
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: 4.16.7.a -> 4.16.9.a »: https://git.io/vpbu4
sigmundv_ has quit [Read error: Connection reset by peer]
karlguy has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #40625 → xkeyboard-config: enable xkb rules symlink → https://git.io/vpbuz
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
jackdk has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
<camsbury> hi all
<camsbury> trying to install nixos on an old macbook pro
<camsbury> and getting "brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-23
<camsbury> "
<camsbury> installed fine on another computer last night
<camsbury> wondering if this is just not gonna happen with this hardware unless I connect by another means?
<azazel> sorry guys, where are the kernel modules in nixos? there's no /lib
sigmundv_ has joined #nixos
<azazel> camsbury: broadcom chipsets always give me headaches
<camsbury> hmm
<camsbury> seems to be pinging now fine
<camsbury> maybe I was too fast at the holster
griff_ has quit [Quit: griff_]
worldofpeace has quit [Ping timeout: 260 seconds]
<andreabedini> I am using nix on macos and I have this thing that emacs won't focus (the window shows up but I can't type anything in it). Has anyone seen this behaviour?
<gchristensen> `open Applications/emacs.app` instead of just `emacs`
<gchristensen> or: `emacs -nw`
<andreabedini> gchristensen: looks like I don't have Applications/emacs.app but open /nix/store/.../-emacs-25.3/Applications/Emacs.app did the trick, thanks!
<stumble`> camsbury: It works fine on my 2002 Macbook Pro, FWIW.
<gchristensen> great!
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vpbzw
<{^_^}> → c65686c7 by @NeQuissimus: kafka: 1.0.0 -> 1.0.1
<{^_^}> → fe2deeb4 by @NeQuissimus: kafka: Add 1.1
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « kafka: 1.0.0 -> 1.0.1 »: https://git.io/vpbzo
<camsbury> yeah its installing everything now fine
<camsbury> low but fine
<camsbury> just seemed to need a bit to get working I suppose...
Have-Quick has quit [Quit: Have-Quick]
<{^_^}> [nixpkgs] @dtzWill opened pull request #40626 → sqlite: 3.22.0 -> 3.23.1 → https://git.io/vpbzb
dev has joined #nixos
<dev> hello
<dev> is anyone here?
<dev> I need help setting the php memory_limit on the cli
<dev> I know how to set it for httpd php, but for php cli I have no clue, anyone know?
drakonis has joined #nixos
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5e4a52cc0ed (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<dev> ( crickets chirping )
iqubic` has joined #nixos
acarrico has quit [Ping timeout: 268 seconds]
iqubic has quit [Ping timeout: 276 seconds]
<dev> is there a way to create a directory in etc using configuration.nix?
<dev> so how do we set php.ini options for php command line?
smallville7123 has joined #nixos
<dev> oh I figured it out, just add it to name in text like this:
acarrico has joined #nixos
<dev> environment.etc."php.d/php.ini".text =
<dev> problem solved! I can now set php options for command line this way.
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ec1ee660c99 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<ryantrinkle> i think i may be misunderstanding how the new builtins.fetchGit is supposed to work
<ryantrinkle> this hangs for me: nix-build -E 'builtins.fetchGit { url = "ssh://git@github.com/reflex-frp/reflex"; rev = "5d9c8a00f2eb832f109c870963182149b988062a"; }' -v
<ryantrinkle> should that work?
<dev> I'm not sure mate, I came here to solve a problem as well an ended up figuring it out myself... hopefully somewhere here can help
<ryantrinkle> dev: yeah, sometimes #nixos can be a bit low-traffic, but there are definitely tons of helpful folks here :)
lord| has quit [Ping timeout: 260 seconds]
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
<dev> indeed, when searching for help online this servers chat logs sometimes get pulled up as the result
camsbury has quit [Ping timeout: 256 seconds]
iqubic` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
iqubic has joined #nixos
jackdk has quit [Ping timeout: 256 seconds]
jackdk has joined #nixos
<dev> exit
dev has quit [Quit: WeeChat 1.7.1]
<iqubic> So I'm finding myself unable to diagnose why lightdm takes so long to start up. I get a big wall of text, and then 5 seconds of blank screen, and *then* LightDM starts up.
Tobba has joined #nixos
TonyTheLion has quit [Quit: leaving]
<iqubic> anyone able to help me diagnose my issues?
adisbladis has joined #nixos
<ryantrinkle> ok, it looks like builtins.fetchGit is doing stuff, it's just *astoundingly* slow
lord| has joined #nixos
<ryantrinkle> maybe it's because i'm in australia at the moment and the rountrip time to github is large?
<ryantrinkle> there's no appreciable bandwidth being used, but it looks like fetchGit is asking for info on lots of hashes
<ryantrinkle> e.g. [pid 20388] read(5, "0032have ecba88de9367f733610121f"..., 16384) = 1604
oltoAltn has quit [Read error: Connection reset by peer]
olto has joined #nixos
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 276 seconds]
iqubic` is now known as iqubic
<ryantrinkle> oh, looks like there's a ticket for this: https://github.com/NixOS/nix/issues/1836
<ryantrinkle> shlevy: any workaround for https://github.com/NixOS/nix/issues/1836 ?
<ryantrinkle> right now i'm trying to use builtins.fetchGit to clone something that normally clones in ~5 seconds, but it's taking (at least) minutes
samae has quit [Remote host closed the connection]
samae has joined #nixos
<{^_^}> [nixpkgs] @mmlb opened pull request #40627 → hack-font: 3.002 -> 3.003 → https://git.io/vpbaU
<Ralith> iqubic: systemd-analyze blame?
pxc1 has joined #nixos
<iqubic> 5.230s network-manager.service
<iqubic> 5.129s bluetooth.service
mizu_no_oto has joined #nixos
<iqubic> Let me try one more thing.
iqubic has quit [Remote host closed the connection]
pxc1 has quit [Ping timeout: 265 seconds]
drakonis has quit [Read error: Connection reset by peer]
iqubic has joined #nixos
<iqubic> So I just rebooted, had to wait at a blank screen for a few seconds while LightDM started up.
<iqubic> systemd-analyze blame tells me what the issue is.
<iqubic> 5.085s systemd-logind.service
<iqubic> I also don't like these large numbers:
<iqubic> 5.251s network-manager.service
<iqubic> 5.110s bluetooth.service
<iqubic> Any way to speed all 3 of those up so that my boot can be faster?
schoppenhauer has quit [Ping timeout: 264 seconds]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
schoppenhauer has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/eab067fd9e1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Have-Quick has joined #nixos
<iqubic> This is the one thing about NixOS I don't like. The boot takes like 10 seconds from start to finish because these darn services take 5 seconds to start.
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/14f84df3ab3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
nallar has joined #nixos
<iqubic> Alright, new issue. Is it possible to get a version of emacs from nixpkgs that is compiled with xwidgets support?
Ross has quit [Ping timeout: 264 seconds]
nallar is now known as Ross
orivej has quit [Ping timeout: 248 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
reinzelmann has joined #nixos
smallville7123 has quit [Quit: rosa]
maingo has quit [Quit: Connection closed for inactivity]
endformationage has quit [Quit: WeeChat 1.9.1]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/eab067fd9e1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
mahalel_ has quit [Remote host closed the connection]
reinzelmann has quit [Quit: Leaving]
tomberek has quit [Quit: Page closed]
<Rusty1_> exit
Rusty1_ has quit [Quit: Konversation terminated!]
Have-Quick has quit [Quit: Have-Quick]
MP2E has joined #nixos
asuryawanshi has joined #nixos
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 276 seconds]
iqubic` is now known as iqubic
asuryawanshi has quit [Ping timeout: 264 seconds]
<iqubic> pactl is starting to piss me off. If my bluetooth headphone turns off and then back on, I don't want it to have a different sink number. I don't want to have to rewrite all my scripts to use a different sink each time. GRRR.
<iqubic> "pactl set-sink-volume 1 +10%" only works if it is actually available.
<iqubic> Is there a way I can rewrite "pactl set-sink-volume 1 +10%" to always mess with the levels of the bluetooth headset sink?
robstr has joined #nixos
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
codygman has joined #nixos
<codygman> I'm getting 'attribute fetchurl missing' when using fetchurl in my configuration.nix. How can I import it? Is importing it only required in nix 2.0 and higher?
Guanin_ has quit [Ping timeout: 248 seconds]
joehh1 has joined #nixos
Guanin_ has joined #nixos
<adisbladis> codygman: pkgs.fetchurl
marusich has quit [Quit: Leaving]
qewzee has quit [Quit: ZNC 1.6.6 - http://znc.in]
Arcaelyx has joined #nixos
<johnw> shlevy: ping
Have-Quick has joined #nixos
joehh1 has quit [Ping timeout: 265 seconds]
NJBS has quit [Quit: Leaving]
adisbladis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40628 → xqilla: 2.3.3 -> 2.3.4 → https://git.io/vpboP
codygman has quit [Ping timeout: 260 seconds]
stumble` has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40629 → xpra: 2.2.6 -> 2.3 → https://git.io/vpbK3
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40630 → you-get: 0.4.1060 -> 0.4.1077 → https://git.io/vpbKs
marusich has joined #nixos
michiell has quit [Remote host closed the connection]
michiell has joined #nixos
reinzelmann has joined #nixos
joehh1 has joined #nixos
leat has quit [Ping timeout: 256 seconds]
jD91mZM2 has joined #nixos
griff_ has joined #nixos
Synthetica has joined #nixos
Ridout has quit [Quit: Lost terminal]
sanscoeur has joined #nixos
kreetx has joined #nixos
kreetx has quit [Ping timeout: 265 seconds]
hyper_ch2 has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40631 → linuxPackages.wireguard: 0.0.20180420 -> 0.0.20180514 → https://git.io/vpbiM
MP2E has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40633 → python36Packages.uranium: 3.2.1 -> 3.3.0 → https://git.io/vpbix
griff_ has quit [Quit: griff_]
reinzelmann has quit [Quit: Leaving]
robstr has quit [Quit: WeeChat 1.9.1]
reinzelmann has joined #nixos
robstr has joined #nixos
xAFFE has joined #nixos
xy2_ has joined #nixos
xy2_ has quit [Client Quit]
halfbit has quit [Ping timeout: 265 seconds]
Have-Quick has quit [Quit: Have-Quick]
pxc has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40634 → thepeg: 2.1.2 -> 2.1.3 → https://git.io/vpbP7
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40635 → usbutils: 009 -> 010 → https://git.io/vpbXU
<{^_^}> [nixpkgs] @angerman opened pull request #40636 → Feature/nix from buildpackages → https://git.io/vpbXc
<{^_^}> [nixpkgs] @angerman opened pull request #40637 → Feature/gcc ng → https://git.io/vpbX4
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to master: https://git.io/vpbXR
<{^_^}> → f252c726 by @nyarly: hiro: init at 0.1.4
<{^_^}> → 42d0ce8a by @nyarly: keyrings.alt: init at 2.3
<{^_^}> → 51f4a46a by @nyarly: jira_cli: init at 2.2
<{^_^}> [nixpkgs] @FRidh merged pull request #30833 → (jira-cli) init at 2.2 → https://git.io/vFJxn
<{^_^}> [nixpkgs] @dotlambda merged pull request #40633 → python36Packages.uranium: 3.2.1 -> 3.3.0 → https://git.io/vpbix
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vpbXw
<{^_^}> → 1ec3c94a by R. RyanTM: python36Packages.uranium: 3.2.1 -> 3.3.0
<{^_^}> → d20354c2 by @dotlambda: Merge pull request #40633 from r-ryantm/auto-update/uranium
scott1 has left #nixos ["User left"]
hamishmack has joined #nixos
mmercier has joined #nixos
<sphalerite> Is there any mechanism for making shutdown "initramfs"s in nixos?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40638 → slurm: 17.11.5 -> 17.11.6 → https://git.io/vpbMG
<{^_^}> [nixpkgs] @angerman opened pull request #40639 → Ensure build/hostPatform when cross compiling from macOS → https://git.io/vpbMa
<{^_^}> [nixpkgs] @pSub merged pull request #40630 → you-get: 0.4.1060 -> 0.4.1077 → https://git.io/vpbKs
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vpbMV
<{^_^}> → deb8d43e by R. RyanTM: you-get: 0.4.1060 -> 0.4.1077
<{^_^}> → 899173a4 by @pSub: Merge pull request #40630 from r-ryantm/auto-update/you-get
<{^_^}> [nixpkgs] @angerman opened pull request #40640 → Allow YAML on other platforms as well. → https://git.io/vpbM6
<{^_^}> [nixpkgs] @angerman opened pull request #40641 → Enable WINE on macOS → https://git.io/vpbMP
<{^_^}> [nixpkgs] @angerman opened pull request #40642 → Feature/clean ghc → https://git.io/vpbM7
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40643 → soapyhackrf: 0.3.2 -> 0.3.3 → https://git.io/vpbDV
leat has joined #nixos
stumble has joined #nixos
pxc1 has joined #nixos
__Sander__ has joined #nixos
pxc1 has quit [Ping timeout: 276 seconds]
oknf[m] has joined #nixos
johanot has joined #nixos
vaninwagen has joined #nixos
balsoft has joined #nixos
marusich has quit [Quit: Leaving]
mahalel_ has joined #nixos
goibhniu has joined #nixos
mmlb has quit [Ping timeout: 240 seconds]
winem_ has joined #nixos
thc202 has joined #nixos
mahalel_ has left #nixos [#nixos]
joshie has quit [Quit: No Ping reply in 180 seconds.]
joshie has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
coot has joined #nixos
jtojnar has joined #nixos
<teto1> is itisn't it possible to pass "--arg" to nixos-rebuild ? I have this module I develop that is present in only one branch and that I keep commenting/decommenting when switching branch. I would rather pass "--arg includeMyModule"
<tilpner> You can try only importing that module if it exists
jmiven has quit [Quit: co'o]
jmiven has joined #nixos
Olgierd has joined #nixos
Olgierd has quit [Changing host]
Olgierd has joined #nixos
<tilpner> If you only use builtins, you might be able to get away without specialArgs
jackdk has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40644 → spidermonkey_52: 52.7.4 -> 52.8.0 → https://git.io/vpbHE
<stumble> From Guix.
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
<manveru> hmm, that should also be possible with nix-bundle
alex`` has quit [Quit: WeeChat 2.1]
<stumble> :-)
<manveru> but atm i don't think anyone is working on that :|
fuzzy_id has joined #nixos
civodul has joined #nixos
<fuzzy_id> shouldn't `nix-env --list-generations' executed as root list all my system generations?
<stumble> I believe it's good news even if we don't emulate it. Good to get people thinking about what they really need, instead of "MUST HAVE DOCKER111".
<manveru> true that
<fuzzy_id> better question: what do i have to do to make it behave that way? currently it lists the generations of the root-profile which is currently empty anyways
sanscoeur has quit [Remote host closed the connection]
<fuzzy_id> or is there a better tool i oversee?
<stumble> fuzzy_id: sudo nix-env --list-generations -p /nix/var/nix/profiles/system
<stumble> > nix-env --list-generations -p /nix/var/nix/profiles/system
<{^_^}> undefined variable 'nix-env' at (string):38:1
thblt has joined #nixos
<stumble> Oh well. It should work on a real Nix!
winem_ has quit [Ping timeout: 256 seconds]
winem__ has joined #nixos
Ariakenom has quit [Ping timeout: 265 seconds]
winem__ has quit [Remote host closed the connection]
sigmundv_ has quit [Ping timeout: 240 seconds]
mmercier has quit [Ping timeout: 260 seconds]
Ariakenom has joined #nixos
mmercier has joined #nixos
<{^_^}> [nixpkgs] @obadz pushed commit from R. RyanTM to master « xqilla: 2.3.3 -> 2.3.4 »: https://git.io/vpbdR
<{^_^}> [nixpkgs] @obadz merged pull request #40628 → xqilla: 2.3.3 -> 2.3.4 → https://git.io/vpboP
tv has joined #nixos
<sphalerite> stumble: the bot is for nix expressions, not nix commands
<sphalerite> fuzzy_id: yeah it would be nice to have a more convenient command for the system profile. I have an alias nix-sys="nix-env -p /nix/var/nix/profiles/system" myself
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40620 → top-level: build winePackages on Hydra → https://git.io/vpbcL
<{^_^}> [nixpkgs] @yegortimoshenko pushed 3 commits to master: https://git.io/vpbd5
<{^_^}> → 1b2b126f by @yegortimoshenko: winePackages: move to pkgs/top-level/wine-packages.nix
<{^_^}> → 570b1e52 by @yegortimoshenko: top-level: build winePackages on Hydra
<{^_^}> → 910644ef by @yegortimoshenko: Merge pull request #40620 from NixOS/yegortimoshenko-patch-4
<{^_^}> [nixpkgs] @yegortimoshenko pushed 0 commits to yegortimoshenko-patch-4: https://git.io/vpbdF
alex`` has joined #nixos
max3raza has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40645 → prosody: 0.10.0 -> 0.10.1 → https://git.io/vpbbB
mmercier has quit [Ping timeout: 256 seconds]
mmercier has joined #nixos
jtojnar_ has quit [Quit: jtojnar_]
jtojnar has joined #nixos
winem_ has joined #nixos
<winem_> hi, we're using nix for our own applications and want to use more applications from the nix-channel now. I want to hear your opinion on the configuration. issue: clickhouse from the nix-channel creates a symlink in user/.nix-profile/etc/ to the config directory in the nix store when you install it. nginx does also have a conf folder but that one is just in the nix store. so what should I do if I want to modify / add configuraiton files?
<winem_> should I update them in the nix/store/ path directly? should I create a symlink to have a common "design" for all apps?
<winem_> we're managing our hosts (ubuntu & redhat, unfortunately no nixos) via ansible. so the config won't be changed manually. just "automated" during the initial deployments or updates
<Synthetica> winem_: Updating them in the nix store directly sounds like a bad idea
<winem_> Synthetica: that's what my gut tells me as well. so I want to hear how you would handle it. I actually don't want to change anything in the nix store
<Synthetica> winem_: Do you do "services.nginx.enable=true"?
<sphalerite> Synthetica: that's nixos-only
<sphalerite> winem_: how are you doing the nginx config?
<Synthetica> Right, you're not actually running nixos
Xal has quit [Ping timeout: 276 seconds]
jensens has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40646 → pgroonga: 2.0.5 -> 2.0.6 → https://git.io/vpbxm
<winem_> sphalerite: I don't do it yet (at least not on any nginx installed from the nix channels). I was just about to write the ansible playbook to install nginx and do the configuration. we need nginx as reverse proxy that handles the encryption and authenticates client certs
<winem_> so I'm just at the beginning and what I was about to do (doing it directly in the nix store) just felt wrong..
Xal has joined #nixos
<sphalerite> but I thought your nginx config folder is in the nix store?
<winem_> just the one that is created after running nix-env -i nginx
<winem_> it ships a conf folder with the defaults during the setup
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/640b6359ae3 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Synthetica> Maybe a stupid question: can't you just pass a --config (or similar) option?
<sphalerite> ah right
<sphalerite> yeah so what nixos does is it generates its own config for nginx (also through nix, so it ends up in the nix store) and calls nginx with -c /nix/store/<hash>-nginx.conf
<sphalerite> depending on how much you want to integrate nix into the whole thing, you may want to either do something similar, or pass -c /etc/nginx/nginx.conf and configure it more traditionally.
<manveru> so if anyone's using crystal here, i made this little hack for crystal2nix: https://gist.github.com/manveru/8241ae64b86ec9ae8262125b0516ce64
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40647 → altcoins.parity-ui: 0.1.1 -> 0.2.1 → https://git.io/vpbpn
alex`` has quit [Quit: WeeChat 2.1]
<manveru> now i just wish fetchGit wasn't slow as hell :P
knupfer has joined #nixos
sigmundv__ has joined #nixos
sigmundv has quit [Disconnected by services]
sigmundv has joined #nixos
sigmundv has quit [Disconnected by services]
sigmundv__ is now known as sigmundv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40648 → openresty: 1.13.6.1 -> 1.13.6.2 → https://git.io/vpbhd
<tilpner> manveru - As you already have GitHub detection, why not use fetchFromGitHub?
<tilpner> (It's faster)
<manveru> hmm
<manveru> https://github.com/crystal-lang/shards/blob/master/SPEC.md#dependencies mostly because i want to make it work with those dependencies in future too
sigmundv_ has joined #nixos
<manveru> but true, for this version it makes little sense
<tilpner> I don't see the issue
<Taneb> Does nix do anything fancy with /dev/urandom to get deterministic builds?
<tilpner> You can dynamically switch between fetchFromGitHub/BitBucketGitLab, and fallback to fetchgit
<manveru> yeah
alex`` has joined #nixos
noefk has left #nixos [#nixos]
noefk has joined #nixos
<infinisil> Taneb: I don't think so
<winem_> sphalerite: thanks, this sounds like a smart way to do it. thank you for the input
<Taneb> infinisil: thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40649 → pam_u2f: 1.0.6 -> 1.0.7 → https://git.io/vpbjX
mrkgnao has joined #nixos
ckauhaus has joined #nixos
simukis has joined #nixos
joehh1 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40650 → opensc: 0.17.0 -> 0.18.0 → https://git.io/vpNew
balsoft has quit [Quit: balsoft]
<{^_^}> [hydra] @edolstra merged pull request #560 → Remove "bashism" → https://git.io/vpbYb
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/vpNfO
<{^_^}> → d27732bd by @Synthetica9: Remove "bashism"
<{^_^}> → 4013e83e by @edolstra: Merge pull request #560 from Synthetica9/nixpkgs-40521-hydra
<{^_^}> [nixpkgs] @konimex opened pull request #40651 → neofetch: 3.4.0 -> 4.0.0 → https://git.io/vpNfR
aminechikhaoui has quit [Ping timeout: 240 seconds]
camsbury has joined #nixos
mmercier has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @nlewo opened pull request #40652 → nix: 2.0.1 -> 2.0.2 → https://git.io/vpNfQ
camsbury has quit [Ping timeout: 240 seconds]
aminechikhaoui has joined #nixos
leat has quit [Ping timeout: 276 seconds]
knupfer has quit [Ping timeout: 276 seconds]
martingale has quit [Ping timeout: 265 seconds]
<joko> Hello, is it possible to make a list overridable in NixOS configuration? E.g. I have multiple files setting the same list attribute and in the end I want the list attribute to have all the elements concatenated
Wharncliffe has joined #nixos
logzet has joined #nixos
<infinisil> joko: That's what an option of type list does by default
ericsagnes has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #40353 → pythonPackages.mail-parser: init at 3.3.1 → https://git.io/vpDxC
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/vpNkf
<{^_^}> → dd51a4a1 by @Assassinkin: add psyanticy as maintainer
<{^_^}> → fb7340d3 by @Assassinkin: pythonPackages.mail-parser: init at 3.3.1
<{^_^}> → 2c91ab54 by @dotlambda: Merge pull request #40353 from Assassinkin/mail-parser
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40653 → mlt: 6.6.0 -> 6.8.0 → https://git.io/vpNkE
gmarmstrong has joined #nixos
pie_ has quit [Ping timeout: 255 seconds]
knupfer has joined #nixos
jtojnar has quit [Ping timeout: 260 seconds]
Ariakenom has quit [Ping timeout: 256 seconds]
jtojnar has joined #nixos
jtojnar has quit [Client Quit]
joehh1 has joined #nixos
<joko> infinisil: you're right, I thought that was the case for string type only, thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40655 → nauty: 26r7 -> 26r10 → https://git.io/vpNtW
Ariakenom has joined #nixos
camsbury has joined #nixos
seppellll has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40656 → nsd: 4.1.20 -> 4.1.21 → https://git.io/vpNqU
griff_ has joined #nixos
<{^_^}> [nixpkgs] @fadenb opened pull request #40657 → tomcat service: fix webapps default option → https://git.io/vpNqP
knupfer has quit [Ping timeout: 240 seconds]
<Myrl-saki> Has there been any progress on exporting binaries to an FHS environment?
martingale has joined #nixos
Arcaelyx has quit [Ping timeout: 276 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
<infinisil> What am I supposed to do when I get things like `libGL error: unable to load driver: i965_dri.so` and the same for `swrast_dri.so`?
karlguy has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @iblech opened pull request #40658 → Unbreak gv (fixes #34841) → https://git.io/vpNmM
<{^_^}> [nixpkgs] @xeji merged pull request #40621 → grafana: 5.1.2 -> 5.1.3 → https://git.io/vpbCj
<{^_^}> [nixpkgs] @xeji pushed commit from @WilliButz to master « grafana: 5.1.2 -> 5.1.3 (#40621) »: https://git.io/vpNm9
ericsagnes has joined #nixos
leat has joined #nixos
<{^_^}> [nixpkgs] @bkchr opened pull request #40659 → Androidndk → https://git.io/vpNYv
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40660 → obs-studio: 21.1.1 -> 21.1.2 → https://git.io/vpNYC
<srhb> infinisil: LIBGL_DEBUG=verbose and try again
iyzsong has joined #nixos
<infinisil> I just did hardware.opengl.enable = true; thinking that might have been it, but no luck
<clever> infinisil: is it a 32bit or 64bit program?
<infinisil> How can I find out?
<clever> infinisil: run "file" on the binary
<infinisil> But I'll enable the 32bit dri thing
coot has quit [Quit: coot]
<manveru> what's generally the way to get static versions of libs like libxml2 or zlib?
<infinisil> 64bit
<infinisil> clever: It's this fork of compton I'm trying to build: https://github.com/tryone144/compton
<clever> infinisil: is LD_LIBRARY_PATH set right?
griff__ has joined #nixos
<clever> manveru: zlib already has a .static, as you can see on line 19
<infinisil> clever: How can I find that out? The builder doesn't do any LD_LIBRARY_PATH setting
<clever> infinisil: then its probably set to the same as your shell was when it ran the program
<symphorien> infinisil: is your binary statically linked against glibc < 2.27 ?
griff_ has quit [Ping timeout: 276 seconds]
griff__ is now known as griff_
<infinisil> clever: /run/opengl-driver/lib
<clever> infinisil: looks good for a 64bit app
<manveru> clever: thanks, seems like doing that for openssl fails though :|
<clever> manveru: can you gist your expression?
<symphorien> The error message says the .so are found but require glibc 2.27 symbols
patrl has joined #nixos
<manveru> clever: openssl.override { stdenv = makeStaticLibraries stdenv; }
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40661 → ntp: 4.2.8p10 -> 4.2.8p11 → https://git.io/vpNOv
<clever> manveru: and how does it fail?
<infinisil> symphorien: Oh, I am using a nixpkgs version whose `glibc.name` is "glibc-2.26-131"
<infinisil> > :u
<{^_^}> Updated nixpkgs
<infinisil> > glibc.name
<{^_^}> "glibc-2.27"
<symphorien> Then you have to use the same glibc for the drivers
<infinisil> I am using this older version of nixpkgs because compton doesn't work in later versions..
gmarmstrong has quit [Ping timeout: 255 seconds]
<clever> manveru: not sure on that one
<bkchr[m]> Is there any test for testing cross compilation?
<manveru> wasn't there another ssl lib?
<Myrl-saki> infinisil: Which version
<Myrl-saki> And how does it not work?
<infinisil> 73b135e6b83 is one of the last ones that work
<symphorien> Build the drivers with this nixpkgs and add them to LD_SOMETHING maybe ?
<manveru> basically i need those dependencies
<{^_^}> [nixpkgs] @xeji merged pull request #40627 → hack-font: 3.002 -> 3.003 → https://git.io/vpbaU
<{^_^}> [nixpkgs] @xeji pushed commit from @mmlb to master « hack-font: 3.002 -> 3.003 (#40627) »: https://git.io/vpNOG
<infinisil> Just run `compton --active-opacity 0.5`, which doesn't do anything 20 commits later, but does work no problem on that one
<clever> manveru: and why do you need static linking?
<manveru> i'm trying to compile a binary for a crystal program
<manveru> mostly to make distribution easier
<manveru> but i could probably stuff everything into a docker container...
<infinisil> symphorien: Ah, like `wrapProgram .. --prefix LD_LIBRARY_PATH : "${makeLibPath [ glibc ]}"` ?
<sphalerite> jD91mZM2: btw I worked out that if you just put a literal ESC character into a string in a nix expression it works fine
thelounge30 has joined #nixos
<symphorien> Nonyou can't have two glibcs
<jD91mZM2> sphalerite: Yeah that's been my workaround for now, sadly. Completely messes up the output of `cat` :^)
<sphalerite> jD91mZM2: I managed to get coloured builtins.trace output that way
<clever> manveru: https://xkcd.com/1988/
<manveru> :D
<sphalerite> jD91mZM2: you could always keep the colours in a separate expression that you import elsewhere
<symphorien> Rather preload i915.so build against the old glibc
<jD91mZM2> sphalerite: Since I only use them once there really wouldn't be much of a point :P
mmercier has joined #nixos
<sphalerite> fair enough. But yeah this seems to be how nixos itself does it too
balsoft has joined #nixos
<symphorien> manveru: you can just tar the right nix paths and ask users to untar it, as an option
<infinisil> symphorien: Hmm, so --set LD_PRELOAD ${i915 attribute so path}?
<symphorien> It requires root, though
<symphorien> infinisil: I guess
<symphorien> Maybe libgl has another env var for this
<clever> symphorien: it does,let me see
<clever> LIBGL_DRIVERS_PATH
<joepie91> so, I'm trying out a thing, free 'git fire' stickers for anybody making UX/docs contributions to open-source projects: https://twitter.com/joepie91/status/997077681136177152
phreedom has quit [Remote host closed the connection]
klntsky has quit [Read error: Connection reset by peer]
oida has quit [Read error: Connection reset by peer]
oida has joined #nixos
<infinisil> clever: Oh that worked :O
<infinisil> Well the program still has some errors running, but at least not the ones from before
pxc1 has joined #nixos
<clever> infinisil: the problem that causes, is that some gpu drivers like nvidia want to swap out the dri files
<manveru> clever: since it has to run on kubernetes i don't think i'll get around docker anyway
<clever> and nixos does that at runtime with /run/opengl-driver/lib, to avoid having to build everything twice
<manveru> but would've been nice if those things were as nice to compile as go programs
Tucky has quit [Quit: WeeChat 2.1]
<clever> manveru: nixos also has a way to generate a docker image
<manveru> i know
<manveru> done that more times than i can count :)
<infinisil> It works!
Tucky has joined #nixos
<manveru> our ops guys just freak out when the images look like they're created in 1970 :P
<clever> manveru: lol
Tucky has quit [Client Quit]
<manveru> i think timestamp is configurable now though
<clever> manveru: it does make it a bit hard to tell which one is newer
<infinisil> Hmm, so I'm still not sure what's the best way to do this, but it works for now
<infinisil> Damn, that blur is so nice
Tucky has joined #nixos
justanotheruser has joined #nixos
<manveru> infinisil: compton?
<infinisil> Yeah
<manveru> :)
<infinisil> And this fork I just built has a really nice blur method
<infinisil> Very similar to the one macOS uses
<manveru> for some reason compton increases my input latency for all programs, so i usually don't use it anymore
<manveru> but it sure looks nice
<infinisil> I usually don't use it either, but this blur makes it acceptable to have transparency, so I'll try again on my powerful machine
<infinisil> And vsync is nice
pxc1 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40662 → libu2f-host: 1.1.5 -> 1.1.6 → https://git.io/vpN3K
unkn has joined #nixos
phreedom has joined #nixos
thelounge30 has quit [Quit: The Lounge - https://thelounge.chat]
<infinisil> Now what worked was with this wrapping: `--set LIBGL_DRIVERS_PATH "${mesa_drivers}/lib/dri"`
<infinisil> Would this be okay to PR for nixpkgs?
aarvar has joined #nixos
<clever> infinisil: that will break the gpu drivers for anything that mesa doesnt support via open-source
<clever> infinisil: nvidia for ex
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40663 → lsscsi: 0.28 -> 0.29 → https://git.io/vpN3h
pie_ has joined #nixos
<infinisil> Ah, and this probably won't be a problem once compton gets fixed in master
jtojnar has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
klntsky has joined #nixos
Wharncliffe has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40664 → librelp: 1.2.15 -> 1.2.16 → https://git.io/vpNGf
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed 4 commits to release-18.03: https://git.io/vpNGw
<{^_^}> → 3931bf8c by @adisbladis: minio: 2018-03-19T19-22-06Z -> 2018-03-30T00-38-44Z
<{^_^}> → aa156590 by @bachp: minio: 2018-02-09T22-40-05Z -> 2018-03-19T19-22-06Z
<{^_^}> → 745075df by @bachp: minio: 2018-03-30T00-38-44Z -> 2018-05-11T00-29-24Z
camsbury has quit [Ping timeout: 276 seconds]
balsoft has quit [Quit: balsoft]
griff_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @seppeljordan opened pull request #40665 → nixos/kubernetes: Update kube-dns and kube-dashbashboard docker image… → https://git.io/vpNZO
camsbury has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
mmercier has quit [Ping timeout: 265 seconds]
camsbury has quit [Remote host closed the connection]
acarrico has joined #nixos
betaboon has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f3fcf1b0a9b (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mmercier has joined #nixos
<betaboon> hello #nixos. how can i achieve something like this: { inherit (something) foobar; foobar.somekey = "somevalue"; } without running into "foobar.somekey ... already defined ..." ?
<clever> betaboon: { foobar = something.foobar // { somekey = "somevalue"; }; }
<betaboon> clever: yeah thats how i am doing it right now, just thought there is a way to get rid of that somewhat redundant "foobar = ...foobar" ;)
<clever> you could also { inherit (something) foobar; } // { foobar.somekey = "somevalue"; }
<clever> oh wait no
<clever> that 2nd one will overwrite all of foobar
<betaboon> hm. i wouldnt have expected it to overwrite all of foobar looking at that syntax :/
<clever> yeah
<betaboon> well i guess i will stick to the redundency for now then
Supersonic has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #40655 → nauty: 26r7 -> 26r10 → https://git.io/vpNtW
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpNcE
<{^_^}> → de49ba6c by R. RyanTM: nauty: 26r7 -> 26r10
<{^_^}> → 3b27ba4d by @7c6f434c: Merge pull request #40655 from r-ryantm/auto-update/nauty
nuncanada has joined #nixos
Supersonic has joined #nixos
silver has joined #nixos
roconnor has quit [Read error: Connection reset by peer]
roconnor_ has joined #nixos
jperras has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fe2deeb4584 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @adisbladis merged pull request #40662 → libu2f-host: 1.1.5 -> 1.1.6 → https://git.io/vpN3K
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpNCD
<{^_^}> → 596645d5 by R. RyanTM: libu2f-host: 1.1.5 -> 1.1.6
<{^_^}> → 7db0be8a by @adisbladis: Merge pull request #40662 from r-ryantm/auto-update/libu2f-host
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpNCS
<{^_^}> → 450f49be by @adisbladis: Merge pull request #40650 from r-ryantm/auto-update/opensc
<{^_^}> → 3bec610c by R. RyanTM: opensc: 0.17.0 -> 0.18.0
<{^_^}> [nixpkgs] @adisbladis merged pull request #40650 → opensc: 0.17.0 -> 0.18.0 → https://git.io/vpNew
<{^_^}> [nixpkgs] @adisbladis merged pull request #40629 → xpra: 2.2.6 -> 2.3 → https://git.io/vpbK3
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vpNCd
<{^_^}> → b8966f5d by R. RyanTM: xpra: 2.2.6 -> 2.3
<{^_^}> → 310aaf86 by @adisbladis: Merge pull request #40629 from r-ryantm/auto-update/xpra
astrofog has joined #nixos
<ben> nix eval 'builtins.readFile ./foo.nix' doing something so very different from nix eval '(builtins.readFile ./foo.nix)' is distressing
roconnor_ has quit [Remote host closed the connection]
astrofog has quit [Client Quit]
<srhb> ben: The nix cli is very NIX_PATH biased
roconnor_ has joined #nixos
<Myrl-saki> ben: What's the difference btw?
<Myrl-saki> I don't use nix repl either.
<Myrl-saki> Often times, I'm more comfortable with nix-shell -p '' as my eval...
astrofog has joined #nixos
<srhb> ben: It might help to illustrate how the first is supposed to be used: nix eval nixpkgs.hello.name
<srhb> ben: So it looks up nixpkgs in NIX_PATH and then evaluates as normal
patrl has quit [Ping timeout: 255 seconds]
<srhb> Meaning, if you had NIX_PATH=builtins=... that would be somewhat meaningful
<ben> Myrl-saki: The first tries to open a file names "foo.nix" "in $PWD/builtins.readFile ."
<Myrl-saki> Oh, right.
<{^_^}> [nixpkgs] @magnetophon opened pull request #40666 → M32edit: init at 3.2 → https://git.io/vpNW1
<ben> Maybe we could add flags to disambiguate between expressions, files and attribute paths, idk
<ben> to be less x/y problem, I'm trying to manually inspect ~/.nix-profile/manifeset.nix and I'm banging my head against walls I didn't even know existed ;)
<clever> nix-env's -A is also pretty confusing
<srhb> The only thing I find really arbitrary is how () is used
<srhb> Files instead of NIX_PATH is disambiguated with -f
<ben> after managing to load manifest.nix into a the evaluator, it converts every entry to a store path when i pass --json D:
<clever> when you nix-env -iA nixos.hello, it splits nixos.hello into a list, and then for each element, it will look it up in a set, then test what the type is, and maybe call it with all of --arg, then repeat
<clever> and nixos.hello in an expression does not do that
<ben> srhb: nix eval -f filename '' to evaluate a file is awkward too :/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40667 → krusader: 2.6.0 -> 2.7.0 → https://git.io/vpNl3
nuncanada has quit [Ping timeout: 240 seconds]
<ben> clever: that's... interesting
jtojnar has quit [Quit: jtojnar]
<srhb> ben: Agreed.
<clever> ben: so i could do `nix-env -f foo.nix -iA foo.bar.baz`, and then have it call 4 functions (foo.nix itself, foo, bar, and baz)
<clever> ben: and if --arg or --argstr is used, it will pass it to each of those 4 functions
<ben> I don't recall ever using --arg or --argstr but I assume you really only want it used once? or on the top level?
<clever> ben: and if you dont use -f, it will generate an attribtue set by doing a weird recursive search of ~/.nix-defexpr/
<ben> :D
<clever> ben: a recent usage of --arg: `nix-build default.nix -A cardano-sl-wallet-new --argstr gitrev 1234 --argstr system x86_64-darwin`
<clever> the default.nix accepts 2 strings as arguments
<srhb> And passing arguments is completely bizarre anyway...
<clever> and the 2nd one forces it to do a darwin build, using my build slaves
<ben> oh wow --foo options consuming the subsequent *two* argv values seems evil to me too
<clever> so now i can edit nix on a linux machine, and then build darwin binaries
<ben> i have much to learn
griff_ has joined #nixos
<ben> clever: makes sense
<clever> ben: the main difference between --arg and --argstr, is that --arg will try to parse the arg as nix
<clever> so you would be forced to do --arg key '"value"'
<srhb> Instead of all this porcelain I tend to just use build and eval with '(...)' always, because the nix that goes in there is unambiguous
<clever> but --argstr assumes the value is a string, and saves you the trouble
<srhb> That seems to me the sanest interface
<ben> When I have an attrset, how does nix eval decide whether to prettyprint it as a store path instead?
<srhb> eg nix build '(with import <nixpkgs> {}; hello', nix eval '(with import <nixpkgs> {}; hello.name)'
<ben> presence of an outPath attribute?
<ben> that seems extremely magic
roconnor_ has quit [Ping timeout: 248 seconds]
roconnor has joined #nixos
<srhb> ben: Do you have an example? I've seen nothing particularly magical there.
<gchristensen> indeed ben, you can do some magic there
<srhb> Short of isDrv and other fun stuff
<gchristensen> srhb: just make any ol' attrset with an outPath :)
<srhb> nix eval doesn't pretty print that as a store path automagically.
<clever> > "${ { outPath = "not-a-path"; } }"
<{^_^}> "not-a-path"
fuzzy_id has quit [Ping timeout: 240 seconds]
<ben> nix eval --json '({ outPath = "blah blah"; lotsOfOtherInterestingFields = "with interesting values"; })'
<clever> if any attribute set contains .outPath, it can be blindly cast to a string
<ben> ok, not nix eval's doing directly
<clever> and you just wind up with whatever .outPath was
<clever> all derivations are actually sets containing a .outPath
<ben> It's awkwawrd for me because my original goal was just to read a plain-old-data .nix file into json so I could use jq for prettyprinting
<Myrl-saki> What's the derivation again that simply runs a script?
<ben> runCommand?
<srhb> Myrl-saki: runCommand ?
<Myrl-saki> Thanks, I was thinking runScript lmao
<clever> Myrl-saki: i have also made a runHaskell variant
<ben> clever: Yeah, so, my intuition was that it'd be keyed of type = "derivation"
<ben> clever: but we're not even that typed ;)
<Myrl-saki> clever: Nice. :P
<clever> Myrl-saki: it also allows you to use template-nix instead of template haskell
<Myrl-saki> Does nix-build have networking support?
<Myrl-saki> IIRC, someone here used nix-build to start a qemu
<Myrl-saki> Or at least a VM.
<clever> Myrl-saki: this generates bash scripts that run qemu interactively, to test various hardware configurations
<clever> uefi or legacy
<clever> sata, virtio, or nvme
<clever> luks or not
szicari has joined #nixos
<clever> and every combination of the above that is possible
<clever> Myrl-saki: and this runs xen inside qemu inside nix
<ben> Is there syntax to remove an attr from an attrset?
<ben> like // but the opposite? :P
<LnL> builtins.removeAttrs
<clever> > builtins.removeAttrs { foo = "bar"; } [ "foo" ]
<{^_^}> { }
<ben> p verbose
<ben> thanks!
<ben> so finally i can write: nix eval --json '(builtins.map (x: builtins.removeAttrs (x // { "οutPath" = x.outPath; }) ["outPath"]) (import .nix-profile/manifest.nix))' | jq .
<ben> and get readable output :D
<ben> thanks for all the help
lonokhov has joined #nixos
camsbury has joined #nixos
<Myrl-saki> Can the /nix/store symlink to something outside the /nix/store?
<Myrl-saki> Err
<Myrl-saki> Can a /nix/store ... item?
<Myrl-saki> Don't know what to call it.
<clever> Myrl-saki: probably
<ben> Hmm, I'd presume so, but the symlink might be broken during sandboxed builds(?)
<clever> yeah
<ben> ln -s /dev/urandom my-symlink; ls -l $(nix-store --add my-symlink)
<clever> nix only hashes the string inside the symlink, but wont make the target be available
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40668 → gpsprune: 18.6 -> 19 → https://git.io/vpN8h
<{^_^}> [nixpkgs] @peti pushed to master « multi-ghc-travis: update to latest git version from May 16th »: https://git.io/vpN4W
<ben> Hmm, I'm surprised by this: nix-env -iA nixpkgs.ruby # => installing 'ruby-2.4.3'; nix-env -u ruby # => upgrading 'ruby-2.4.3' to 'ruby-2.5.0'
<ben> I mean, yeah, true, it's definitely an upgrade, I'm not gonna argue with it.
<clever> ben: i think -u just searched for any derivation with ruby in the .name, and installs it if its newer
<ben> Yeah
<ben> My feeling of surprise has now transformed into the feeling of surprise that -u usually does something like what I expected
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40669 → imagemagick7: 7.0.7-29 -> 7.0.7-32 → https://git.io/vpN49
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40670 → gtkwave: 3.3.89 -> 3.3.90 → https://git.io/vpNBq
<sphalerite> yep
<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> ^ mentions -u as well
<sphalerite> but really, -u is terrible and nobody should use it :p
<sphalerite> just like -i without -A
<ben> Yeah... I somehow assumed that nixpkgs was carefully arranged to make -u do The Right Thing
cryp2nomicon has joined #nixos
<jD91mZM2> sphalerite: Just to make sure: Only -u alone is terrible, -uA isn't?
<ben> mh, i use nix-env -u when I want to upgrade ~everything~, so -A defeats the purpose for me
<cryp2nomicon> i'm having this 'suspend' issue. When i close the lid, laptop suspends. When i open the lid, laptop wakes up because i can ssh into it. But, the screen is black!
<sphalerite> I suppose you could probably use -u with -A, but there's not much point.
<ben> so i usually just say nix-env -u --leq --prebuilt-only and stop thinking about it
<jD91mZM2> Oh well I mean -u without a search string isn't terrible either.... right?
<sphalerite> ben: any reason not to use a declarative package set/
<ben> It's "terrible" in that it might upgrade me from ruby 2.4 to ruby 2.5 after I just specifically installed ruby 2.4
<sphalerite> jD91mZM2: yes it is, because it goes through everything you have installed and searching it by name
<jD91mZM2> sphalerite: But... if you wait to upgrade all packages?
<jD91mZM2> want*
<ben> sphalerite: so far nix-env's default behavior has been sufficiently needs-suiting so I didn't invest any effort :P
<sphalerite> jD91mZM2: you use a declarative set like the one in the overlay linked in the above wiki article
<sphalerite> and "reinstall" it
Guanin_ has quit [Remote host closed the connection]
griff_ has quit [Quit: griff_]
ma27 has quit [Quit: WeeChat 2.1]
mmlb has joined #nixos
<jD91mZM2> oh
<sphalerite> that way everything always gets selected by attr path
<jD91mZM2> Do you think home-manager does this for me?
ma27 has joined #nixos
<sphalerite> yes, home-manager also doesn't have the nix-env -u problem
<jD91mZM2> phew
ma27 has quit [Client Quit]
<sphalerite> since there you also specify what you want by attr paths
<ben> oh I didn't realize the -r in there means --remove-all
<ben> whoops.
ma27 has joined #nixos
<sphalerite> rollback time!
<ben> I'm afraid of all-or-nothing upgrades because on my home machine I have a bunch of derivations that take a long time to build and sometimes fail :<
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40671 → jhiccup: 2.0.8 -> 2.0.9 → https://git.io/vpNEp
<ben> sphalerite: nix-env *was* also in my user env ;)
<sphalerite> you still don't have to do all-or-nothing
<ben> (I got it sorted, no worries)
<sphalerite> you can still use nix-env -iA to upgrade only individual packages
acarrico has quit [Ping timeout: 276 seconds]
<ben> hm, I see
<ben> presumably no --prebuilt-only flag tho
<ben> thanks for clarifying!
<Myrl-saki> How to force nix-repl to print everything?
<Myrl-saki> nix repl
<sphalerite> Myrl-saki: :p <expr>
<Myrl-saki> Thanks.
<sphalerite> :? for help
olto has quit [Quit: ZNC - https://znc.in]
hyper_ch2 has quit [Ping timeout: 260 seconds]
ckauhaus has quit [Quit: Leaving.]
tmaekawa has joined #nixos
reinzelmann has quit [Quit: Leaving]
halfbit has joined #nixos
olto has joined #nixos
szicari has quit [Quit: szicari]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/03b44ad3ed9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
olto has quit [Client Quit]
dbmikus has joined #nixos
leat has quit [Ping timeout: 268 seconds]
erasmas has joined #nixos
olto has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #40672 → [18.03] faust2: fix build with llvm 5.0.2 → https://git.io/vpN2K
<Myrl-saki> Huh
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
szicari has joined #nixos
xAFFE has left #nixos ["Error from remote client"]
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 255 seconds]
<Myrl-saki> Is there no standard function for
<Myrl-saki> lists.foldr recursiveUpdate {}
coot has joined #nixos
nuncanada has joined #nixos
waleee has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40673 → git-ftp: 1.4.0 -> 1.5.1 → https://git.io/vpNVq
Ariakenom_ has joined #nixos
glittershark has joined #nixos
Ariakenom has quit [Ping timeout: 256 seconds]
freeman42x]NixOS has joined #nixos
mmercier has quit [Ping timeout: 255 seconds]
xy2_ has joined #nixos
alhariel has quit [Ping timeout: 240 seconds]
smallville7123 has joined #nixos
mmercier has joined #nixos
acarrico has joined #nixos
<cocreature> I’m using nix in multiuser mode on archlinux and I noticed that if I cancel a command using ctrl+c, the builders keep running in the background. is there a way around this?
Ariakenom_ has quit [Ping timeout: 256 seconds]
<Myrl-saki> cocreature: pkill the builders group?
<cocreature> Myrl-saki: sure I can kill them manually. I was more thinking of some config setting or whatever that does that automatically
szicari has quit [Quit: szicari]
smallville7123 has quit [Client Quit]
<Myrl-saki> Sorry, got nothing.
szicari has joined #nixos
cryp2nomicon has quit [Quit: leaving]
tmaekawa has quit [Quit: tmaekawa]
endformationage has joined #nixos
astrofog has quit [Quit: Quite]
Have-Quick has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40676 → firejail: 0.9.52 -> 0.9.54 → https://git.io/vpNrF
qewzee has joined #nixos
halfbit has quit [Ping timeout: 240 seconds]
<jD91mZM2> cocreature: That sounds like something you should open a GitHub issue for though. Leaking builders doesn't sound too good
<cocreature> jD91mZM2: will do (after I’ve searched for existing issues), thanks!
halfbit has joined #nixos
griff_ has joined #nixos
patrl has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #40644 → spidermonkey_52: 52.7.4 -> 52.8.0 → https://git.io/vpbHE
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/vpN6k
<{^_^}> → 2329df49 by R. RyanTM: spidermonkey_52: 52.7.4 -> 52.8.0
<{^_^}> → c3383afa by @jtojnar: Merge pull request #40644 from r-ryantm/auto-update/spidermonkey
spear2 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40677 → dash: 0.5.10 -> 0.5.10.1 → https://git.io/vpN6H
Have-Quick has quit [Quit: Have-Quick]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40678 → debianutils: 4.8.4 -> 4.8.6 → https://git.io/vpNPi
vaninwagen has quit [Ping timeout: 248 seconds]
camsbury has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-dns: 2.6.6 -> 2.6.7 »: https://git.io/vpNXM
szicari has quit [Quit: szicari]
xAFFE has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #40679 → [wip] programs/nix-index.nix: init module → https://git.io/vpN11
<{^_^}> [nixpkgs] @vcunat pushed to release-18.03 « knot-dns: 2.6.5 -> 2.6.7 »: https://git.io/vpN1H
szicari has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
kiloreux has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @dtzWill opened pull request #40680 → App::St: 1.1.2 -> 1.1.4 → https://git.io/vpNM4
raynold has quit []
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40681 → e2fsprogs: 1.44.1 -> 1.44.2 → https://git.io/vpNDO
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40682 → debootstrap: 1.0.97 -> 1.0.98 → https://git.io/vpNDn
kamil- has joined #nixos
aminb has quit [Quit: WeeChat 2.1]
aminb has joined #nixos
<kamil-> So I just used nix-prefetch-url with the original url but it's pretty uncomfortable to sit here and see nothing happening
<{^_^}> [nixpkgs] @matthewbauer pushed to master « tigervnc: add makeWrapper to nativeBuildInputs »: https://git.io/vpNyY
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40684 → duperemove: 0.10 -> 0.11 → https://git.io/vpNyG
<{^_^}> [nixpkgs] @dtzWill opened pull request #40685 → bashplotlib: init at 2017-10-11 → https://git.io/vpNyd
johanot has quit [Quit: Leaving.]
Ariakenom has joined #nixos
lukec has quit [Ping timeout: 276 seconds]
fendor has joined #nixos
Tucky has quit [Quit: WeeChat 2.1]
smallville7123 has joined #nixos
jmaki has joined #nixos
<waleee> quit
waleee has quit [Quit: WeeChat 2.1]
camsbury has joined #nixos
fuzzy_id has joined #nixos
waleee has joined #nixos
drakonis has joined #nixos
lukec has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #40686 → ssh: custom config key types → https://git.io/vpNHc
smallville7123 has quit [Quit: rosa]
<{^_^}> [nixpkgs] @peti merged pull request #40392 → Ghcjs 8.2 & 8.4 → https://git.io/vpSI3
<{^_^}> [nixpkgs] @peti pushed 12 commits to master: https://git.io/vpNQO
<{^_^}> → c41675bc by @ElvishJerricco: GHCJS 8.2
<{^_^}> → d86edd51 by @ElvishJerricco: Dont haddock ghcjs in either version
<{^_^}> → 64df9b6b by @ElvishJerricco: GHCJS 8.4
guillaum1 has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
<guillaum1> I cannot found the trick to import a derivation from an url (something such as "callPackage (fetchurl "http://github/old/version/of/something.nix") {}") ?
patrl has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40659 → Androidndk → https://git.io/vpNYv
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/vpN7w
<{^_^}> → 9f79ac6f by @bkchr: androidndk: Drop 32bit support
<{^_^}> → c056694d by @bkchr: androidndk: Adds versions 17 and 16b
<{^_^}> → 832a8ca0 by @bkchr: androidndk: Fix usage as crossSystem
<kamil-> (answering my own question) to see the progress (kind of) of nix-prefetch-url: pass -v (or multiples of it like: -vvvv) - it won't print out the progress bar but it wil let you know what's going on - this is undocumented
<kamil-> I had to read through nix-prefetch-url c++ source code
<kamil-> it uses curl under the hood
<sphalerite> kamil-: PRs to add docs welcome :)
winem_ has quit [Ping timeout: 256 seconds]
kamil- has quit [Remote host closed the connection]
kamil- has joined #nixos
glittershark has quit [Ping timeout: 248 seconds]
<kamil-> what would be the starting point? (I can't find where the docs are located on github so that I could add this small bit about the -v switch)
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<symphorien> guillaum1: see for example https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs
<symphorien> this imports nixpkgs
<symphorien> but you can replace with anything which resolves to a nix file or a tarball whose root dir contains a default.nix
<betaboon> how come that pretty much all browsers in nixpkgs are marked as broken on darwin ? oO
maingo has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3de03b6d465 (from 67 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
griff_ has quit [Quit: griff_]
earldouglas has joined #nixos
<earldouglas> Has anyone managed to set up a multi-node Kubernetes cluster with NixOS?
derchris_ has quit [Ping timeout: 240 seconds]
<guillaum1> symphorien: haa, yes, thank you!
<eacameron> so... builtins.fetchGit is insanely slow
<eacameron> Anyone know of a workaround?
Ariakenom has quit [Ping timeout: 256 seconds]
<eacameron> Is there a way to force it to not share a objects between all repos?
RyanGlScott has joined #nixos
jacob has joined #nixos
jacob is now known as Guest54653
mmercier has quit [Ping timeout: 268 seconds]
kamil- has quit [Quit: Leaving...]
<eacameron> shlevy: ^
<eacameron> Does your fetcher support private repos?
<RyanGlScott> Does anyone know which lines of code in https://github.com/NixOS/nix are responsible for actually building a derivation?
szicari has quit [Quit: szicari]
griff_ has joined #nixos
jensens has quit [Ping timeout: 256 seconds]
<elvishjerricco> RyanGlScott: I don't know, but I'd look for the code path taken by nix-store -r. This is the most basic way to build a derivation, though it also checks substituters
lukec has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #40687 → cmake: don't override cmakeDir when set → https://git.io/vpNAL
hiroshi has quit [Ping timeout: 264 seconds]
Ariakenom has joined #nixos
lonokhov has quit [Quit: WeeChat 2.0]
smallville7123 has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
hiroshi has joined #nixos
<johnw> shlevy: ping
halfbit has quit [Quit: WeeChat 2.1]
<aminechikhaoui> hm anyone knows why having buildCommand and installPhase both in stdenv.mkDerivation results in running only buildCommand and ignoring installPhase
<aminechikhaoui> ?
<clever> aminechikhaoui: thats what buildCommand does
<clever> aminechikhaoui: you probably want buildPhase instead
<aminechikhaoui> clever: sorry what does buildCommand do ? both build and install
<aminechikhaoui> ?
<clever> aminechikhaoui: buildCommand replaces all default phase logic, so it no longer runs any phases
<aminechikhaoui> clever: ah thanks
<aminechikhaoui> I always get confused :D
balsoft has joined #nixos
sigmundv has quit [Ping timeout: 248 seconds]
udono has joined #nixos
unkn has quit [Ping timeout: 240 seconds]
szicari has joined #nixos
udono1 has quit [Ping timeout: 240 seconds]
<jack[m]> I love surgery on binaries: sed -i "s|/usr/bin/perl|perl\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
smallville7123 has quit [Quit: rosa]
<clever> jack[m]: eek!
fendor has joined #nixos
<jack[m]> clever; I'm struggling to get haskell running on non-NixOS. It takes a fair amount of molesting the ghc binary to get it to run.
<clever> jack[m]: a binary that haskell has compiled? or ghc itself?
jperras has quit [Ping timeout: 264 seconds]
kamil- has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed commit from R. RyanTM to master « gpsprune: 18.6 -> 19 »: https://git.io/vpNhH
<{^_^}> [nixpkgs] @rycee closed pull request #40668 → gpsprune: 18.6 -> 19 → https://git.io/vpN8h
<jack[m]> clever; naw, the bootstrap ghc binary.
<clever> jack[m]: what are you trying to do with that?
iyzsong has quit [Quit: ZNC 1.6.5 - http://znc.in]
raynold has joined #nixos
smallville7123 has joined #nixos
<jack[m]> clever: you need to use the ghc binary to bootstrap a ghc so that you can build haskell derivations.
balsoft has quit [Quit: balsoft]
<clever> jack[m]: and all of that has been handled in nixpkgs
<jack[m]> clever; I'm mostly just building hydra on a non-NixOS platform, and dealing with the standard amount of bitrot in nixpkgs.
<sphalerit> jack: what non-nixos is it, to cause that not to work out of the box??
asuryawanshi has quit [Ping timeout: 240 seconds]
smallville7123 has quit [Client Quit]
JosW has joined #nixos
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
<{^_^}> [nixpkgs] @rycee pushed to master « gpsbabel: remove use of phases »: https://git.io/vpNja
<jack[m]> Linus: this is SLES11SP4, to be precise, and it looks like it is not patchelfing a lib/bin somewhere.
worldofpeace has joined #nixos
<sphalerit> Weird, I thought the ghc bootstrap is tested, and should work the same between nixos and other linuxes
<jack[m]> Linus: /bin/sh: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/nix/store/1yxz52330rcrv7srb2n5g970piq1m0iz-ncurses-5.9/lib/libncurses.so.
<jack[m]> 5)
<clever> jack[m]: thats due to your glibc not being the right version, rather then a missing patchelf
leat has joined #nixos
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #40688 → pythonPackages.cx_oracle: fix dlopen, patchelf and fix library path for oracle-instantclient binaries → https://git.io/vpNjH
<worldofpeace> Pst, anyone want to finish the review on this lil ol python package https://github.com/NixOS/nixpkgs/pull/40527/commits/33574cdc0979d978a99e92a98cd4ea0b7b7c715c would be cool? :)
logzet has quit [Remote host closed the connection]
<sphalerit> Ah, it's with an alternate store dir as well?
<jack[m]> clever: historically when I'm patching binaries to run against a nix store, this is because of a lib not having an rpath patched and it picking up system libraries.
<jack[m]> Linus: yeah, because enterprise.
lukec has joined #nixos
<{^_^}> [nixpkgs] @mboes opened pull request #40689 → tensorflow: 1.5.0 -> 18.0 → https://git.io/vpAeJ
<sphalerit> Gotta love it
nur0n0 has joined #nixos
<jack[m]> clever: i.e. (bin_pkg)/bin/foo DLNEEDS (bin_pkg)/lib/foo.so, and (bin_pkg)/lib/foo.so DLNEEDS libncurses.so.5, and I forgot to patch (bin_pkg)/lib/foo.so to use the ncurses in the nix store.
<clever> jack[m]: are you modifying the existing ghc bootstrap expression?
fendor has quit [Ping timeout: 248 seconds]
<jack[m]> Aha! I'll set LD_DEBUG=files and trace back to where /lib64/libc.so.6 is getting sucked in.
RyanGlScott has left #nixos [#nixos]
<jack[m]> clever; not yet. Right now it seems that '7.10.3-binary.nix' wasn't tested on non-Nixos with a non-standard store path.
<jack[m]> ... not that I'd really expect it to be.
<clever> jack[m]: its likely going to be a lot easyer to fix it then rewrite it from scratch
xAFFE has left #nixos ["Error from remote client"]
<jack[m]> clever: I agree completely, that binary surgery I posted earlier is *already in* the derivation. ;)
xAFFE has joined #nixos
<clever> lol
<{^_^}> [nixpkgs] @romildo opened pull request #40690 → enlightenment: add xkeyboard-config dependency → https://git.io/vpAeh
<jack[m]> clever: and I laugh, because before patchelf had --replace-needed, I needed to do a s/libtermcap/libncurses/ on binaries.
<jack[m]> ... which only works because the strings are the same length.
<jack[m]> ... and libnucurses has the same ABI.
drakonis_ has joined #nixos
drakonis_ has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<jack[m]> The fix was adding: patchShebangs ghc-${version}/configure
<{^_^}> [nixpkgs] @Mic92 pushed 7 commits to master: https://git.io/vpAft
<{^_^}> → 276f2897 by @flokli: oracle-instantclient: move rpmextract and patchelf to nativeBuildInputs
<{^_^}> → 0f4269bf by @flokli: oracle-instantclient: remove unused arguments
<{^_^}> [nixpkgs] @Mic92 merged pull request #40688 → pythonPackages.cx_oracle: fix dlopen, patchelf and fix library path for oracle-instantclient binaries → https://git.io/vpNjH
<{^_^}> → ccb4558a by @flokli: oracle-instantclient: prefix LD_LIBRARY_PATH
<tokudan[m]> trying to avoid duplicating settings in configuration.nix, is there a way to do something like this: networking = { bonds.bond0 = { driverOptions.arp_ip_target = networking.defaultGateway; }; };
<tokudan[m]> when i try it with config.networking.defaultGateway, i just get The option value `networking.bonds.bond0.driverOptions.arp_ip_target' in `/etc/nixos/network.nix' is not of type `string'.
<tokudan[m]> and I've set defaultGateway = "172.28.100.1";
<tokudan[m]> which looks like a string to me...
boomshroom has joined #nixos
<boomshroom> Hello!
asuryawanshi has quit [Ping timeout: 265 seconds]
glittershark has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40512 → kubernetes: 1.9.1 -> 1.9.7 → https://git.io/vpQsT
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpAJk
<{^_^}> → 9d5b6b89 by @yurrriq: kubernetes: 1.9.1 -> 1.9.7
<{^_^}> → 4a761a8c by @matthewbauer: Merge pull request #40512 from yurrriq/update/kubernetes
<{^_^}> [nixpkgs] @jcumming opened pull request #40691 → fix ghc bootstrap on non-nixos nonstd-storepath → https://git.io/vpAJs
<jD91mZM2> tokudan[m]: What happens if you assign it to networking.defaultGateway.address instead? I doubt it'll work, but it's worth a shot?
<{^_^}> [nixpkgs] @Izorkin opened pull request #40692 → sshd: add custom options → https://git.io/vpAJn
<tokudan[m]> jD91mZM2: that builds... right now I'm wondering why i never noticed that defaultGateway is actually a set
<jack[m]> tokudan; I usually use a let expression to inject the value into configuration.nix. For example:
waleee has quit [Quit: WeeChat 2.1]
<jack[m]> tokudan: let myAddress = foo in { config, pkgs, ... }: { ... networking = { bonds.bond0 = { driverOptions.arp_ip_target = myAddress; } ; defaultGateway = myAddress ; }
waleee has joined #nixos
<tokudan[m]> jack: that would work... but it's not as readable as having "arp_ip_target = config.networking.defaultGateway.address;" in the config
jperras has joined #nixos
<tokudan[m]> jD91mZM2: thanks, that did it :)
<jD91mZM2> Phew, that was a lucky guess :P
xAFFE has left #nixos ["Error from remote client"]
jperras has quit [Ping timeout: 256 seconds]
RyanGlScott has joined #nixos
<RyanGlScott> Is it possible to inherit another derivation's buildPhase?
<RyanGlScott> I know it's possible to override it, but I want to wrap the buildPhase in my own tool
<RyanGlScott> Something like:
<clever> RyanGlScott: { buildPhase = otherdrv.buildPhase; }
<RyanGlScott> buildPhase = ''myTool ${oldBuildPhase}''
<RyanGlScott> Hrm, OK
<RyanGlScott> clever: I take it that otherdrv.buildPhase isn't packaged up into a script or anything like that, right? It's just a list of shell commands?
<clever> yeah
<RyanGlScott> Alright, thanks.
<clever> and it may not even exist if its using the default
<{^_^}> [nixpkgs] @veprbl opened pull request #40693 → form: init at 4.2.0 → https://git.io/vpAUP
asuryawanshi has joined #nixos
M-bbigras is now known as bbigras--
sigmundv has joined #nixos
<RyanGlScott> Does a lack of buildPhase always indicate it's built with `make`?
<clever> it will default to the buildPhase function in setup.sh
<clever> which runs make, optionally with -j
<clever> and it will obey some defaults
camsbury has quit [Ping timeout: 256 seconds]
<jD91mZM2> You might wanna look at preBuild and postBuild for wrapping without overriding
<RyanGlScott> jD91mZM2: Well that's the thing: I need to specifically invoke an executable which wraps the entire build process
<RyanGlScott> AFAICT, preBuild isn't up to the task
<jD91mZM2> ah
jperras has joined #nixos
sigmundv has quit [Ping timeout: 256 seconds]
griff_ has quit [Quit: griff_]
kamil- has quit [Quit: Leaving...]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/03b44ad3ed9 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
sigmundv has joined #nixos
kamil- has joined #nixos
kamil- has quit [Ping timeout: 255 seconds]
<elvishjerricco> Should there be a nixpkgs-18.03-linux channel? Something like nixpkgs-18.03-darwin, but for linux such that it's not beholden to NixOS requirements like systemd or nixos tests.
szicari has quit [Quit: szicari]
griff_ has joined #nixos
stanibanani has joined #nixos
<infinisil> elvishjerricco: Not sure if that's useful, because with nixos there's the 18.03 channel so people can still get security and other bug updates, but not potentially break their stateful system. If you just need nixpkgs, you can use nixpkgs-unstable, which will always get updates continuously
<elvishjerricco> infinisil: The problem is that right now nixos-18.03 is like a month behind nixpkgs-18.03-darwin, and I'm looking for a commit newer than nixos-18.03 that works for linux as a package repo (not necessarily for building nixos)
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3de03b6d465 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<infinisil> What's not good about nixpkgs-unstable?
<elvishjerricco> it's unstable?
<elvishjerricco> I'd rather have the 18.03 stable channel
<jD91mZM2> There should be a way to get nixos 18.03 but nixpkgs unstable. Basically all the services and other important system related things would use stable, but any packages added to systemPackages or nix-env -iA would use unstable
<infinisil> Hmm, well all the pkgs tests have to pass i think
reinzelmann has joined #nixos
szicari has joined #nixos
<elvishjerricco> The point is to have a stable channel of a package repo, ignoring nixos entirely. Something where major versions of anything never changes, but still gets security fixes and bug fixes
<jD91mZM2> just... why
<elvishjerricco> Because I work at an organization that values stability and would rather not have frequent major dependency updates, while still receiving bug fixes and security fixes
vaninwagen has joined #nixos
<elvishjerricco> We have a big project that relies on a pinned checkout of nixpkgs to get all the dependencies. We're effectively only using this checkout as a package repo, since we don't use the checkout to deploy nixos anywhere, so we don't care about the nixos specific things in nixos-18.03
<jD91mZM2> You have a point
mrkgnao has quit [Ping timeout: 240 seconds]
asuryawanshi has quit [Ping timeout: 256 seconds]
<elvishjerricco> I suppose what we actually want is something like nixpkgs-18.03-all; i.e. it checks that packages build for both linux AND darwin, without checking things specific to nixos.
<samueldr> elvishjerricco: in your case, would -small work?
<elvishjerricco> samueldr: What's the difference between nixos-* and nixos-*-small?
<samueldr> (I'm actually looking for that info :))
halfbit has joined #nixos
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos
RyanGlScott has left #nixos [#nixos]
<clever> elvishjerricco: -small only runs tests, normal waits for every single package to try to build
kreetx has joined #nixos
<elvishjerricco> clever: Ah, then that does not sound like what we want.
stanibanani has left #nixos [#nixos]
<{^_^}> [nixpkgs] @jtojnar pushed to master « nixos/nginx: emphasize that useACMEHost does not create certs »: https://git.io/vpAqo
<samueldr> clever: "only runs test" though would, transitively build a bunch of stuff, right? (though may not be enough for elvishjerricco's needs)
<samueldr> the minimal iso is built for -small IIUC
arianvp2 has joined #nixos
<clever> samueldr: yeah
<arianvp2> heya
<arianvp2> why does import <nixos> {} work?
<arianvp2> whilst nixos is not in NIX_PATH?
<clever> arianvp2: /nix/var/nix/profiles/per-user/root/channels is in NIX_PATH
<clever> arianvp2: and nixos is a directory inside there
<arianvp2> ahhh
<arianvp2> got it
alex`` has quit [Quit: WeeChat 2.1]
<arianvp2> with builtins.fetchTarball, why do we even have channels?
<Myrl-saki> Is there a way to set default settings of systemd-nspawn?
<arianvp2> Myrl-saki: you could create a .nspawn file? https://www.freedesktop.org/software/systemd/man/systemd.nspawn.html
<ryantm> Is there a NixOS option for setting the root channel?
<clever> ryantm: checking...
<ryantm> I tried searching https://nixos.org/nixos/options.html#channel and other keywords
<infinisil> You can only do it via nixPath
<infinisil> Other than that channels are stateful
<infinisil> Oh
<clever> ryantm: if channels have never been configured before, and you open a shell as root, it sets up the "nixos" channel pointing to the system.nixos.defaultChannel
<clever> but thats only if the /root/.nix-channels file is somehow missing
<clever> and its a one-time thing, because creating that file stops itself from running
<ryantm> so an empty /root/.nix-channels and use nixPath would work?
<clever> yeah
<clever> ryantm: that forces it to use the nixpkgs embeded into the nixos, by line 72, which refers to the pinned nixpkgs expression
<clever> ryantm: and for nixops, this one is also handy: https://github.com/cleverca22/nixos-configs/blob/master/nixops-managed.nix
<clever> that one will change the default search path of configuration.nix
<clever> so nixos-rebuild just fails, rather then reverting all changes
sigmundv has quit [Ping timeout: 255 seconds]
<ryantm> clever: Yeah I'm thinking about this in terms of nixops. I upgraded my deployment to 18.03 but nix-info still shows the old channel of course.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40694 → aws-sdk-cpp: 1.4.40 -> 1.4.50 → https://git.io/vpAm9
<infinisil> I'd suggest just getting rid of nix-channel related things
<ryantm> infinisil: How is that different?
waleee has quit [Quit: WeeChat 2.1]
<ryantm> infinisil: Or were you just suggesting we should get rid of channels entirely for everyone ;)
<infinisil> Just nix-channel and its statefulness
pip3000 has joined #nixos
<infinisil> I just put a nixpkgs= in my nixPath
civodul has joined #nixos
<boomshroom> As a desktop user, I generally don't care that much about package versions, so I just have nixpkgs-unstable as the main channel and only update it with nixos-rebuild --update.
reinzelmann has quit [Quit: Leaving]
<pip3000> Hi! How can i install Firefox 60?
asuryawanshi has joined #nixos
<clever> boomshroom: if you run nixos from nixpkgs-unstable, you risk bricking the machine
Synthetica has quit [Quit: Connection closed for inactivity]
<boomshroom> clever: nixos-unstable. And ya, but so far it hasn't and if it does, I can reboot to an earlier version. I did switch from Arch and ran an update every morning so I didn't run into any problems other than accidentally deleting critical filesystems and updating Windows.
<ryantm> I use nixos-unstable for all my personal machines. I haven't had a problem with the bootloader breaking yet.
<clever> boomshroom: there was a bug in nixpkgs-unstable a year ago, that corrupted the grub config, removing your ability to reboot to an earlier version
<clever> boomshroom: hydra detected that failure, and correctly refused to update nixos-unstable
camsbury has joined #nixos
<ryantm> clever: If our bootloader gets killed, we can do a usb boot and repair it :)
<boomshroom> clever: Nice. Glad to see bugs like that get stopped. Any idea if anything similar has happened with systemd-boot.
<clever> boomshroom: probably, but i havent checked
<clever> ryantm: potentially, a FS corruption issue could also just eat your entire drive :P
camsbury has quit [Read error: Connection reset by peer]
camsbury has joined #nixos
<ryantm> clever: Yup! It will be easier to recover thanks to declarative configuration.
<arianvp2> but wouldn't it be possible to just pin /etc/configuratio.nix with builtins.fetchurl or something?
<arianvp2> I'm kinda sick of nix-channnel. it's super confusing
<clever> arianvp2: internally, nixos just imports <nixos-config> to find the config
<clever> arianvp2: you could point that to a file that returns the nixos configuration function
<ryantm> arianvp2: You can use the NIXOS_CONFIG environemnt variable to contorl the configuration you use
<arianvp2> but it is a function which receives pkgs
<clever> all nixos cares about is that import <nixos-config> (or $NIXOS_CONFIG if that exists) returns a function
tmaekawa has joined #nixos
<arianvp2> but I mean, whatever is calling that function is doing something like import <nixos-config> {pkgs = import <nixpkgs> {}}
<arianvp2> right?
__monty__ has joined #nixos
<infinisil> Not quiet
tmaekawa has quit [Client Quit]
camsbury has quit [Ping timeout: 256 seconds]
<jD91mZM2> boomshroom: I wanted to run nixos-unstable too, but as soon as I tried it for the first time my X server was brutally murdered and I realized that I probably should have stayed away :P
<clever> arianvp2: everything in _module.args is available to all modules
<{^_^}> [nixpkgs] @flokli opened pull request #40695 → pythonPackages.cx_oracle: fix dlopen, patchelf and fix library path for oracle-instantclient binaries → https://git.io/vpAOv
<ryantm> jD91mZM2: If I have problems, I just revert and wait a few days, and/or report some issues.
<arianvp2> ahh
<arianvp2> so I could just set
<arianvp2> nixpkgs.pkgs =
<jD91mZM2> ryantm: If you revert it and rebuild (without --upgrade), will it keep using the old package versions?
camsbury has joined #nixos
<ryantm> jD91mZM2: I meant I use `nixos-rebuild switch --rollback`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40696 → ace: 6.4.7 -> 6.4.8 → https://git.io/vpAOG
<jD91mZM2> ryantm: Ah yes, but I was thinking more generally. I can't seem to stay away from my config for even a day :P
camsbury has quit [Remote host closed the connection]
alex`` has joined #nixos
camsbury has joined #nixos
<arianvp2> k thanks for the tips again guys
<arianvp2> I should really set up an IRC relay so I dont log out all the time
alex`` has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
jD91mZM2 has quit [Quit: Good night]
<ryantm> jD91mZM2: You can always maintain your own branch of nixpkgs. I sort of do that sometimes.
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vpAOH
<{^_^}> → d9266340 by @Gerschtli: Adds gerschtli to maintainer-list
<{^_^}> → 93fedb03 by @Gerschtli: cargo-release: Init at 0.10.0
<{^_^}> → e0fccdcc by @matthewbauer: rust: add more sys overrides
arianvp2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #39349 → Adds cargo-release → https://git.io/vpOX9
<{^_^}> [nixpkgs] @mrVanDalo opened pull request #40697 → memo: 0.2 -> 0.3 → https://git.io/vpAON
<{^_^}> [nixpkgs] @Mic92 pushed to master « python.pkgs.cx_oracle: add missing quote »: https://git.io/vpAOh
<pip3000> is firefox 60 available in any channel yet?
camsbury has quit [Ping timeout: 276 seconds]
worldofpeace has quit [Ping timeout: 260 seconds]
<pip3000> ryantm: thx
<ryantm> pip3000: try firefox-beta-bin on nixpkgs-unstable
glittershark has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40698 → aria: 1.33.1 -> 1.34.0 → https://git.io/vpA3y
freeman42x[nix] has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #40614 → ries: init at 2018-04-11 → https://git.io/vpbJT
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vpA3N
<{^_^}> → ea7404dc by @symphorien: ries: init at 2018-04-11
<{^_^}> → 97ab2d40 by @pSub: Merge pull request #40614 from symphorien/ries
marek has quit [Ping timeout: 256 seconds]
marek has joined #nixos
camsbury has joined #nixos
<infinisil> pip3000: ryantm: Firefox 60 apparently is only in staging yet: https://github.com/NixOS/nixpkgs/commit/beb2a87c1c24446e46afe003492abede728ffb1a
<infinisil> Oh this one rather: https://github.com/NixOS/nixpkgs/pull/40006
<infinisil> Well both, the first one for 18.09 and the second for master
<infinisil> Both for staging
camsbury has quit [Remote host closed the connection]
griff_ has quit [Quit: griff_]
camsbury has joined #nixos
fuzzy_id has quit [Ping timeout: 255 seconds]
marek has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @pSub pushed to master « disorderfs: 0.5.2 -> 0.5.3 »: https://git.io/vpAs1
camsbury has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40699 → babl: 0.1.46 -> 0.1.48 → https://git.io/vpAsd
marek has joined #nixos
<MasseR> Have you guys heard of any problems building haskell packages lately? After picking up my old project, I can no longer 'nix-build' it. Ghc tries to find package database from my home ~/.cabal/store/ghc-8.2.2/package.db and fails. And I can't open a cabal repl inside nix-shell, it complains of a syntax error in the derivation
<MasseR> y
<{^_^}> [nixpkgs] @dtzWill merged pull request #40680 → App::St: 1.1.2 -> 1.1.4 → https://git.io/vpNM4
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/vpAGU
<{^_^}> → 0b4b3e64 by @dtzWill: perlPackages.AppSt: 1.1.2 -> 1.1.4
<{^_^}> → a5c9b87d by @dtzWill: App::St: no need for fixup anymore
<{^_^}> → ee57b14c by @dtzWill: Merge pull request #40680 from dtzWill/update/st-1.1.4
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40700 → armadillo: 8.500.0 -> 8.500.1 → https://git.io/vpAGT
<infinisil> MasseR: It seems that you didn't pin nixpkgs, didn't use nixpkgs haskell package builder setup, and made the syntax error yourself, because nix' syntax pretty much didn't change
<MasseR> infinisil: I did pin to a specific package set, I'm using cabal2nix --shell ./., so no :)
<infinisil> cabal2nix doesn't pin nixpkgs
<infinisil> afaik
JosW has quit [Quit: Konversation terminated!]
<infinisil> ,pinning
<MasseR> True. I did a cabal2nix --shell ./., and modified the resulting file so that it pins the packages, and also instead of calling default.nix, I'm calling cabal2nix directly
<MasseR> 83a5765b1fea2472ec9cf9d179d3efd18b45c77e to be precise
<MasseR> Let me pastebin it
<infinisil> The point is not to edit it so you can easily regenerate it on updates
<MasseR> shell.nix is static, default.nix is (would be) easily regenerated
camsbury has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #40701 → babeld: 1.8.1 -> 1.8.2 → https://git.io/vpAGd
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4c2913215c9 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
alex`` has joined #nixos
camsbury has quit [Remote host closed the connection]
derchris_ has joined #nixos
Mateon3 has joined #nixos
Ariakenom has quit [Ping timeout: 255 seconds]
Mateon1 has quit [Ping timeout: 248 seconds]
Mateon3 is now known as Mateon1
pip3000 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #40702 → sqlar: init at 2018-01-07 → https://git.io/vpAnO
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/437cc2c6403 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<dtz> hooray for unstable updates :)
MichaelRaskin has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #40703 → franz, maxx: switch to autoPatchelfHook → https://git.io/vpAce
<{^_^}> [nixpkgs] @xeji merged pull request #40648 → openresty: 1.13.6.1 -> 1.13.6.2 → https://git.io/vpbhd
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « openresty: 1.13.6.1 -> 1.13.6.2 (#40648) »: https://git.io/vpAck
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/977c207f229 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @xeji merged pull request #40643 → soapyhackrf: 0.3.2 -> 0.3.3 → https://git.io/vpbDV
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « soapyhackrf: 0.3.2 -> 0.3.3 (#40643) »: https://git.io/vpAcD
jtojnar has joined #nixos
<infinisil> Hmm, okay now the thing I asked about earlier now works
<infinisil> The opengl driver thing wrapping via LIBGL_DRIVERS_PATH
<infinisil> But this doesn't work for nvidia of course
<drakonis> nixgl may help
<drakonis> you have to build it with your current nvidia driver
<infinisil> Hmm.. I'll check it out
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40704 → hdf5: use gcc7 instead of gcc8 → https://git.io/vpAWU
alexteves has quit [Ping timeout: 248 seconds]
Lisanna has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #40645 → prosody: 0.10.0 -> 0.10.1 → https://git.io/vpbbB
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « prosody: 0.10.0 -> 0.10.1 (#40645) »: https://git.io/vpAWO
Guest54653 has quit [Quit: Lost terminal]
Synthetica has joined #nixos
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pareidolia has quit [Quit: ZNC - http://znc.in]
balsoft has joined #nixos
<infinisil> drakonis: Not sure why, but when I try to build it I get a weird "Transient problem" with curl, and it can't resolve tarballs.nixos.org for some reason
<infinisil> I don't have any internet issues right now, and the url there seems to exist, I can download it manually even
<drakonis> no idea why it didn't work
<drakonis> https://github.com/guibou/nixGL this right?
camsbury has joined #nixos
kand has joined #nixos
<infinisil> Yeah
<infinisil> Oh I see
<kand> Anyone know all the packages needed for phones to work(mtp and the like) in gnome and kde?
<infinisil> He's setting the sha256 to null.. Which apparently freaks out nix
<infinisil> Changing it to a proper string makes it download
<clever> infinisil: if the params are not valid, nix 2 will just dis-allow network
<clever> infinisil: with older nix, there was a bug that allowed a non-fixed fixed-output derivation
camsbury has quit [Remote host closed the connection]
<infinisil> Oh, yeah then nixGL apparently wasn't tested with newer nix
<infinisil> But I'm glad Nix2.0 fixed this
orivej_ has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
kreetx has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #40682 → debootstrap: 1.0.97 -> 1.0.98 → https://git.io/vpNDn
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « debootstrap: 1.0.97 -> 1.0.98 (#40682) »: https://git.io/vpA8b
<infinisil> Yeah that works indeed, thanks drakonis!
<drakonis> no problem
<infinisil> Although, for my use I'm just extracting the part I need of nixGL
<drakonis> gotta fix gl on nix itself though
baconicsynergy has joined #nixos
<drakonis> don't want the newcomers to trip on opengl
<drakonis> what's your purpose anyways?
<boomshroom> I know I was having trouble with Citra and GL earlier. Can someone explain NixGL and whether or not it would help?
<infinisil> drakonis: There's a nice compton fork that adds a really good blurring effect
<infinisil> Very similar to the blur on macOS
<drakonis> ah i see
<drakonis> boomshroom, it will help lol
<drakonis> because it will let you run anything that depends on opengl
<boomshroom> drakonis: It looks like it's focused on NVidia and Intel. Anything for AMD?
<drakonis> actually
<drakonis> its mesa focused
<drakonis> "This tool tries to solve the "OpenGL" problem on nix. Works with Nvidia cards (with bumblebee) and most of the card supported by mesa (such as Intel, AMD and nouveau using the free driver). It works for Vulkan programs too."
<drakonis> hmm
<drakonis> doesn't work with amd because the guy doesn't have amd hardware
<ryantm> clever: Do you have to configure something to make /run/current-system/nixpkgs be there?
<drakonis> seems to be a similar solution with a different approach
<drakonis> also nvidia focused
<drakonis> r i p
<boomshroom> drakonis: I notice that a lot nowadays seems to just forget about AMD (especially CUDA) even though it has better open source drivers than NVidia.
<clever> ryantm: thats in the examples i linked
joehh1 has quit [Ping timeout: 276 seconds]
<ryantm> clever: Oh, thanks!
<clever> ryantm: nixos will eval that string when creating the final derivation that winds up at /run/current-system
<drakonis> amd is making a comeback now
<clever> ryantm: so you can just jam in whatever you want to throw in there
<drakonis> give it a year max
<drakonis> mainly due to vegas shipping with intel cpus now
<drakonis> should be enough to give it a big jolt
<{^_^}> [nixpkgs] @dtzWill merged pull request #40702 → sqlar: init at 2018-01-07 → https://git.io/vpAnO
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vpABK
<{^_^}> → 0f7eaddc by @dtzWill: sqlar: init at 2018-01-07
<{^_^}> → 26f06ddb by @dtzWill: Merge pull request #40702 from dtzWill/feature/sqlar
<ij> Theoretical question: if a build is impure and its output differs every time, then the store path doesn't change (since its a hash of its INPUTS, not outputs), so the impure build will cache, but the build that depend on it won't cache, right?
<symphorien> what do you mean by "won't cache" ?
phreedom has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #40704 → hdf5: use gcc7 instead of gcc8 → https://git.io/vpAWU
<{^_^}> [nixpkgs] @xeji pushed commit from @Synthetica9 to gcc8 « hdf5: use gcc7 instead of gcc8 (#40704) »: https://git.io/vpABA
alex`` has quit [Quit: WeeChat 2.1]
phreedom has joined #nixos
<ij> "will get rebuilt" whenever the impure derivation gets rebuilt
<symphorien> no it won't, be cause the hash of its inputs didn't change
<symphorien> hum well the non reproducible derivation won't be rebuilt as well
<infinisil> ij: The output paths depend solely on the Nix code that produces the derivations
<infinisil> Hmm
marek has quit [Ping timeout: 268 seconds]
<infinisil> Yeah, so the actual contents of the out paths have nothing to do with caching
<ij> really?
<infinisil> 99% sure
<ij> huh
<infinisil> You could try to verify it with a simple derivation that outputs randomness
<ij> I will try that
marek has joined #nixos
balsoft has quit [Quit: balsoft]
balsoft has joined #nixos
kand has quit [Ping timeout: 260 seconds]
<ij> no, input files get cached too, pretty sure
knupfer has joined #nixos
<infinisil> What do you mean by input files?
<{^_^}> [nixpkgs] @xeji merged pull request #40677 → dash: 0.5.10 -> 0.5.10.1 → https://git.io/vpN6H
<ij> store paths
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « dash: 0.5.10 -> 0.5.10.1 (#40677) »: https://git.io/vpARo
<infinisil> Yeah, not sure how that's relevant though?
<{^_^}> [nixpkgs] @xeji merged pull request #40678 → debianutils: 4.8.4 -> 4.8.6 → https://git.io/vpNPi
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « debianutils: 4.8.4 -> 4.8.6 (#40678) »: https://git.io/vpARM
xeji has joined #nixos
balsoft has quit [Read error: Connection reset by peer]
balsoft has joined #nixos
<ij> "out paths have nothing to do with caching" if b depends on a, then a's hash doesn't care about the content of b store path contents?
<pikajude> nixops never really works properly does it
<gchristensen> wfm most of the time
<infinisil> pikajude: Works for me too
<pikajude> it's trying to build my expressions on localhost instead of the remote systems I already have set up
<pikajude> it sort of chooses to do that and not do that at random
<infinisil> ij: You mean that b's hash doesn't care about the content of b's store path contents?
<pikajude> and there's no insight into why it does
<infinisil> ij: If so, yeah I'm pretty sure that's the case
<ij> infinisil, should've rechecked :/ I meant "if b depends on a, then is it the case that b's hash doesn't care about the a's store path contents"
<pikajude> and i can't even get a derivation file to copy to the remote system and build because it's refusing to evaluate at all
<pikajude> sigh
__monty__ has quit [Quit: leaving]
<infinisil> ij: Yeah, and I think that's the case
<{^_^}> [nixpkgs] @xeji merged pull request #40685 → bashplotlib: init at 2017-10-11 → https://git.io/vpNyd
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « bashplotlib: init at 2017-10-11 (#40685) »: https://git.io/vpA01
<ij> Ok, I didn't think that was the case.
<infinisil> pikajude: Why are you building nixops on a remote host? Aren't you supposed to build systems locally and then push them to remotes?
<jack[m]> pikajude; blame meltdown.
<infinisil> ij: In the nix evaluation phase it already fixes all derivation and store paths, whithout having built anything even
<ij> huh!
<infinisil> ij: As an example, the nix bot I have running here evaluates nix, *only* evaluates, it can't build anything
<infinisil> > pkgs.hello.outPath
<{^_^}> "/nix/store/6mab2znnw7j96k3vsdw9vyckady29r46-hello-2.10"
<infinisil> Yet it known already that hello will be stored there
vaninwagen has quit [Quit: WeeChat 2.1]
broccoli_ has joined #nixos
<pikajude> infinisil: well, my local system isn't x86_64-linux
asuryawanshi has quit [Ping timeout: 264 seconds]
<pikajude> and i've previously been able to build anything x86_64-linux with remote builds
<pikajude> i.e., build the system expr *on* the target system, then copy it over and activate it
<pikajude> which is what i thought nixops was intended to do
<infinisil> ij: What it did create (within nix) is derivations of all the dependencies, which all influence the hash, but only the derivations themselves, not the resulting outPaths of them
<ij> gotcha
<pikajude> there are certainly a number of issues on the nixops repo regarding trying to build linux systems from an osx host and nobody in those threads has mentioned that you're not meant to be able to do that
balsoft has quit [Quit: balsoft]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
szicari has quit [Quit: szicari]
lassulus has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40705 → elfutil: add patch that fixes compilation under gcc8 → https://git.io/vpAED
karlguy has joined #nixos
lassulus has joined #nixos
baconicsynergy has quit [Read error: Connection reset by peer]
broccoli_ has quit [Ping timeout: 255 seconds]
<elvishjerricco> pikajude: NixOps will attempt to build x86_64-linux derivations, so they will get delegated to remote builders if you have remote builders setup correctly. I use it this way on macOS all thetime
<pikajude> ah ok
<pikajude> so i've got a setup that will allow remote builds if I just nix-build in the nixpkgs source tree, but not if nixops tries to execute them
<elvishjerricco> It's not possible for Nix to try to build x86_64-linux derivations on a darwin system unless you pass `--system x86_64-linux`, which is not something anyone should EVER do probably ;P
<pikajude> i wonder how i managed that
shabius has quit [Quit: Leaving]
<elvishjerricco> pikajude: How are you convincing the nixpkgs source tree to build remotely? And what is your local system?
<boomshroom> elvishjerricco: I've spoofed localSystem in the past. I'd definitely refer to it as black magic.
<pikajude> x86_64-darwin
<pikajude> i have NIX_BUILD_HOOK set to the nix build-remote script
<pikajude> and i have NIX_REMOTE_SYSTEMS set to the filepath of a file containing the remote system i want to build with
<elvishjerricco> boomshroom: localSystem can be changed all you want. `--system` changes what `builtins.currentSystem` returns, which is much more broken
<boomshroom> elvishjerricco: BRB: spoofing --system.
<elvishjerricco> pikajude: I don't think that's the right way to do it anymore. What error do you get when you try it with nixops? And what are you doing to make nixpkgs build linux derivations? `--argstr system`?
<pikajude> that's a bit annoying for me to do, i just build stuff in pkgs/top-level/release.nix because they have attrs that are named after the corresponding system
<pikajude> nix-build pkgs/top-level/release.nix -A emacs.x86_64-linux for example
<elvishjerricco> pikajude: Ah, that ought to be fine
<pikajude> and with --option build-use-substitutes false so it doesn't try to just copy from the cache
<pikajude> otherwise i wouldn't know it worked
<pikajude> but that command executes properly
<pikajude> or at least, it starts building things on my remote system
<elvishjerricco> So what happens when you try with nixops?
<boomshroom> elvishjerricco: where is --system getting passed? I can't find it in the help of either nix-build or nix build.
broccoli_ has joined #nixos
<pikajude> "error: assertion failed at /Users/judet/.code/nixpkgs/pkgs/os-specific/linux/kernel/generic.nix:45:1"
<pikajude> which is the line that says "assert stdenv.isLinux;"
<elvishjerricco> boomshroom: `nix help-config`. It's one of the `nix.conf` options that can be passed on the command line via `--system`
<elvishjerricco> pikajude: Ok whoa, that does seem broken.
<elvishjerricco> What version of nixops are you on?
<elvishjerricco> It should NEVER be evaluating `builtins.currentSystem` IMO
Lisanna has joined #nixos
<pikajude> whatever is in nixpkgs head, it claims to be version 1.6 i think
<boomshroom> elvishjerricco: `error: 'help-config' is not a recognised command`
<elvishjerricco> boomshroom: `nix --help-config`, my bad
sigmundv__ has joined #nixos
<pikajude> oh, wait
<pikajude> okay
<pikajude> so nix 2.0 has a completely different syntax for remote builds
<pikajude> maybe that's the problem
<elvishjerricco> pikajude: I don't think that's the problem, though you're right you should be using that
<pikajude> we've got the whole --builders option goingc on
<elvishjerricco> Your problem is that the nix expressions themselves (which evaluate the same, regardless of any remote builders) are seeing a darwin system when we don't want them to
<boomshroom> Mua-ha-ha! I used --system to build an aarch64 package on an x86_64 machine! AND IT WORKED! >:D
<pikajude> oo
<pikajude> well why would they do that
<pikajude> interesting
<elvishjerricco> pikajude: It must be that one of the expressions involved is using `builtins.currentSystem`, which we probably don't want
<pikajude> i do use `pkgs.system` multiple times in my machine expressions so if that's wrong, that's absolutely the problem
<elvishjerricco> `pkgs.system` is fine
<pikajude> yeah
<pikajude> but again, if it's wrong
<elvishjerricco> nixops is supposed to pass `system = "x86_64-linux";`
<pikajude> the evaluation would fail i'd think
<pikajude> right
<pikajude> oh, i even specify it manually in my main.nix
<infinisil> > pkgs.system
<pikajude> nixpkgs.system = "x86_64-linux";
<{^_^}> "x86_64-linux"
<elvishjerricco> main.nix?
<pikajude> yeah a lot of the example nixops expressions have a main.nix that imports everything else
<pikajude> so that's what i used too because when i started this project i knew nothing about it
<elvishjerricco> Alright. Maybe grep the nixops source for `builtins.currentSystem`?
<pikajude> hm ok
freeman42x[nix] has quit [Ping timeout: 256 seconds]
xy2_ has quit [Ping timeout: 256 seconds]
drakonis has quit [Read error: Connection reset by peer]
<pikajude> oh, there are a LOT of these
<pikajude> mostly in the nixos dir though
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
hiratara has quit [Ping timeout: 255 seconds]
<pikajude> hmm, i could believe that
<pikajude> well since i'm on macos i can use the power of edit-in-place to check
<pikajude> cannot auto-call a function that has an argument without a default value ('system')
<pikajude> iiiiiiiiiinteresting
griff_ has joined #nixos
<elvishjerricco> pikajude: Hm. Well that line has been unchanged for 6 years so....
<elvishjerricco> Maybe we should find where it's called?
<elvishjerricco> Rather, where the system parameter gets passed into this file
simukis has quit [Ping timeout: 276 seconds]
<pikajude> yeah, it's somewhere in deployment.py
<pikajude> not sure where exactly
hiratara has joined #nixos
<pikajude> but all that stuff has been touched waaaaaaaay long ago
pxc has joined #nixos
<elvishjerricco> pikajude: Maybe it's time for a git bisect on the nixops source?
<pikajude> yep
<elvishjerricco> I know this worked in 1.5
broccoli_ has quit [Ping timeout: 256 seconds]
<pikajude> although, even defaulting system to "x86_64-linux" in eval-machine-info.nix doesn't fix the problem
<pikajude> so we may actually be wrong here
<elvishjerricco> pikajude: Alright then I guess my hypothesis was wrong :P
<pikajude> out-hypothesis'd
<elvishjerricco> All the more reason to bisect!
<pikajude> let me try 1.5 first
<pikajude> and then i'll bisect if it's still borked
alex`` has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « pam_u2f: 1.0.6 -> 1.0.7 (#40649) »: https://git.io/vpAg7
<{^_^}> [nixpkgs] @xeji merged pull request #40649 → pam_u2f: 1.0.6 -> 1.0.7 → https://git.io/vpbjX
<pikajude> and then i'll bisect if it's still borked
<pikajude> whoops
<elvishjerricco> pikajude: whoops?
<pikajude> i hit up and enter
<pikajude> the old muscle memory
<elvishjerricco> lol
<pikajude> well 1.5 doesn't even work with this version of nixpkgs
<elvishjerricco> huh
<elvishjerricco> Maybe try an older nixpkgs? 17.09?
<pikajude> yeah, probably
<elvishjerricco> bleh. Bisecting nixpkgs is much harder
broccoli_ has joined #nixos
blankhart has quit [Ping timeout: 240 seconds]
pxc has quit [Ping timeout: 276 seconds]
sigmundv__ has quit [Ping timeout: 256 seconds]
robstr has quit [Quit: WeeChat 1.9.1]
<pikajude> oh, the problem is nixpkgs
<pikajude> because i can deploy my machine on 17.09 just fine
<pikajude> aaaaaaaaaa
<elvishjerricco> pikajude: Ugh. Not sure what the best debug strategy will be then...
seraxis has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
<elvishjerricco> I wish we had a way to bisect with only the commits that have ever been HEAD on a certain channel
<pikajude> aha
<pikajude> i have identified the problem
ok2`` has joined #nixos
ok2` has quit [Ping timeout: 256 seconds]
<pikajude> so, nixpkgs.localSystem.system is correct...apparently
<LnL> Sonarpulse: ^
<pikajude> oh, so it didn't even *break* anything
<elvishjerricco> pikajude: Ugh. Why the heck does it default to `builtins.currentSystem`?
<pikajude> what happened was the option name changed
<pikajude> nani???
<pikajude> ok well that solves that problem
shabius has joined #nixos
<Sonarpulse> hi
<elvishjerricco> pikajude: We ought to fix this in nixops though
<Sonarpulse> elvishjerricco: --first-parent
<elvishjerricco> There's lots of `nixpkgs.system = "x86_64-linux";` lines
<Sonarpulse> is close to that
<Sonarpulse> what's the problem? nixpkgs.system = .... is still valid
<Sonarpulse> it was kept that way for nxipkgs
<Sonarpulse> *for nixops
pxc has joined #nixos
<pikajude> certainly doesn't work for me
<elvishjerricco> Sonarpulse: It doesn't seem to propagate to `localSystem.system`. NixOps currently does not build linux images from darwin
shabius has quit [Remote host closed the connection]
<pikajude> i set nixpkgs.localSystem.system and it no longer tried to build on my local system
<elvishjerricco> So I guess the fix should be in nixpkgs? If you set nixpkgs.system it should automatically set localSystem.system
<Sonarpulse> elvishjerricco: the fix should be in the nixos modules
<Sonarpulse> we need the cyclic default
<Sonarpulse> so localSystem and system both adjust if the other is set
dbmikus_ has quit [Quit: WeeChat 2.1]
<Sonarpulse> that is what nixpkgs does itself
<Sonarpulse> in impure.nix
<elvishjerricco> Sonarpulse: Any idea why it's not working right now?
<Sonarpulse> elvishjerricco: yeah i fucked up
<Sonarpulse> the defaults do neither edge
<Sonarpulse> rather than 1 rather than both
<Sonarpulse> doesn't account for stuff either
<Sonarpulse> actually weight that is fine
shabius has joined #nixos
sigmundv__ has joined #nixos
<elvishjerricco> Sonarpulse: Don't nixos modules support aliasing options? Can't we just use that?
<Sonarpulse> elvishjerricco: I will try
<Sonarpulse> the cyclic would cause infinite recursion
<Sonarpulse> I think
<Sonarpulse> I need like a (if isSet ...) to break the loop
knupfer has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Quit: Leaving]
<Sonarpulse> elvishjerricco: oooo!
<Sonarpulse> :)
<jbetz> so, nixpkgs has `freetds` but not `freetds-dev`, which I need in order to use haskell's new odbc library
<{^_^}> [nixpkgs] @jtojnar merged pull request #40699 → babl: 0.1.46 -> 0.1.48 → https://git.io/vpAsd
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/vpAVa
<{^_^}> → 85cc1364 by R. RyanTM: babl: 0.1.46 -> 0.1.48
<{^_^}> → 41f0c463 by @jtojnar: Merge pull request #40699 from r-ryantm/auto-update/babl
shabius has quit [Quit: Leaving]
<jbetz> what's the right way to go about installing `freetds-dev` in my environment? do I need to override the `freetds` derivation in my system configuration file?
<elvishjerricco> Sonarpulse: Mind opening an issue on nixpkgs so I can have something to link to in some comments?
<elvishjerricco> Er I guess a PR will be enough
<Sonarpulse> elvishjerricco: so the core part of that thing is this apply = ....
<Sonarpulse> I sort of want to keep it long form, because it hasn't even been removed in nixpkgs and dezgeg and edolstra didn't want to deprecate
seraxis has left #nixos [#nixos]
<elvishjerricco> I don't see the problem
hiratara has quit [Quit: ZNC - http://znc.in]
<Sonarpulse> elvishjerricco: if i use the mkAlias thing
<Sonarpulse> I don't have full controll over description
<Sonarpulse> but I can mimick what it does
pxc has quit [Ping timeout: 255 seconds]
hiratara has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40700 → armadillo: 8.500.0 -> 8.500.1 → https://git.io/vpAGT
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « armadillo: 8.500.0 -> 8.500.1 (#40700) »: https://git.io/vpAwT
eljih has joined #nixos
* dtz hopes this leads to making it easier, or to some extent possible, to specify localSystem in NixOS!
eljih has quit [Remote host closed the connection]
<dtz> <3
eljih has joined #nixos
sigmundv has quit [Ping timeout: 255 seconds]
eljih has quit [Remote host closed the connection]
<dtz> (which I've not pursued more directly yet since it didn't seem to impact folks...)
<Drakonis[m]> what's localsystem for?
<elvishjerricco> Drakonis[m]: It's just the new, more detailed version of the `system` argument to nixpkgs
<elvishjerricco> Lets you set more features
coot has quit [Quit: coot]
Wharncliffe has joined #nixos
<Sonarpulse> elvishjerricco: and also the platform argumemnt
<{^_^}> [nixpkgs] @Infinisil opened pull request #40707 → nms: init at 0.3.3 → https://git.io/vpArB
<Sonarpulse> elvishjerricco: about to make PR
MP2E has joined #nixos
joehh1 has joined #nixos
jperras has joined #nixos
mog has quit [Quit: im quiting!]
jperras has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40708 → nixpkgs module: Fix defaulting of `localSystem` and `system` → https://git.io/vpAoo
<Sonarpulse> elvishjerricco: it's up
<Sonarpulse> I'm still suspicious of inifinite recursino
<elvishjerricco> Thanks :)
xeji has quit [Quit: WeeChat 2.0]
shabius has joined #nixos
rawtaz has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #40661 → ntp: 4.2.8p10 -> 4.2.8p11 → https://git.io/vpNOv
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « ntp: 4.2.8p10 -> 4.2.8p11 (#40661) »: https://git.io/vpAK3
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to release-18.03 « ntp: 4.2.8p10 -> 4.2.8p11 (#40661) »: https://git.io/vpA6C
rawtaz has joined #nixos
rawtaz has quit [Changing host]
rawtaz has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #40651 → neofetch: 3.4.0 -> 4.0.0 → https://git.io/vpNfR
<{^_^}> [nixpkgs] @xeji reopened pull request #40651 → neofetch: 3.4.0 -> 4.0.0 → https://git.io/vpNfR
ThatPako has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40635 → usbutils: 009 -> 010 → https://git.io/vpbXU
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « usbutils: 009 -> 010 (#40635) »: https://git.io/vpAiU
pako_ has quit [Ping timeout: 240 seconds]
erasmas has quit [Quit: leaving]
joehh1 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40640 → Allow YAML on other platforms as well. → https://git.io/vpbM6
<{^_^}> → 8ea26527 by @angerman: Allow YAML on other platforms as well.
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vpAiP
<{^_^}> → 33fa7b3f by @Ericson2314: Merge pull request #40640 from angerman/feature/yaml-all
jperras has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40623 → lighttpd: add option to enable WebDAV → https://git.io/vpb0z
<{^_^}> [nixpkgs] @xeji pushed commit from @rkoe to master « lighttpd: add option to enable WebDAV (#40623) »: https://git.io/vpAid
alhariel has joined #nixos
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40651 → neofetch: 3.4.0 -> 4.0.0 → https://git.io/vpNfR
<{^_^}> [nixpkgs] @xeji pushed commit from @konimex to master « neofetch: 3.4.0 -> 4.0.0 (#40651) »: https://git.io/vpAPO
sigmundv__ has quit [Read error: Connection reset by peer]
aminb has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @Fuuzetsu merged pull request #40701 → babeld: 1.8.1 -> 1.8.2 → https://git.io/vpAGd
<{^_^}> [nixpkgs] @Fuuzetsu pushed 2 commits to master: https://git.io/vpAXW
<{^_^}> → 50bbc56b by @Fuuzetsu: Merge pull request #40701 from r-ryantm/auto-update/babeld
<{^_^}> → 7e29dcf3 by R. RyanTM: babeld: 1.8.1 -> 1.8.2
thc202 has quit [Ping timeout: 240 seconds]
ericsagnes has quit [Ping timeout: 255 seconds]
Lisanna has quit [Quit: Lisanna]