sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
zfnmxt has joined #nixos
kisik21 has quit [Ping timeout: 272 seconds]
jeregrine has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @lilyball opened pull request #63597 → ffsend: 0.2.46 -> 0.2.48 → https://git.io/fjVxq
<{^_^}> [nixpkgs] @marsam merged pull request #63340 → pulumi-bin: 0.17.14 -> 0.17.17 → https://git.io/fjaK6
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjVxY
rprije has quit [Ping timeout: 272 seconds]
jgt has joined #nixos
rprije has joined #nixos
Rusty1 has joined #nixos
stepcut has joined #nixos
andymandias has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
jluttine has quit [Ping timeout: 272 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
v88m has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjVxu
zfnmxt_ has joined #nixos
kvda has joined #nixos
stepcut has quit [Remote host closed the connection]
jluttine has joined #nixos
ericsagnes has quit [Ping timeout: 272 seconds]
jluttine has quit [Ping timeout: 245 seconds]
zfnmxt has quit [Disconnected by services]
zfnmxt has joined #nixos
zfnmxt has quit [Disconnected by services]
zfnmxt_ is now known as zfnmxt
zfnmxt has joined #nixos
zfnmxt has quit [Changing host]
ris has quit [Ping timeout: 260 seconds]
psy3497 has joined #nixos
zfnmxt_ has joined #nixos
stepcut has joined #nixos
jbaum98 has quit [Quit: Connection closed for inactivity]
ericsagnes has joined #nixos
thc202 has quit [Ping timeout: 252 seconds]
jgt has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
dansho has joined #nixos
<stepcut> is there a trivial way to modify this file and update my system? It seems to be buried pretty deep in the core of nix, https://github.com/NixOS/nix/blob/6924bdf2bf8f50f2e6ec5d490571594450aba13a/misc/systemd/nix-daemon.service.in
st4ll1 has quit [Ping timeout: 246 seconds]
jluttine has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.4]
acarrico has quit [Ping timeout: 245 seconds]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
<rprije> Say I have 2 pieces of software A and B. Software B depends on software A. I already have an instantiated derivation for software A. I want to use this in a nix expression for building software B in such a way that it would build exactly the same software. Is there a way to extract a meaningful nix expression from a nix store derivation for reproducing that derivation?
<{^_^}> [nixpkgs] @Infinisil opened pull request #63598 → nixos/zfs: Remove requestEncryptionCredentials assertion → https://git.io/fjVpY
o1lo01ol1o has joined #nixos
cjpbirkbeck has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<clever> rprije: there is no real way to turn a drv back into a nix expr, but you can just use import to load the original nix file
sb0 has joined #nixos
stepcut has quit [Remote host closed the connection]
freeman42x has quit [Ping timeout: 252 seconds]
jgt has joined #nixos
<rprije> clever, ah thanks. Yeah, I was hoping to not have to check out the repo for the other software just to access the nix expr and generate a derivation for what I intend to be a cache hit on a drv I built earlier.
jgt has quit [Ping timeout: 252 seconds]
stepcut has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
<clever> rprije: you dont have to checkout a copy yourself, import from derivation
<clever> rprije: import (pkgs.fetchFromGitHub { ...})
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
rwe has joined #nixos
alex`` has joined #nixos
jasongrossman has joined #nixos
stepcut has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 244 seconds]
ddellacosta has joined #nixos
ZaraChimera has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
zfnmxt has quit [Ping timeout: 245 seconds]
zfnmxt has joined #nixos
Guanin has quit [Remote host closed the connection]
ffl^ has joined #nixos
oborot has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
justanotheruser has joined #nixos
Supersonic has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @aszlig pushed to master « ip2unix: 2.0.1 -> 2.1.0 »: https://git.io/fjVhJ
Supersonic has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
kvda has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #63599 → nixos/openvpn: support setting IP forwarding → https://git.io/fjVhL
<{^_^}> [nixpkgs] @peterhoeg merged pull request #63597 → ffsend: 0.2.46 -> 0.2.48 → https://git.io/fjVxq
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjVh3
ilikeheaps has quit [Ping timeout: 248 seconds]
ilikeheaps has joined #nixos
xavierm02 has joined #nixos
<{^_^}> [nixpkgs] @steadmon opened pull request #63600 → fail2ban: fix dovecot filter's journalmatch → https://git.io/fjVhc
gspia has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adamantium has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
jasongrossman has quit [Ping timeout: 272 seconds]
shibboleth has joined #nixos
reinhardt has joined #nixos
mexisme_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
gratto has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
jasongrossman has joined #nixos
kvda has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.5]
domogled has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
Xal has quit [Ping timeout: 244 seconds]
Xal has joined #nixos
oborot has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Okinan has quit [Quit: Konversation terminated!]
o1lo01ol1o has joined #nixos
dansho has quit [Ping timeout: 272 seconds]
drakonis_ has quit [Ping timeout: 250 seconds]
Okinan has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
fusion809 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #63601 → postgresql: 9.4.22 -> 9.4.23, 9.5.17 -> 9.5.18, 9.6.13 -> 9.6.14, 10.8 -> 10.9, 11.3 -> 11.4 → https://git.io/fjVhP
MichaelRaskin has quit [Quit: MichaelRaskin]
kvda has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
sb0 has quit [Quit: Leaving]
orivej has joined #nixos
rwe has quit []
MmeQuignon has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Read error: Connection reset by peer]
drakonis has quit [Read error: Connection reset by peer]
mexisme_ has joined #nixos
domogled has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon2 is now known as Mateon1
mexisme_ has quit [Ping timeout: 245 seconds]
vmandela has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
shibboleth has quit [Quit: shibboleth]
alp has joined #nixos
kisik21 has joined #nixos
palo1 has joined #nixos
endformationage has quit [Ping timeout: 258 seconds]
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @kalbasit merged pull request #63552 → pdfcpu: init at 0.1.25 → https://git.io/fjVoB
<{^_^}> [nixpkgs] @kalbasit pushed 3 commits to master: https://git.io/fjVhb
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jbgi_ has joined #nixos
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon2 is now known as Mateon1
hyper_ch2 has joined #nixos
jasongrossman has joined #nixos
amorosa1984[m] has joined #nixos
kvda has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e68986fe9a4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mac10688 has joined #nixos
qqlq has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 386 commits to staging-next: https://git.io/fjVjq
st4ll1 has joined #nixos
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #63292 → [19.03] nomachine-client: 6.5.6 -> 6.7.6 → https://git.io/fja0s
<{^_^}> [nixpkgs] @etu pushed 3 commits to release-19.03: https://git.io/fjVj8
hmpffff has joined #nixos
goibhniu1 has joined #nixos
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
<vmandela> infinisil, ping
<ZaraChimera> Time for an experiment: install NixOS to a USB Flash drive.
rauno has joined #nixos
mac10688 has quit [Ping timeout: 244 seconds]
sb0 has joined #nixos
Ariakenom has joined #nixos
Ariakenom_ has joined #nixos
Ariakenom_ has quit [Remote host closed the connection]
drakonis has joined #nixos
<gchristensen> ZaraChimera: use a label for the root filesystem, and mount by label :)
drakonis_ has quit [Ping timeout: 268 seconds]
<ZaraChimera> I believe the manual includes that step. I know I need to change the mountpoint for the MBR to /dev/something
<ZaraChimera> Will it run without a swap partition?
jasongrossman has quit [Ping timeout: 246 seconds]
<gchristensen> yes
Ariakenom has quit [Quit: Leaving]
Tucky has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
Okinan has quit [Quit: Konversation terminated!]
zupo has joined #nixos
hmpffff has joined #nixos
mexisme_ has joined #nixos
zupo has quit [Client Quit]
<ZaraChimera> Okay, will be interesting to see how things go.
<{^_^}> [nixpkgs] @dingxiangfei2009 opened pull request #63603 → Enable cross compilation on buildGoPackage → https://git.io/fjweL
<ZaraChimera> I have been going through some tutorials on the nix expression language.
<ZaraChimera> I hope that 32GB will be sufficient given that the nix store will use a bit more memory than the usual distro. I have my files on separate drive.
<ZaraChimera> I would need a way to define a separate drive as my /home though.
kvaster has joined #nixos
Makaveli7 has joined #nixos
veske has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<clacke_movim> ZaraChimera: make sure you enable auto optimization in nix.conf
<clacke_movim> (or in the nix attrs in configuration.nix if you are on NixOS)
<ZaraChimera> This will be a NixOS install to a 32GB USB drive.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvaster has quit [Quit: Konversation terminated!]
<rnhmjoj> what do you think about not installing the obex tools by default when bluetooth is enabled? it amounts to 200MB and i'm not sure how many people send files over bluetooth, or is there any other use case?
<ashkitten> that does seem like a weird thing to have by default
Shoubit has joined #nixos
thc202 has joined #nixos
vidbina has joined #nixos
<etu> rnhmjoj: I mostly enable Bluetooth to use headphones. Getting 200MiB additional cruft that doesn't do anything with headphones is something I wouldn't see necessary.
<etu> To prove the point: your usecase isn't what everyone use it for
<rnhmjoj> i'm asking because i thinking to remove it
kvaster has joined #nixos
kvaster has quit [Client Quit]
kvaster_ has joined #nixos
<rnhmjoj> so, i'll open a PR soon. anyway, there really should be a user mechanism to remove packages from `environment.systemPackages`
lurpahi has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
srl295 has quit [Quit: Connection closed for inactivity]
<lurpahi> I presume I can ask about a little issue I'm having with Nix here?
mmercier has joined #nixos
<Taneb> Yes
kvaster_ has quit [Ping timeout: 245 seconds]
<lurpahi> Something I'm trying to get to work seems to want to do file permission things Nix doesn't want it to do. It's using an odd format for the source archive—".cpio.7z"—and I'm getting a "cpio: …: Cannot change mode to rwxrwsrwx: Operation not permitted" from a nix-build on it.
<lurpahi> Is that something I'd have to fix in the source?
<{^_^}> [nixpkgs] @basvandijk merged pull request #63556 → Backport "cargo-graph: init at 0.2.0-d895af1" to 19.03 → https://git.io/fjVKM
<{^_^}> [nixpkgs] @basvandijk pushed 3 commits to release-19.03: https://git.io/fjwvq
<{^_^}> [nixpkgs] @dingxiangfei2009 opened pull request #63604 → cni-plugins: add version pin → https://git.io/fjwvm
ilikeheaps has quit [Ping timeout: 245 seconds]
<etu> rnhmjoj: oh, I misread you there. Good idea :)
<rnhmjoj> etu: thank you, no problem
knupfer has joined #nixos
zupo has joined #nixos
lsyoyom has quit [Ping timeout: 248 seconds]
mexisme_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @wmertens pushed to node10-small « Add NodeJS v10 to nixos-small channel »: https://git.io/fjwva
is_null has quit [Ping timeout: 272 seconds]
is_null has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @wmertens opened pull request #63605 → Add NodeJS v10 to nixos-small channel → https://git.io/fjwvV
lsyoyom has joined #nixos
Soo_Slow has joined #nixos
andreas303 has quit [Remote host closed the connection]
andreas31 has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @cw789 opened pull request #63606 → [WIP] elixir_1_9: init at 1.9.0-rc.0 → https://git.io/fjwvx
m0rphism has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
dansho has joined #nixos
st4ll1 has quit [Ping timeout: 245 seconds]
arjen-jonathan has joined #nixos
is_null has quit [Ping timeout: 272 seconds]
psy3497 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #63607 → nixos/bluetooth: don't install obex tools by default → https://git.io/fjwf0
<{^_^}> [nixpkgs] @pmiddend opened pull request #63608 → SDL_gpu: init at 20190124 → https://git.io/fjwfz
<{^_^}> [nixpkgs] @tokudan opened pull request #63609 → udev: change error message if RUN entry is not executable → https://git.io/fjwf2
init_6 has joined #nixos
ilmu has joined #nixos
ilikeheaps has joined #nixos
sigmundv has joined #nixos
alp has quit [Ping timeout: 258 seconds]
johanot has joined #nixos
is_null has joined #nixos
ubert has joined #nixos
qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
qubasa has joined #nixos
jbgi_ has quit [Ping timeout: 258 seconds]
zupo has joined #nixos
zupo has quit [Client Quit]
st4ll1 has joined #nixos
sb0 has quit [Quit: Leaving]
logzet has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #63598 → nixos/zfs: Remove requestEncryptionCredentials assertion → https://git.io/fjVpY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjwJs
ilikeheaps has quit [Quit: Konversation terminated!]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b00b7970e94 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mexisme_ has joined #nixos
psyanticy has joined #nixos
cyphase has quit [Ping timeout: 268 seconds]
ilmu has quit [Ping timeout: 252 seconds]
kisik21 has quit [Remote host closed the connection]
turion has joined #nixos
ilmu has joined #nixos
<{^_^}> [nixpkgs] @yurrriq opened pull request #63610 → conftest: init at 0.7.0 → https://git.io/fjwJ2
fendor has joined #nixos
cyphase has joined #nixos
<fendor> in shell hooks, can I access attributes in variable interpolation? E.g., `export zlib_doc=${zlib.outputDoc}`?
<fendor> yes, I can, nice
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d3157cbede7 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ilmu has quit [Ping timeout: 250 seconds]
justanotheruser has quit [Read error: Connection reset by peer]
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #63507 → plex: 1.15.8.1198 -> 1.16.0.1226 → https://git.io/fjVGY
<{^_^}> [nix] @edolstra pushed to flakes « Fix 32-bit overflow with --no-net »: https://git.io/fjwUW
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fjwUl
<{^_^}> [nixpkgs] @edolstra closed pull request #63596 → fetchers: use a meaningful name → https://git.io/fjVAh
anton__ has quit [Remote host closed the connection]
anton_ has joined #nixos
justanotheruser has joined #nixos
<pie_> infinisil, so i have boot.zfs.enableUnstable = assert pkgs.zfsUnstable.name == "zfs-user-0.8.0"; true;
<pie_> but isnt that just the userspce package?
<infinisil> pie_: It's both used for that and the kernel thing I'm pretty sure
MichaelRaskin has joined #nixos
<infinisil> Yeah
<pie_> hm ok guess ill peak at the code
v88m has quit [Ping timeout: 248 seconds]
<pie_> i mean it works, so im not surprised
ilmu has joined #nixos
<infinisil> pie_: Note that you might run into #63598
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63598 (by Infinisil, 9 hours ago, merged): nixos/zfs: Remove requestEncryptionCredentials assertion
<pie_> infinisil, oh duh i just realized this only checks the name of the package, and presumably they would be in sync in nixpkgs
<pie_> so im not setting the version per se
MichaelRaskin has left #nixos [#nixos]
johanot has quit [Quit: WeeChat 2.4]
<pie_> hmm where does config.boot.kernelPackages come from
alex`` has quit [Ping timeout: 272 seconds]
alex``` has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #63612 → [WIP] Update Azure sdk → https://git.io/fjwTO
<infinisil> > :p nixos.options.boot.kernelPackages.files # pie_
<{^_^}> [ "/var/lib/nixbot/nixpkgs/master/repo/nixos/modules/system/boot/kernel.nix" ]
<infinisil> Or `nix-instantiate --eval --strict '<nixpkgs/nixos>' -A options.boot.kernelPackages.files`
<pie_> basically im looking to import it from nixpkgs unstable
hmpffff has joined #nixos
<pie_> infinisil, ^
<infinisil> pie_: Why not update your channel to nixos-unstable?
<pie_> no good reason, ill probably do that later but now i want to see if i can do this
FRidh has joined #nixos
<infinisil> Well you can just set boot.kernelPackages to something like `(import <unstable> {}).linuxPackages`
<infinisil> pie_: I'd recommend nixos-unstable though, not nixpkgs-unstable
ub has joined #nixos
hmpffff has quit [Read error: Connection reset by peer]
<pie_> infinisil, yeah
hmpffff has joined #nixos
<pie_> infinisil, ok got around to checking what the options search says about boot.kernelackages and now i see its just linupackags
ubert has quit [Ping timeout: 268 seconds]
<pie_> infinisil, i tried to override this like the fool that i am, but i dont actually see a way to do that, so i guess i have to splice from unstable into my current nixpkgs? https://github.com/NixOS/nixpkgs/blob/303729afa024a8bbf2b72ff9ee17cf7acf8cdbb3/nixos/modules/tasks/filesystems/zfs.nix#L26
hmpffff_ has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #63613 → nixos/acme: switch to lego and support DNS challenge (WIP) → https://git.io/fjwTX
hmpffff has quit [Ping timeout: 272 seconds]
<__monty__> How do I find out the closure of a package? Specifically, I'd like to find out the glibc version some of the irssi's in my store depend on.
mexisme_ has quit [Ping timeout: 272 seconds]
<pie_> __monty__, idk off the top of my head but nix-store --query should have something
<infinisil> __monty__: pie_: Yeah, somethin glike nix-store -qR | grep glibc
<pie_> __monty__, maybe --requisites
<leotaku> What is the reason for "pulseaudio" being situated under "hardware" in configuration.nix?
* pie_ points at infinisil
<pie_> y u so OP
<pie_> :P
<infinisil> I'm just using nix-store -q so often :)
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
<__monty__> infinisil++ pie_++
<{^_^}> infinisil's karma got increased to 105, pie_'s karma got increased to 3
qqlq has joined #nixos
<__monty__> Hmm, the glibc paths *do* differ but the versions are all 2.27...
<infinisil> You can check with --tree where each of them comes from
MmeQuignon has joined #nixos
cocreature has joined #nixos
<pie_> old machne still uses channels, have the same channels for user and root, updated user channels, root still having old package versions -> confusion -> "aha"
veske2 has joined #nixos
veske has quit [Ping timeout: 245 seconds]
hmpffff has joined #nixos
Anton-Latukha has joined #nixos
hmpffff_ has quit [Ping timeout: 246 seconds]
<__monty__> Turns out I have 10 store paths for glibc-2.27
o1lo01ol1o has joined #nixos
orivej has joined #nixos
ThatDocsLady has joined #nixos
<pie_> i tried to google but cant find any of the nice cli snippets for showing nix space usage
<gchristensen> nix-du ?
<pie_> gchristensen, thts graphical
<pie_> and i dont want to garbage collect all the updates i just downloaded to install it :P
<pie_> maybe can be added to https://nixos.wiki/wiki/Storage_optimization or something, couldnt think of any good google searches offhand
* pie_ shrugs, runs optimise-store
<pie_> oh cool if zou use nix optimise-store it shows progress
karetsu has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/303729afa02 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
hmpffff_ has joined #nixos
<fendor> infinisil, i solved the problem, I should have added ${pcre.out} to the LD_LIBRARY_PATH instead of ${pcre}. Now it is correct
<infinisil> fendor: Ah darn
johanot has joined #nixos
<infinisil> > pcre.outputs
<{^_^}> [ "bin" "dev" "out" "doc" "man" ]
<fendor> exactly
hmpffff has quit [Ping timeout: 248 seconds]
<infinisil> > getLib pcre
<{^_^}> "<derivation /nix/store/vn7vbfwxszygq4ppyjnd20ngkmj3hqlj-pcre-8.43.drv>"
<fendor> it was very educational to play around in nix repl, comparing it with zlib until I found the issue :)
<fendor> I think, I even understand it
<infinisil> Oh and actually
<infinisil> > lib.mkLibraryPath [ pcre ]
<{^_^}> attribute 'mkLibraryPath' missing, at (string):255:1
<infinisil> > lib.makeLibraryPath [ pcre ]
<{^_^}> "/nix/store/60zrgf37rwbg427m7mic5g4c7x8pknvc-pcre-8.43/lib"
<johanot> what is the easiest way of setting oraclejdk.accept_license = true; just for a single nix-build invocation?
<infinisil> fendor: makeLibraryPath should always do the right thing
veske2 has quit [Read error: Connection reset by peer]
veske2 has joined #nixos
<fendor> infinisil, dammit! could have been way easier. However, do I have to fiddle with LD_LIBRARY_PATH?
<infinisil> johanot: nix-build '<nixpkgs>' --arg config '{ oraclejdk.accept_license = true; }' -A oraclejdk
<infinisil> fendor: I think you might have to because your cabal doesn't come from Nix
<infinisil> With Nix-built things you usually don't have to mess with that
<fendor> infinisil, I see, thanks!
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/fjwka
<{^_^}> [nix] @edolstra merged pull request #2961 → Added tests for the `nix flake` CLI → https://git.io/fjVBy
<infinisil> :)
Mateon1 has quit [Ping timeout: 258 seconds]
Mateon1 has joined #nixos
<johanot> infinisil: great thanks! :) don't wanna accept that license globally/forever.
<{^_^}> [nixpkgs] @AluisioASG opened pull request #63614 → libreoffice-fresh: 6.2.3.2 -> 6.2.4.2 → https://git.io/fjwkr
rauno has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @petabyteboy opened pull request #63615 → hcloud: v1.11.0 -> v1.12.0 → https://git.io/fjwkX
hmpffff has joined #nixos
hmpffff_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63420 → mullvad-vpn: init at 2019.5 → https://git.io/fjadz
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjwk7
is_null has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #63616 → tensorflow: re-enable build from source → https://git.io/fjwkb
init_6 has quit [Read error: Connection reset by peer]
ub has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #63614 → libreoffice-fresh: 6.2.3.2 -> 6.2.4.2 → https://git.io/fjwkr
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjwkA
o1lo01ol1o has joined #nixos
init_6 has joined #nixos
Neo-- has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
<azazel> fpletz: ayt? The event in Munich will be in english or german?
ubert has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
<pie_> infinisil, would zfs deduplication make nix store optimization redundant_
<pie_> ?
<gchristensen> sure
<pie_> or is there a file level / block level mismatch_
loka has joined #nixos
veske2 has joined #nixos
Profpatsch has quit [Ping timeout: 272 seconds]
<loka> Hello everyone, I wonder what is the nixos option to set extra kconf for the kernel?
vmandela has quit [Quit: Leaving]
computer has joined #nixos
init_6 has quit []
ThatDocsLady_ has joined #nixos
reinhardt has quit [Quit: Leaving]
init_6 has joined #nixos
disasm has joined #nixos
ThatDocsLady has quit [Ping timeout: 252 seconds]
init_6 has quit [Client Quit]
veske2 has quit [Quit: This computer has gone to sleep]
veske2 has joined #nixos
is_null has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
iyzsong has joined #nixos
hmpffff_ has joined #nixos
npmccallum has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/fjwI7
xkapastel has quit [Quit: Connection closed for inactivity]
hmpffff has quit [Ping timeout: 246 seconds]
ThatDocsLady_ has quit [Quit: Leaving]
ThatDocsLady has joined #nixos
ThatDocsLady has quit [Client Quit]
dansho has quit [Ping timeout: 248 seconds]
johanot has joined #nixos
ThatDocsLady has joined #nixos
mq32 has joined #nixos
<{^_^}> [hydra] @nlewo opened pull request #657 → Create `pg_trgm` extension in the NixOS module → https://git.io/fjwLL
andreas31 has quit [Remote host closed the connection]
dansho has joined #nixos
loka has quit [Ping timeout: 256 seconds]
codezero has joined #nixos
ThatDocsLady_ has joined #nixos
init_6 has joined #nixos
ThatDocsLady has quit [Read error: Connection reset by peer]
andreas303 has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
lopsided98 has joined #nixos
lopsided98_ has quit [Ping timeout: 252 seconds]
Soo_Slow has quit [Remote host closed the connection]
trevorriles has joined #nixos
veske2 has quit [Ping timeout: 244 seconds]
ThatDocsLady_ is now known as ThatDocsLady
<{^_^}> [nixpkgs] @johanot opened pull request #63618 → tomcat: CVE-2019-10072 → https://git.io/fjwL4
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
pie_ has joined #nixos
kvaster_ has joined #nixos
JosW has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
st4ll1 has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b6be4a44d89 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
init_6 has quit []
siel has joined #nixos
siel has joined #nixos
siel has quit [Changing host]
init_6 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
kvaster_ has quit [Ping timeout: 258 seconds]
npmccallum has quit [Quit: npmccallum]
Neo-- has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @entonderfurchtlose opened pull request #63620 → mathematica: 11.3 -> 12.0 → https://git.io/fjwte
stepcut has joined #nixos
erictapen has joined #nixos
xkapastel has joined #nixos
ffl^ has quit []
tsrt^ has joined #nixos
<erictapen> I try to override the extraMakeFlags attribute of firefox with an overlay but for some reason it seems to be more complicated than I expected it to be. Any hints?
<erictapen> (self: super: { firefox = super.firefox.override { extraMakeFlags = [ "NSS_ALLOW_SSLKEYLOGFILE=1" ]; }; })
<{^_^}> [nixpkgs] @veprbl pushed to master « Revert "python: buildbot: 2.3.0 -> 2.3.1" »: https://git.io/fjwtz
is_null has quit [Ping timeout: 245 seconds]
rsa has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @veprbl pushed to master « Revert "python: buildbot-pkg: 2.3.0 -> 2.3.1" »: https://git.io/fjwto
Anton-Latukha has quit [Remote host closed the connection]
is_null has joined #nixos
o1lo01ol1o has joined #nixos
Anton-Latukha has joined #nixos
alp has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed to master « Revert "python: buildbot-worker: 2.3.0 -> 2.3.1" »: https://git.io/fjwty
o1lo01ol1o has quit [Ping timeout: 252 seconds]
hmpffff has joined #nixos
rsa has joined #nixos
npmccallum has joined #nixos
hmpffff_ has quit [Ping timeout: 272 seconds]
bbarker has joined #nixos
<{^_^}> [hydra] @nlewo opened pull request #658 → test.api: use Hydra perl dependencies to run `api-test.pl` → https://git.io/fjwtx
hyper_ch2 has quit [Quit: Page closed]
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<disasm> I accidentally did nixos-container login instead of root-login... How do I exit the login prompt?
<bbarker> I just added something to my system.activationScripts which doesn't seem to be working, even after rebuilding and rebooting the system; is there a way to inspect the generated script, or force it to be run?
<disasm> I just did ~. to kill the ssh session, but still interested if there's a proper way
<bbarker> disasm pressing enter will cancel authentication
<bbarker> it is the unspoken 4th option :-)
<disasm> I hit enter 100 times... it just kept going back
<bbarker> (or n+1th option where n is the # of users)
<bbarker> hmm
<disasm> ah it says ^] three times
<disasm> I should learn to read :)
mkkane has joined #nixos
siel has quit [Remote host closed the connection]
Soo_Slow has joined #nixos
peter has joined #nixos
<peter> hey guys
peter is now known as Guest61418
Guest61418 is now known as elux
<elux> im doing some JS/node dev on my nixos desktop, and some modules come with bins, and unfortunately I can't run any of them without patchelf -- is there some easier way for me to do this in a sane way? i can't reasonably patch all the node_modules ..
__monty__ has quit [Ping timeout: 245 seconds]
<elux> like if i run some nix-shell thing, and everything in there uses the same linker or something?
turion has quit [Quit: Leaving.]
<lassulus> elux: you can try something like this: http://p.krebsco.de/0br2d4d
<elux> ok nice, thx i will try this
hmpffff has quit [Quit: nchrrrr…]
mmercier has quit [Quit: mmercier]
<lassulus> you can enter the env with nix-shell
<elux> nix-shell -p file.nix ?
<elux> says syntax error near line 28, which is line: }).env
<lassulus> nix-shell file.nix
<elux> thx
erictapen has quit [Ping timeout: 268 seconds]
__monty__ has joined #nixos
erictapen has joined #nixos
<elux> making progress, now ill just add some more packages to fix the deps, thanks lassulus
<elux> how is it that this works, yet doesnt work in my normal system?
<lassulus> exaclty, if you don't need 32bit support I guess you can just use targetPkgs
<elux> is nix-shell a special environment? makes it feel like its own isolated system, and things within can find the necessary libaries/linkers, etc?
<lassulus> run ls -la on /
<lassulus> it creates the legacy links for /bin /lib and stuff
<clever> elux: it does that entirely with env variables
knupfer has quit [Ping timeout: 276 seconds]
<clever> oh, buildFHSUserEnv, yeah, that may behave differently
<{^_^}> [nixpkgs] @matthewbauer pushed to master « gstreamer: don’t use libvisual »: https://git.io/fjwqw
<stepcut> I patched the nix-daemon.service.in file in the nix derivation. I installed the new nix package and my patch is there. But /etc/systemd/system still links to the unpatched version of nix. I am pretty sure it is because of this line, https://github.com/NixOS/nixpkgs/blob/395da1280e8146e47eb0dc1c9bc10284fe0334f1/nixos/modules/services/misc/nix-daemon.nix#L410
<clever> stepcut: line 414 is to blame, its ignoring the .service file in nix itself
<stepcut> but.. I am not sure how to update that to refer to my new version. (I should have mentioned that I patched the nix derivation via overrideAttrs in my ~/.nixpkgs/config.nix)
<clever> stepcut: nixos is dynamically generating a service file, based on lines 414-432
<clever> stepcut: what are you trying to do with the patch?
<{^_^}> [nixpkgs] @Profpatsch opened pull request #63621 → yj: init at 4.0.0 → https://git.io/fjwqP
<stepcut> clever: I think it is using the .service file in nix, /etc/systemd/system/nix-daemon.service -> /nix/store/sdd0nizfdgv7k0niw7dryikzpq8marrz-nix-2.2.2/lib/systemd/system/nix-daemon.service
<stepcut> the file in etc is just a symlink to the file provided by the nix package. When I change the nix-daemon.service.in file, the changes end up in lib/systemd/system/nix-daemon.service
o1lo01ol1o has joined #nixos
<clever> stepcut: is this on nixos?
<stepcut> the only trouble seems to be that /etc is linking to the old unpatched version of nix
<stepcut> this is on nixos
<{^_^}> [nixpkgs] @cleverca22 pushed 0 commits to ast: https://git.io/fjwqD
<clever> crap, lol
<{^_^}> [nix] @edolstra pushed 0 commits to lazy-multi-command: https://git.io/fjwqy
<{^_^}> [nix] @edolstra pushed 0 commits to app-improvements: https://git.io/fjwqS
<{^_^}> [nix] @edolstra pushed 0 commits to no-net: https://git.io/fjwq9
<{^_^}> [nix] @edolstra pushed 0 commits to run-in-pts: https://git.io/fjwqH
<{^_^}> [nixpkgs] @cleverca22 pushed 0 commits to ast: https://git.io/fjwqQ
<{^_^}> [nix] @edolstra pushed 0 commits to github-test: https://git.io/fjwq7
<clever> stepcut: note, that ~/.nixpkgs/config.nix has zero impact on nixos
<clever> stepcut: you want to use nixpkgs.config within configuration.nix
<stepcut> ah
<stepcut> I have vague memories of this from dealing with nixops
<clever> stepcut: and the nix.package option to tell it which nix to use
Tucky has quit [Quit: WeeChat 2.5]
<dsx> Apart from home-manager, is there a way to manage user home?
<elux> my system is trying to find libatk-bridge-2.0.so.0 but im unsure which package this comes from -- google didn't seem to turn up results, any suggestions how to hunt these down?
<clever> dsx: you could use activation scripts, or a systemd user unit
<clever> $ nix-locate libatk-bridge-2.0.so
<clever> at_spi2_atk.out 238,496 x /nix/store/0ig02wzzjm4bz16zp99ff3zm5xn097qj-at-spi2-atk-2.22.0/lib/libatk-bridge-2.0.so.0.0.0
bgamari has quit [Ping timeout: 252 seconds]
bgamari has joined #nixos
<elux> thanks clever
<dsx> clever: yeah, that could work too
<dsx> I guess home-manager is pretty much standard way of doing things at this point, am I right?
<clever> dsx: ive yet to try home-manager, i just manage home myself
<{^_^}> [nixpkgs] @domenkozar pushed to master « duplicati: 2.0.3.3 -> 2.0.4.5 »: https://git.io/fjwme
endformationage has joined #nixos
fendor has quit [Quit: Leaving]
linarcx has joined #nixos
is_null has quit [Ping timeout: 246 seconds]
erasmas has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #63622 → nixos/zoneminder: fix some issues with database.createLocally option → https://git.io/fjwmm
<stepcut> clever: ok! That worked with some hacks. I also realized that my true problem was that I did not add nixpgks.overlays in my configuration.nix. Despite what I told you earlier, I was overriding the nix derivation in an overlay not ~/.nixpkgs/config.nix. But, I forgot that nix-build/nix-env know about the overlays via ~/.config/nixpkgs/overlays.nix and nixos wouldn't see that
<{^_^}> [nixpkgs] @clayrat opened pull request #63623 → idrisPackages.tparsec: 2018-12-21 -> 2019-06-18 → https://git.io/fjwms
<infinisil> Nice, the new systemd uses different colors/opacities for journalctl depending on message importance
<dsx> infinisil: out of the box?
<gchristensen> yeah =)
<infinisil> dsx: Seems so yeah, I didn't have to change anything for this to happen
<dsx> Nice
<gchristensen> it has done that a long time for syslog based messages
Soo_Slow has quit [Remote host closed the connection]
adamantium has quit [Ping timeout: 250 seconds]
wfranzini has quit [Remote host closed the connection]
drakonis_ has joined #nixos
<erasmas> is there a way to create a nix closure within a nix expression? like a build script that runs nix-store --export $(nix-store -qR <paths>)
<gchristensen> sure
<gchristensen> look at pkgs.closureInfo
<clacke_movim> Oh wow
<erasmas> does $out/store-paths contain a copy of all the paths then? I thought closureInfo was for metadata and info only
drakonis has quit [Ping timeout: 257 seconds]
<andi-> it contains all the paths
<gchristensen> a list of paths. what you do with it is up to you :)
<gchristensen> for example, you could use it to make a squashfs image for a server, or a tarball for a docker image
<erasmas> ok thank you both
<erasmas> and yes, it's for docker
<erasmas> nix-copy-closure doesn't support other connection types besides ssh right?
<andi-> Most of the time I am interested in the raw .attrs.json and just roll my own since I need the paths for say systemd service sto restrict accessible paths.
<gchristensen> erasmas: what for, for docker?
sigmundv has quit [Ping timeout: 245 seconds]
<erasmas> the tl;dr is I needed a way for hydra to create prepared environments that reference some non-nix utilities (because of audit requirements to manage those outside nix)
arjen-jonathan has quit [Ping timeout: 268 seconds]
<erasmas> so most things in nix, launches a build in docker, exports the prepared environment as a nix package
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> oof
<gchristensen> cool :)
<erasmas> I didn't start the project but it'll be open source. one of those things either no one else needs, or maybe it'll help some businesses adopt nix
trevorriles has joined #nixos
sb0 has joined #nixos
<andi-> I would totally by a way to build debian packages on very old Debian releases with nix without inventing it myself..
<NemesisD> folks who use cabal + nix for development: what do you use for interactive rebuilds/tests? AFAICT you literally can't get ghcid to load the project's library and test suite at once
<clever> NemesisD: ghcid -c "runhaskell Setup.hs repl"
<clever> NemesisD: and yeah, that repl wont deal with the library changing under the tests
<clever> NemesisD: i just add the library srcs to the test and remove the dependency on the library, most of the time
<NemesisD> :/
<NemesisD> i'm just gonna `watchexec --clear cabal new-test` for now
<clever> NemesisD: one min
<clever> $ ghcid --help
<clever> --restart=PATH Restart the command when the given file or directory
<clever> contents change (defaults to .ghci and any .cabal file)
<clever> NemesisD: any time the given path is modified, it will quit and re-run `runhaskell Setup.hs repl`
<clever> then cabal will build the library, and then re-repl the tests
<NemesisD> clever: is `runhaskell Setup.hs repl` preferable to `cabal new-repl` here? i don't actually seem to have as Setup.hs
arjen-jonathan has joined #nixos
<clever> NemesisD: `runhaskell Setup.hs repl` is identical to `cabal repl`, but saves you from having to install cabal-install
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #63624 → youtube-dl: 2019.06.08 -> 2019.06.21 → https://git.io/fjwm5
<NemesisD> clever: it doesn't seem to pick up the library source changes. i'm providing a test target, e.g. `ghcid --restart src --command "cabal new-repl my-package-tests" --test Main.main`
<clever> NemesisD: i think you need to give it files
<NemesisD> clever: --restart? it says it takes directories. and it does seem to flash the console when a source file changes
drakonis_ has quit [Ping timeout: 268 seconds]
<clever> NemesisD: the quick flash is just it doing :r in ghci i believe
<clever> which wont reload the libraries it depends on
<clever> ive also not used the new-repl stuff at all
<clever> i work exclusively in old-repl
<NemesisD> that's what i've been using with nix as per whatever haskell and nix guide i followed
<NemesisD> i'm just going to use watchexec and quit while i'm ahead
drakonis_ has joined #nixos
dftxbs3e has quit [Quit: Leaving.]
drakonis has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #63625 → youtube-dl: 2019.06.08 -> 2019.06.21 [19.03] → https://git.io/fjwmp
erictapen has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 272 seconds]
dftxbs3e has joined #nixos
dftxbs3e has quit [Client Quit]
drakonis_ has quit [Ping timeout: 245 seconds]
dftxbs3e has joined #nixos
ubert has quit [Quit: Leaving]
arjen-jonathan has quit [Ping timeout: 258 seconds]
erictapen has joined #nixos
Drakonis__ has joined #nixos
drakonis1 has quit [Ping timeout: 252 seconds]
<erasmas> hm, closureInfo always creates a store-paths file with just one path in it. to get everything it looks like I'll need a nix expression that takes a package and creates a set with all of its runtime dependencies like { dependency1 = /nix/store/<hash>dependency1; dependency2...}
<erasmas> are there any builtin or other functions to do that?
<clever> erasmas: buildEnv, or writeText
is_null has joined #nixos
elux has quit [Quit: leaving]
init_6 has quit []
<erasmas> I am looking for a function that can take a package (or a path) as its argument and create a set containing all the dependencies (either as packages or paths)
<erasmas> I'm probably missing something but I don't see how to use buildEnv or writeText for that
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> erasmas: you cant really get that sanely at eval time, without IFD (which is messy)
<clever> erasmas: why do you need it at eval time?
trevorriles has joined #nixos
<erasmas> I need to be able to copy nix dependencies into a container. there's no ssh to use nix-copy-closure so I wanted to use nix-store --export, which works perfectly
<erasmas> however, I can't call nix-store from within a build script in a nix expression (I get errors that it's unable to access the nix db)
<clever> erasmas: create a derivation, that will use runCommand to do
<clever> for x in $(cat ${pkgs.closureInfo foo}/thing); do
<clever> erasmas: then loop over every path in the closure
<clever> now you dont know the paths until bash time, and the job is still done
<erasmas> ok, I will test that out. thanks clever
hio has quit [Quit: Connection closed for inactivity]
is_null has quit [Ping timeout: 246 seconds]
erictapen has quit [Ping timeout: 248 seconds]
logzet has quit [Ping timeout: 252 seconds]
logzet has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/fjwYV
skdfjh has joined #nixos
kragniz has joined #nixos
ris has joined #nixos
<skdfjh> Is there a way to debug an unpackPhase during a nixops deploy? I try redirecting to stderr and still don't see any output.
kragniz is now known as kgz
<clever> skdfjh: run `nix-store -r` on the .drv file that is failing to build
ddellacosta has joined #nixos
<clever> skdfjh: and also `nix show-derivation` on that same drv
ThatDocsLady has quit [Ping timeout: 244 seconds]
mkkane has quit [Remote host closed the connection]
<skdfjh> It's just that I'm trying to package a go program (built with go modules). The only thing is that the original git repo has a bunch of utilities in one package (so you'd cd into a subdirectory and run go build . there).
<skdfjh> So I thought of doing unpackPhase = ''unpackPhase
<Izorkin> Please check PR #63355
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63355 (by Izorkin, 3 days ago, open): mariadb: 10.3.15 -> 10.3.16
skdfjh has quit [Quit: Page closed]
skdfjh has joined #nixos
<skdfjh> mv subdir/* . '';
<clever> skdfjh: you want to append to sourceRoot in postUnpack
<clever> postUnpack = "sourceRoot+=/socket-io; echo source root reset to $sourceRoot";
thc202 has quit [Ping timeout: 258 seconds]
danielrf[m] has joined #nixos
thc202 has joined #nixos
Interstitial has joined #nixos
<skdfjh> Thanks.
computer has quit [Ping timeout: 256 seconds]
Shoubit has quit [Ping timeout: 246 seconds]
<Interstitial> Hey guys, sort of newbie nixos user here. I've been running into a really weird issue and don't see anyone else who has the same issue. Every time I try to rebuild switch, I don't see an output of hash files (indicating no changes) and then, bizarrely, I get disconnected from my ethernet connection. Get disconnected from wifi too. Tried everything I knew to, even rebooting, but nothing works.
hmpffff has joined #nixos
<Interstitial> Thanks for your consideration, and let me know if I've made any social faux pas
Diagon has quit [Read error: Connection reset by peer]
linarcx has quit [Ping timeout: 248 seconds]
hmpffff has quit [Client Quit]
<ivan> Interstitial: is it restarting any services?
<skdfjh> reset: postUnpack = "sourceRoot+=/socket-io; echo source root reset to $sourceRoot"; doesn't output sourceRoot
<clever> skdfjh: you need to be using the default unpackPhase for it to work
<ivan> Interstitial: you can also check journalctl -b and go to the end with shift-g to see if anything odd happens after the rebuild
linarcx has joined #nixos
<skdfjh> clever: I removed my unpackPhase, so now it's just modSha256 and postUnpack
<fasd> I'm trying to declaratively add some unstable packages to my configuration.nix using this: https://stackoverflow.com/questions/48831392/how-to-add-nixos-unstable-channel-declaratively-in-configuration-nix
<clever> skdfjh: can you pastebin your current nix file?
<fasd> it works for nixos-rebuild but not nixos-install
<fasd> due to some invalid nix store error
freeman42x has joined #nixos
<fasd> why would this happen?
<tilpner> Also paste the error
<tilpner> Do you have nixos-unstable defined with nix-channel?
<{^_^}> [nixpkgs] @timokau merged pull request #63624 → youtube-dl: 2019.06.08 -> 2019.06.21 → https://git.io/fjwm5
<{^_^}> [nixpkgs] @timokau pushed to master « youtube-dl: 2019.06.08 -> 2019.06.21 (#63624) »: https://git.io/fjwOt
<{^_^}> [nixpkgs] @timokau merged pull request #63625 → youtube-dl: 2019.06.08 -> 2019.06.21 [19.03] → https://git.io/fjwmp
<{^_^}> [nixpkgs] @timokau pushed to release-19.03 « youtube-dl: 2019.06.08 -> 2019.06.21 (#63625) »: https://git.io/fjwOq
<fasd> It'll take me a while to get the error, but I'm adding it with fetchTarball
stranger___ has joined #nixos
<stranger___> what do you think about this package? #61826
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61826 (by gnidorah, 4 weeks ago, open): video2midi: init at 0.3.7
<Interstitial> Ivan: in journalctl it appears to be looking for monitored file /etc/netgroup but fails to find it, might be releavent
<ivan> Interstitial: I have that message too so I guess it doesn't matter
<clever> skdfjh: private git repo? you want builtins.fetchGit
<skdfjh> clever: I was having issues with it before. Would that be the source of the problem?
<clever> skdfjh: that would just make the code cleaner
<skdfjh> clever: true, but IIRC, I was having authentication issues.
<clever> skdfjh: it will use your ssh agent to auth
<stepcut> clever: FYI. I added `Environment=SSH_AUTH_SOCK=/tmp/nix-daemon-ssh-agent` to nix-daemon.service. If I run `ssh-agent -a /tmp/nix-daemon-ssh-agent` I can then run `SSH_AUTH_SOCK=/tmp/nix-daemon-ssh-agent ssh-add` and add keys that nix-daemon can use. Next step is to create another systemd service that starts the ssh-agent that nix-daemon will use
<clever> stepcut: sounds like thats all right
<stepcut> clever: yup!
<Interstitial> I also see a few service based activations / deactivations but none of them look relevant
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> skdfjh: i see the problem, src goes to one derivation, postUnpack goes to another, so you cant use postUnpack, and you cant even use unpackPhase
<clever> skdfjh: you must use runCommand to mutate the path before it goes into src
<clever> skdfjh: thing = runCommand "name" {} "cp -rv ${thing2}/thing3 $out"
<clever> skdfjh: and thing2 = fetch-it-from-git-somehow;
<clever> skdfjh: then src = thing;
<ivan> Interstitial: really odd behavior like this is sometimes a systemd/linux/hardware bug, maybe file a bug on nixpkgs with your details
hyper_ch has quit [Quit: ZNC 1.7.3 - https://znc.in]
veske has joined #nixos
<ivan> lshw might be relevant
halfbit has joined #nixos
Diagon has joined #nixos
trevorriles has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #63626 → firefoxPackages.tor-browser: 8.5.0 -> 8.5.2 → https://git.io/fjwOW
trevorriles has quit [Client Quit]
<skdfjh> clever: Thanks. But what does the "name" argument do?
<skdfjh> to runCommand
<{^_^}> [nixpkgs] @kuznero closed pull request #62879 → notes-up: add missing default adwaita-icon-theme → https://git.io/fjzdz
<clever> skdfjh: thats the name that winds up in the $out path
<pie_> huh cool, apparently chicken 5 has reproducible compilation
<Interstitial> Here's my lshw https://pastebin.com/74peJiEL
drakonis1 has joined #nixos
hyper_ch has joined #nixos
<skdfjh> clever: thanks
Mateon1 has quit [Ping timeout: 244 seconds]
niten has joined #nixos
Mateon1 has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
veske has quit [Quit: This computer has gone to sleep]
drakonis1 has quit [Ping timeout: 252 seconds]
<ivan> Interstitial: does your /etc/resolv.conf have nameservers after a rebuild?
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon1 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #63526 → eksctl: 0.1.35 -> 0.1.38 → https://git.io/fjVRP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjwO2
<Interstitial> Ivan: No it does not! It disappears after a rebuild
<clever> Interstitial: can you ping 8.8.8.8?
<Interstitial> You mean immediately after a rebuild? let me check
<Interstitial> I can ping 8.8.8.8 after a rebuild, but nothing else
<Interstitial> ping www.google.com fails, for instance
<clever> Interstitial: then its only a dns problem, and i believe a ticket is already open for it
<clever> Interstitial: the wifi and ethernet are not down
<{^_^}> #61490 (by angristan, 5 weeks ago, open): Empty networking.nameservers wipes /etc/resolv.conf after a rebuild
<Interstitial> This is definitely my issue, thank you guys so so much
<Interstitial> So I just need to configure my resolv.conf ?
<clever> Interstitial: i think the problem is caused by setting nameservers to an empty list
<clever> so if you dont set it at all, it will obey dhcp
<clever> but you can also just set it to the right server
Soo_Slow has joined #nixos
<nilsirl[m]> I have installed the alacritty terminal but for some reason I don't think the terminfo is loaded correctly as I don't get any colours in vim
<nilsirl[m]> (nvim
<nilsirl[m]> )
emilis has joined #nixos
<{^_^}> [nixpkgs] @joachifm pushed to master « tor-browser-bundle-bin: 8.5.1 -> 8.5.3 »: https://git.io/fjwO1
<{^_^}> [nixpkgs] @joachifm merged pull request #63626 → firefoxPackages.tor-browser: 8.5.0 -> 8.5.2 → https://git.io/fjwOW
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjwOM
<{^_^}> [nixpkgs] @LnL7 opened pull request #63627 → gstreamer: fix darwin build → https://git.io/fjwOD
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @oxij opened pull request #63628 → openalSolf, mpv: fix, enable HRTF support → https://git.io/fjwO7
<skdfjh> Thanks. That seemed to have taken care of that problem. The only thing that doesn't work now is that buildGoModule complains that "cp: cannot stat '/build/go/pkg/mod/cache/download': No such file or directory"
knupfer has joined #nixos
<{^_^}> [nixpkgs] @joachifm pushed 3 commits to release-19.03: https://git.io/fjwOh
trevorriles has joined #nixos
emilis has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Tomahna opened pull request #63629 → mopidy-iris: 3.38.0 -> 3.39.0 → https://git.io/fjw3J
<{^_^}> [nixpkgs] @ck3d opened pull request #63630 → vdr: 2.4.0 -> 2.4.1 → https://git.io/fjw3T
<Interstitial> GOt it fixed, thanks guys!
<Interstitial> Very much appreciated
Xal has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
Xal has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
zachk has joined #nixos
skdfjh has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #63627 → gstreamer: fix darwin build → https://git.io/fjwOD
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjw3i
karetsu has quit [Quit: WeeChat 2.4]
justan0theruser has joined #nixos
<__monty__> Hmm, "error: writing to file: Broken pipe" what do?
justanotheruser has quit [Disconnected by services]
justan0theruser is now known as justanotheruser
<ivan> __monty__: using a nix cache over ssh?
<__monty__> Yes.
johanot has quit [Quit: WeeChat 2.4]
v88m has joined #nixos
<ivan> __monty__: yeah that just doesn't work while nix-serve does
fendor has joined #nixos
<__monty__> But usually it works fine.
the-kenny has quit [Quit: WeeChat 2.5]
the-kenny has joined #nixos
Mateon1 has quit [Ping timeout: 248 seconds]
Mateon1 has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
kim0 has joined #nixos
cjpbirkbeck has joined #nixos
<__monty__> ivan: Case in point, just reran after waiting a while and it seems to be working again now.
MmeQuignon has quit [Ping timeout: 244 seconds]
<ivan> yes, it sometimes works
<ivan> especially when it's downloading fewer things
<__monty__> Is there a way for me to get it run fine *always* though? : ) What is going wrong?
<{^_^}> nix#2395 (by nh2, 41 weeks ago, open): Use of PR_SET_PDEATHSIG results in Broken pipe errors when using SSH substituters
Synthetica has joined #nixos
johnny101 has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5a21a520742 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mac10688 has joined #nixos
<simpson> Does anybody happen to have a link to that one issue about how Nix may have problems with the next version of OSX?
dsfdf has joined #nixos
npmccallum has quit [Quit: npmccallum]
dsfdf has quit [Client Quit]
xacktm_ has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
<tilpner> nix#2925
<{^_^}> https://github.com/NixOS/nix/issues/2925 (by mroi, 2 weeks ago, open): /nix will not be writable on macOS Catalina
<simpson> ki'e
<simpson> Er, thanks.
sheeldotme has joined #nixos
johnny101 has joined #nixos
asheshambasta_m has joined #nixos
asheshambasta_m has quit [Client Quit]
ilmu has quit [Ping timeout: 252 seconds]
ilmu has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
dansho has quit [Quit: Leaving]
halfbit has quit [Ping timeout: 248 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
hmpffff has joined #nixos
szicari has quit [Ping timeout: 268 seconds]
aanderse has quit [Quit: ZNC 1.7.2 - https://znc.in]
szicari has joined #nixos
aanderse has joined #nixos
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @mmlb opened pull request #63632 → Update pip tools → https://git.io/fjwGT
npmccallum has joined #nixos
MmeQuignon has joined #nixos
<pbb> What is the easiest way to get a mipsel musl crossgcc? Possibly from the cache?
<pbb> compiling via crossSystem fails with "checking whether compiler's long double definition matches float.h... no"
<pbb> (fails when building musl)
<Guest4937> yeah i think it's been broken for a little bit unfortunately, not sure why
<{^_^}> [nixpkgs] @aanderse opened pull request #63634 → moodle: init at 3.7 → https://git.io/fjwG3
karetsu has joined #nixos
<gchristensen> Guest4937: you've turned ... guestly
<Guest4937> gchristensen: ?
<samueldr> your nickname on the irc side is G u e s t 4 9 3 7
<gchristensen> you've lost your matthewbauer-like shape and became Guest4937
* samueldr wonders what it looks like for matrix users
* gchristensen too
<Guest4937> oh yeah the nickserv isn't letting me regain my nick
<gchristensen> /msg nickserv regain matthewbauer
<gchristensen> (iirc)
<tilpner> Anyone know a nixy way to keep kernel threads in a cgroup, if that's even a thing?
<Guest4937> thanks
<gchristensen> yep!
<Guest4937> pbb: this error right: https://hydra.nixos.org/build/94488529/nixlog/10/tail ?
<pbb> Guest4937: yes exactly that
Guest4937 has left #nixos ["User left"]
<pbb> will no try with the 19.03 release channel
knupfer has joined #nixos
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
<pbb> meh 19.03 also fails
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pbb> now trying to just use gcc from 18.09 :(
<pbb> oh well the builds in hydra failed all the way back to feb 2018
<pbb> I guess I'll have to use the openwrt sdk
matthewbauer has joined #nixos
<gchristensen> matthewbauer: you're back to norman now
goibhniu1 has quit [Ping timeout: 245 seconds]
tokudan has quit [Quit: ZNC 1.7.3 - https://znc.in]
tokudan has joined #nixos
Anton-Latukha has quit [Ping timeout: 272 seconds]
<chrisaw> I've got a bit of a challenge here folks - I'm trying to package an app from a .deb archive and that part is working fine. The only problem I have is that it insists on figuring out what distro I'm running by reading a whole set of /etc/*-release files - annoyingly os-release isn't one of them *so* I need a /etc/lsb-release with specific data.
<chrisaw> So in short - my question is - how can I create an /etc/lsb-release file which is only used by one package *or* change where a binary is looking for that file?
o1lo01ol1o has quit [Remote host closed the connection]
<pbb> chrisaw: I guess you could try replacing the string in the binary?
<pbb> should be possible with sed
<chrisaw> pbb: I guess I'd need to use xxd to dump binary, then fiddle with it, then re-create it. Hmm, possible!
zupo has joined #nixos
<chrisaw> Actually looks like I could use bbe - never heard of that before. Should be a laugh!
<pbb> is it something that can not be built from source?
<chrisaw> Yup, no source available.
<pbb> meh
zupo has quit [Client Quit]
<pbb> I mean in the very worst case you could construct an environment similar to FHSUserEnv
<pbb> but I'm sure that's not at all the best solution
Soo_Slow has quit [Remote host closed the connection]
<pbb> woah, compiling gcc creates a lot of heat. and it was too hot in here before already.
<Blessjah> Is it intended or mistake that content of `services.nginx.virtualHosts.<name>.locations.<name>.root` gets copied to nix store? Similar story goes for sslCertificate and Key
ddellacosta has joined #nixos
<gchristensen> it is on purpose if you do a path
<gchristensen> but if you do "/foo/bar/baz" it won't
<Blessjah> What king of sorcery is this??
<Blessjah> I guess any non-nix-store path that ends up in nix deriviation will get copied to store?
<gchristensen> yes
<Blessjah> thanks
stranger___ has quit [Quit: Connection closed for inactivity]
trevorriles has joined #nixos
zupo has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « haskellPackages.hsdev_0_3_3_1: fix build »: https://git.io/fjwZJ
<elvishjerricco> Blessjah: Path literal syntax makes something that will copy the path to the store if ever interpolated into a string. So a string literal instead of a path literal won’t cause it to copy. i.e. “/foo” is different than “${/foo}”
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
zupo_ has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
c0ffee152 has joined #nixos
<{^_^}> [nixpkgs] @bachp opened pull request #63636 → distgen: init at 1.3 → https://git.io/fjwZt
ilya-fedin has joined #nixos
Drakonis__ has quit [Ping timeout: 258 seconds]
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #nixos
anton has quit [Quit: The Lounge - https://thelounge.chat]
anton has joined #nixos
fendor has quit [Read error: Connection reset by peer]
__monty__ has quit [Quit: leaving]
erasmas has quit [Quit: leaving]
arjen-jonathan has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/86191b5b913 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5d9924a9013 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
shibboleth has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
MichaelRaskin has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
ym555 has joined #nixos
<lurpahi> I don't see any response to the question I asked last night—should I ask it again, or should I just go with my first guess on how to fix it that doesn't sound good?
o1lo01ol1o has quit [Ping timeout: 248 seconds]
hmpffff has quit [Quit: nchrrrr…]
morr has quit [Ping timeout: 250 seconds]
morr has joined #nixos
MmeQuignon has quit [Ping timeout: 245 seconds]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Rusty1 has joined #nixos
jtojnar has joined #nixos
nixosarch has joined #nixos
NightTrain has joined #nixos
<ottidmes> lurpahi: its better to then repeat your question. I looked it up in the log. Not sure exactly about your question, do you mean you have a Nix package source that is a .7z file? If so, there are some fonts in the nixpkgs repo that use .7z files as their source, they just use fetchurl and call 7z explicitly in the unpackPhase
<ottidmes> lurpahi: If not, you should clarify your question
c0ffee152 has quit [Ping timeout: 244 seconds]
BlessJah1 has joined #nixos
BlessJah1 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @LnL7 opened pull request #63637 → gstreamer: re-enable auto_features → https://git.io/fjwnv
<lurpahi> I have a package with its source as a ".cpio.7z" file; I have created a .nix file for it with an unpackPhase using the command the source says to use to unpack it, with the file name replaced with $src: "7z e -so $src | cpio -i". I confirmed separately that this command does work as it should, but a nix-build on it goes from "unpacking sources" to "cpio: …: Cannot change mode to rwxrwsrwx: Operation not
<lurpahi> permitted", and ultimately to "builder for '…' failed with exit code 2".
npmccallum has quit [Quit: npmccallum]
cjpbirkbeck has joined #nixos
npmccallum has joined #nixos
nixosarch has quit [Quit: Lost terminal]
hmpffff has joined #nixos
lovesegfault has quit [Ping timeout: 252 seconds]
<ottidmes> lurpahi: could you perhaps share the package via a pasting service?
hmpffff has quit [Client Quit]
shibboleth has quit [Quit: shibboleth]
<lurpahi> ottidmes: http://ix.io/1Msz
mexisme_ has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<jtojnar> lurpahi: Nix does not allow builders to set setuid bit
lovesegfault has joined #nixos
<lurpahi> jtojnar: I don't know what that means; could you give me an idea of what I could do to make it work?
stepcut has quit [Read error: Connection reset by peer]
stepcut has joined #nixos
o1lo01ol1o has joined #nixos
<jtojnar> lurpahi: the s letter in `Cannot change mode to rwxrwsrwx` refers to setgid permission bit (https://en.wikipedia.org/wiki/Setuid)
<jtojnar> not sure how to make cpio ignore those bits
day|flip has joined #nixos
lovesegfault has quit [Ping timeout: 264 seconds]
<lurpahi> I'm guessing I could change those bits a bit (ha-ha) and put the resulting archive somewhere else, then use that instead of the source?
<infinisil> lurpahi: Is the problem happening with 7z or cpio?
<lurpahi> The error, as I said, is "cpio: …: Cannot change [etc]", so… cpio.
mbrgm_ has joined #nixos
<ottidmes> lurpahi: while experimenting I get "cpio: /dev/tty: No such device or address"
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<infinisil> lurpahi: Maybe try --no-preserve-owner
<ottidmes> lurpahi: ah thats my bad, ignore my previous remark
karetsu has quit [Quit: WeeChat 2.4]
<lurpahi> infinisil: I tried that (as a flag for cpio in the unpackPhase) and nothing changed.
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<infinisil> The next cleanest idea I have is to patch cpio to not setuid :)
<lurpahi> That doesn't sound like something I have the knowledge to do.
jluttine has quit [Ping timeout: 245 seconds]
<jtojnar> lurpahi: another idea is using something different than cpio
<jtojnar> 7z does support cpio archives
<lurpahi> That would imply modifying the source in some manner, wouldn't it?
<lurpahi> … unless something like that.
stepcut has quit [Ping timeout: 245 seconds]
<lurpahi> I guess I'll change 7z | cpio to 7z | 7z?
<jtojnar> lurpahi: I would say calling `7z e` twice
<jtojnar> first on src and then on the extracted cpio file
day|flip has quit [Remote host closed the connection]
<lurpahi> That's what I was thinking. I omitted the flags in that message.
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has joined #nixos
Baughn has joined #nixos
day|flip has joined #nixos