gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<jomik> I think all the other teams are Windows users... Brrr
<pie____> :pp
<jomik> I guess worst case I just put this in a docker container, and then I can route through that...
c0ffee152 has joined #nixos
<jomik> Cuz, I know it works on other distros :P
<jomik> Good night. Thanks again for helping out pie____ & clever ! Maybe I can get more clever with hosting on the phone, or ... lol
jomik has quit [Quit: WeeChat 2.2]
scribbler has quit [Ping timeout: 250 seconds]
scribbler has joined #nixos
<pie____> clever, so on login i have the menu for choosing desktop managers or something, can i have it so kde and openbox work in parralel
<pie____> bennofs[m], is this part of the documentation proper somewhere? https://gist.github.com/bennofs/bb41b17deeeb49e345904f2339222625
<bennofs[m]> pie____: oh, idk. I can say that I never added it to any documentation
<bennofs[m]> also not sure how up-to-date that doc is
<pie____> i havent actually read it yet it just looks like it could be useful
<pie____> im not in a position to work on adding it :p
<bennofs[m]> yeah it looks useful. i don't remember writing it :D
<pie____> xD
<pie____> plz add
<{^_^}> [nixpkgs] @eadwu opened pull request #52503 → vscode: 1.30.0 -> 1.30.1 → https://git.io/fphEj
monokrome has joined #nixos
<monokrome> meow
<monokrome> I think I've come closer to figuring out why my last two machines are failing on NixOS so consistently
<monokrome> I think there is an issue w/ the way that gaming motherboards maybe have started defaulting their settings?
<monokrome> w/ ACPI
<monokrome> because that'd explain why they can't shut down / reboot properly - as well as maybe affecting the nVidia drivers maybe?
<monokrome> Which'd explain why this kinda work w/ intel drivers but not nVidia
<monokrome> Thought I'd throw it my progress here in case anyone has ideas or in case it helps others. Sorry if this feels like spam <3
<pie____> clever, ok i got openbox, i mean its probably all misconfigured but i got it
<simpson> monokrome: Sure. Oftentimes it seems like those boards are tested only with Windows.
<monokrome> simpson: Yeah, I can totally see that. Whenever you "Load Optimized Defaults", they tend to break things
<monokrome> O'
<monokrome> I'll try to document any settings that I find which may help improve things :}
<pie____> monokrome, \o/
<samueldr> monokrome: I haven't followed your adventures, but make sure to also test with the most recent kernel versions, just in case
<monokrome> samueldr: I'm using beta, which fixed the first issue but it's still amess
<samueldr> beta?
<monokrome> kernelBeta
<monokrome> That's the motherboard on the desktop that fails
<samueldr> linuxPackages_testing maybe?
<monokrome> Same exact issue on this laptop
<monokrome> weird that both have the same ones
<monokrome> same ACPI errors are logged and same nVidia issues (desktop has an RTX 2080 Ti)
<monokrome> samueldr: ooooh maybe that'll help but seems dangerzone
<samueldr> no, I meant that I don't know what's "kernelBeta"
<monokrome> linuxBeta?
<monokrome> It's a package to update to beta kernel
<samueldr> any link?
hedning has quit [Quit: hedning]
<samueldr> it doesn't seem to be part of nixpkgs
<monokrome> hmm
<monokrome> someone here told me to do it and it fixed one thing
init_6 has quit [Ping timeout: 250 seconds]
peterzky has joined #nixos
<monokrome> samueldr: Doesn't show up in package search for me either but it's installed
* monokrome confused
<samueldr> to be effective on your system, it must be in your configuration under /etc/nixos
<samueldr> (nix-env can't affect the boot process that early)
<monokrome> yeah it is
<monokrome> I don't use nix-env directly ever
pie____ has quit [Ping timeout: 252 seconds]
jluttine has quit [Ping timeout: 272 seconds]
<samueldr> could you tell me the value of `boot.kernelPackages` in your configuration?
<samueldr> (I'm curious as to what you have used)
jluttine has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sbdchd has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
cyounkins has quit [Ping timeout: 268 seconds]
scribbler has quit [Quit: scribbler]
peterzky has quit [Quit: peterzky]
<pie__> clever, so i started collecting renamed nix-build results in a directory and make a script to add them to my env, then i realized im basically just recreating nix-env? clever halp
Rusty1 has quit [Quit: Konversation terminated!]
<clever> pie__: nix-env -f foo.nix -iA bar
<clever> that lets you load a given nix file, and install a given attr inside it
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52503 → vscode: 1.30.0 -> 1.30.1 → https://git.io/fphEj
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to master « vscode: 1.30.0 -> 1.30.1 »: https://git.io/fph2C
<{^_^}> [nixpkgs] @flokli merged pull request #52461 → terraform-providers: bump versions → https://git.io/fpxym
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fph2l
<pie__> clever, i feel like i committed some weird sin
<{^_^}> [nixpkgs] @volth opened pull request #52504 → perlPackages: cpan2nix updates → https://git.io/fph2B
Rusty1 has joined #nixos
ensyde has quit [Ping timeout: 245 seconds]
sigmundv_ has joined #nixos
<lucus16> In what way does nix-shell -p zlib make that library available for build tools to detect?
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #52487 → libinput: 1.12.3 -> 1.12.4 → https://git.io/fpp6j
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fphaf
<clever> lucus16: there is a setup hook to add it to something like NIX_LDFLAGS, check `env | grep LDFL`
<lucus16> and NIX_LDFLAGS is used in the default C build process?
pie___ has joined #nixos
<lucus16> Then it might be a bug that meson doesn't use it.
pie__ has quit [Remote host closed the connection]
Dagger has quit [Excess Flood]
<lucus16> Why doesn't it get added to LD_LIBRARY_PATH?
<clever> lucus16: there are also flags to add it to the rpath of the binaries it generates
jperras has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #52505 → mirrors.nix: remove bad cpan mirrors → https://git.io/fphar
<clever> so it doesnt need to be in LD_LIBRARY_PATH
Dagger has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #52506 → vscode backports: 12-18-18 → https://git.io/fpha6
ntd has quit [Quit: ntd]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @tkonolige opened pull request #52508 → suitesparse: Fix darwin support → https://git.io/fphVv
<{^_^}> [nixpkgs] @tkonolige opened pull request #52509 → mpich2: Add darwin support → https://git.io/fphVJ
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52506 → vscode backports: 12-18-18 → https://git.io/fpha6
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to release-18.09: https://git.io/fphV8
alex_giusi_tiri has quit [Ping timeout: 268 seconds]
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
goibhniu has quit [Ping timeout: 250 seconds]
Guanin has quit [Remote host closed the connection]
jtojnar has quit [Client Quit]
aleph- has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #52510 → perldevel: 5.29.4 -> 5.29.6 → https://git.io/fphV9
<lucus16> When using meson, nix-build detects the library, but running it manually in nix-shell it can't find it
aleph- has quit [Ping timeout: 240 seconds]
Lisanna has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #52511 → nodejs: 6.14.4 -> 6.15.1, 8.12.0 -> 8.14.1 → https://git.io/fphwI
jperras has joined #nixos
<ToxicFrog> Is there any NixOS option for "just drop this binary into /run/current-system/sw/bin"?
<lucus16> (solved it, apparently it can't find libraries without explicitly specifying pkg-config as buildInput
<lucus16> )
<ToxicFrog> Like, I know I can write a package for it and add that package to environment.systemPackages, but what if I just have a brief shell script I want included lying around in the nixos configuration directory?
kvda has joined #nixos
WM_ has joined #nixos
<ToxicFrog> writeScriptBin, another undocumented inhabitant of trivial-builders. Thank you!
doyougnu has joined #nixos
epicmetal has quit [Ping timeout: 250 seconds]
jperras has quit [Ping timeout: 250 seconds]
sigmundv_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51341 → Wine update: 3.20 -> 4.0-rc2 → https://git.io/fpoHe
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @avnik to master « wine{Unstable,Staging}: 3.20 -> 4.0-rc2 »: https://git.io/fphrY
jperras has joined #nixos
<kyren> okay, this might (is probably) a massive XY problem
<kyren> is there a way to do a nixos-rebuild with nixpkgs set to a local nix expression, rather than a url or a path to a directory containing a nixpkgs checkout
<kyren> I'm trying to pin a script doing a nixos-rebuild to a specific revision of nixpkgs, but I don't want to actually use a git submodule
<kyren> so my idea was to call builtins.fetchFromGit in a nix expression and use that as 'nixpkgs' for nixos-rebuild
hyper_ch has quit [Ping timeout: 246 seconds]
<jackdk> kyren: I threw together https://pastebin.com/KmcYppFH which I think points in the right direction, but fails to build with trace: version 19.03.git.64f4eeb does not appear in name nixos-version
iqubic has quit [Quit: Page closed]
acarrico has quit [Ping timeout: 244 seconds]
Supersonic has quit [Ping timeout: 250 seconds]
Supersonic has joined #nixos
<kyren> so I have 'import (builtins.fetchGit { ... })' in a nixos-unstable.nix file
doyougnu has quit [Ping timeout: 245 seconds]
<kyren> and if I do NIX_PATH="nixpkgs=<path-to-nixos-unstable.nix>" nix-shell -p hello -- everything works fine
<kyren> but NIX_PATH=<same> nixos-rebuild -I nixos-config=<whatever> -- does not
<kyren> and I get: error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
<kyren> it's really confusing me and making me doubt that I understand things, I don't understand why there's a difference between nix-shell and nixos-rebuild
alex_giusi_tiri has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52393 → brave: 0.56.15 -> 0.57.18 → https://git.io/fpN1A
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fphow
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
cyounkins has quit [Ping timeout: 250 seconds]
Anton-Latukha has quit [Quit: Leaving.]
hyper_ch has joined #nixos
sir_guy_carleton has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
worldofpeace has joined #nixos
pie__ has joined #nixos
r5d has quit [Ping timeout: 252 seconds]
pie___ has quit [Ping timeout: 250 seconds]
ntd has joined #nixos
doyougnu has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @ceedubs opened pull request #52513 → vim-lsc: init at fe6d3bd → https://git.io/fphKF
<{^_^}> [nixpkgs] @ceedubs closed pull request #52407 → vim-lsc: init at fe6d3bd and update vim-plugins → https://git.io/fpNdk
Lisanna has joined #nixos
ntd has quit [Quit: ntd]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
WM_ is now known as epicmetal
jperras has quit [Quit: WeeChat 2.2]
lo_mlatu has joined #nixos
<lo_mlatu> can't add dotfile into nix- store?
lassulus_ has joined #nixos
<nh2> lo_mlatu: you should be able to
<lo_mlatu> nix-store throws invalid name. So I have to rename it?
<nh2> lo_mlatu: what exactly does it say?
lassulus has quit [Ping timeout: 272 seconds]
lassulus_ is now known as lassulus
<lo_mlatu> error: illegal name: '.editorconfig'
drakonis has quit [Quit: WeeChat 2.3]
<nh2> lo_mlatu: and how do you include it, with `./.editorconfig`?
<lo_mlatu> in a string, like "${/absolute/path/to/dotfile}"
epicmetal has quit [Read error: Connection reset by peer]
<nh2> lo_mlatu: I think I figured it out: The problem is that nix by default names the derivation in /nix/store after the original file, but that name isn't allowed to start with a dot. You can do it by giving it an explicit name:
<nh2> builtins.path { name = "dotfile"; path = ./.dotfile; }
<nh2> "/nix/store/hb34vrs893i8hlry013jnni7jdmvz2g5-dotfile"
<lo_mlatu> Ah, that makr sense, thank you nh2
<nh2> lo_mlatu: I wrote it down on https://github.com/NixOS/nixpkgs/issues/52514 now
<{^_^}> #52514 (by nh2, 49 seconds ago, closed): How to add dotfiles to the nix store?
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
doyougnu has quit [Ping timeout: 268 seconds]
zgrep has quit [Quit: This is me *really* leaving.]
c0ffee152 has quit [Quit: Lost terminal]
zgrep has joined #nixos
fusion809 has quit [Remote host closed the connection]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinhardt has joined #nixos
reinhardt has quit [Quit: Leaving]
<ivan> https://github.com/NixOS/nixpkgs/pull/52493 this should be on staging instead, right?
<{^_^}> #52493 (by stephengroat, 11 hours ago, open): freetype: 2.9 -> 2.9.1
alex_giusi_tiri has quit [Ping timeout: 246 seconds]
epicmetal has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<jackdk> with those rebuild counts I assume so
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
phizzz has joined #nixos
sbdchd has quit [Ping timeout: 245 seconds]
vk3wtf has quit [Ping timeout: 250 seconds]
<phizzz> how do i install a previous version of, say 'hello'. or even list previous versions?
smolboye has quit [Ping timeout: 244 seconds]
smolboye has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj closed pull request #52501 → mesa: 18.2.6 -> 18.3.1 → https://git.io/fphWT
Dagger has quit [Excess Flood]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #52515 → mesa: 18.2.6 -> 18.3.1 → https://git.io/fphXM
Dagger has joined #nixos
tzemanovic has joined #nixos
<Myrl-saki> note: currently hard linking saves -37.49 MiB
<Myrl-saki> 29253 store paths deleted, 71338.74 MiB freed
tzemanovic has quit [Ping timeout: 252 seconds]
reinhardt has joined #nixos
Kim has quit [Ping timeout: 268 seconds]
rummik has joined #nixos
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #52505 → mirrors.nix: remove bad cpan mirrors → https://git.io/fphar
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fph1h
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon3 is now known as Mateon1
phizzz has quit [Ping timeout: 246 seconds]
ecnerwala has joined #nixos
Lisanna has quit [Ping timeout: 272 seconds]
jackdk has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #52472 → zeroad: fix build with spidermonkey-38.8.0 → https://git.io/fppmy
<{^_^}> [nixpkgs] @vbgl pushed commit from @hedning to master « zeroad: fix build with spidermonkey-38.8.0 »: https://git.io/fphMS
<{^_^}> [nixpkgs] @nornagon opened pull request #52517 → Update miniflux to 2.0.13 → https://git.io/fphMb
copumpkin has quit [Read error: Connection reset by peer]
ensyde has joined #nixos
lo_mlatu has quit [Quit: Connection closed for inactivity]
tzemanovic has joined #nixos
linkrage has joined #nixos
copumpkin has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
oida has quit [Remote host closed the connection]
oida has joined #nixos
pie___ has joined #nixos
pie__ has quit [Remote host closed the connection]
epicmetal has quit [Quit: epicmetal]
<{^_^}> [nixpkgs] @FRidh pushed 116 commits to staging-next: https://git.io/fphS3
<{^_^}> [nixpkgs] @FRidh pushed 330 commits to staging: https://git.io/fphSW
hyper_ch2 has joined #nixos
tzemanovic has joined #nixos
<DigitalKiwi> heh
<{^_^}> [nixpkgs] @FRidh merged pull request #51444 → Staging next → https://git.io/fp6tJ
<{^_^}> [nixpkgs] @FRidh pushed 591 commits to master: https://git.io/fphS9
tzemanovic has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #52515 → mesa: 18.2.6 -> 18.3.1 → https://git.io/fphXM
<{^_^}> [nixpkgs] @FRidh pushed commit from @rnhmjoj to staging « mesa: 18.2.6 -> 18.3.1 »: https://git.io/fphSb
hedning has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « eigen: 3.3.5 -> 3.3.7 »: https://git.io/fphSh
<{^_^}> [nixpkgs] @FRidh merged pull request #52310 → eigen: 3.3.5 -> 3.3.7 → https://git.io/fpNRA
<{^_^}> [nixpkgs] @FRidh merged pull request #52303 → harfbuzz: 2.1.0 -> 2.2.0 → https://git.io/fpNRU
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « harfbuzz: 2.1.0 -> 2.2.0 »: https://git.io/fph9e
<{^_^}> [nixpkgs] @FRidh merged pull request #52276 → jansson: 2.11 -> 2.12 → https://git.io/fpNlV
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fph9f
<{^_^}> [nixpkgs] @FRidh merged pull request #52240 → libassuan: 2.5.1 -> 2.5.2 → https://git.io/fpNUG
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « libassuan: 2.5.1 -> 2.5.2 »: https://git.io/fph9U
<{^_^}> [nixpkgs] @FRidh merged pull request #52266 → gnupg: 2.2.11 -> 2.2.12 → https://git.io/fpNc5
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « gnupg: 2.2.11 -> 2.2.12 »: https://git.io/fph9t
<kandinski> Hi, can someone give me a tip on how to get the network-manager OpenVpn plugin working under 18.09?
<{^_^}> [nixpkgs] @FRidh merged pull request #52006 → qt5: 5.11 -> 5.12 → https://git.io/fpFlQ
<{^_^}> [nixpkgs] @FRidh pushed commit from @bkchr to staging « qt5: 5.11 -> 5.12 »: https://git.io/fph9m
<{^_^}> [nixpkgs] @FRidh merged pull request #51984 → unbound: 1.8.1 -> 1.8.3 → https://git.io/fpFOK
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « unbound: 1.8.1 -> 1.8.3 »: https://git.io/fph9s
epicmetal has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #51960 → libcxxabi: also install libc++abi.a → https://git.io/fpdy2
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/fph9W
<{^_^}> [nixpkgs] @FRidh merged pull request #51906 → ipykernel: fix permissions when installing kernels → https://git.io/fp5r6
<{^_^}> [nixpkgs] @FRidh pushed commit from Eamonn Coughlan to master « ipykernel: fix permissions when installing kernels »: https://git.io/fph9R
<{^_^}> [nixpkgs] @FRidh merged pull request #52269 → curl: 7.62.0 -> 7.63.0 → https://git.io/fpNWI
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « curl: 7.62.0 -> 7.63.0 »: https://git.io/fph9z
<kandinski> This is what I have in configuration.nix, but the VPN menu entry doesn't appear on the nm-applet. http://paste.debian.net/1056496/
Ariakenom_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #51770 → binutils: remove dtneeded.patch → https://git.io/fp9UN
<{^_^}> [nixpkgs] @FRidh pushed commit from @pbogdan to staging « binutils: remove dtneeded.patch »: https://git.io/fph9V
<{^_^}> [nixpkgs] @FRidh merged pull request #51699 → cups: 2.2.6 -> 2.2.10 → https://git.io/fpS4H
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fph91
<{^_^}> [nixpkgs] @FRidh merged pull request #52323 → fdk_aac: 0.1.6 -> 2.0.0 → https://git.io/fpNEo
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « fdk_aac: 0.1.6 -> 2.0.0 »: https://git.io/fph97
<{^_^}> [nixpkgs] @markuskowa merged pull request #52509 → mpich2: Add darwin support → https://git.io/fphVJ
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fph9d
<{^_^}> [nixpkgs] @FRidh merged pull request #52317 → flrig: 1.3.40 -> 1.3.41 → https://git.io/fpN0j
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « flrig: 1.3.40 -> 1.3.41 »: https://git.io/fph9A
<{^_^}> [nixpkgs] @FRidh merged pull request #52316 → freetds: 1.00.104 -> 1.00.109 → https://git.io/fpN0P
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « freetds: 1.00.104 -> 1.00.109 »: https://git.io/fph9h
<{^_^}> [nixpkgs] @FRidh merged pull request #52142 → pipenv: 2018.11.14 -> 2018.11.26 → https://git.io/fpb1A
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « pipenv: 2018.11.14 -> 2018.11.26 »: https://git.io/fphHT
<{^_^}> [nixpkgs] @FRidh merged pull request #52131 → python37Packages.aioconsole: 0.1.10 -> 0.1.11 → https://git.io/fpbiz
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.aioconsole: 0.1.10 -> 0.1.11 »: https://git.io/fphHL
<{^_^}> [nixpkgs] @FRidh merged pull request #52125 → python37Packages.folium: 0.6.0 -> 0.7.0 → https://git.io/fpbri
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fphHY
dermetfan has joined #nixos
jasongrossman has joined #nixos
mr_noobs has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fphHV
dermetfan has quit [Ping timeout: 240 seconds]
ZaraChimera has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to python-unstable: https://git.io/fphHQ
<oleks> Hi, I have programs.ssh.startAgent set to true, but when I reboot, the ssh agent isn't started; this problem began after I upgraded to 18.09
FRidh has joined #nixos
<oleks> Did I miss some change in how nixos supports ssh-agent?
__Sander__ has joined #nixos
<srhb> oleks: No, that's correct. What does journalctl --user -u ssh-agent say?
<oleks> odd..
<oleks> -- Reboot --
<oleks> Dec 15 15:23:31 chaika systemd[1059]: Starting SSH Agent...
<oleks> Dec 15 15:23:31 chaika systemd[1059]: Started SSH Agent.
<{^_^}> [nixpkgs] @FRidh merged pull request #34066 → pypy3: init at 6.0.0 → https://git.io/vNzVy
<{^_^}> [nixpkgs] @FRidh pushed commit from @andersk to master « pypy3: init at 6.0.0 »: https://git.io/fphQa
<srhb> oleks: And systemctl status --user ssh-agent?
<srhb> oleks: Especially it's "Active" state
<srhb> its*
<oleks> Failed to get properties: Process org.freedesktop.systemd1 exited with status 1
<{^_^}> [nixpkgs] @FRidh pushed 95 commits to python-unstable: https://git.io/fphQo
<oleks> with sudo I get
<oleks> Failed to connect to bus: No such file or directory
<srhb> I think that's normal. It's a user service after all
<oleks> right
<srhb> No idea about the first error though..
<{^_^}> [nixpkgs] @flokli merged pull request #52502 → brlaser: fix $out → https://git.io/fphWD
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fphQD
tzemanovic has joined #nixos
r5d has joined #nixos
ensyde has quit [Ping timeout: 268 seconds]
johanot has joined #nixos
agander has joined #nixos
<oleks> $ systemctl status --user ssh-agent
<oleks> ● ssh-agent.service - SSH Agent
<oleks> Loaded: loaded (/nix/store/y58kdbn873f22azxzlky9ga1rnnshv0j-unit-ssh-agent.s>
<oleks> Active: active (running) since Sat 2018-12-15 15:23:31 CET; 3 days ago
<oleks> Process: 1082 ExecStart=/nix/store/8zpm8qc7h7wxrv1l2lqqlsfagqg727fd-openssh-7>
<oleks> Process: 1081 ExecStartPre=/nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreut>
<oleks> Main PID: 1083 (ssh-agent)
<oleks> CGroup: /user.slice/user-1000.slice/user@1000.service/ssh-agent.service
<oleks> └─1083 /nix/store/8zpm8qc7h7wxrv1l2lqqlsfagqg727fd-openssh-7.7p1/bin>
<oleks> Dec 15 15:23:31 chaika systemd[1059]: Starting SSH Agent...
<oleks> Dec 15 15:23:31 chaika systemd[1059]: Started SSH Agent.
<oleks> More specifically, then the problem I have is this:
<oleks> $ ssh-add ~/.ssh/id_ed25519
<oleks> Could not open a connection to your authentication agent.
<{^_^}> [nixpkgs] @FRidh pushed to master « lapp: change postgresql version, fixes metrics »: https://git.io/fph7v
<oleks> which is what I used to do - I do this manually since I have several SSH keys, intended for different purposes
nschoe has joined #nixos
turion has joined #nixos
Boomerang has joined #nixos
FRidh has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FRidh pushed to master « Revert "adoptopenjdk: autogenerate sources + add support for aarch64 (#52454)" »: https://git.io/fph7p
Lears has quit [Remote host closed the connection]
alex`` has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.mt-940: 4.10.0 -> 4.12.2 »: https://git.io/fph50
thc202 has joined #nixos
m0rphism has quit [Quit: WeeChat 2.2]
m0rphism has joined #nixos
<eyJhb> So.. Is it possible.. To install MatLab og nixos?
Lears has joined #nixos
arjen-jonathan has joined #nixos
epicmetal has left #nixos [#nixos]
<Profpatsch> iqubic left, but we have the technology.
<Profpatsch> Should place an entry on the nixos wiki, that the games are more discoverable. aszlig really does stellar work there.
Lisanna has joined #nixos
lokado has joined #nixos
<bennofs[m]> Where can I find this failure on hydra: https://github.com/NixOS/nixpkgs/commit/a9e654e1bd4fff55e54a49aebcd700da3cf7594e ?
<{^_^}> [nixpkgs] @flokli pushed to revert-52502-brlaser-fix-out « Revert "brlaser: fix $out" »: https://git.io/fphbt
ottidmes has joined #nixos
civodul has joined #nixos
<Myrl-saki> Oh wow.
<Myrl-saki> I'm looking at iso-image.nix right now.
<Myrl-saki> But if I understand it correctly, a NixOS system can be booted with kernel(+ parameters + initrd) and Nix store alone?
<Myrl-saki> I guess that's kind of obvious, since all binaries in a NixOS system are just symlinks to a Nix store.
<Myrl-saki> s/to a/to the/
<{^_^}> [nixpkgs] @flokli pushed to master « Revert "brlaser: fix $out" »: https://git.io/fphb8
<ottidmes> I have some troubles with my ethernet controller driver (sky2), which does not work after suspend on kernel > 4.14, after looking into it I found that I had to set disable_msi=1 as an option on the sky2 driver, i.e. after doing: modprobe -r sky2; modprobe sky2 disable_msi=1, and then trying a suspend, it did work afterwards. How can I make this persistent in NixOS?
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed commit from @symphorien to release-18.09 « brlaser: fix install dir »: https://git.io/fphbg
alex`` has joined #nixos
etbe has joined #nixos
<infinisil> ottidmes: not sure, but maybe you can do it with sysctl
relutionary has joined #nixos
<ottidmes> infinisil: not sure how, but I did just found https://wiki.archlinux.org/index.php/Kernel_module#Setting_module_options which as the last option shows how to pass them along as kernel command line options, so it probably is possible with sysctl too
<palo> Is there a function (or nice way) to create `*.desktop` files ? I always use `pkgs.writeText`
<{^_^}> [nixpkgs] @flokli pushed 0 commits to revert-52502-brlaser-fix-out: https://git.io/fphbj
<ottidmes> infinisil: Considering what is mentioned here https://askubuntu.com/questions/51226/how-to-add-kernel-module-parameters, I checked /sys/module/sky2, but there exist no parameters, so I guess I will go with the kernel argument, thanks for the suggestion though!
worldofpeace has quit [Quit: worldofpeace]
tzemanovic has quit [Remote host closed the connection]
ottidmes has quit [Quit: WeeChat 2.2]
<sphalerite> palo: yes
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<sphalerite> palo: makeDesktopItem
tzemanovic has joined #nixos
<sphalerite> of course it's not in the nixpkgs manual…
tzemanovic has quit [Remote host closed the connection]
<sphalerite> ,find make-desktopitem/default.nix
<linkrage> I just started learning nixos an hour ago in EC2 instance. For production use in terms of "hardening" would you recommend using this https://github.com/NixOS/nixpkgs/blob/56904d7c423f2b13b37fbd29f39bbb4b52bc7824/pkgs/build-support/cc-wrapper/add-hardening.sh or perhaps you may have some advices on the topic?
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #52113 → python37Packages.dropbox: 9.1.0 -> 9.2.0 → https://git.io/fpbEM
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fphNu
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli merged pull request #52115 → python37Packages.django_2_1: 2.1.3 -> 2.1.4 → https://git.io/fpbu5
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fphNg
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
ottidmes has joined #nixos
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<ottidmes> infinisil: the kernel argument worked: sky2.disable_msi=1 :)
<sphalerite> linkrage: add-hardening.sh is part of the cc wrapper which is used in stdenv, i.e. all packages are already built with the hardening options.
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
__monty__ has joined #nixos
<__monty__> How would I get a nix-shell with ghcWithPackages [ squeal-postgresql 0.4.0.0 ] ?
<linkrage> sphalerite, I see. Thanks!
ZaraChimera has quit [Ping timeout: 256 seconds]
hyper_ch2 has left #nixos [#nixos]
dermetfan has joined #nixos
nschoe has quit [Quit: Program. Terminated.]
[Leary] has joined #nixos
<sphalerite> __monty__: in principle, nix-shell -p 'haskellPackages.ghcWithPackages (ps: [ps.squeal-postgresql])'
<sphalerite> __monty__: but it seems that your desired verison of squeal-postgresql isn't in nixpkgs
betaboon has joined #nixos
jomik has joined #nixos
<sphalerite> __monty__: oh wait yes it is. just add _0_4_0_0 to the end of the name
Lears has quit [Ping timeout: 246 seconds]
<sphalerite> so nix-shell -p 'haskellPackages.ghcWithPackages (ps: [ps.squeal-postgresql_0_4_0_0])'
<__monty__> Oh, thanks, sphalerite, I'll give that a shot, hadn't thought of it. Was getting nowhere fast with overrides.
<jomik> Hey! Any clever heads around that could help me with buildFHSUserEnv ? I seem to need to do something like what steam-run does, because Cisco is demanding that I run some files that fail for some reason, even with rpath and interpreter set properly.
<aszlig> pie___: i haven't read the full backlog, but it seems that you're using the Steam version, right?
<jomik> pie___: Good morning! :P
<jomik> Poor guy was helping me last night, and is still here now that I woke up? :P
<sphalerite> jomik: first step to try would probably be using strace to see what it's failing to access
sbdchd has joined #nixos
<jomik> sphalerite: Ah, I guess I will need to read up on strace then. It's a pain, because there is no output from the binary whatsoever...
<aszlig> pie___: my package is currently just with GOG, but you could use Steam as well with the same expression but different src, eg. like: https://github.com/openlab-aux/vuizvui/blob/b1ab5d037e797e13d3d7c3582f96eb25674781ac/pkgs/games/steam/starbound.nix#L43-L66
<sphalerite> jomik: yeah just `strace -e file ./foo` is probably a good start
jonaswouters has joined #nixos
<aszlig> jomik: i don't think so, whois on pie___ shows ~3 hours idle
<jomik> Ohh, good aszlig :D
<sphalerite> jomik: lots of people are online 24/7, even if they're not actually present
<jomik> Oh... There's a lot of things.
sbdchd has quit [Ping timeout: 272 seconds]
<jomik> Ah, yeah. I realize.
<sphalerite> jomik: yeah, the bit at the end will be most interesting probably
Ridout has joined #nixos
<jomik> Well, there is a lot of no such file or directory on lib files at the start too.
<jomik> I mean, a lot
<sphalerite> especially if it's trying to access stuff in /usr or so
<sphalerite> yes, but that's usually just because it's searching a number of different paths for libraries until it finds them
<jomik> ahh
<sphalerite> you can see that if you run `strace -e file echo hello` as well
<jomik> Can I see if it is succesful ? Or would it just fail there if it wasn't?
<sphalerite> well typically there will be a success at the end of a chain of failures for each library
<jomik> openat(AT_FDCWD, "/nix/store/fg4yq8i8wd08xg3fy58l6q73cjy8hjr2-glibc-2.27/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
<jomik> openat(AT_FDCWD, "/proc/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
<sphalerite> yep those are successes
<jomik> So, that = 3 indicates success
<jomik> Ah, and -3 is failure, kk
<sphalerite> anything >= 0 is success
<sphalerite> -1 is failure
<jomik> Lol, odd....... It is accessing stuff in /home/build/p4files/ngc/Logan.
<jomik> Who the hell is Logan? XD
<jomik> openat(AT_FDCWD, "/nix/store/fg4yq8i8wd08xg3fy58l6q73cjy8hjr2-glibc-2.27/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 5
<jomik> lstat("/home/jomik/.cisco/hostscan/lib/libcsd.so", {st_mode=S_IFREG|0644, st_size=3952718, ...}) = 0
<jomik> openat(AT_FDCWD, "/home/jomik/.cisco/hostscan/lib/libcsd.so", O_RDONLY) = 5
<jomik> openat(AT_FDCWD, "/home/jomik/.cisco/hostscan/lib/libcsd.so", O_RDONLY) = 5
<jomik> openat(AT_FDCWD, "/etc/pki/tls", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 6
<jomik> openat(AT_FDCWD, "/etc/ssl/certs", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 6
<jomik> openat(AT_FDCWD, "/opt/.cisco/certificates/ca", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
<jomik> This is my last bit.
<jomik> So I guess it needs that opt path there.
<sphalerite> please use gist.github.com or similar for multiline pastes!
<jomik> Oh, my bad !
orivej has joined #nixos
<jomik> So the last line is accessing /etc/pki/tls, /etc/ssl/certs and then /opt/.cisco/certificates/ca
Neptu has joined #nixos
iyzsong has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
<jomik> Do you know if /etc/pki/tls and /etc/ssl/certs is populated by this program I am running, or is that by the distro?
alex`` has joined #nixos
<jomik> Ah, that's OpenSSL I guess..
<__monty__> sphalerite: Is there a command that'll list the versions of a package available?
<sphalerite> __monty__: nix search, except it doesn't search haskellPackages by default.
<__monty__> sphalerite: Hmm, I haven't been able to use nix search properly before. `nix search` says using cached results use -u, using -u gives no output.
<sphalerite> __monty__: does `nix search -u hello` work for you?
<jomik> sphalerite: do you have any idea how I can fix this? openat(AT_FDCWD, "/opt/.cisco/certificates/ca", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory) ?
<jomik> Should I just create the directory? :P
<sphalerite> jomik: you could do that and it would change that error, but it probably wouldn't solve your problem.
<sphalerite> jomik: beyond that I don't know, sorry :/
<__monty__> sphalerite: Nope, was trying with irssi earlier.
<jomik> :(
<sphalerite> __monty__: what does nix-info say?
<__monty__> Unknown command.
<__monty__> Or do you mean the nix-shell incantation?
<sphalerite> yeah if you're not on nixos
<__monty__> ,nix-info
<{^_^}> Run and share the output from: nix-shell -p nix-info --run nix-info
simukis has joined #nixos
nD5Xjz has quit [Ping timeout: 268 seconds]
ubert has joined #nixos
<__monty__> sphalerite: What part do you want to know? Looks rather harmless. It's not a multi-user or sandboxed setup, I'm on arch and I have a channel.
<sphalerite> can't you just paste the output?
<sphalerite> feel free to patch out your username or whatever
<__monty__> sphalerite: Sure, but what'll that teach us? http://ix.io/1wmq
dermetfan has quit [Ping timeout: 268 seconds]
<sphalerite> where it's getting nixpkgs. Does `nix-env -qa` work?
<sphalerite> also, nix-info without -m should generate a single line suitable for pasting into IRC :)
pietranera has joined #nixos
<kyren> hey, I'm trying to do nixpkgs pinning for my machine configurations, and I know I can do this using a nixpkgs git submodule, but I'd rather not use a submodule, is there a way to do this with e.g. builtins.fetchGit?
<__monty__> -qa works but I only run it every so often because it makes the box grind to a halt for like an hour.
<sphalerite> kyren: yes
<sphalerite> __monty__: an hour? o.O what sort of machine are you working on?
<__monty__> I'm very memory constrained when it comes to nix because of 2G ram.
<sphalerite> D:
<jomik> kyren: if I understand what you want to do - you can use fetchFromGitHub and then the nixpkgs-channels repo.
<sphalerite> do you have a more generous machine available?
nD5Xjz has joined #nixos
<jomik> is fetchGit a builtin? :o
<sphalerite> jomik: yes, there's the builtin fetchGit and the nixpkgs fetchgit
<jomik> Oooh
<sphalerite> jomik: the difference being that fetchGit runs at eval time as the user performing the evaluation, allowing access to private repos and impurity (i.e. fetch the *current* state)
<kyren> sure, but walk me through it, I tried to do this earlier and the problems I ran into weren't so much with builtins.fetchGit / fetchFromGithHub but more like nixos-rebuild
<kyren> or, actually let me just explain what I did, it's going to take me a bit sorry
<jomik> I give up on getting this cisco stuff running on NixOS :D I am just gonna have to make a docker image / persuade hosting to open for ssh access.
<sphalerite> jomik: while nixpkgs fetchgit requires you to specify a fixed revision and the output hash, but caches nicely and is allowed in nixpkgs since it doesn't do purity
<sphalerite> jomik: is it cisco anyconnect stuff?
<{^_^}> [nixpkgs] @Mic92 merged pull request #52466 → pharo: Simple fix for Iceberg → https://git.io/fpxbV
<{^_^}> [nixpkgs] @Mic92 pushed commit from @rydnr to master « pharo: Simple fix for Iceberg (#52466) »: https://git.io/fphjZ
<__monty__> sphalerite: I have a remote build server set up that also caches the binary cache. It's less constrained but not much.
<jomik> sphalerite: Yes - Cisco Desktop Trojan. It's a wrapper script that OpenConnect runs.
<sphalerite> jomik: oh right so you are using openconnect already. Never mind me then
<sphalerite> __monty__: right, then you could run nix search -u on there and copy your ~/.cache/nix/package-search.json to your 2G machine
<kyren> currently I have several machine configurations in a git repo, and I have kind of a crappy "mini nixops" setup where I have some scripts that use nixos-rebuild and set NIX_PATH="" and set nixpkgs and nixos-config manually to do local builds for remote machines and switch them, ideally I would pin nixpkgs using a git rev in some nix file and use that as nixpkgs, which is what I tried earlier
<sphalerite> __monty__: it's not beautiful but it ought to work >.<
<jomik> Pondering when you'd really want to use the builtins fetchGit.
zolk3ri has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #52413 → vagrant: build and install vagrant-libvirt plugin → https://git.io/fpAvN
<{^_^}> [nixpkgs] @Mic92 pushed 6 commits to master: https://git.io/fphjg
<kyren> I had a nix file with (I've deleted it since then), something like import (builtins.fetchGit { ... }), and then I could do something like NIX_PATH="nixpkgs=./mynixpkgs.nix" nix-shell -p hello and it works
<sphalerite> jomik: private repos and intentionally impure builds ("build current master of project foo")
<kyren> but doing the same thing with nixos-rebuild had a lot of errors, I can set all this up again if necessary
<kyren> but it meant that there was some difference between e.g. nix-shell and nixos-rebuild that I didn't understand
<__monty__> sphalerite: Does nix search give me more than nix-env -qaP?
<sphalerite> __monty__: no, but it caches it and prints it out in a prettier format
zolk3ri has left #nixos [#nixos]
<kyren> jomik: that makes sense, but how do you use it with nixos-rebuild and a machine configuration.nix, that's the problem I'm running into... here let me set this up again so I can talk about this concretely
<sphalerite> __monty__: if you want to include haskellPackages in searches, add an overlay like self: super: { haskellPackages = super.recurseIntoAttrs super.haskellPackages; }
<__monty__> sphalerite: I'll just muddle along manually caching -qaP for now then, already makes haskellPackages searchable.
<jomik> I am not sure I understand kyren ? You just paste that expression in there, and refer to it like I do in my home.packages. You can do the same in the system wide configuration.
<kyren> I know about the nixpkgs.pkgs option, which is what I'm assuming you're talking about?
<kyren> so this is where my understanding is pretty poor, but it's my understanding that... I don't know the details but that that option sets the packages version, but not say the nixos modules version, and that you can end up with a mismatch and it will still in part use nixpkgs from NIX_PATH for things
<kyren> so I was warned off of it, but possibly incorrectly?
<kyren> I definitely understand nixpkgs pinning in general, or for some given nix expression at least, my problem is specifically doing it with system configurations
<jomik> I don't think you need to mess with NIX_PATH. You should be able to just use the fetchFromGitHub expression I linked, and overlays, if you want to override packages used in services, etc.
<jomik> Though, it could definitely end up with some mismatches.
<kyren> no, I want to use a specific version of nixpkgs for everything
<jomik> I guess you'd rather want to point it all at a specific Nix channel.
<jomik> Well, you could make an overlay for everything:P
<kyren> you can do it by changing NIX_PATH to like a submodule
<kyren> so I have it working again with stuff like nix-shell, let me paste this somewhere so you can see
<kyren> that's the frustrating thing is that it actually works fine with other things
<jomik> You'd probably need to git clone the revision you want to use, and then point nixpkgs at that.
<kyren> yeah... I was hoping to avoid it, and it just also shows that I don't understand something
sigmundv_ has joined #nixos
ubert has quit [Quit: Leaving]
ubert has joined #nixos
<kyren> here, here's the basic setup: http://ix.io/1wms
Makaveli7 has joined #nixos
<jomik> I guess you should look at where your nixpkgs is atm. Which is essentially the git repo that your channel points at.
<kyren> I know how to use channels, I actually don't have any channels at all
<kyren> well, I mean I don't use channels via nix-channel
<jomik> So, the fetchGit puts the git repo (essentially) in your nix store anyway :P
<kyren> my NIX_PATH points to whatever nixpkgs was used to build my OS most recently, via `nix.nixPath = [ "nixpkgs=${pkgs.path}" ];`
<kyren> yeah I know, that's fine
<jomik> Ah,
<kyren> I put it in the repo on purpose anyway
<kyren> er, sorry in the store on purpose
<jomik> Why fetchGit and not fetchFromGitHub? - Since it's pure :P
ottidmes has quit [Quit: WeeChat 2.2]
<kyren> I mean I could use fetchFromGithub also, but I don't think it would make a difference?
<tilpner> kyren: That has a few disadvantages (NIX_PATH is only re-defined when you login), which you can workaround by setting nixpkgs to some fixed path, and then symlinking pkgs.path there
asymmetric_ has joined #nixos
<jomik> Well, not other than builtins.fetchGit being impure, from what sphalerite said. So it may not get that exact revision.
<tilpner> (I didn't say it, sphalerite!)
<jomik> kyren: why not set NIX_PATH to that nixos-unstable.nixi and then call nixos-rebuild?
<kyren> I tried that as well, but it's not any different
alex`` has quit [Quit: WeeChat 2.3]
<kyren> I can actually try it and show you what happens
<kyren> tilpner: yeah, I figured that it only resets it on login, that's a good suggestion
<kyren> fetchFromGithub isn't builtin, right?
agander has quit [Ping timeout: 250 seconds]
<tilpner> It's not
<jomik> It's in lib
<tilpner> It's in pkgs actually
<kyren> I know rev is a theoretical impurity, I could use fetchFromGithub
<jomik> That's what I meant.
<jomik> Lol, thanks tilpner
<jomik> I dunno why it isn't in lib D:
<jomik> well, choosing a revision makes it pure, since you fetch the same, and you can do a checksum check.
<tilpner> Yeah, not sure why you think that's impure?
<kyren> oh, I thought it was pure a minute ago, but you said it was impure?
<tilpner> This? "Why fetchGit and not fetchFromGitHub? - Since it's pure :P"
<kyren> oh, the *opposite* of that
<kyren> oh okay sorry haha
<kyren> I misunderstood, and I should not have said "I know" when what I meant was "I understand", because clearly I didn't
<kyren> sorry it's really early, and yeah I would hope rev makes it pure, I just figured I misunderstood some theoretical impurity around git push -f or something but that's not how git works, sorry it's early :P
freeman42x[nix] has quit [Quit: Leaving]
<jomik> Does buildit.fetchGit care about rev tho?
<jomik> builtin*
<kyren> something like this happens: http://ix.io/1wmu
<kyren> I could try to manually do what nixos-rebuild does by manually calling nix-instantiate etc, but I don't know how to do that.. yet
<tilpner> Ahh, yes
pietranera has quit [Quit: Leaving.]
<tilpner> So both <nixpkgs> and <nixpkgs/nixos> are actually valid paths once resolved
<tilpner> Which is not possible if your <nixpkgs> is a file already
<kyren> right
<kyren> right, angle brackets work differently than I thought!
<tilpner> You can debug this behaviour with "nix repl" or nix-instantiate --find-file nixpkgs/nixos
<linkrage> how can I install nginx and register new acme certificate? from the manual+wiki I see catch 22 here... You need to have nginx in order to register the new cert but I don't want to make changes to configuration.nix once again after the cert is registered.
<tilpner> services.nginx.virtualHosts."foo.bar.com" = { forceSSL = true; enableACME = true; ... };
<tilpner> And of course services.nginx.enable = true; somewhere
hedning has left #nixos [#nixos]
<eyJhb> What is the best way to symbolic link `vi` to `vim`. As LaTeX tries to execute `vi +100 test.tex`
<linkrage> tilpner, I've done this but it does not appear to be enough? What about the /.well-known/acme-challenge etc?
<tilpner> linkrage: It's handled for you
<kyren> okay, I understand now thank you! I see things like `import <nixpkgs/pkgs/...>` in a lot of places, I guess it's something to be aware of, and that maybe setting nixpkgs="an expression" is kind of limited?
<linkrage> tilpner, really, cool let me try
<tilpner> eyJhb: Not sure. I just tried a wrapper script, but vim detects that it's being called as vi and emulates vi, I think?
<tilpner> Oh no, nevermind
<tilpner> Put (writeShellScriptBin "vi" ''exec ${vim}/bin/vim "$@"'') into your packages if you want a wrapper script
<eyJhb> Nope.. Just command not found .. :/ - Can I put that into configuration.nix?
<tilpner> Yes
Mateon1 has quit [Quit: Mateon1]
<sphalerite> tilpner: ;)
<linkrage> tilpner, thanks, my issue turned out to be the hostname I've set (amazon ec2 fqdn... which are blacklisted)
<tilpner> kyren: Even my approach has issues if people expect <nixpkgs/some/other/path> to exist
<kyren> but it works for nixos-rebuild which is all I care about, I'm not setting NIX_PATH to it in general, so thank you so much
<eyJhb> tilpner: not sure where/how to put it, as I just get a error
Mateon1 has joined #nixos
<tilpner> kyren: Which is luckily not the case for most expressions I've encountered. They may use <nixpkgs>, but there's usually a way to pass your own pkgs. home-manager is the only one that really wanted a tree <nixpkgs>
<tilpner> eyJhb: users.users.eyJhb.packages = with pkgs; [ (...) ];
<kyren> I've used it in one of my project builds >_> but now I'm aware of it
<tilpner> Well, you may want to
<tilpner> It's very nice to have nixos-rebuild, nix-shell, and nix-env all operate on the same package set, with the same nixpkgs version, overlays, config
<eyJhb> Thanks! Works wonders
<kyren> I meant like (import <nixpkgs/pkgs/build-suport/rust/fetchcargo.nix>) which assumes a tree
pie___ has quit [Remote host closed the connection]
pie___ has joined #nixos
<tilpner> If you do (import (pkgs.path + /pkgs/build-support/rust/fetchcargo.nix ...) your expression will work independently of the users NIX_PATH
<kyren> good to know
<tilpner> I'm biased, but I think that's a good property, even though it may look a little less nice
<tilpner> (Though unfortunately, this does not work for module imports without more work)
<jonaswouters> What does it mean when I get the following error? "value is a function while a set was expected". I'm just doing services.znc.confOptions.passBlock = "test";
<tilpner> You're probably doing other things too. If you comment that out, does the error go away?
<jomik> jonaswouters: what line gives that error?
relutionary has quit [Read error: Connection reset by peer]
<jomik> It is probably the whole nix expression that returns a function, and it expects it to return a set :D
<__monty__> eyJhb: Is the call to vi hardcoded? I'd expect it to use ${VISUAL :- $EDITOR}.
commander has joined #nixos
<jomik> Is there a nice way to merge a folder into another folder, "temporarily"? I want to add fish functions and such based on a nix expression, but if the functions are removed from the nix expression, I want them gone from the folder as well... I would do the same as vscode extensions, but I cannot, because I can not change the folder than Fish points to.
<__monty__> jomik: Bind mounts?
<__monty__> Though, they wouldn't merge I guess. So maybe an overlayfs?
<jomik> Nah, issue is that there may be user functions there, that have not been created through nix.
<jomik> Though... I guess I could just demand that it all is done in nix.. :D
<eyJhb> Seems hardcoded, as I have set $EDITOR to `vim` __monty__
<jomik> eyJhb: I don't have that issue with LaTex, using texlive to compile.
<jomik> Seems odd that LaTex would try and use vi for anything
<__monty__> jomik: An overlay would make it possible to merge the nix functions and the stateful functions.
<__monty__> jomik: Not as odd as hardcoding another editor though : )
<eyJhb> jomik: using pdflatex to compile, from texlive-full-combined. If a error occurs, then you can press e to go to the file+line, and that always uses `vi` for me
<__monty__> eyJhb: Ah, it uses TEXEDIT to determine the command.
orivej has quit [Ping timeout: 250 seconds]
<__monty__> eyJhb: So TEXEDIT=vim +%d %s should™ do it.
<{^_^}> [nixpkgs] @risicle opened pull request #52519 → cloudfoundry-cli: fix build on multiple platforms, notably darwin, to produce correct binary for target → https://git.io/fpjJ9
Boomerang has quit [Ping timeout: 245 seconds]
dermetfan has joined #nixos
owickstrom has quit [Ping timeout: 250 seconds]
owickstrom has joined #nixos
ancarda has quit [Ping timeout: 260 seconds]
jw358 has quit [Ping timeout: 268 seconds]
jw358 has joined #nixos
ancarda has joined #nixos
pietranera has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #52520 → plano-theme: 3.28-3 -> 3.30-1 → https://git.io/fpjUH
baum_ has quit [Ping timeout: 240 seconds]
<jomik> __monty__: I don't think an overlay would solve it. - Sorry, when I said functions, I meant files that exist in the directory, created by the user.
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2018/14 »: https://git.io/fpjT8
<jomik> I want to manage ~/.config/fish/functions (and similar), by adding stuff from my home.nix (home-manager, but would be a nixpkg setup like the vscode one, really).
<jomik> I just don't want to remove user-created functions.
<jomik> But if you delete a plugin that is in the nix expression, then it should also be removed from the folder.
init_6 has joined #nixos
<jonaswouters> tilpner: if I comment it out, i get "The option `services.znc.confOptions.passBlock' is used but not defined"
<__monty__> jomik: I'm not talking about a nix overlay, I'm talking about an overlayfs. That definitely allows you to write to a directory without writing to the directory by writing to the overlay.
<jomik> Oh
<jonaswouters> jomik: line = that setting.
Makaveli7 has quit [Quit: Leaving]
asymmetric_ is now known as asymmetric
<jomik> jonaswouters: can you dump the nix expression to something like gist.github.com ?
<__monty__> jomik: If you don't need the user defined functions available while the nix defined ones are you could just bind mount over it, that shadows the real directory.
<asymmetric> is it possible to set environment variables, or start background daemons, in a shell.nix?
<asymmetric> for a dev environment
<qyliss^work> asymmetric: You can run arbitrary shell commands using `shellHook`
<qyliss^work> Although I'd caution against using it to start background daemons - that's not really what it's for
gmarmstrong has joined #nixos
<asymmetric> qyliss^work: i don't see shellHook in mkshell.nix
<qyliss^work> it's part of stdenv.mkDerivation
<asymmetric> where is it defined?
<tilpner> jonaswouters: That's quite different from what you originally said. We need to see the structure of your secrets.nix to tell if you're actually passing a function
<asymmetric> got it
<jomik> jonaswouters: Does secrets.nix start with a { ... }: ?
<gmarmstrong> Hi! How can I find out whether commit 5251e0f (#50338) will be merged into NixOS 18.09?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/50338 (by AmineChikhaoui, 5 weeks ago, merged): networkmanagerapplet: 1.8.16 -> 1.8.18.
<jomik> __monty__: I am pondering if I should just make it so that all fish functions have to be managed by the nix expression..
<jonaswouters> tilpner: the problem seems to be the import. I never removed the import.
<jonaswouters> i did nnow and it builds again
<infinisil> gmarmstrong: Preferably open a PR yourself for the backport. If that's not an option you can just post a comment asking for a backport
<sphalerite> gmarmstrong: typically if it was merged that long ago it's not going to happen unless someone asks for it
<{^_^}> [nixpkgs] @romildo opened pull request #52521 → shades-of-gray-theme: 1.1.1 -> 1.1.3 → https://git.io/fpjkO
<sphalerite> heh, aminechikhaoui actually asked for a backport in the PR
<gmarmstrong> Okay, thanks! I'll do that. Wanna resolve a bug with adding new VPN connections before I go on a trip! :)
<sphalerite> gmarmstrong: infinisil: I'll just quickly do the backport
<gmarmstrong> Oh, perfect, thanks! It'd take me a bit to learn how to do that, haha.
<jonaswouters> got it it was in the secrets file :D thanks tilpner
Ridout has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @lheckemann pushed commit from @AmineChikhaoui to release-18.09 « networkmanagerapplet: 1.8.16 -> 1.8.18 »: https://git.io/fpjkK
<sphalerite> gmarmstrong: ^
agander has joined #nixos
<sphalerite> gmarmstrong: now it's just a matter of waiting for the channel to advance :)
<__monty__> Which takes eternally long.
<gmarmstrong> sphalerite: You rock!
orivej has joined #nixos
drakonis has joined #nixos
sir_guy_carleton has joined #nixos
gmarmstrong has quit [Quit: Quit]
<eyJhb> Thanks __monty__ :)
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2018/14 »: https://git.io/fpjIu
lokado has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @bennofs pushed 3 commits to master: https://git.io/fpjIo
<{^_^}> [nixos-weekly] @garbas pushed commit from NixOS Weekly Robot to gh-pages « Preview of 'd642e4650364e808c3d40cd9dfb67a260768ce10' commit built by Travis-CI \#470007688 »: https://git.io/fpjIP
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.objgraph: fix build »: https://git.io/fpjLe
etbe has quit [Quit: Leaving]
init_6 has quit []
johanot has quit [Quit: WeeChat 2.2]
<{^_^}> [nixos-weekly] @domenkozar merged pull request #72 → Call for Content: 2018/14 → https://git.io/fpPfz
<{^_^}> [nixos-weekly] @domenkozar pushed 7 commits to production: https://git.io/fpjtb
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Call for Content: 2018/15 »: https://git.io/fpjtx
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<{^_^}> [nixos-weekly] @domenkozar opened pull request #74 → Call for Content: 2018/15 → https://git.io/fpjqe
<{^_^}> [nixos-weekly] @garbas pushed commit from NixOS Weekly Robot to gh-pages « Release of (commit '7a686a0e97daaa17669faeddf7f7e5f1f06716ca') built by Travis-CI \#470019588 »: https://git.io/fpjqJ
<ToxicFrog> What package is `dig` in? The command-not-found finder says it's in "bind", but it's not.
<jomik> How does this utils file end up being passed arond to the expressions that need it? https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vscode-extensions/vscode-utils.nix
<tilpner> dnsutils IIRC
<jomik> I can't see that it is passed anywhere, or loaded in an import or anything.
sir_guy_carleton has joined #nixos
<tilpner> > vscode-utils
<{^_^}> [nixpkgs] @talyz opened pull request #52522 → nomachine-client: Fix audio support and update 6.3.6_1 -> 6.4.6_1 → https://git.io/fpjq0
<{^_^}> { buildVscodeExtension = <CODE>; buildVscodeMarketplaceExtension = <CODE>; extensionFromVscodeMarketplace = <CODE>; extensionsFromVscodeMarketplace = <CODE>; fetchVsixFromVscodeMarketplace = <CODE>; o...
<tilpner> It's probably in all-packages
<tilpner> ,locate all-packages.nix
<tilpner> ,find all-packages.nix
<{^_^}> Couldn't find in any packages
<jomik> Oh, so it becomes part of pkgs.
<jomik> Tho... how.. XD I mean, it isn't listed there :P
<jomik> I guess it makes sense tho, cuz it has to be callPackage that passes it along.
<tilpner> It is, but not in the part GH shows you
<jomik> I see :P
Boomerang has joined #nixos
<tilpner> Click Raw to get the full file
<tilpner> Don't know what's up with that Feature™
<{^_^}> https://github.com/NixOS/nixpkgs/pull/14 (by aszlig, 6 years ago, closed): Build Chromium from source
Anton-Latukha has joined #nixos
<etu> domenkozar++
<{^_^}> domenkozar's karma got increased to 14
<gchristensen> domenkozar++
<{^_^}> domenkozar's karma got increased to 15
<aszlig> bah, chromium...
<aszlig> domenkozar++
<{^_^}> domenkozar's karma got increased to 16
* tilpner .oO( What role does cachix play in greek mythology? )
<gchristensen> breaking out of it, finally!
<domenkozar> every rule has an exception
<gchristensen> not every Nix tool needs to orbit Pluto! :)
<domenkozar> also yeah infinite recursion sux!
<srhb> First they demote Pluto, then they rename one of its moons "nixops" :|
reinhardt has quit [Quit: Leaving]
domenkozar has quit [Changing host]
domenkozar has joined #nixos
ikwildrpepper has quit [Changing host]
ikwildrpepper has joined #nixos
makefu has quit [Changing host]
makefu has joined #nixos
infinisil has quit [Changing host]
infinisil has joined #nixos
sphalerit has quit [Changing host]
sphalerit has joined #nixos
sphalerite has joined #nixos
sphalerite has quit [Changing host]
<domenkozar> srhb: lol
<domenkozar> we'll gradually fix it
<domenkozar> not sure we're doing good with the greek beards though
<domenkozar> but who says we can't present gods the way we see them!
<{^_^}> [nixpkgs] @dotlambda opened pull request #52523 → python.pkgs.graphviz: hardcode path to graphviz's bin/ → https://git.io/fpjmb
<jboy> Has anyone gotten Hiri, the proprietary exchange client, to work on NixOS? It's only distributed as a binary, and I'm having difficulty getting it to run, even using the excellent autopatchelf.
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fpjmj
srhb has quit [Quit: ZNC 1.7.1 - https://znc.in]
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: prefer alsa-mixer 0.2.x by default »: https://git.io/fpjY2
<{^_^}> [nixpkgs] @stephengroat opened pull request #52524 → freetype: 2.9 -> 2.9.1 → https://git.io/fpjYw
<aszlig> jboy: what exactly do you have difficulties with?
<{^_^}> [nixpkgs] @Vskilet opened pull request #52525 → qlcplus: 4.11.2 -> 4.12 → https://git.io/fpjYo
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpjYy
<jboy> aszlig: Patching requires several libraries, such as libbz2 and jasper, and even when I provide them as buildInputs the patching fails.
<Izorkin> How to add user groups.www-data.members = [ "user1" ]; if activated option cfg.custom-user.enable = true;
acarrico has joined #nixos
<jboy> aszlig: meanwhile patching for numerous Xlibs, gtk etc. works just fine.
<aszlig> jboy: what's the build failure?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-JuicyPixels: update overrides for the new version »: https://git.io/fpjO3
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fpjOC
cyounkins has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti closed pull request #52451 → haskellPackages.megaparsec: disable tests on version 6.5 → https://git.io/fpx4r
cyounkins has joined #nixos
<jboy> aszlig: I hope this is clear enough: https://gist.github.com/jboynyc/0a4714601cf17e04e71607e55cbfe9e3
hyper_ch2 has joined #nixos
fendor has joined #nixos
<hyper_ch2> trying to get flexget on python 3.6 to run now :)
<pie___> aszlig, will need to read scrollback later but actually *I* just run it in firefox
<sphalerite> jboy: the jasper package seems to contain a newer version, with the soname libjasper.so.4 rather than .so.1
ThatDocsLady_ has joined #nixos
<aszlig> jboy: libjasper.so libjasper.so.4 libjasper.so.4.0.0
<aszlig> jboy: the application needs libjasper.so.1
<jboy> sphalerite: aszlig: Thanks for taking a look! Do you know a good workaround for this kind of situation?
ThatDocsLady has quit [Ping timeout: 252 seconds]
<aszlig> jboy: you could try to force it to use it anyway by using patchelf with --replace-needed, bit it most likely won't work
cyounkins has quit [Ping timeout: 272 seconds]
<jboy> Alright cheers, aszlig. I'll give that a shot.
<sphalerite> jboy: or package an older version of jasper
<aszlig> s/bit/but/
<sphalerite> jboy: or try patching nixpkgs Qt in instead, since it's used by the vendored Qt
<aszlig> jboy: ^ that's probably the better solution anyway
drakonis has quit [Quit: WeeChat 2.3]
<jboy> thanks sphalerite. so my buildInput would be nixpkgs.gtk?
<aszlig> jboy: i'd generally stick to system-provided dependencies as much as possible
<sphalerite> jboy: no, Qt, not gtk
<aszlig> but also gtk
<jboy> oh right
<sphalerite> jboy: the sledgehammer option is to just add qt5Full to the buildInputs
<aszlig> ah, no, that's from a qt plugin
<jboy> because jasper is part of Qt, or how does qt enter the picture?
<aszlig> so just qt should be enough
<aszlig> jboy: yeah, in that case you'll get a newer version of jasper
<sphalerite> jboy: yes, if you look at the output of autopatchelf you'll see that it looks for jasper as part of libqjp for qt
<jomik> Should I use mv or cp in installPhase to get files from $src to $out?
<aszlig> (if it is even needed at all)
<jomik> Do I risk $src being reused by another package? :P
<jboy> I didn't catch that
<jboy> thanks again, I'll give the sledgehammer option a try
<aszlig> jomik: you shouldn't even be able to use mv from $src if it's a store path
<sphalerite> jomik: nope, that's not src
zolk3ri has joined #nixos
<jomik> Oh.
<sphalerite> jomik: that's the copy of src created by unpackPhase
zolk3ri has left #nixos [#nixos]
<jomik> What if my src isn't packed in a zip?
<jomik> Do I still get a copy?
<jomik> read: should I use . or $src
<hyper_ch2> hmmmm, where is it defined that nixos will build a python2.7 version of a package?
<jomik> hyper_ch2: the package probably has defaults? I don't think nixos decides that :o
ThatDocsLady_ has quit [Ping timeout: 252 seconds]
<hyper_ch2> jomik: my mistake
srhb has joined #nixos
<jomik> So check the package :D
<aszlig> hyper_ch2: if it's used like pythonPackages.foo you'll get the py2 version
Rusty1 has joined #nixos
<linkrage> tilpner, about acme+nginx again - will the acme cert renew & update itself automatically when it's about to expire or I have to do something about it? Thanks in advance!
<hyper_ch2> nah, it wasn't 2.7.... it was just flexget version that I misread: 2.17 and assumed it uses python 2.7 :)
iyzsong has quit [Ping timeout: 268 seconds]
<aszlig> hyper_ch2: if you want the python 3 variant it's python3Packages.foo or even python37Packages.foo
<aszlig> hyper_ch2: ah
<sphalerite> jomik: unpackPhase unpacks the zip
<sphalerite> :)
<hyper_ch2> anyway, I get this error FlexGet-2.17.20-py27-none-any.whl is not a supported wheel on this platform. -- what is that wheel and since it wants to build for python 2.7 - how can I prevent it doing so?
<jomik> sphalerite: Yeah, what if my src isn't a zip tho?
<jomik> so unpackPhase doesn't do anything.
<sphalerite> jomik: if it's a directory, it gets copied
<tilpner> linkrage: It renews automatically
slack1256 has joined #nixos
<jomik> Perfect. So I can just mess with pwd all I want :D
<sphalerite> jomik: yes
<tilpner> linkrage: systemctl list-timers can show you when it checks for necessary renewals
<linkrage> tilpner, Thank you! Amazing! Does it work if I have multiple nginx vhosts as well? Thanks I'll check them :)
<aszlig> hyper_ch2: ah, it's using python 2.7 - you could try using flexget.override { python = python3; }
<hyper_ch2> aszlig: I'm trying to get flexget to run on python 3 since some packages aren't built for 2.7 anymore
<hyper_ch2> but I get now that wheel error
<tilpner> linkrage: Yes, it can do multiple vhosts too. You should only expect problems when trying to get certs for non-HTTP services (still easy), and I usually get errors the first time I deploy for a new cert (but that's gone after the next deploy and never re-appears)
<jomik> I forgot how globbing works in bash. How would I match 3 files if they exist? That is, I want to do something like fish_{mode_,right_,}prompt.fish
<jomik> That's fish syntax though.
<tilpner> $ echo fish_{mode_,right_,}prompt.fish
<tilpner> fish_mode_prompt.fish fish_right_prompt.fish fish_prompt.fish
<tilpner> Works in bash too
<jomik> It does! Lol
dslegends has joined #nixos
<jomik> Wonder what I did to get an error before then :D
<jomik> Thanks..
<linkrage> tilpner, good to know. Thank you so much. It's been few hours only and I'm falling in love with nixos (coming from puppet+theforeman+ansible background). You do have great community as well! Great work on all fronts!
jperras has joined #nixos
<tilpner> :)
<kyren> so I'm pretty sure I could figure this out with enough tries, but I'm *not* sure I could figure it out without causing networking on my dedicated server to go away and having me to get somebody to attach a kvm, so I'm going to ask a few more potentially dumb questions
<kyren> I'm trying to create a container that has a real, actual, public ipv4 address assigned to it
<kyren> is this something that requires setting up a bridge? I'm a bit confused as to precisely what containers.<name>.hostAddress does
agander has quit [Ping timeout: 245 seconds]
<aszlig> kyren: do you require network namespacing?
<kyren> I would like it?
<aszlig> kyren: because if not, the container should reside in the same network namespace and thus should be able to bind ports
<kyren> yeah, I figured without network namespacing it would be easy
<aszlig> kyren: other than that, you could also use a veth and a bridge... or even better: unix domain sockets
<aszlig> but the latter depends on the service running inside the container
<sphalerite> aszlig: how do unix domain sockets help with this?
<kyren> ideally it would ether be a bridge or just a forward all from public ip <-> internal interface
<kyren> if the service is isolated enough you can just forward everything over a unix socket for extra security
<aszlig> sphalerite: eg. if you want to use a http reverse proxy or something like that
<jomik> How do I go about getting this as fish-utils into my namespace? Do I just use callPackage in my home.nix? Wondering how it is done with vscode-utils still... :D
<sphalerite> jomik: yep pretty miuch
<sphalerite> jomik: oh wait no
ThatDocsLady has joined #nixos
<aszlig> hyper_ch2: okay, that's probably because of deluge, which needs to use python 3 as well
<aszlig> hyper_ch2: ah, wait
<hyper_ch2> aszlig: I just can't see where that require python 2.7 wheel thing is coming from
Anton-Latukha has quit [Quit: Leaving.]
jabranham has joined #nixos
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
tzemanovic has joined #nixos
slack1256 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52521 → shades-of-gray-theme: 1.1.1 -> 1.1.3 → https://git.io/fpjkO
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpjZO
<jomik> Umm. How was it that I used tofu to get the sha256 I need.. Atm build is just failing saying that it is not a package (I am passing it to an option of type listOf package)
<srhb> jomik: 52 zeros
<srhb> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<jomik> Where do I see the correct hash? :D
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52520 → plano-theme: 3.28-3 -> 3.30-1 → https://git.io/fpjUH
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpjZB
<srhb> jomik: In the error message when you try to build it :)
<srhb> jomik: Sounds like you're seeing a different failure though.
<srhb> jomik: So probably fix that first, and you'll see the hash error afterwards.
<aszlig> hyper_ch2: if you run nix-store -qR or with --tree you'll see a lot of python2.7 stuff creeping in
<aszlig> hyper_ch2: ... on the .drv
<ekleog> gchristensen: as you said you also had seen a case of misattributed PR close following a git push on github: just got “Just wanted to let you know that we've escalated this one to our Engineering Team.” from github :)
<jomik> Probably home-manager supressing the error somehow...
<gchristensen> yay!
tzemanovic has quit [Ping timeout: 260 seconds]
<jomik> error: The option value `programs.fish.plugins.[definition 1-entry 1]' in `/home/jomik/.config/nixpkgs/home.nix' is not of type `package'.
<jomik> I am getting this.
<hyper_ch2> aszlig: I have no idea what you mean.. sorry....
<jomik> the first entry in the array is the result of mkDerivation
<srhb> jomik: That sounds like an accurate error.
<srhb> jomik: Is it really though :)
<kyren> okay, so setting the 'hostAddress' in a container works fine, as does 'extraFlags = [ "-U" ];', something else was wrong.. and it was oddly fixed by simply renaming the container... it might have been that the container name was too long.. which would be surprising and a bug, so I'm not exactly sure that's it
ThatDocsLady_ has quit [Remote host closed the connection]
<kyren> well, it doesn't work fine because it probably needs a bridge, but it was unrelated to the problem of the container not starting
ThatDocsLady_ has joined #nixos
<srhb> jomik: ANd are you descending into the attribute correctly?
<aszlig> hyper_ch2: hm, that however comes from cherrypy but it shouldn't be a problem in theory
<jomik> Updated the gist with the snippet that calls it
<hyper_ch2> aszlig: I was just trying to get flexget to run on latest master again because of cherrypy that has issues
<srhb> jomik: Need paranthesis
<aszlig> hyper_ch2: nix-store -q --tree $(nix-instantiate -A flexget)
<jomik> fish-utils = pkgs.callPackage ./programs/fish/fish-utils.nix {};
<jomik> What needs parenthesis srhb ?
<srhb> jomik: Neither (buildFishPlugin) nor ({ ... }) is a package.
<srhb> jomik: They are two elements in the list right now
<jomik> OH
<jomik> Right
<hyper_ch2> aszlig: I'm trying to rebuild flexget on latest master... not sure what that nix-store command does
<jomik> space separated :D
<jomik> Okay, now I am getting a different error..
<{^_^}> [nixpkgs] @dotlambda opened pull request #52527 → home-assistant-cli: init at 0.3.0 → https://git.io/fpjnI
<jomik> unpacking sources \n variable $src or $srcs should point to the source
<aszlig> hyper_ch2: it shows you the tree of the derivation requisites, that way it's easier to check whether it might mix up python 3 and python 2 dependencies
<jomik> and then the builder fails :D
<jomik> Oh.
<jomik> nvm
<jomik> Ignore me
tzemanovic has joined #nixos
<hyper_ch2> aszlig: I still fail to understand how that would help... how would it even know which flexget version in /nix/store to search?
<srhb> jomik: mkDerivation doesn't inherit src does it?
<jomik> Shh
<hyper_ch2> and the one failing to build isn't even there
<hyper_ch2> aszlig: and when I run that command, I get error: cannot auto-call a function that has an argument without a default value ('lib')
<aszlig> hyper_ch2: well, it looked like it's using the wrong setuptools, but apparently this doesn't really be issue here, so never mind
<aszlig> hyper_ch2: that command was supposed to be called from the nixpkgs root
tzemanovic has quit [Ping timeout: 272 seconds]
<hyper_ch2> ah, that gives me a tree
fendor has quit [Ping timeout: 272 seconds]
<arianvp> how am I supposed to use why-depends?
<arianvp> it doesn't seem to do anything
<hyper_ch2> aszlig: ok, I did now add a find . -iname "*whl" as preInstall phase and it only returned: ./dist/FlexGet-2.17.21.dev0-py27-none-any.whl for some reason it still only wants to build as 2.7 it seems
<hyper_ch2> I don't understand python or python packaging :(
<jomik> Where do I get buildEnv from?
<jomik> Ah, pkgs :D
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fpjC3
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52522 → nomachine-client: Fix audio support and update 6.3.6_1 -> 6.4.6_1 → https://git.io/fpjq0
<aszlig> [bdist_wheel]
<aszlig> python-tag = py27
<aszlig> hyper_ch2: ^
<aszlig> hyper_ch2: so maybe then prevent it from creating a wheel altogether
<hyper_ch2> aszlig: well, I tried to remove the whl file and then it complained about not being able to build anything.... where did you find that bdist_wheel?
linuxdaemon has quit [Quit: RIP.]
<jomik> Hey guys - how do I append to a sessionVariable in home.nix? :D
jD91mZM2 has joined #nixos
<aszlig> hyper_ch2: try the following in postPatch: sed -i -e '/^python-tag/s/py27/py36/' setup.cfg
<{^_^}> [nixpkgs] @dotlambda pushed to master « abcm2ps: 8.14.1 -> 8.14.2 »: https://git.io/fpjlX
erasmas has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 68 commits to python-unstable: https://git.io/fpjlx
linuxdaemon has joined #nixos
<hyper_ch2> aszlig: now it start to build :9
<aszlig> hyper_ch2: however, as mentioned, deluge is still using python 2, so it probably won't build with deluge support
<hyper_ch2> got it to build with taking out lots of stuff ;)
jomik has quit [Ping timeout: 272 seconds]
dbmikus has joined #nixos
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpj4E
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52172 → ocamlPackages.curses: 1.0.3 -> 1.0.4 → https://git.io/fpb7J
<hyper_ch2> aszlig: It did build with this: https://paste.simplylinux.ch/view/raw/0ad61328
<hyper_ch2> but not sure if deluge support was really built in. It only worked after I added also python27
<hyper_ch2> so I guess it did add that
linkrage has quit [Quit: Leaving]
imdoor has joined #nixos
<hyper_ch2> aszlig: I tried now to ++ lib.optional delugeSupport deluge python27; --> I was hoping python27 will then only be included when delugeSupport option is set to true but that gave error
ekleog has quit [Quit: back soon]
ekleog has joined #nixos
<ToxicFrog> How do I escape ${...} in a multiline string? I thought it was $${...}, but that results in "$${...}" in the output, not "${...}".
<ToxicFrog> And putting "${...}" in results in just the "...".
<clever> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<ToxicFrog> Sweet, thanks.
<ToxicFrog> I need so many layers of escaping on this, it goes through Nix compilation -> Munin configuration file parsing -> Perl word splitting -> "sh -c" command line parsing
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52179 → ocamlPackages.cmdliner: 1.0.2 -> 1.0.3 → https://git.io/fpb7d
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpjRL
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @sjau opened pull request #52529 → Flexget: 2.17.14 -> 2.17.20 & Python: 2.7 -> 3.6 → https://git.io/fpjRO
sbdchd has joined #nixos
<hyper_ch2> aszlig: thx for the help
<hyper_ch2> made pr now
hyper_ch2 has quit [Quit: Page closed]
<sphalerite> So I'm trying to get some vagrant machines running :( and I'm having some issues with the nfs mounting stuff. I've enabled the server using services.nfs.server.enable = true; and opened the port to the virtualbox interface, but am getting "access denied by server" when it tries to mount the shared folder inside the VM. Any ideas?
<sphalerite> additionally, nfsd won't let me strace it to see which config files might be involved.
sbdchd has quit [Ping timeout: 268 seconds]
arjen-jonathan has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.cherrypy: disable on python2 »: https://git.io/fpj0R
<{^_^}> [nixpkgs] @johanot opened pull request #52530 → kubernetes: 1.11.5 -> 1.11.6 → https://git.io/fpj0u
<{^_^}> [nixpkgs] @dotlambda merged pull request #52058 → pythonPackages.markdown: 2.6.10 -> 3.0.1 → https://git.io/fpFFr
<{^_^}> [nixpkgs] @dotlambda pushed commit from @tilpner to python-unstable « pythonPackages.markdown: 2.6.10 -> 3.0.1 (#52058) »: https://git.io/fpj0X
<slabity> Where can I find information on how NixOS's initramfs is generated?
<slabity> I'm assuming it's built with Nix somewhere in nixpkgs?
goibhniu has joined #nixos
drakonis has joined #nixos
<slabity> gchristensen: Thanks.
fendor has joined #nixos
lokado has joined #nixos
johanot has joined #nixos
imdoor has quit [Quit: imdoor]
imdoor has joined #nixos
<lokado> just curious: are there any fixed-output packages in nixpkgs now except those created by fetch*?
<simpson> Do some of the official binaries, like firefox-bin, count?
<slabity> Is firefox-bin not acquired via fetch*?
<tilpner> lokado: chromium?
<tilpner> ,find chromium/update.nix
<simpson> I'm wondering what the criteria are. It's an interesting question but maybe not answerable.
<lokado> compiled packages, I mean those build from source file
sbdchd has joined #nixos
<lokado> instead of manipulating a downloaded binary
<gchristensen> lokado: why do you ask?
<gchristensen> there is a font package which is made fixed output because its output produced is massive, but there is a build process known to be very stable
Tucky has quit [Remote host closed the connection]
sbdchd_ has joined #nixos
<slabity> Let me guess, Nerdfonts? That always takes forever to download
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 244 seconds]
<gchristensen> SO cool!
<lokado> yeah sounds awesome
sbdchd has quit [Ping timeout: 272 seconds]
sbdchd_ has quit [Ping timeout: 250 seconds]
pointfourone has joined #nixos
pointfourone has left #nixos [#nixos]
betaboon has quit [Quit: WeeChat 2.2]
srid has quit [Quit: Connection closed for inactivity]
tzemanovic has joined #nixos
waleee has joined #nixos
tzemanov_ has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
hyper_ch has joined #nixos
tzemanovic has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52151 → pulumi-bin: 0.16.2 -> 0.16.7 → https://git.io/fpbyP
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « pulumi-bin: 0.16.2 -> 0.16.7 »: https://git.io/fpjgy
bigvalen has quit [Read error: Connection reset by peer]
Ariakenom_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52134 → picard-tools: 2.18.17 -> 2.18.20 → https://git.io/fpbPR
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpj2n
turion has quit [Quit: Leaving.]
orivej has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 264 seconds]
mr_noobs has quit [Ping timeout: 240 seconds]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpjaq
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52011 → snes9x-gtk: 1.56.2 -> 1.57 → https://git.io/fpFBf
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51600 → extlinux-conf: fix cross compilation → https://git.io/fp1jX
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fpjac
betaboon has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51404 → openra: adding individual executables for each mod → https://git.io/fpKur
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpjaM
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51313 → llpp: 2018-03-02 -> 30 → https://git.io/fpo24
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpjaA
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51754 → libv4l: 1.16.0 -> 1.16.2 → https://git.io/fpSpD
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fpjVt
ubert has quit [Quit: Leaving]
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
w-spc-gir has joined #nixos
pie__ has joined #nixos
<jabranham> is anyone using the first method in ,,declarative and has it setup to get info manuals working?
<jabranham> ,declarative
<{^_^}> There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
pie___ has quit [Remote host closed the connection]
rawreraw has joined #nixos
slack1256 has joined #nixos
Ariakenom has joined #nixos
jonaswouters has quit [Quit: Connection closed for inactivity]
camsbury has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fusion809 opened pull request #52531 → openra: 20180923->20181215 → https://git.io/fpjrZ
camsbury has joined #nixos
<uniporn> hi, anyone having sbcl and quicklisp installed with (ql:quickload "drakma") not failing to find libssl.so[.*]?
<uniporn> I'd be interested in the diff to my config since I am having this issue.
asymmetric has quit [Ping timeout: 250 seconds]
camsbury has quit [Ping timeout: 246 seconds]
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
ambro718 has joined #nixos
tzemanovic has joined #nixos
rawreraw has quit [Read error: Connection reset by peer]
slack1256 has quit [Remote host closed the connection]
tzemanov_ has quit [Ping timeout: 246 seconds]
drakonis_ has quit [Ping timeout: 252 seconds]
markus1189 has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.2]
pietranera has quit [Quit: Leaving.]
<dmj`> I get segfaults when nix-build'ing haskell code on ubuntu that has template haskell. But it works fine on nixos, anybody know why? The error looks like: /nix/store/9pifap75pkb9ifmdqh0irn8wgc3q38s6-stdenv-linux/setup: line 1298: 18088 Segmentation fault (core dumped)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #52132 → pig: 0.16.0 -> 0.17.0 → https://git.io/fpbPv
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « pig: 0.16.0 -> 0.17.0 »: https://git.io/fpjKc
<markus1189> Hi, I am trying to package the APL IDE ride: https://github.com/Dyalog/ride. The nix file and an strace output is here: https://gist.github.com/markus1189/fa7024fcfe471ad6718ac59749aa3af1. In a nutshell it dies with 'zsh: trace trap ./result-2/bin/Ride-4.1
marsam has joined #nixos
<markus1189> If anybody has any pointers on how to debug this I would be very glad
orivej has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
<judson> How hard it it to set up a new Haskell package?
<judson> I'm trying to get SNI to work on Taffybar, and it seems like The Way to do that involves a separate service.
camsbury has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #52532 → albert: 0.14.22 -> 0.15.0 → https://git.io/fpjK5
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51301 → libretro.dolphin: add missing dependencies to fix build → https://git.io/fpos4
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpj6J
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #52533 → pcap: Add missing include, fix w/musl → https://git.io/fpj6n
jomik has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
hedning has joined #nixos
drakonis has joined #nixos
Thra11 has joined #nixos
robstr has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
Thra11 has quit [Ping timeout: 268 seconds]
<slabity> If I read in a file with `builtins.readFile`, how can I have it evaluated like a Nix string?
<slabity> So that variables like ${...} get evaluated
<gchristensen> you can't
cyounkins has joined #nixos
<Synthetica> Why not `import` it?
<dmj`> gchristensen: have you ever seen something like /nix/store/9pifap75pkb9ifmdqh0irn8wgc3q38s6-stdenv-linux/setup: line 1298: 18088 Segmentation fault (core dumped)
<dmj`> 12:52:25 PM
<gchristensen> yikes, I have but I don't remember under what situation. maybe check dmesg and coredumpctl
camsbury has quit [Quit: Leaving...]
fendor has quit [Ping timeout: 246 seconds]
asymmetric has joined #nixos
<marsam> robstr: you probably want to use buildGoPackage; you can create a package request, I think I can package it later
drakonis has quit [Ping timeout: 252 seconds]
sigmundv_ has quit [Ping timeout: 244 seconds]
<slabity> gchristensen: What if I don't use readFile? Is there some other way of loading a file as a string and evaluating it as one so that the variables expand?
<jomik> Hey guys - I have written a nix expression to manage fish plugins for home-manager. Each of these plugins should be able to "depend" on having a package installed. Like the fasd fish plugin needs fasd installed. How would I pass this extra information along?
<jomik> I use pkgs.buildEnv to make it a single derivation.
<robstr> marsam: thank you, how would I create this request ?
<dmj`> gchristensen: it only happens on ubuntu, not nixos, same hash, same code. Pinned nixpkgs
marsam has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @samueldr opened pull request #52534 → [WIP] nixos/release-combined: adds aarch64-linux as supported → https://git.io/fpjPt
<{^_^}> [nixpkgs] @romildo opened pull request #52535 → plano-theme: 3.30-1 -> 3.30-2 → https://git.io/fpjPE
<dmj`> gchristensen: on ubuntu calling dmesg shows a segfault in a c library
<dmj`> [ 6527.109039] ghc[19926]: segfault at 7ffef04d1000 ip 00007ffef31a61b0 sp 00007fffffff7d98 error 6 in libopenblasp-r0.3.3.so[7ffef2f2c000+1b2f000]
<gchristensen> ah there you go, libopenblas
<dmj`> gchristensen: some dep somwhere is using it then... it doesn't make sense that it's segfaulting on ubuntu but not nixos. This is also happening at template haskell time
lokado has quit [Quit: Connection closed for inactivity]
cyounkins has quit [Remote host closed the connection]
robstr has quit [Ping timeout: 256 seconds]
cyounkins has joined #nixos
Brejic has joined #nixos
acarrico has quit [Ping timeout: 246 seconds]
rfold has joined #nixos
cyounkins has quit [Ping timeout: 250 seconds]
<infinisil> A disadvantage of having your whole system reproducible is that you don't get automatic updates
<infinisil> When something is broken I can be sure that it'll be broken tomorrow unless I do something :)
<shapr> sounds like a good point?
<ldlework> infinisil: it also means that if something is working, it wont be broken tomorrow unless you do something :)
<jomik> Guys, if I have a list of paths in an environment variable, how do I add to it, in home-manager?
cyounkins has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
acarrico has joined #nixos
cyounkins has quit [Ping timeout: 246 seconds]
betaboon has quit [Quit: WeeChat 2.2]
sbdchd has joined #nixos
cyounkins has joined #nixos
<jomik> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<jomik> For some reason, when using a sha256 that is invalid for the downloaded, but valid for something else in the store, it will just grab that something else's files? O.o
<jomik> I changed the revision, still had the old in store, didn't update the sha256, because I just wanted to get it when it failed xD
sbdchd has quit [Ping timeout: 272 seconds]
ntd has joined #nixos
imdoor is now known as rihardsk
siers has joined #nixos
drakonis has joined #nixos
<LnL> yeah, if the name of the store path matches
alex`` has joined #nixos
emmanuel_erc has joined #nixos
<emmanuel_erc> Hello there. I'm installing the nix package manager on Fedora. Everytime I try to install it via the command `curl https://nixos.org/nix/install | sh`, Get the following message (https://pastebin.com/Fg9TQFTv). Could I just change the permissions of /nix/store and just move on?
<{^_^}> [nixpkgs] @fpletz merged pull request #51914 → home-assistant: use python37 → https://git.io/fpdUj
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fpjyu
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
imdoor has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #52536 → buildbot: 1.4.0 -> 1.6.0 → https://git.io/fpjyP
<{^_^}> [nixpkgs] @dtzWill opened pull request #52537 → zsh-completions; 0.29.0 -> 0.30.0 → https://git.io/fpjyM
rihardsk has quit [Ping timeout: 246 seconds]
dbmikus has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #52538 → fwts: 18.11.00 -> 18.12.00 → https://git.io/fpjyN
<{^_^}> [nixpkgs] @dtzWill opened pull request #52539 → glib: 2.58.1 -> 2.58.2 → https://git.io/fpjSf
<{^_^}> [nixpkgs] @hedning opened pull request #52540 → valgrind: fix build on darwin → https://git.io/fpjSt
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @dtzWill opened pull request #52541 → iasl: 20180313 -> 20181213; patch xen to work with new acpica-tools → https://git.io/fpjSc
hyper_ch has joined #nixos
sbdchd has joined #nixos
orivej has joined #nixos
immae has quit [Quit: WeeChat 2.3]
Guanin has joined #nixos
immae has joined #nixos
w-spc-gir has quit [Ping timeout: 244 seconds]
<{^_^}> [nixos-org-configurations] @zimbatm pushed to zimbatm/route53-zone « import the other records, sort alphabetically »: https://git.io/fpjS9
<imdoor> hi, how should i go about forcing one of my package's dependencies add itself to NIX_CFLAGS_COMPILE NIX_LDFLAGS? the dependency in question is ghc
<imdoor> my setup is:
<imdoor> 1) project1 (a haskell project) builds a haskell FFI library;
<imdoor> 2) project2 (a non-haskell project) depends on project2 (because it needs the FFI library) and on ghc (because ghc contains some header files that are included by the FFI library).
<{^_^}> [nixos-org-configurations] @zimbatm pushed 3 commits to zimbatm/route53-zone: https://git.io/fpjSp
<imdoor> the problem is that project2 fails to build because the cc compiler doesn't see ghc's include and lib dirs
iddt has joined #nixos
<imdoor> which i guess is because the dirs aren't added to NIX_CFLAGS_COMPILE and NIX_LDFLAGS env variables
siers has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @shlevy merged pull request #2586 → nix-store: remove debugging print → https://git.io/fpNTN
<{^_^}> [nix] @shlevy pushed 2 commits to master: https://git.io/fpj93
emmanuel_erc has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<imdoor> which might be because the ghc's derivation's output folder doesn't contain stuff directly under directories `lib` and `include` (`include` doesn't even exist, it's somewhere down below `lib`). is this what's happening?
dbmikus has joined #nixos
<imdoor> i guess i could try wrapping ghc and copying these directories so they're right under $out. but i've already spent quite a bit of time on this and i'd appreciate if somebody commented on whether it's likely that this is how it works
<iddt> if i set networking.networkmanager.enable = true, then shouldn't the NetworkManager process be running after i do a nixos-rebuild test?
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 268 seconds]
<jabranham> iddt: I think it's called network-manager.service
<iddt> jabranham, you mean that's the name of the process?
<iddt> jabranham, because i don't see it showing up
agander has joined #nixos
<jabranham> iddt: I don't remember (and am not on a computer with networkmanager), but you can check with systemctl status network-manager
cyounkins has quit [Remote host closed the connection]
<iddt> jabranham, so if systemctl status network-manager says "Active: inactive (dead)", does that mean it tried to start and failed?
cyounkins has joined #nixos
cyounkins has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #52543 → mkl: include Intel's libiomp.so in the MKL RPM unpack → https://git.io/fpjHo
mabel has joined #nixos
<jomik> God, my bash scripting is terrible :D
<iddt> jomik, i'm unpleasantly awesome at it if you want help
<jomik> Which, the last line showed me an issue, because, those two files will also be moved to $out/functions. I don't want that.
<jomik> Also, I'd like to avoid this ugly 2> /dev/null, etc.
<jomik> So, I am trying to pretty it up...
<iddt> with you on the ugly :)
<mabel> oh good lord I'm dumb. I was wondering why fdisk couldn't show the partition table on my USB stick, failing with the error "No medium found".
<jomik> I am looking at something like for d in ./conf.d ./functions ./completions do if [[ -d $d ]]; then ...
pie___ has joined #nixos
<mabel> turns out it was an SD card reader shaped like a thumb drive...
<iddt> jomik, so you basically just want to move the stuff in if the dirs exist?
<iddt> jomik, it looks like you explicitly create the dirs at the top, so shouldn't they always exist?
<jomik> Yeah. And also be a bit clever about the stuff in ./
<jomik> No, I explicitly create them in $out.
<jomik> I am checking them in pwd
<jomik> do I terminate lines with semicolon? Only if no new line, right?
<iddt> ya no semicolon needed
<iddt> which line is giving you trouble?
<jomik> I think I sorta got it.
<iddt> btw as a shorthand for what you're doing with the || true stuff, you can just do || :
pie__ has quit [Ping timeout: 268 seconds]
<jomik> Let me finish and gist it.
<jomik> Yeah, || true was just prettier :P
<jomik> how do I check if $f == some name?
<jomik> Oh, even better, I will just use a switch
<iddt> if [ $f == somename ] ; then echo yay ; fi
bbarker has joined #nixos
<jomik> Oh, it is just ==..
<jomik> I can do case $f in .. right?
<iddt> sure
<gchristensen> probably better to do case "$f" in ...
<iddt> i just find that case/esac stuff a little deadlier, because if you don't break, you get fallthroughs
<iddt> (handy if you want that of course)
<jomik> break is ;; ?
<jomik> now I have for f in ./*.fish; do ..., how do I get the file name without the ./ prefix?
<iddt> ${f##*/}
<iddt> if you want the dirname w/o the file ${f%/*}
iddt has quit [Quit: bye]
iddt has joined #nixos
<jomik> Ummm, that gets captured by nix xD
<jomik> How do I get around ${} being captured by nix? I am in a ''script stuff her''
<tilpner> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<jomik> tilpner: Thanks :D
<iddt> i'm getting the distinct impression that changing i18n.consoleFont and doing a nixos-rebuild doesn't actually change the console font.
<iddt> am i changing the wrong thing?
<jomik> iddt: Thanks for the help. I got this now https://gist.github.com/Jomik/57fd1fef0db3ec1c66908c68a1593ef6
<jomik> Just need to test that it works.
<jomik> If you have an idea to make it nicer (1 pretty loop) then I am all ears :D
<jomik> But I am going to take a shower - may drop from here since computer likes to sleep when I am not around.
<iddt> jomik, that'll work fine as long as there are no spaces in the directory or filenames
<jomik> Great :D
alex`` has quit [Read error: Connection reset by peer]
<iddt> jomik, will write you up a cleaner one. can i push to that git repo?
aleph- has joined #nixos
w-spc-gir has joined #nixos
alex`` has joined #nixos
dbmikus_ has quit [Read error: Connection reset by peer]
dbmikus_ has joined #nixos
aleph- has quit [Ping timeout: 250 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @bhipple to master « mkl: include Intel's libiomp.so in the MKL RPM unpack »: https://git.io/fpjdT
<{^_^}> [nixpkgs] @FRidh merged pull request #52543 → mkl: include Intel's libiomp.so in the MKL RPM unpack → https://git.io/fpjHo
ambro718 has quit [Quit: Konversation terminated!]
hedning has quit [Quit: hedning]
tzemanov_ has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
asymmetric_ has joined #nixos
tzemanovic has joined #nixos
Aerobit has joined #nixos
tzemanov_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fpjdS
<{^_^}> [nixpkgs] @matthewbauer merged pull request #52540 → valgrind: fix build on darwin → https://git.io/fpjSt
dbmikus_ has quit [Ping timeout: 244 seconds]
asymmetric has quit [Ping timeout: 240 seconds]
tzemanovic has quit [Ping timeout: 246 seconds]
dbmikus has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
agander has quit [Ping timeout: 250 seconds]
tzemanovic has joined #nixos
<Aerobit> hey all! i'm trying to write a derivation for a python package with buildPythonApplication. It outputs a shell script to $out/bin, with a bash shebang and this command: `python src/extract.py "$@"` which seems to just pass the command-line arguments to that python file. However, when I run it, I get an ImportError that none of the modules i specified in `pythonPath` are defined. I imagine that's because it's
<Aerobit> running my system `python`. How can I point to a python exectable that knows the modules I passed into `pythonPath`? Do I need to use `makeWrapper` to set the path and pythonpath appropriately somehow?
alex`` has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos
rfold has quit [Quit: leaving]
kvda has joined #nixos
<mpickering> makeWrapper sounds like it might be right
ntd has quit [Quit: ntd]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
<Aerobit> i can't get makeWrapper to work, throws a
<Aerobit> /nix/store/r24f7p4vpgjvjaw8x5kyrdc16f40cj9m-hook/nix-support/setup-hook: line 43: : No such file or directory
<jomik> I guess you may need to use wrapProgram like I do here https://github.com/Jomik/dotfiles/blob/master/.config/nixpkgs/mypkgs/dotfiles-sh.nix#L23
<jomik> Maybe
<Aerobit> that provides the `git` binary to your package, right?
<Aerobit> i want to provide `python` with all the things i included in pythonPath
hyper_ch has joined #nixos
goibhniu has quit [Ping timeout: 250 seconds]
<mpickering> I'm a bit confused what is going on. The python application generates a script which you then want to run?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mpickering> How are you using `makeWrapper`?
johanot has quit [Quit: WeeChat 2.2]
hyper_ch has quit [Client Quit]
<avn> Aerobit: buildPythonApplication usually correct wrap all python scripts in $out/bin/ (at least if they are correct scripts generated or installed via setup.py)
vk3wtf has quit [Ping timeout: 250 seconds]
hyper_ch has joined #nixos
kvda has joined #nixos
Meptllc has joined #nixos
<Aerobit> avn: the program i'm packaging isn't nice and conformant - it doesn't use setuptools, rather it just runs a script in the "src" folder with a bundled shell script.
imdoor has quit [Quit: imdoor]
<Aerobit> at this point i'm just going to fork it and fix it T_T
Aerobit has quit [Quit: WeeChat 2.2]
<avn> Aerobit: then you should replace `python` in script with ${python}/bin/python, using python from proper package. And then add makeWrapper call, to set $PYTHONPATH.
<avn> Ariakenom: although add setup.py to sources can be easier path ;)
<avn> s/Ariakenom/Aerobit/ oops ;)
<Meptllc> Is there a way to reevaluate antiquotations in a string? e.g. x = "\${pkgs.bash}"; somefunc x => "/nix/store/hash-bash/"
iddt has quit [Quit: bye]
<avn> eval?
W1lkins_ has quit [Quit: Bye]
hedning has joined #nixos
mabel has quit [Ping timeout: 244 seconds]
Thra11 has joined #nixos
W1lkins has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51819 → wineStable: 3.0.3 -> 3.0.4; winetricks 20180815 -> 20181203 → https://git.io/fp9N8
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpjAC
<{^_^}> [nixpkgs] @timokau opened pull request #52544 → pythonPackages.absl-py: fix python2 build → https://git.io/fpjAW
sir_guy_carleton has quit [Ping timeout: 250 seconds]
waleee has quit [Quit: WeeChat 2.3]
Guanin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #51901 → luigi: enable local modules discovery → https://git.io/fp50F
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpjAX
betaboon has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #52537 → zsh-completions; 0.29.0 -> 0.30.0 → https://git.io/fpjyM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpjxz
<Meptllc> avn: I'm not seeing an eval anywhere. Like 'nix eval'? I'm working in either NixOS' configuration.nix or a 'nix repl'
jomik has quit [Quit: WeeChat 2.2]
jomik has joined #nixos
jomik has quit [Client Quit]
jomik has joined #nixos
doyougnu has joined #nixos
<gchristensen> yes
Boomerang has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #52544 → pythonPackages.absl-py: fix python2 build → https://git.io/fpjAW
<{^_^}> [nixpkgs] @timokau pushed to master « pythonPackages.absl-py: fix python2 build (#52544) »: https://git.io/fpjp3
<jomik> missing $ infront of out and no need for the ${makeWrapper} Is that it? :o
<{^_^}> [nixpkgs] @timokau opened pull request #52545 → pythonPackages.jupytext: init at 0.8.4 → https://git.io/fpjpZ
<betaboon> jomik: thats what i thought
marsam has joined #nixos
<betaboon> since when can't you create PRs from github frontend ? oO
<jomik> You can.
<jomik> Are you sure that you have pushed? And that you are in the targeted repo? :P
<betaboon> jomik: i went into nixos/nixpkgs clicked edit on a file, type changes and am only presented with "Propose file change"
<gchristensen> for a long time :)
<betaboon> woot now it works. when i clicked the "propose file change" before i got a 405
<betaboon> delivered by nginx
<{^_^}> [nixpkgs] @betaboon opened pull request #52546 → soapysdr: fix extraPackages support → https://git.io/fpjhZ
romanofskiWork has quit [Quit: leaving]
<betaboon> gchristensen: like that ?
<jomik> Huh. Shouldn't docker_compose have docker as a runtime dependency?
simukis has quit [Quit: simukis]
<{^_^}> [nixpkgs] @timokau opened pull request #52548 → pythonPackages.pathpy: skip performance test → https://git.io/fpjhx
oida has quit [Remote host closed the connection]
oida has joined #nixos
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52321 → fluidsynth: 2.0.1 -> 2.0.2 → https://git.io/fpNEB
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to staging « fluidsynth: 2.0.1 -> 2.0.2 »: https://git.io/fpjjc
tzemanovic has quit [Remote host closed the connection]
rardiol has joined #nixos
romanofskiWork has joined #nixos
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « pmd: 6.9.0 -> 6.10.0 »: https://git.io/fpjjw
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52145 → pmd: 6.9.0 -> 6.10.0 → https://git.io/fpbMg
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
Thra11 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52120 → python37Packages.elpy: 1.26.0 -> 1.27.0 → https://git.io/fpb20
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.elpy: 1.26.0 -> 1.27.0 »: https://git.io/fpjjX
<rardiol> I'm trying to update nix, it tells me to uninstall first, I ran the 'rm -rf', but the script stills fails because nix is installed. My guess is that the problem is that nix is still installed to /usr/local for some reason I forgot. What is the best way to clean nix from /usr/local?
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
alex`` has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52126 → python37Packages.facebook-sdk: 3.0.0 -> 3.1.0 → https://git.io/fpbov
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.facebook-sdk: 3.0.0 -> 3.1.0 »: https://git.io/fpjjx
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau merged pull request #52548 → pythonPackages.pathpy: skip performance test → https://git.io/fpjhx
<{^_^}> [nixpkgs] @timokau pushed to master « pythonPackages.pathpy: skip performance test (#52548) »: https://git.io/fheeL
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
jackdk has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #52549 → x265: fix build on ARM → https://git.io/fhee4
jomik has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52111 → python37Packages.google_cloud_vision: 0.34.0 -> 0.35.1 → https://git.io/fpbE3
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.google_cloud_vision: 0.34.0 -> 0.35.1 »: https://git.io/fheez
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52056 → python37Packages.sphinxcontrib-bibtex: 0.4.0 -> 0.4.1 → https://git.io/fpF55
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.sphinxcontrib-bibtex: 0.4.0 -> 0.4.1 »: https://git.io/fhee1
<{^_^}> [nixpkgs] @bendlas pushed 5 commits to master: https://git.io/fhee7
apaul1729 has joined #nixos
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52114 → python37Packages.dominate: 2.3.4 -> 2.3.5 → https://git.io/fpbu1
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.dominate: 2.3.4 -> 2.3.5 »: https://git.io/fhevU
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52116 → python37Packages.kafka-python: 1.4.3 -> 1.4.4 → https://git.io/fpbzS
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « python37Packages.kafka-python: 1.4.3 -> 1.4.4 »: https://git.io/fhevG
dbmikus has quit [Quit: WeeChat 2.3]
siers has joined #nixos
cyounkin_ has joined #nixos
cyounkins has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @bendlas pushed 11 commits to fix-azure-mgmt: https://git.io/fhevH
__monty__ has quit [Quit: leaving]
<ivan> has anyone looked at nixos' hardened kernel configuration and know which things might impact performance the most?
<{^_^}> [nixpkgs] @bendlas opened pull request #52550 → Update pythonPackages.azure-mgmt-* → https://git.io/fhefY
Ridout has joined #nixos
jomik has joined #nixos
<jomik> Is there, by any chance, any android, react-native using developers here?
boredom101 has joined #nixos
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/fhefQ
jomik has quit [Quit: WeeChat 2.2]
ottidmes has joined #nixos
Meptllc has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @marsam opened pull request #52551 → hyperledger-fabric: init at 1.3.0 → https://git.io/fheJ2
dslegends has quit [Quit: dslegends]
thc202 has quit [Ping timeout: 244 seconds]
boredom101 has quit [Quit: Konversation terminated!]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
feep has quit [Remote host closed the connection]