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
gchristensen has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
ym555 has joined #nixos
fusion809 has joined #nixos
mexisme_ has joined #nixos
dansho has joined #nixos
jackdk27 has joined #nixos
jackdk has quit [Disconnected by services]
jackdk27 is now known as jackdk
mexisme_ has quit [Ping timeout: 248 seconds]
buffet_ has joined #nixos
buffet has quit [Ping timeout: 258 seconds]
mexisme_ has joined #nixos
kvda has joined #nixos
justanotheruser has joined #nixos
ddellacosta has joined #nixos
alexherbo207831 is now known as alex```
<{^_^}> [nixpkgs] @risicle opened pull request #61919 → libheif: add patch for CVE-2019-11471 → https://git.io/fjBvi
nckx has quit [Quit: Updating my GNU Guix System <https://guix.info>]
nckx has joined #nixos
Elon_Satoshi has quit [Read error: Connection reset by peer]
<greenerworld[m]> where can I find the script mentioned here?
<{^_^}> #60267 (by averelld, 3 weeks ago, merged): Jetbrains updates
silver_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61912 → gtk{2,3}-x11: build against cairo with X11 support enabled → https://git.io/fj4h1
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjBvD
ym555 has quit [Ping timeout: 248 seconds]
___quietlaika has quit [Ping timeout: 248 seconds]
nisstyre has quit [Changing host]
nisstyre has joined #nixos
ym555 has joined #nixos
<{^_^}> [nixpkgs] @soner-cirit opened pull request #61920 → jetbrains → https://git.io/fjBvp
<{^_^}> [nixpkgs] @marsam merged pull request #61795 → lbdb: fix build for 0.48.1 → https://git.io/fj4Zq
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjBvj
_ris has quit [Ping timeout: 260 seconds]
<samueldr> greenerworld[m]: most of the time update scripts are next to the derivations updated by it https://github.com/averelld/nixpkgs/tree/master/pkgs/applications/editors/jetbrains
<samueldr> like in this case
<greenerworld[m]> yeah found and commited
noam_ has joined #nixos
<greenerworld[m]> is there no way to automate these scripts?
<samueldr> oh, great :)
<samueldr> automating is hard to do right, there is some work being done though
<greenerworld[m]> btw did the nodejs_latest alias you suggested :D
noam has quit [Ping timeout: 258 seconds]
{^_^} has quit [Read error: Connection reset by peer]
{^_^} has joined #nixos
Musk_Nakamoto has joined #nixos
justanotheruser has quit [Ping timeout: 258 seconds]
zeta_wolf has quit [Remote host closed the connection]
abathur has joined #nixos
thc202 has quit [Ping timeout: 252 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
justanotheruser has joined #nixos
justanotheruser has quit [Read error: Connection reset by peer]
realrokka has quit [Ping timeout: 248 seconds]
justanotheruser has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @mnacamura opened pull request #61922 → ocamlPackages.{camlpdf,cpdf}: fix build → https://git.io/fjBfu
Qubasa has joined #nixos
justanotheruser has quit [Ping timeout: 258 seconds]
qubasa_ has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3a3353953f9 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @aanderse opened pull request #61923 → nixos/gitea: make use of declarative features where applicable → https://git.io/fjBfV
InFlames has joined #nixos
o1lo01ol1o has joined #nixos
drakonis1 has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #59512 → Rstudio upgrade → https://git.io/fjmij
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjBf6
alex```6 has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #61924 → shadowfox: 1.7.20 -> 2.0.1 → https://git.io/fjBfi
alex``` has quit [Ping timeout: 258 seconds]
acarrico has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #61925 → xterm: 344 -> 345 → https://git.io/fjBfP
<{^_^}> [nixpkgs] @dtzWill opened pull request #61926 → curl: 7.64.0 -> 7.65.0 → https://git.io/fjBfX
<{^_^}> [nixpkgs] @dtzWill opened pull request #61927 → strace: 5.0 -> 5.1 → https://git.io/fjBfM
<{^_^}> [nixpkgs] @dtzWill opened pull request #61928 → utf8proc: 2.3.0 -> 2.4.0 → https://git.io/fjBfy
mkoenig has quit [Quit: Lost terminal]
___quietlaika has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #61856 → libndctl: 64.1 -> 65 → https://git.io/fj4io
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fjBf9
ym555_ has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
ym555 has quit [Ping timeout: 244 seconds]
slack1256 has joined #nixos
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
v0|d has joined #nixos
___quietlaika has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #61929 → txr: 209 -> 216 → https://git.io/fjBJw
simukis__ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kvda has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #61898 → python37Packages.faker: 1.0.5 -> 1.0.7 → https://git.io/fj4FS
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjBJi
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ee1943 has quit [Ping timeout: 258 seconds]
ee1943 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #61930 → hanazono: 20141012 -> 20170904 → https://git.io/fjBJX
srl295 has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<hyper_ch> gchristensen: changing to simple and add "retry" booted them up just nicely
<{^_^}> [nixpkgs] @teto merged pull request #61913 → castxml: 20180403 -> 0.2.0 → https://git.io/fj4jZ
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/fjBJS
spacefrogg has quit [Quit: Gone.]
aw_ has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
selfsymmetric-mu has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #61931 → flow: 0.98.1 -> 0.99.0 → https://git.io/fjBJd
Lears has quit [Read error: Connection reset by peer]
kvda has joined #nixos
<mekeor> how can i use my own package-definition within my system-declaration?
<{^_^}> [nixpkgs] @marsam opened pull request #61932 → nodejs: 8.15.1 -> 8.16.0, 12.2.0 -> 12.3.1 → https://git.io/fjBJb
Musk_Nakamoto has quit [Read error: Connection reset by peer]
<mekeor> mekeor: maybe try nixpkgs.overlays
realrokka has joined #nixos
o1lo01ol1o has joined #nixos
Lears has joined #nixos
alex```6 has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
playX has joined #nixos
mexisme_ has joined #nixos
Musk_Nakamoto has joined #nixos
alexherbo24 has joined #nixos
alexherbo2 has quit [Ping timeout: 248 seconds]
Musk_Nakamoto has quit [Read error: Connection reset by peer]
___quietlaika has joined #nixos
alexherbo24 is now known as alex````
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a86fa90ff98 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
___quietlaika has quit [Quit: WeeChat 2.4]
Musk_Nakamoto has joined #nixos
InFlames has quit [Ping timeout: 248 seconds]
orivej has joined #nixos
Musk_Nakamoto has quit [Read error: Connection reset by peer]
playX has quit [Quit: Page closed]
tbenst_ has quit [Ping timeout: 244 seconds]
tbenst has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sb0 has quit [Quit: Leaving]
iqubic has joined #nixos
Supersonic has quit [Ping timeout: 258 seconds]
Supersonic has joined #nixos
Musk_Nakamoto has joined #nixos
mekeor has quit [Remote host closed the connection]
slack1256 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @samueldr opened pull request #61933 → alacritty: build on aarch64-linux → https://git.io/fjBUc
reinhardt has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @lilyball opened pull request #61934 → cocoapods: define updateScript → https://git.io/fjBU0
gchristensen has quit [Quit: Connection closed for inactivity]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/aac5bd55fda (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #61908 → python37Packages.marshmallow-sqlalchemy: 0.16.2 -> 0.16.3 → https://git.io/fj4Ag
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjBUE
abathur has quit [Ping timeout: 248 seconds]
kvda has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #61918 → python37Packages.sniffio: 1.0.0 -> 1.1.0 → https://git.io/fjBvm
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/fjBUw
Yakulu has joined #nixos
Yakulu has left #nixos ["Error from remote client"]
reinhardt has quit [Quit: Leaving]
Yakulu has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @marsam merged pull request #61904 → python37Packages.kitchen: 1.2.5 -> 1.2.6 → https://git.io/fj4Aq
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjBUo
domogled has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #61861 → ocamlPackages.logs: 0.6.2 -> 0.6.3 → https://git.io/fj4PC
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjBUX
sb0 has joined #nixos
rauno has quit [Ping timeout: 250 seconds]
toppler`` has quit [Ping timeout: 272 seconds]
logzet has joined #nixos
toppler`` has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.4]
drakonis has quit [Quit: WeeChat 2.4]
mexisme_ has joined #nixos
drakonis has joined #nixos
esmerelda has quit [Ping timeout: 244 seconds]
drakonis_ has joined #nixos
drakonis1 has quit [Ping timeout: 248 seconds]
mexisme_ has quit [Ping timeout: 244 seconds]
veverak has quit [Ping timeout: 248 seconds]
palo1 has joined #nixos
drakonis has quit [Ping timeout: 248 seconds]
esmerelda has joined #nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
Glider_IRC__ has joined #nixos
mbrgm_ is now known as mbrgm
Glider_IRC_ has quit [Ping timeout: 248 seconds]
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
wangoe has joined #nixos
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
hyper_ch2 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
petercom1and is now known as petercommand
Myhlamaeus has quit [Ping timeout: 248 seconds]
lordcirth_ has quit [Read error: Connection reset by peer]
lordcirth has joined #nixos
kvda has joined #nixos
<ivan> something caused mass rebuilds in master
wfranzini has joined #nixos
endformationage has quit [Ping timeout: 258 seconds]
Lears has quit [Ping timeout: 248 seconds]
Lears has joined #nixos
* hyper_ch2 eyes clever
<hyper_ch2> github still having issues with the hooks?
hoijui has joined #nixos
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
slyfox__ is now known as slyfox
<{^_^}> #60985 (by ambrop72, 2 weeks ago, merged): libglvnd, ocl-icd, vulkan-loader: Add /run/opengl-driver(-32) to RUNPATH.
asheshambasta_m has joined #nixos
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
<kvda> Why are all Nix packages so terribly out of date?
<hyper_ch2> kvda: feel free to update them
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
<etu> kvda: Are they? https://repology.org/ say that nixpkgs unstable have 83.51% updated packages.
<kvda> Is that really the problem? It looks like the bottleneck is rate of approval, 1229 PRs open
<etu> kvda: Feel free to help reviewing updates.
<kvda> Is there anything preventing a system where package maintainers don't need a central approval?
ym555 has joined #nixos
talqu has joined #nixos
ym555_ has quit [Ping timeout: 258 seconds]
<talqu> hi, how do I add a www subdomain in a similar configuration to this? Do I just duplicate one the entries there prepending www. to the virtual host name?
<hyper_ch2> talqu: where do you want to add it?
<talqu> duplicating the expression starting at line 26, and adding www to line's 26 string
<talqu> oh, god forgot to paste something
<talqu> ;) sorry
reinhardt has joined #nixos
<hyper_ch2> you want to have different vhosts for www.domain.tld and domain.tld? or shall that be the same vhost?
linarcx has joined #nixos
<talqu> the same
Ariakenom has joined #nixos
<hyper_ch2> talqu: https://nixos.org/nixos/options.html#services.nginx.virtualhosts.%3Cname%3E.serveraliases
<talqu> great, thanks hyper_ch2
max4 has joined #nixos
rauno has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
<talqu> how do I install nixfmt binary? I remember before I could do nix-format-buffer in emacs + nix-mode, now it says it cannot find nixfmt.
knupfer has joined #nixos
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @vcunat pushed commit from @tomberek to release-19.03 « openssl: fix CVE-2019-1543 »: https://git.io/fjBTD
ottidmes has joined #nixos
jackdk47 has joined #nixos
jackdk has quit [Disconnected by services]
jackdk47 is now known as jackdk
knupfer has quit [Ping timeout: 250 seconds]
<kuznero[m]> Hi All! How can I install latest firefox 67 while still being on stable nixos channel? I was using the trick with pulling unstable tarball `fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;` but it seems that firefox 67 didn't hit it yet. Any recommendations? Can I have the same but for git HEAD instead of nixos-unstable somehow?
Synthetica has joined #nixos
thc202 has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
sveitser2 has joined #nixos
wfranzini has quit [Remote host closed the connection]
cfricke has joined #nixos
<{^_^}> [nix] @edolstra pushed 5 commits to flakes: https://git.io/fjBkT
<{^_^}> [nix] @edolstra merged pull request #2886 → Use online global registry → https://git.io/fj4j0
wfranzini has joined #nixos
sveitser1 has quit [Ping timeout: 248 seconds]
veverak has joined #nixos
<andi-> kuznero[m]: 19.03 build with the Firefox bump is finished since ~15min
mkoenig has joined #nixos
<andi-> Not sure if the channels bump script die run yet..
<kuznero[m]> @andi- Nice, how long after that does it normally take to propagate to channels?
<andi-> kuznero[m]: an hour maybe? You could also just build from the git commit if you do not want to wait
Shoubit has joined #nixos
__monty__ has joined #nixos
goibhniu1 has joined #nixos
vk3wtf has quit [Quit: WeeChat 2.4]
<kuznero[m]> Thanks
<kuznero[m]> Hour is not that bad :-)
vk3wtf has joined #nixos
<tilpner> kuznero[m]: For the future: You can use nixos-unstable-small, or master directly
<tilpner> kuznero[m]: But firefox might take a while to build if it's not cached yet
<kuznero[m]> tilpner: This is exactly what I was doing, but it didn't hit it yet.
<tilpner> Yes it did
<tilpner> Note the -small
<kuznero[m]> Do you mean it might hit it faster?
<kuznero[m]> I will try it now
equivrel has joined #nixos
<tilpner> IIRC it was in -small already yesterday
<kuznero[m]> Ha, interesting. Thanks!
veverak has quit [Ping timeout: 248 seconds]
m0rphism has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
wangoe has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #61937 → rustup: 1.18.2 -> 1.18.3 → https://git.io/fjBkz
matklad has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @markuskowa merged pull request #61894 → docker: fix typo → https://git.io/fj4dK
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjBkX
ottidmes has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61864 → [19.03] graylog: 3.0.1 -> 3.0.2 → https://git.io/fj4Xl
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to release-19.03: https://git.io/fjBkD
pie_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @risicle to master « libheif: add patch for CVE-2019-11471 (PR #61919) »: https://git.io/fjBk9
M-Gregoire4 has quit [Quit: The Lounge - https://thelounge.chat]
M-Gregoire4 has joined #nixos
M-Gregoire4 has quit [Client Quit]
M-Gregoire4 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
markus1189 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @vcunat closed pull request #61919 → libheif: add patch for CVE-2019-11471 → https://git.io/fjBvi
mexisme_ has joined #nixos
dansho has quit [Quit: Leaving]
esmerelda has quit [Ping timeout: 272 seconds]
M-Gregoire4 has quit [Quit: The Lounge - https://thelounge.chat]
M-Gregoire4 has joined #nixos
esmerelda has joined #nixos
equivrel has quit [Remote host closed the connection]
c0dr[m] has joined #nixos
Jetien_ has joined #nixos
rauno has quit [Remote host closed the connection]
Makaveli7 has joined #nixos
rauno has joined #nixos
toppler`` has quit [Ping timeout: 258 seconds]
markus1189 has joined #nixos
<kuznero[m]> I just now realized that firefox takes time to build ;)
ubert has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
toppler`` has joined #nixos
<meck> Hi! Im tinkering with a module where I have a want to to set a couple of options defaults as dependent on neighbouring options in the same module. IE dataDir = "/tmp"; datafile = "${mymodule.dataDir}/datafile"; is that doable? I see a reference here https://nixos.wiki/wiki/NixOS_Modules but i can't figure where it is done in the referenced examples?
<bkchr> Hey, does Nixos somehow magically patches in `fuse-ld=gold` to the compiler?
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
Izorkin has joined #nixos
<andi-> bkchr: i think we default binutils to use gold
<andi-> or at least enable it by default
veverak has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #61818 → lua*Packages TLS updates → https://git.io/fj4uV
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/fjBI4
cfricke has quit [Ping timeout: 248 seconds]
<bkchr> andi-: I'm trying to get `ndk-build` working. That is using the clang shipped with the Android ndk. Somehow it picks up the the system ld.gold compiler and `fuse-ld=gold` is given as parameter to clang. If I search in the derivation, I don't find any piece of code that adds this argument
<andi-> in which derivation are you searching?
schjetne has quit [Remote host closed the connection]
<cyris212> I am a bit confused on how to install emacs-libvterm on NixOS.
schjetne has joined #nixos
<cyris212> Is there a way to do this directly in environment.systemPackages?
<bkchr> andi-: `ndk-bundle` derivation
<bkchr> `androidenv.androidPkgs_9_0.ndk-bundle`
<andi-> no idea, never used them. Sorry bkchr
lostman has quit [Quit: Connection closed for inactivity]
<bkchr> np
vk3wtf has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @lostman opened pull request #61938 → Expose makeLinuxHeaders function from nixos/kernel-headers → https://git.io/fjBIr
<m0rphism> the signal-desktop package on nixos-19.03 needs an update. It compiles and runs fine, but the author deprecated it remotely, which disables all functionality to force users to update...
vk3wtf has joined #nixos
mexisme_ has quit [Ping timeout: 268 seconds]
<etu> m0rphism: Then do a backport of it
mexisme_ has joined #nixos
Maxdamantus has quit [Ping timeout: 248 seconds]
Maxdamantus has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
<lightbulbjim> I’m looking to package an app which is distributed upstream as both a deb and an appimage. Is there a preferred format to use?
Ariakenom has quit [Ping timeout: 250 seconds]
vid has joined #nixos
max4 has quit [Ping timeout: 244 seconds]
<goibhniu1> lightbulbjim, is the source available too?
mexisme_ has joined #nixos
<goibhniu1> that would be best, otherwise the deb would be preferred
<lightbulbjim> It is, but it just builds the deb and appimage. It’s an Electron app so doesn’t follow the traditional Unix workflow.
<{^_^}> [nixpkgs] @basvandijk opened pull request #61939 → terraform: 0.11.13 -> 0.11.14 & 0.12.0-rc1 -> 0.12.0 → https://git.io/fjBI7
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
dftxbs3e has quit [Quit: Leaving.]
<lightbulbjim> Thanks!
<{^_^}> [nixpkgs] @lsix merged pull request #59212 → python3Packages.django_2_2: init at 2.2 → https://git.io/fjtHw
* goibhniu1 isn't familiar with the packaging of electron apps, but there are a few in nixpkgs to use for inspiration
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fjBIh
<m0rphism> etu: Gave it a quick try, but just using more recent sources leads to a missing `libuuid.so.1` at program start.
max4 has joined #nixos
lovesegfault has quit [Ping timeout: 272 seconds]
<genesis> i'm trying to get SDL openglsupport=false https://gist.github.com/bignaux/3deeca0e9171ceb8db23bc804d84162a#file-nix-L80
<genesis> what would be the better way to do ?
esmerelda has quit [Ping timeout: 268 seconds]
lovesegfault has joined #nixos
Shoubit has quit [Ping timeout: 248 seconds]
Ariakenom has joined #nixos
<m0rphism> etu: Adding `libuuid` to `buildInputs` or `nativeBuildInputs` has no effect, maybe I'm doing something wrong
pie_ has quit [Ping timeout: 258 seconds]
esmerelda has joined #nixos
<m0rphism> but I'm neither experienced with electron nor libuuid nor with non-trivial nix-development, so for something security related it would probably be better to notify the pkg maintainer right?
<goibhniu1> m0rphism: is the package up to date on unstable?
<{^_^}> [nixpkgs] @primeos pushed to master « python37Packages.google_api_python_client: 1.7.8 -> 1.7.9 »: https://git.io/fjBLx
<goibhniu1> with a bit of luck, you can cherry pick from master to 19.03
<m0rphism> primeos: Pinging you as the maintainer of `signal-desktop`: current version stopped working as the authors deprecated the version remotely again. Tried to backport, but got missing `libuuid.so.1` on program start.
pie_ has joined #nixos
ThatDocsLady has joined #nixos
<m0rphism> goibhniu1: primeos: ahh, nvm, just found that it's already updated on nixpkgs master. Didn't think about checking before, sorry!
<m0rphism> goibhniu1: thanks
ThatDocsLady has quit [Remote host closed the connection]
<goibhniu1> cool!
<{^_^}> [nixpkgs] @lsix pushed to release-19.03 « python3Packages.django_2_2: init at 2.2.1 »: https://git.io/fjBtU
<primeos> m0rphism: ok, no problem - unfortunately I missed that expiration date :o
<{^_^}> [nixpkgs] @lsix pushed 2 commits to release-19.03: https://git.io/fjBtt
schjetne has quit [Ping timeout: 246 seconds]
vid has quit [Ping timeout: 245 seconds]
<m0rphism> primeos: It happens; thanks for taking the time to maintain the package! :)
ThatDocsLady has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
max4 has quit [Ping timeout: 250 seconds]
<dminuoso> So I have some abis.nix which has oraclejdk8 specified in its buildInputs. When I install it with `nix-env -i -f abis.nix` however, oraclejdk8 does not appear on my PATH. Why is that?
Shoubit has joined #nixos
ThatDocsLady has joined #nixos
sigmundv has joined #nixos
freddie-freeload has joined #nixos
<genesis> dminuoso : try with -iA
<dminuoso> genesis: Huh?
<freddie-freeload> newbie: Hey! Signal-Desktop on 19.03 seems to be expired. I already did `nixos-rebuild switch --upgrade` and signal still complains. Should I open an issue for that? :)
max4 has joined #nixos
<genesis> dminuoso : not sure why you want oraclejdk8 in your PATH, it has only to be in the abis path, isn't it ?
<dminuoso> genesis: Because the application `abis.nix` is weird and requires javac to be on PATH
pie___ has joined #nixos
<dminuoso> genesis: Its not fixable for reasons.
<genesis> dminuoso : where is the derivation ?
cfricke has joined #nixos
<genesis> anyway perharps you should consider to wrap it with the jdk in the path
<ar> .36
pie_ has quit [Ping timeout: 248 seconds]
<dminuoso> genesis: Oh you mean using wrapProgram?
<genesis> yes
<dminuoso> genesis: Ah! That sounds like it should work :)
<m0rphism> goibhniu1: cherry picking worked, thanks for the suggestion :)
<goibhniu1> \o/ good job!
saikrishi1109[m] has joined #nixos
<dminuoso> genesis: Worked like a charm, cheers. :)
<genesis> :)
max4 has quit [Ping timeout: 272 seconds]
fendor has quit [Ping timeout: 272 seconds]
freddie_freeload has joined #nixos
freddie-freeload has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #61634 → Update buildah, podman, conmon → https://git.io/fjBto
<{^_^}> [nixpkgs] @Profpatsch pushed 3 commits to master: https://git.io/fjBtK
hyper_ch2 has quit [Ping timeout: 256 seconds]
gentauro has quit [Ping timeout: 245 seconds]
veverak has quit [Ping timeout: 258 seconds]
Soo_Slow has joined #nixos
alex```` has quit [Ping timeout: 272 seconds]
alex```` has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4dd5c93998d (from 34 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
max4 has joined #nixos
<{^_^}> [nixpkgs] @yurrriq opened pull request #61940 → helmfile: 0.40.1 -> 0.64.1 → https://git.io/fjBqk
<{^_^}> [nixpkgs] @fgaz opened pull request #61941 → qbe: init at unstable-2019-05-15 → https://git.io/fjBqI
talqu has quit [Remote host closed the connection]
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @smaret opened pull request #61942 → gtk{2,3}-x11: build against pango with X11 support enabled → https://git.io/fjBqt
max4 has quit [Ping timeout: 245 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
gentauro has joined #nixos
pie___ has quit [Remote host closed the connection]
hmpffff has joined #nixos
pie___ has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
pie_ has joined #nixos
pie___ has quit [Ping timeout: 246 seconds]
max4 has joined #nixos
mniip has quit [Read error: Connection reset by peer]
mniip has joined #nixos
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/72718be0219 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
fendor has joined #nixos
max4 has quit [Ping timeout: 258 seconds]
gchristensen has joined #nixos
Shoubit has quit [Ping timeout: 248 seconds]
__monty__ has quit [Ping timeout: 258 seconds]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
hoijui has quit [Ping timeout: 252 seconds]
<bricewge> I'm trying to start `nixos-upgrade.service` when the system boots with ` systemd.services.nixos-upgrade.wantedBy = [ "multi-user.target" ];`.
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
<bricewge> But now the service hang when started manually. What am I doing wrong here?
vid has joined #nixos
schjetne has joined #nixos
<bodqhrohro_> I have installed two applications using GPU (openscad and minetest) via nixpkg, and both can't start due to errors with initializing graphics. Is it a known problem on foreign distributions? I have a pre-GCN Radeon card, if matters.
acarrico has joined #nixos
<genesis> bodqhrohro_ : yes it could works with tricks
<genesis> lot of workaround, some works on some cases
cfricke has quit [Ping timeout: 272 seconds]
<genesis> when i was on gentoo, i use simply that :
<genesis> mkdir -p /run/opengl-driver/ && ln -s /nix/store/z5j0dnyf1h9v3c5263hvb9hp8xpsvx11-mesa-noglu-17.2.6-drivers/* /run/opengl-driver/
<genesis> hot topic .
xantoz has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #61931 → flow: 0.98.1 -> 0.99.0 → https://git.io/fjBJd
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjBmK
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
drakonis has joined #nixos
Neo-- has joined #nixos
squirrel1 has joined #nixos
squirrel1 is now known as veverak
drakonis_ has quit [Ping timeout: 244 seconds]
Abu has joined #nixos
ottidmes has joined #nixos
AluisioASG has joined #nixos
noonien has joined #nixos
<{^_^}> [nix] @zimbatm opened pull request #2887 → shared: improve the help message → https://git.io/fjBYJ
vid has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61917 → python37Packages.rpmfluff: 0.5.6 -> 0.5.7.1 → https://git.io/fjBeP
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBYY
<bodqhrohro_> genesis: the wrapper works, thanks.
<{^_^}> [nixpkgs] @c0bw3b closed pull request #61297 → podman: 1.2.0 -> 1.3.0 → https://git.io/fjCbg
<genesis> :)
srid63 has quit [Ping timeout: 245 seconds]
abcrawf has quit [Remote host closed the connection]
cfricke has joined #nixos
abcrawf has joined #nixos
Abu has left #nixos ["Leaving"]
srid63 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61914 → python37Packages.pyutilib: 5.6.5 -> 5.7.0 → https://git.io/fjBef
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBYb
toppler`` has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/99c8680f49b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @dywedir opened pull request #61943 → lsd: 0.14.0 -> 0.15.0 → https://git.io/fjBYh
toppler`` has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #61871 → coqPackages.ltac2: init at 0.1 → https://git.io/fj4MM
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.ltac2: init at 0.1 »: https://git.io/fjBOs
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
gxt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #61944 → linuxPackages.virtualboxGuestAdditions: don't install VBoxOGL for now → https://git.io/fjBO8
rauno has quit [Ping timeout: 248 seconds]
Guanin has joined #nixos
klaas_ has joined #nixos
<klaas_> hi all; what's the best way to debug why a package fails to build?
Shoubit has joined #nixos
<klaas_> I'd like to drop into an environment which is similar to what goes on when the package is actually being built
Guanin_ has joined #nixos
<klaas_> so I've tried to run e.g. nix-build with -K
<klaas_> and then source the env-vars
<klaas_> but this will try to build to $out, which is write-only
Guanin_ has quit [Client Quit]
<klaas_> read-only of course
<genesis> yes
<genesis> you should not do that.
<genesis> you should use nix-shell
<{^_^}> [nixpkgs] @basvandijk merged pull request #61939 → terraform: 0.11.13 -> 0.11.14 & 0.12.0-rc1 -> 0.12.0 → https://git.io/fjBI7
<{^_^}> [nixpkgs] @basvandijk pushed 3 commits to master: https://git.io/fjBOj
<klaas_> how should I use nix-shell on an arbitrary package from nixpkgs?
<genesis> nix-shell ~/devel/nixpkgs -A foo
matklad has quit [Remote host closed the connection]
hoijui has joined #nixos
<genesis> read about that.
<klaas_> is there a better source to read up on than "man nix-shell"?
<genesis> yes nix-pills
<genesis> nix-shell ~/devel/nixpkgs -A hello
<genesis> $ unpackPhase
<genesis> unpacking source archive /nix/store/3x7dwzq014bblazs7kq20p9hyzz0qh8g-hello-2.10.tar.gz
<genesis> if it's your project , you could write a shell.nix with all the debug stuff in it
vidbina has joined #nixos
<klaas_> ah got it...
<klaas_> in my slightly non-standard setup I have to repeat the location of my nixpkgs, both as an unqualified argument and in -I
<genesis> depend if you're debuging a package or debuging a derivation ;)
<klaas_> nix-shell MYNIX -I nixpkgs=MYNIX -A hello
hoijui has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @WilliButz opened pull request #61945 → avahi: set service directory and refactor module → https://git.io/fjB3q
orivej has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #61946 → Backport terraform-0.12 and 0.11.14 to release-19.03 → https://git.io/fjB33
Maxdamantus has quit [Ping timeout: 258 seconds]
<klaas_> I'm debugging a python package using nix-shell; this is, I assume, not using stdEnv.mkDerivation
<klaas_> how can I find out which phases there are in my particular case?
<klaas_> the nix-shell I'm being dropped into has no source files (that I can see) that I can consult
<{^_^}> [nixpkgs] @dywedir opened pull request #61947 → pijul: fix darwin build → https://git.io/fjB3C
drakonis has quit [Ping timeout: 250 seconds]
Maxdamantus has joined #nixos
<genesis> klaas_ : env | grep -i phase
<{^_^}> [nixpkgs] @CohenCyril opened pull request #61948 → coqPackages: fix bignums and equations → https://git.io/fjB3E
<{^_^}> [nixpkgs] @FRidh merged pull request #61287 → sqlitebrowser: 3.10.1 -> 3.11.2 → https://git.io/fjCda
<{^_^}> [nixpkgs] @FRidh pushed commit from @Ma27 to master « sqlitebrowser: 3.10.1 -> 3.11.2 »: https://git.io/fjB3g
hhefesto has quit [Ping timeout: 248 seconds]
alex```` has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
<klaas_> weirdly, "env | grep -i phase" does not show the aforementioned unpackphase (although that phase does indeed seem to exist)
<ottidmes> if I am only interested in nixpkgs/lib, is there a way to get only that subfolder of the nixpkgs repo?
<infinisil> ottidmes: Nope, but I proposed this before to have a nixpkgs-lib mirror of nixpkgs which would only mirror that directory
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61915 → python37Packages.rasterio: 1.0.22 -> 1.0.23 → https://git.io/fjBeW
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « python37Packages.rasterio: 1.0.22 -> 1.0.23 (#61915) »: https://git.io/fjB3P
<ottidmes> infinisil: I was indeed hoping something like that was out there
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
infinee has joined #nixos
<ottidmes> guess I will just be wasting some disk space for now, not that its a big problem, but feels wrong for this particular use cased (a pinned lib)
ym555 has quit [Quit: leaving...]
<{^_^}> [nixpkgs] @talyz opened pull request #61949 → networkmanager: Add rc-manager option → https://git.io/fjB3M
klaas_ has quit [Ping timeout: 256 seconds]
<ottidmes> infinisil: thanks and lol! (I would have had the same reaction about the spider :P)
Makaveli7 has quit [Quit: WeeChat 2.4]
endformationage has joined #nixos
Shoubit has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Infinisil pushed to haskell-updates « Unbreak some Haskell packages »: https://git.io/fjBsO
<infinisil> xD
alexherbo28 has joined #nixos
camsbury- has joined #nixos
alexherbo2 has quit [Ping timeout: 248 seconds]
hmpffff has quit [Quit: nchrrrr…]
<bodqhrohro_> Can I check updates for all installed packages without the memory-greedy resolving of attribute names?
esmerelda has quit [Ping timeout: 250 seconds]
<goibhniu1> bodqhrohro_: I think you'd need to use home-manager or install your all packages by defining them in a .nix file
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @basvandijk merged pull request #61946 → Backport terraform-0.12 and 0.11.14 to release-19.03 → https://git.io/fjB33
<{^_^}> [nixpkgs] @basvandijk pushed 5 commits to release-19.03: https://git.io/fjBs6
<{^_^}> [nixpkgs] @CohenCyril opened pull request #61959 → coqPackages.mathcomp: 1.8.0 -> 1.9.0 and adding real-closed → https://git.io/fjBs1
esmerelda has joined #nixos
alexherbo280 has joined #nixos
alexherbo28 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #61916 → nixosTests.signal-desktop: add test → https://git.io/fjBeg
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fjBGJ
buffet_ is now known as buffet
justanotheruser has quit [Quit: WeeChat 2.4]
drakonis has joined #nixos
o1lo01ol1o has joined #nixos
<pie_> is the ssh-ng format described anywhere
ryantm has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
Shoubit has joined #nixos
<lordcirth> What's ssh-ng?
<tilpner> pie_: Your best bet is usually rg in a nix checkout
iqubic has quit [Remote host closed the connection]
m0rphism has quit [Quit: WeeChat 2.4]
waleee has joined #nixos
<pie_> lordcirth, i dunno lol, you can use it with "nix copy" though
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #61943 → lsd: 0.14.0 -> 0.15.0 → https://git.io/fjBYh
<bodqhrohro_> goibhniu1: home-manager is pretty interesting, thanks. I was already willing to fix the openscad's look, which it can do just by setting qt.platformTheme
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjBGV
Jetien_ has quit [Ping timeout: 248 seconds]
cfricke has quit [Ping timeout: 250 seconds]
<yorick> pie_: it just opens an ssh with nix-store --serve
<goibhniu1> nice!
<pie_> yorick, but ive seen stuff like extra parameters passed with ?something= and idk hwo that work
<yorick> pie_: like what
<pie_> ?ssh-key= or something like that (which i just tried and didnt work for me)
dontobey has joined #nixos
<yorick> pie_: ok the new one uses nix-daemon --stdio, the old one uses nix-store --serve
<pie_> thanks
viric has quit [Remote host closed the connection]
<pie_> wonder why it didnt work, maybe it doesnt do interactive stuff (like keys with passwords)
<yorick> I always use NIX_SSHOPTS="-i keyfile"
<clever> i just run ssh-agent
emi80 has joined #nixos
<attente[m]> hi, is anyone getting `error: attribute 'xz_url' missing, at /nix/store/mdrhslrx13a5hs2kksxxx419h19vfamw-source/rust-overlay.nix:100:31` when trying to `home-manager switch --upgrade` with the mozilla nixpkgs rust overlay?
hmpffff has joined #nixos
m0rphism has quit [Quit: WeeChat 2.4]
klaas_ has joined #nixos
<klaas_> when building a single python environment with 2 packages from the azure "family" I get the following error
<klaas_> collision between `/nix/store/5r12zdh00fj7jy9my00gdj84h2ni49l5-python3.6-azure-common-1.1.18/lib/python3.6/site-packages/azure/__pycache__/__init__.cpython-36.pyc' and `/nix/store/vjw3w5vqr8yc7ajah3p1aq2732rgs3f3-python3.6-azure-storage-0.20.3/lib/python3.6/site-packages/azure/__pycache__/__init__.cpython-36.pyc'
<klaas_> my understanding is that both packages supply "azure/__init__.py"... and that nix does not know how to resolve this
<{^_^}> [nix] @edolstra pushed to flakes « Fix tests »: https://git.io/fjBZf
m0rphism has joined #nixos
hmpffff has quit [Client Quit]
<{^_^}> mozilla/nixpkgs-mozilla#143 (by lovesegfault, 22 weeks ago, open): Rust nightly of 2018-12-08 fails
<infinisil> klaas_: You can use `lib.lowPrio` on one package to make it lower priority, which I think should fix the collision
<attente[m]> infinisil: thanks. i'm working around it for now by removing the rust clippy-preview extension
WhittlesJr has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @dywedir merged pull request #61947 → pijul: fix darwin build → https://git.io/fjB3C
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjBZY
JulianWels has joined #nixos
<klaas_> infinisil: I don't think that will work... Python will not recognise that the packages, which are built in 2 distinct parts of the store, are part of a single thing then
<klaas_> I think
<nh2> what's the easiest way to turn a file directly into a derivation? I tried
<nh2> nix-build -E 'builtins.path { path = "myfile"; }'
<nh2> but get `expression does not evaluate to a derivation`
<klaas_> https://gist.github.com/vanschelven/28ecd0f6a60ca7e489d6efed36a1cbef to see why mixing packages in that way doesn't work
<tilpner> nh2: Does it really need to be a derivation?
<tilpner> nh2: Paths with context, as produced by "${./foo}" or copyPathToStore work well too
knupfer has joined #nixos
polman has quit [Ping timeout: 248 seconds]
<nh2> tilpner: well otherwise `nix-build` seems to demand it. But I just want to end up with `/nix/store/HASH-mfyle`, and that printed to stdout -- should I use something different than nix-build for that?
<tilpner> nh2: nix-store --add
<nh2> tilpner: ah, I didn't know that, that is good. Now I just need something that allows me to set the name, like `builtins.path { name = ...}` does (because the file name I'm being given is not necessarily stable across runs)
c0dr[m] has left #nixos ["User left"]
<klaas_> scratch that... it actually works... thanks very much!
<attente[m]> is anyone using ycmd with the vim plugin youcompleteme?
vidbina has quit [Ping timeout: 272 seconds]
camsbury has quit [Remote host closed the connection]
camsbury- has quit [Remote host closed the connection]
<attente[m]> i keep getting `2019-05-23 10:55:49,823 - ERROR - HTTPConnectionPool(host='127.0.0.1', port=32991): Max retries exceeded with url: /shutdown (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe1e87f1780>: Failed to establish a new connection: [Errno 111] Connection refused'))
<attente[m]> 2019-05-23 10:55:49,930 - ERROR - The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code 1. Type ':YcmToggleLogs ycmd_55479_stderr_mhc_t3k5.log' to check the logs.`
<infinisil> nh2: You can `nix-instantiate --eval --read-write-mode -E 'builtins.path { name = "foo"; url = ./file; }'`
<nh2> infinisil: ah cool. Let's write it down somewhere. Woul https://nixos.wiki/wiki/Cheatsheet#Adding_files_to_the_store be good?
<nh2> Also, that there mentions `nix-store --add-fixed`. Does that actually exist? It's not in the man page
vidbina has joined #nixos
<{^_^}> [nixpkgs] @j0xaf opened pull request #61964 → kind: 0.2.1 -> v0.3.0 → https://git.io/fjBZh
<gchristensen> a Nix "strace" which uses scopedImport to (1) instrument all the builtins (2) overrides `import` specifically to wrap all the values inside it (recursively) with trace statements
<Taneb> That sounds neat
fendor has quit [Quit: Leaving]
englishm has quit [Excess Flood]
englishm has joined #nixos
drakonis_ has joined #nixos
drakonis1 has joined #nixos
schjetne has quit [Ping timeout: 258 seconds]
<greenerworld[m]> does anyone know what `unwrapped` versions of `libreoffice` do?
drakonis has quit [Ping timeout: 264 seconds]
greenerworld has joined #nixos
<infinisil> nh2: Sounds good
<greenerworld> does anyone know what the difference between `libreoffice-fresh-unwrapped` and `libreoffice-fresh`?
JulianWels has left #nixos [#nixos]
hhefesto has joined #nixos
Ariakenom has quit [Quit: Leaving]
<nh2> Bu what mechanism can `callCabal2nix` run cabal2nix with Internet? I'd like to make a similar `callStack2nix`
<nh2> *By
<clever> nh2: callCabal2nix cant get internet access, your just giving it a storepath with everything it needed
<nh2> clever: oh, then I must have misunderstood that.
erasmas has joined #nixos
klaas_ has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
is_null has quit [Ping timeout: 246 seconds]
ajs124 has quit [Quit: Gateway shutdown]
waleee has quit [Quit: WeeChat 2.4]
<hyper_ch> hi gchristensen
waleee has joined #nixos
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #61966 → qarte: 3.10.0+188 -> 4.6.0 → https://git.io/fjBcG
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
emi80 has quit [Ping timeout: 256 seconds]
is_null has joined #nixos
TwistedFate has joined #nixos
<TwistedFate> howdy folks
<TwistedFate> is nixos without systemd possible?
<hyper_ch> no
<gchristensen> you could use Nix to build an OS which doesn't use systemd, but NixOS + systemd are really quite bonded
<infinisil> TwistedFate: qyliss has done some experiments with that, not sure how far it got though
<TwistedFate> shame
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a59b6608f97 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<waleee> TwistedFate: if you can accept libre-kernels, an exotic init-system (gnu sheperd) and guile, there's guixsd
<hyper_ch> while I still think binary logs are horrible, I have to admit that journalctl is quite nice though
<gchristensen> super nice
<gchristensen> and timers are ♥‿♥
<hyper_ch> gchristensen: changing wg from oneshot to simple and retry has been working all day long
<gchristensen> oh really!
<TwistedFate> nixos was meant to be modular, in a way that the core system cannot be fked by the userland, right?
<gchristensen> what does that mean, TwistedFate?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61911 → python37Packages.persistent: 4.4.3 -> 4.5.0 → https://git.io/fj4hf
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « python37Packages.persistent: 4.4.3 -> 4.5.0 (#61911) »: https://git.io/fjBca
<gchristensen> hyper_ch: I think the main difference is simple means once systemd started it, it is considered Active, and on oneshot, systemd considers it active once it exits
<{^_^}> [nixpkgs] @globin merged pull request #61927 → strace: 5.0 -> 5.1 → https://git.io/fjBfM
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjBcw
<hyper_ch> gchristensen: for starting up server wgs it works all fine but not for clients it seems when using dns to designate the server
<gchristensen> right
<gchristensen> I think the main distinction is if you say, Requires = [ "wireguard-wg0.service" ] then the oneshot is more desirable
TwistedFate has left #nixos [#nixos]
<gchristensen> but it isn't very desirable if it is broken :P
<hyper_ch> btw, how to properly add the retry unit command here? https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/wireguard.nix#L248
<hyper_ch> I mean restart and restartsec
<gchristensen> just add `Restart = "on-failure"; RestartSec = "5s";` after line 248
<hyper_ch> thx
<hyper_ch> and then create a PR? *ggg*
polman has joined #nixos
<gchristensen> :)
<gchristensen> good next step for sure
schjetne has joined #nixos
<hyper_ch> let me reboot
<qyliss^work> hehe, funny to see that post come up again lol
<qyliss^work> looking forward to coming back to that when I get a chance
acarrico has quit [Ping timeout: 245 seconds]
<dminuoso> I have an application that needs a mutable directory, but its complaining that the store is read-only.
<qyliss^work> You need to tell it to use a directory that isn't in /nix/store
<dminuoso> qyliss^work: Is there a way to have a nix managed directory for it?
<dminuoso> That is, I dont want multiple builds of the same application to share that directory
bepvte has quit [Quit: The Lounge - https://thelounge.chat]
srid63 has quit [Ping timeout: 258 seconds]
<ottidmes> dminuoso: most of such packages have corresponding NixOS modules defining services that set up such directories
<qyliss^work> You can't have multiple instances with NixOS modules though
<qyliss^work> dminuoso: you could namespace by output path, if you can set the path at build time
<gchristensen> the application's module could be set up to supporte multiple instances
<qyliss^work> that too
<dminuoso> qyliss^work: Can I get just the hash directly or do I have to extract it manually?
<exarkun> Hi. First time trying stack on nixos, `stack new hello; cd hello; stack build` is failing: "error: attribute 'ghc865' missing, at (string):1:43"
<qyliss^work> dminuoso: I would just use $out
<dminuoso> qyliss^work: Mmm fair enough.
<hyper_ch> gchristensen: added those two, rebuilt, remove the entries from configuration.nix and it still works :)
<gchristensen> nice D:
<gchristensen> :D
<hyper_ch> when KDE was started, the wgs were already running
<ottidmes> exarkun: this is just a guess, but it could be that you are using a version of NixOS that no longer has that particular version available, so you could e.g. pin to an older nixpkgs or point ghc865 to some other other existing ghc version (but that this is your problem is just a guess, it was for someone else, no longer remember if it was stack related though)
<gchristensen> hyper_ch: it would be much much nicer if wg supported resolving at run time :(
acarrico has joined #nixos
<exarkun> ottidmes: Thanks
<exarkun> `nix search ghc` shows me there's a ghc package but I don't see the version. How do I see what version it is?
<{^_^}> commercialhaskell/stack#4539 (by duog, 16 weeks ago, open): Stack on nixos fails when ghc not available in nixpkgs, e.g. ghc802
<hyper_ch> gchristensen: I tried to debug with zx2c4 a long time ago
<gchristensen> oh?
<exarkun> installing it tells me it's 8.6.4
cross has joined #nixos
<ottidmes> > attrNames haskell.compiler
<{^_^}> [ "ghc822" "ghc822Binary" "ghc844" "ghc863Binary" "ghc864" "ghc865" "ghc881" "ghcHEAD" "ghcjs" "ghcjs84" "ghcjs86" "integer-simple" ]
srid63 has joined #nixos
<ottidmes> exarkun: yep, I remembered correct and it indeed was the problem linked by infinisil, here is the log when I helped someone with the same problem: https://logs.nix.samueldr.com/nixos/2018-11-28#1755519
<exarkun> ottidmes: tyvm
sudoforge has joined #nixos
Musk_Nakamoto has quit [Ping timeout: 258 seconds]
sudoforge has quit [Ping timeout: 248 seconds]
esmerelda has quit [Ping timeout: 268 seconds]
sigmundv has quit [Ping timeout: 258 seconds]
esmerelda has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
o1lo01ol1o has joined #nixos
mexisme_ has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/e4ee5b91607 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
m0rphism has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: Revert "automatic Haskell package set update" »: https://git.io/fjBCO
drakonis1 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjBCZ
m0rphism has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61910 → python37Packages.pex: 1.6.6 -> 1.6.7 → https://git.io/fj4p2
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « python37Packages.pex: 1.6.6 -> 1.6.7 (#61910) »: https://git.io/fjBC8
drakonis has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/848ae6a932b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61902 → python37Packages.html5-parser: 0.4.5 -> 0.4.6 → https://git.io/fj4Nu
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBCg
drakonis_ has quit [Ping timeout: 272 seconds]
Matthieu_ has joined #nixos
<{^_^}> [nixpkgs] @johnchildren opened pull request #61967 → Adds configure step to initialize go cache → https://git.io/fjBCi
Thra11 has joined #nixos
Shoubit has quit [Ping timeout: 248 seconds]
hmpffff has joined #nixos
ottidmes has quit [Quit: WeeChat 2.4]
vidbina has quit [Quit: vidbina]
rfold has joined #nixos
Matthieu_ has quit [Ping timeout: 258 seconds]
Musk_Nakamoto has joined #nixos
drakonis has quit [Ping timeout: 248 seconds]
fusion809 has quit [Remote host closed the connection]
toppler`` has quit [Ping timeout: 268 seconds]
GerdFlaig[m] has joined #nixos
ym555 has joined #nixos
toppler`` has joined #nixos
m0rphism has quit [Quit: WeeChat 2.4]
m0rphism has joined #nixos
acarrico has quit [Ping timeout: 248 seconds]
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
drakonis has joined #nixos
esmerelda has quit [Ping timeout: 272 seconds]
ThatDocsLady has joined #nixos
<tilpner> Huh? But the milestone is not complete!
Matthieu_ has joined #nixos
srid63 has quit [Read error: Connection reset by peer]
<tilpner> When did that happen
<gchristensen> literally seconds ago
<tilpner> Yesterday there were four issues tagged as blocking 0.8.0
srid63 has joined #nixos
<genesis> i still find to write some shell.nix to get into a crossdev env
<genesis> need to override sdl etc to be minimal, i don't find the right solution to have all that in one file
<gchristensen> tilpner: maybe it is a mistake
coconnor has joined #nixos
hhefesto has quit [Ping timeout: 272 seconds]
Myhlamaeus has joined #nixos
<genesis> basicaly i need to override kernel and a few package to be minimalist and patched.
<gchristensen> tilpner: not a mistake
is_null has quit [Ping timeout: 272 seconds]
<dminuoso> Mmm. How can I access the global /tmp directory inside the buildPhase?
<dminuoso> (I need to create symlinks because oh well reasons)
m0rphism has quit [Quit: WeeChat 2.4]
<symphorien> You can't because builds are sandboxed
hmpffff has quit [Quit: nchrrrr…]
* clever sweeps his unix sockets under the rug
<dminuoso> symphorien: What's the next best thing then if I need mutable directories?
m0rphism has joined #nixos
is_null has joined #nixos
<symphorien> Can you elaborate ?
greenerworld has quit [Ping timeout: 256 seconds]
<dminuoso> symphorien: So I have an application that has this assumption that $out/tmp is a writable tmp directory
<dminuoso> Because its closed source, I cant fix that.
<clever> dminuoso: you can symlink $out/tmp to /tmp, without having access to the real /tmp
<dminuoso> clever: But where would I do that?
<clever> (at build time)
<gchristensen> oh dear clever :P
<dminuoso> clever: Mmm.
<dminuoso> clever: Ah this works great. Cheers.
swflint has quit [Ping timeout: 252 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
alexherbo2801 has joined #nixos
Glider_IRC_ has joined #nixos
swflint has joined #nixos
<dminuoso> clever: When I try to install it, I get a warning about a dangling symlink
<dminuoso> And its broken indeed.
<pie_> clever, hmm, i set __impure on something without settign outputHash and now networking doesnt work, even though its supposed to
<clever> dminuoso: when nix-env is ran?
<dminuoso> clever: Yes
<clever> pie_: i think __impure is for things like current date/time, so it wont cache
alexherbo280 has quit [Ping timeout: 248 seconds]
<clever> pie_: you must still have outputHash if you want network
<gchristensen> `__impure` isn't a thing, pie_
<{^_^}> [nixpkgs] @worldofpeace merged pull request #47153 → hunspellDict.fr-any: Link `fr-moderne.dic` to `fr_FR.dic` → https://git.io/fA5jy
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjBW8
<pie_> gchristensen, oh its not? :V
<gchristensen> no
<pie_> did it get reverted or something or just never ended up in main
<m0rphism> The `nixos.libcap` attribute creates not only `libcap-VERSION` but also `libcap-VERSION-lib`, the latter containing the actual `.so` files. Is there a way to refer to the latter via an attribute?
<clever> i'm probably mixing it up with something else
Glider_IRC__ has quit [Ping timeout: 258 seconds]
<pie_> random link, i actually got it off somewhere on github
<gchristensen> yes, that isn't on master
<pie_> nooo
<gchristensen> only on the impure-derivations branch
<clever> ahh
knupfer has quit [Ping timeout: 252 seconds]
<pie_> whats going on with the commits at the bottom of this thread? https://github.com/NixOS/nix/issues/520
<{^_^}> nix#520 (by copumpkin, 4 years ago, open): Nondeterministic derivations?
<dminuoso> warning: skipping dangling symlink '/nix/store/n4aas39l50sw15zrz412rzvwqpb05wwy-user-environment/tmp'
<dminuoso> clever: Is that something I did, or does it just not work in principle?
Ariakenom has joined #nixos
<clever> dminuoso: it may be a bug in the nix-env buildenv stuff, its no longer allowed to point to things that dont exist
<dminuoso> clever: Well the target directory inside /tmp definitely exists. Is this related to the sandboxing perhaps?
<dminuoso> I mean at build time I can construct that symlink, but the installPhase is where it breaks
<clever> dminuoso: the above error isnt the installPhase
ThatDocsLady has quit [Ping timeout: 258 seconds]
<dminuoso> Oh mmm
shabius has quit [Quit: Leaving]
viric has joined #nixos
waleee has quit [Quit: WeeChat 2.4]
reinhardt has joined #nixos
<tilpner> gchristensen: Guess they decided the bugs weren't that important :/
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61897 → python37Packages.factory_boy: 2.11.1 -> 2.12.0 → https://git.io/fj4Fa
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBWu
m0rphism has quit [Quit: WeeChat 2.4]
m0rphism has joined #nixos
freeman42x has joined #nixos
<averell> oh wow they actually did make zfs 0.8.0? this is like my halflife 3 release moment.
simukis_ has joined #nixos
esmerelda has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61865 → ocsigen-i18n: 3.1.0 -> 3.4.0 → https://git.io/fj4XR
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBWy
lovesegfault has quit [Ping timeout: 248 seconds]
polman has quit [Ping timeout: 248 seconds]
polman has joined #nixos
lovesegfault has joined #nixos
m0rphism has quit [Quit: WeeChat 2.4]
waleee has joined #nixos
m0rphism has joined #nixos
ondrejs has joined #nixos
Thra11 has quit [Ping timeout: 248 seconds]
<ondrejs> Hello. I installed program foo with nix-copy-closure and now I want to define a systemd unit which will start it, unfortunately pkgs.foo is missing in configuration.nix. What's a proper way to find its location (for ExecStart=$pkgs.foo/bin/foo) please?
ym555 has quit [Ping timeout: 258 seconds]
<m0rphism> is there some reason why overriding `steam` with `extraPkgs = [ libcaps.lib ]` wouldn't make the `.so`-files from `libcap`'s `lib`-output visible to steam?
ThatDocsLady has joined #nixos
<m0rphism> steamvr keeps complaining about missing `libcaps.so.2` while that file is present at `/nix/store/HASH-libcaps-VERSION-lib/lib/` :/
<ondrejs> * I installed it with nix-env -i <hash>-foo-<version>
jabranham has joined #nixos
pie_ has quit [Ping timeout: 248 seconds]
<astal> how i can override my derivation and use it? (through the overrideDerivation)?
<genesis> ondrejs try with ? nix eval nixpkgs.foo.outPath/bin/foo
<ondrejs> genesis: that has the same problem, unfortunately
<tilpner> kuznero[m]: FF67 is now in 19.03 and unstable, if you have any workaround to remove
<kuznero[m]> Super! Thanks!
m0rphism has quit [Quit: WeeChat 2.4]
Thra11 has joined #nixos
m0rphism has joined #nixos
<waleee> FF67 was an annoying update, insisted on creating a new profile instead of using your old one
Matthieu_ has quit [Ping timeout: 244 seconds]
<gchristensen> ...really
mexisme_ has joined #nixos
<slabity> I still get that issue when updating FF
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61905 → python37Packages.livereload: 2.6.0 -> 2.6.1 → https://git.io/fj4Ac
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « python37Packages.livereload: 2.6.0 -> 2.6.1 (#61905) »: https://git.io/fjBln
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61892 → python37Packages.distlib: 0.2.8 -> 0.2.9 → https://git.io/fj4de
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBl0
hmpffff has joined #nixos
m0rphism has quit [Quit: WeeChat 2.4]
m0rphism has joined #nixos
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @joachifm pushed to master « tor-browser-bundle-bin: 8.0.9 -> 8.5 »: https://git.io/fjBlz
<m0rphism> nvm, steamvr is the problem... I created a copy of `libcap/default.nix` which doesn't use multiple outputs but the `.so` file is still not found. Problem lies somewhere else...
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61893 → python37Packages.deluge-client: 1.7.0 -> 1.7.1 → https://git.io/fj4dI
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBl6
kisonecat has joined #nixos
esmerelda has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60035 → kde_applications: 18.12.03 -> 19.04.1; kdeFrameworks: 5.56 -> 5.58; plasma-5: 5.15.3 -> 5.15.5 → https://git.io/fj3Wz
<{^_^}> [nixpkgs] @worldofpeace pushed 17 commits to master: https://git.io/fjBlM
m0rphism has quit [Quit: WeeChat 2.4]
m0rphism has joined #nixos
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
bsima- has quit [Quit: ZNC 1.7.2 - https://znc.in]
bsima1 has joined #nixos
Notkea has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61879 → python37Packages.asciimatics: 1.10.0 -> 1.11.0 → https://git.io/fj4S1
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjBl7
Notkea has joined #nixos
acarrico has joined #nixos
ambro718 has joined #nixos
genesis has quit [Ping timeout: 257 seconds]
m0rphism has quit [Client Quit]
fendor has joined #nixos
m0rphism has joined #nixos
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #61940 → helmfile: 0.40.1 -> 0.64.1 → https://git.io/fjBqk
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjBlN
<ambro718> It's normal that va-api doesn't work with nvidia drivers, right?
m0rphism has quit [Client Quit]
linarcx has quit [Quit: WeeChat 2.4]
m0rphism has joined #nixos
bsima1 has quit [Quit: ZNC 1.7.2 - https://znc.in]
reinhardt has quit [Quit: Leaving]
bsima1 has joined #nixos
bsima1 has quit [Client Quit]
bsima1 has joined #nixos
<Baughn> Yeah. Use vdpau instead.
<ambro718> I know, just wasn't sure if that's normal.
ottidmes has joined #nixos
shabius has joined #nixos
esmerelda has joined #nixos
goibhniu1 has quit [Ping timeout: 245 seconds]
gxt has joined #nixos
<{^_^}> [nixpkgs] @aij opened pull request #61969 → zfsUnstable: 0.8.0-rc5 -> 0.8.0 → https://git.io/fjB8G
judson has joined #nixos
zeta_wolf has joined #nixos
bollu has quit [Quit: Ping timeout (120 seconds)]
bollu has joined #nixos
knupfer has joined #nixos
bsima1 has quit [Quit: ZNC 1.7.2 - https://znc.in]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61942 → gtk{2,3}-x11: build against pango with X11 support enabled → https://git.io/fjBqt
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjB8z
hmpffff has quit [Quit: nchrrrr…]
pie_ has joined #nixos
bsima has joined #nixos
<ambro718> How does one nix-build a package with overrides?
<dminuoso> Mmm, are there alternative ways of getting a sym link from my build to `/var/tmp` in such a fasion, that it survives nix-env?
<symphorien> The easiest way is to write a file "foo.nix" containing:
<dminuoso> I mean I could probably just encode it into the run script, but Id prefer it to happen at installPhase
<symphorien> with import <nixpkgs> {} ; bar.override {...}
genesis has joined #nixos
<symphorien> And running: nix-build foo.nix
<zeta_wolf> i still haven't figured out the elisp to fix rcirc irc in emacs to get into other channels that require registration, so i have a quick question that is off topic: in nixos i just installed an emacs package called gitlab which is a client that interfaces between emacs and gitlab, i just need to paste two lines of code to get the package to work in emacs but i am not sure what is the `gitlab-token-id` and where to fi
<symphorien> You can do it without a file with the -E flag but I don't find it very practical
bsima has quit [Client Quit]
<ambro718> yeah I just did -E, it's more practical than editing a file (and leaving junk around)
hhefesto has joined #nixos
bsima has joined #nixos
Myhlamaeus has quit [Ping timeout: 258 seconds]
ubert has quit [Remote host closed the connection]
<zeta_wolf> nevermind, i'll look elsewhere for help
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
zupo has joined #nixos
zemm_ is now known as zemm
<marek> gchristensen: hey, how can I ask the borg to rerun the eval again?
<gchristensen> do you have permission to ask it to build things?
<gchristensen> if yes: @grahamcofborg eval. if not, link itt ome and I'll do it :)
<marek> I don't think I do
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « liburing: 1.0.0pre116 -> 1.0.0pre118 »: https://git.io/fjB8i
m0rphism has quit [Quit: WeeChat 2.4]
<{^_^}> #61925 (by dtzWill, 17 hours ago, open): xterm: 344 -> 345
<{^_^}> #61929 (by dtzWill, 17 hours ago, open): txr: 209 -> 216
knupfer has quit [Remote host closed the connection]
<marek> I think both failures might be related to a problem on the builders
knupfer has joined #nixos
<gchristensen> does it need an eval, or a rebuild?
<marek> sorry, rebuild
zupo_ has joined #nixos
<gchristensen> no worries :)
<marek> yay, thank you
<DigitalKiwi> how could I make an ssh key embedded in a live usb?
m0rphism has joined #nixos
zupo has quit [Ping timeout: 272 seconds]
hoijui has joined #nixos
<DigitalKiwi> gchristensen: you'll never guess what problems i've been having for 3 days now ;_; (ok maybe you will since they're in that gist)
zupo has joined #nixos
<DigitalKiwi> was with nixos-unstable channel. and then like an idiot i tried switching the channel to nixos-19.03 which did work... but then failed to boot since i created the zfs with nixos-unstable :'(
<gchristensen> :|
<tilpner> And you didn't have an old generation?
{^_^} has quit [Remote host closed the connection]
zupo_ has quit [Read error: Connection reset by peer]
<DigitalKiwi> it was the http framing layer failed to decompress xz stufff
tarikogut has joined #nixos
<DigitalKiwi> it's a brand new install
{^_^} has joined #nixos
bsima has quit [Quit: ZNC 1.7.2 - https://znc.in]
<gchristensen> ehhh that happens ... periodically.usually just a retry addresses it
bsima has joined #nixos
<DigitalKiwi> i lost track of how many times i retried
<DigitalKiwi> it occasionally made progress and then it got to having the same error every time :/
<DigitalKiwi> (probably over 10 times idk)
tput has joined #nixos
<DigitalKiwi> like i said days
<ottidmes> DigitalKiwi: to embed files in a live usb you can add files to the contents of it, isoImage.contents or isoImage.storeContents, besides that you could also include it in the initrd and copy it over to /mnt-root during postMountCommands
<DigitalKiwi> ottidmes: ok thanks i'll try that
schjetne has quit [Ping timeout: 272 seconds]
<DigitalKiwi> also how come when i install a de, say kde, it always seems not as well setup as the one on on the live usb (iirc it's been a while), is there an easy way to make sure the install works more like the live usb?
<ottidmes> DigitalKiwi: it should just be based on this file: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix I don't think there is any more to it
hmpffff has joined #nixos
zeta_wolf has quit [Remote host closed the connection]
<DigitalKiwi> ok, thank you
matix has joined #nixos
<{^_^}> [hydra] @grahamc merged pull request #648 → tests: change postgresql socket dir to /tmp → https://git.io/fjTAd
<{^_^}> [hydra] @grahamc pushed 2 commits to master: https://git.io/fjB4e
<hyper_ch> gchristensen: another reboot and all is fine with wg clients
<gchristensen> nice
<gchristensen> did you send a PR?
<hyper_ch> not yet
<gchristensen> ok
<dminuoso> Is there a way to specify in a derivation that a directory /run/foo be created?
ondrejs has quit [Quit: Page closed]
alexherbo28010 has joined #nixos
<tilpner> Not really
alexherbo2801 has quit [Ping timeout: 248 seconds]
<hyper_ch> gchristensen: what would I name the commit? wireguard: fix client start ?
bsima has quit [Quit: ZNC 1.7.2 - https://znc.in]
<dminuoso> tilpner: So the only way would be to have the application set up such directories at runtime?
<tilpner> dminuoso: The solution in NixOS for that are modules
<gchristensen> I'd write up something a bit longer, like ... "wireguard: restart on failure\nAs a oneshot service, if the startup failed it would never be attempted again. This is problematic when peer's addresses require DNS. DNS may not be reliably available at the time wireguard starts. Converting this to a simple service with Restart and RestartAfter directives allows the service to be reattempted, but at the cost of losing the oneshot semantics."
bsima has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bachp opened pull request #61970 → Gitlab runner 11.11.0 → https://git.io/fjB4T
o1lo01ol1o has joined #nixos
genesis has joined #nixos
genesis is now known as Guest23268
<hyper_ch> you can have such long commit messages? oO
<hyper_ch> why not just add all of book 7 of A Song of Fire and Ice as commit message? :)
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<gchristensen> one moment, hyper_ch
<hyper_ch> gchristensen: ok
npmccallum has quit [Quit: npmccallum]
gagbo has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjB4q
<{^_^}> [nixpkgs] @worldofpeace merged pull request #61785 → youtube-dl: 2019.05.11 -> 2019.05.20 → https://git.io/fj4O6
<hyper_ch> gchristensen: why do you link me to docker?
<gchristensen> the commit message
<hyper_ch> ah :)
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @xrelkd to release-19.03 « youtube-dl: 2019.05.11 -> 2019.05.20 »: https://git.io/fjB4s
<hyper_ch> still no book 7 of "A Song of Fire and Ice" with the real ending :)
<hyper_ch> but it's a pretty long commit message :)
tarikogut has left #nixos [#nixos]
kisonecat has quit [Ping timeout: 258 seconds]
<kuznero[m]> Hi All! Is it enough to add new package name to `top-level/all-packages.nix` to get it discoverable through `nix-shell -I $(pwd) -p new_package_name`?
<genesis> hum what you're trying to achieve ?
<genesis> i don't think you're doing well .
<kuznero[m]> For some reason it keeps telling me that it cannot find that new package I am trying to introduce ;(
<genesis> for assuming $pwd is your nixpkgs root dir ?
<kuznero[m]> Yes, it is my custom nixpkgs. I have introduced a new package under `applications/office/new_package_name/default.nix` and just want to make it a top-level pacakge.
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<genesis> nix-shell doesn't work like that
<genesis> whwy not nix-env or nix-build ?
<kuznero[m]> Will `nix-env -I $(pwd) -p new_package_name` work this way?
<genesis> nix-env -f you_nix_path -iA yourpkgname
<kuznero[m]> sec
<genesis> or nix-build nixpkgs-path -A yourpackname
<kuznero[m]> Ah, that is way better ;)
<genesis> :)
<kuznero[m]> Thanks
<genesis> and read nix-pills.
<dminuoso> So I have an unrelated question. Im staring at so many examples of activationScript using lib.stringAfter, which lacks any documentation - why do people use this? What is this for?
<dminuoso> How do people navigate nix like this?
<kuznero[m]> I did, but a couple of year ago already ;) Will have to go through it again
<{^_^}> [nixpkgs] @sjau opened pull request #61971 → wireguard: restart on failure\nAs a oneshot service, if the startup f… → https://git.io/fjB4c
<infinisil> kuznero[m]: `nix-shell -I nixpkgs=$PWD -p new_package_name` should work too
<infinisil> Of course `nix-build -A new_package_name` is simpler if you just want to build it though
<kuznero[m]> Nice, interesting that all three have slightly different way of doing the same
<kuznero[m]> But I am sure there is just logic I don't understand yet
<infinisil> The thing most out of line is nix-shell with its -p flag
<genesis> yes :') ; all that is a bit confusing sometimes.
<kuznero[m]> `-p` is not an issue here for `nix-shell` as we are bringing package for a specific shell. But what I am puzzled about is how to reference custom nixpkgs `-I` `-f`, etc.
<infinisil> Hmm right, nix-env's -f is also out of line
Anton-Latukha has joined #nixos
<kuznero[m]> yep
<infinisil> (Having to use -I for nix-shell follows from how nix-shell's -p works though)
<infinisil> That is, `nix-shell -p foo bar` gets translated to `nix-shell -E 'with import <nixpkgs> {}; stdenv.mkDerivation { name = "shell"; buildInputs = [ foo bar ]; }'
mexisme_ has quit [Ping timeout: 268 seconds]
<infinisil> So it always takes packages from <nixpkgs> from NIX_PATH, and the way to change that is via -I nixpkgs=/some/path
shibboleth has joined #nixos
domogled has quit [Remote host closed the connection]
<genesis> i still didn't sucess to fix my ~/.config/nixpkgs/config.nix to get NIX_PATH working
<infinisil> genesis: What's the problem?
<genesis> i don't know, i'm tired, i will see that another day
<genesis> i'm more interesting on nix crosspackage, but seems very far from what i'm used to.
schjetne has joined #nixos
<genesis> btw , nixwrt seems to be a good start.
<hyper_ch> gchristensen: pr created
<gchristensen> hrm. where is {^_^}
<infinisil> ,ping
<{^_^}> pong
<genesis> lazy {^_^}
* gchristensen adds that to the to-do list
<gchristensen> that list is getting awfully long :x
knupfer has quit [Ping timeout: 252 seconds]
<genesis> ^^
domogled has joined #nixos
<hyper_ch> printf "%s" "" > /path/to/todo.list
<gchristensen> sounds good
<hyper_ch> run that before adding my PR on your todo list :)
<hyper_ch> so, I'm off too bed.. it's way too late already... gottag get up in 5h 45m
<gchristensen> sounds early
waleee has quit [Quit: WeeChat 2.4]
nckx has quit [Quit: Updating my GNU Guix System <https://guix.gnu.org>]
<dminuoso> tilpner: Wonderful, working out just fine with modules.
<dminuoso> Nixos is not so hard after all.
<dminuoso> Now if only nix had a type system... :(
<lassulus> options have type
<lassulus> s
<dminuoso> lassulus: That's just runtime checking/assertions, not actual types in a type theory sense.
<lassulus> thats sadly correct
<kuznero[m]> Is there any way to automate calling to `kbuildsycoca5` (in case in KDE) when installing new desktop item somehow?
nckx has joined #nixos
<kuznero[m]> To update menu
<simpson> dminuoso: Don't worry, one gets used to it.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #61878 → python37Packages.argcomplete: 1.9.5 -> 1.10.0 → https://git.io/fj4SX
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjB4X
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @tathougies opened pull request #61972 → Pixman musl → https://git.io/fjB41
<{^_^}> [nixpkgs] @tathougies closed pull request #61972 → Pixman musl → https://git.io/fjB41
<{^_^}> [nixpkgs] @veprbl pushed to pr/fix_libglvnd « addOpenGLRunpath: only apply to ELF files »: https://git.io/fjB4D
<gchristensen> amazing
<dminuoso> simpson: I dont think so, Ive spent a lot of time migrating stuff from the untyped Ruby to Haskell - so Im kind of fine with types.
<{^_^}> [nixpkgs] @veprbl opened pull request #61973 → addOpenGLRunpath: only apply to ELF files → https://git.io/fjB4S
<gchristensen> I ran ipfs for a few minutes "ages" ago, and I still get dozens of attempts to connect over 4001 each minute
BL4NK_UNK0WN has joined #nixos
<simpson> dminuoso: Sounds like you're also fine without types? I don't want to give you the impression that typed Nix is coming.
bt` has joined #nixos
<dminuoso> simpson: Well there was some WIP a while ago https://github.com/regnat/tix-papers https://github.com/regnat/tix
<genesis> "typed Nix is coming" brrrrrr (A Song of Fire and Ice theme)
<dminuoso> Heh. Though I guess Dhall is a thing.
<simpson> Sure, one can write in Dhall.
<genesis> what is a dhall
<genesis> i look that name earlier trying to use cache nix arm
<genesis> file (default: "/home/genesis/.config/cachix/cachix.dhall")
<BL4NK_UNK0WN> p
gagbo has quit [Ping timeout: 245 seconds]
drakonis has quit [Read error: Connection reset by peer]
<simpson> genesis: Dhall is a typed configuration language: https://github.com/dhall-lang/dhall-lang nixpkgs has a utility that allows importing Dhall configuration as if it were Nix.
<azazel> what's the simpler way to transform a file containing "shell environment" values (one per line, key="value" or key=value) and transform it into a attribute set?
<genesis> th simpson , i missed the nix utility, i guess that why cachix use it
Ariakenom has quit [Quit: Leaving]
<genesis> dhallToNix
<infinisil> ZFS 0.8.0 \o/
<infinisil> The waiting is over!
<genesis> xfs for ever.
gxt has quit [Quit: WeeChat 2.4]
<cransom> wooooooo.
<pie_> infinisil, cool, whats new
<pie_> besides maybe less data loss ;P
knupfer has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #60877 → nukeReferences: fix for store paths with special characters → https://git.io/fjBBf
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to staging: https://git.io/fjBBJ
<infinisil> pie_: ^
mexisme_ has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #60405 → vscode-extensions.formulahendry.auto-close-tag: init at 0.5.6 → https://git.io/fjG2h
<{^_^}> [nixpkgs] @veprbl pushed commit from @jonringer to master « vscode-extensions.formulahendry.auto-close-tag: init at 0.5.6 (#60405) »: https://git.io/fjBBU
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
toppler`` has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @AmineChikhaoui opened pull request #61974 → RFC: introduce a patches file in <pkg>/nix-support/ → https://git.io/fjBBT
drakonis_ has joined #nixos
<pie_> hm
<infinisil> In addition to native encryption, device removal seems pretty major too :o
selfsymmetric-pa has joined #nixos
toppler`` has joined #nixos
<pie_> zfs does look verz complicated
drakonis has quit [Ping timeout: 250 seconds]
<pie_> this stuff better have unit and integration tests to hell and back
<pie_> infinisil, looks cool tho
<dminuoso> So now I have a .nix containing a lambda that produces a derivation, but its parametrized over config and pkgs. Together I also produced a module, now how do I build that package in such a way, that it feeds the lambda with the config and pkg from my nixos?
<dminuoso> (The module seemed to have been just a matter of importing it into my configuration.nix module)
<pie_> are you feeding it to your configuration.nix or are you just doing a normal build
<dminuoso> pie_: Im feeding it to my configuration.nix
<pie_> i guessss you just put it in systempackages or wherever
<pie_> maybe you have to callpackage it yourself
<pie_> i cant remember, been digging too much in builds, barely doing any system config
<dminuoso> pie_: Oh, you mean I'd just import the derivation and throw it in there? sort of like `let foo = import 'foo.nix' {}; ... environment.systemPackages = [ foo ];` ?
<pie_> yeah thats what i figure
<infinisil> dminuoso: `{ pkgs, ... }: { environment.systemPackages = [ (import ./file.nix { inherit (pkgs) config; inherit pkgs; }) ]; }` probably
<infinisil> Or with a `let in` yeah
<pie_> or just pkgs.callpackage (does that get config though?)
<dminuoso> Interesting. Can I do this via nix-env as well?
<pie_> well, since infinisil said " inherit (pkgs) config;" is possible, i figure you can just callpackage it
<dminuoso> That is, can I take `nix-env` and have it feed the derivation with pkg and config?
<dminuoso> Or do I have to go the configuration.nix route?
<infinisil> Ah yup, callPackage would be simpler
<dminuoso> infinisil, pie_: Regarding callPackage, it seems clear how to do it that way. Cheers.
<pie_> dminuoso, my knee-jerk guess would be only things running as root have access to config (config contains stuff like user configuration and secrets and stuff right?)
<infinisil> dminuoso: nix-env -iE '(import <nixpkgs> {}).callPackage ./file.nix {}'
wfranzini has quit [Remote host closed the connection]
<infinisil> Like this?
<dminuoso> infinisil: I guess systemPackages it is. :)
o1lo01ol1o has quit [Remote host closed the connection]
Thra11 has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
<pie_> actually...im really not sure about the access to config thing. because the whole deal is you dont want seccrets in your config because it ends up in the store or somethng
<infinisil> Note that I'm assuming you mean the pkgs.config value, which is very different from the config you get in NixOS modules
<pie_> i was assuming the latter
tput has quit [Ping timeout: 244 seconds]
<dminuoso> infinisil: Oh no, Im actually talking about the config from NixOS modules
<infinisil> Can you show the file?
<dminuoso> infinisil: which one?
<infinisil> The file you've been talking about this whole time
<dminuoso> Oh sure
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
alexherbo28010 is now known as alexkid
alexkid is now known as alexkidd
<infinisil> I see
justanotheruser has joined #nixos
<infinisil> dminuoso: You *could* pass in the config from NixOS there, but this is not very nice, because you're mixing things
<infinisil> dminuoso: I recommend taking a separate argument for each NixOS option that can influence the build
BL4NK_UNK0WN has quit [Remote host closed the connection]
<infinisil> So `{ pkgs, unstable, abisHost, statePath }`
<dminuoso> infinisil: I suppose part of the reason is that it would rebuild the package every time the config attribute set is changed, even if it didnt influence the abis package?
<infinisil> dminuoso: No that wouldn't happen, the derivation would only have to be rebuilt if the options it depends on change
<infinisil> But it's just cleaner to have package definitions on one layer, and NixOS above that
<infinisil> Instead of NixOS depending on packages, but packages also depending on NixOS
Yakulu has left #nixos ["Error from remote client"]
<dminuoso> infinisil: I suppose I could directly depend on some abisConfig, which is that inner most set.
<azazel> so, no one has any shortcut on how to parse a file filled with bash variables definitions?
<dminuoso> Would this be acceptable too?
<azazel> unbelivable
<infinisil> dminuoso: Yeah that wouldn't be too bad
mexisme_ has joined #nixos
<infinisil> I mean, it'll work either way, but in nixpkgs you won't be able to have `config` as an argument to a package
<infinisil> s/won't/wouldn't
<dminuoso> infinisil: I see.
<dminuoso> infinisil: So this makes it easier and semantically cleaner to use the package outside nixos I guess.
kisonecat has joined #nixos
<infinisil> Yeah
<dminuoso> infinisil: So I guess at that point, if I want it loaded into nixos, the cleanest way would still be via systemPackages (passing the config set to the import)?
ddellacosta has joined #nixos
<infinisil> If you have `{ pkgs ? ..., unstable ? ..., abisHost ? "192....", statePath ? "/var/abis/state" }:` you'll even be able to build the package and change those values with `nix-build --argstr abisHost 10.125.52.67`
domogled has quit [Ping timeout: 258 seconds]
<dminuoso> infinisil: Oh interesting, I could have a nixos default and a nix default - obviously. It just didn't occur to me to do it like that.
<dminuoso> That gives me exactly what I want. :)
<infinisil> dminuoso: Yeah, something like `environment.systemPackages = [ (import ./file.nix { inherit (config.programs.abis) abisHost statePath; }) ]`
<infinisil> Or `import ./file.nix { abiConfig = config.programs.abis; }` if you want to pass in the whole set (but note that NixOS adds a `_module` attribute to option set values)
<dminuoso> infinisil: Ah good to know. Your input has been very helpful, thank you.
<infinisil> Np :)
<dminuoso> Also thank you pie_!
<dminuoso> infinisil: One last thing, is there a sort of "local" channel that references a file system?
<dminuoso> Such that I dont have to place my program nix file near the modules
Matthieu_ has joined #nixos
<infinisil> dminuoso: overlays can be used for this
<infinisil> dminuoso: Put `self: super: { foo = super.callPackage ...; }` into ~/.config/nixpkgs/overlays/foo.nix
<infinisil> Ah, although this wouldn't make it available for NixOS :/
wfranzini has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0ca30f22f1a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<pie_> infinisil, configuration.nix can take overlays?
<infinisil> pie_: Yeah but it won't get them from ~/.config/nixpkgs/overlays
<pie_> right
<{^_^}> [nixpkgs] @markuskowa opened pull request #61975 → rtl_433: enable soapysdr backend support → https://git.io/fjBBy
<infinisil> There is a workaround though
<pie_> well you could explicitly import from there but thats kinda sketchy xD
* infinisil looks
<pie_> or super sketchy
<pie_> or outright privesc vuln
<infinisil> https://nixos.wiki/wiki/Overlays#Using_nixpkgs.overlays_from_configuration.nix_as_.3Cnixpkgs-overlays.3E_in_your_NIX_PATH
knupfer has quit [Remote host closed the connection]
<dminuoso> Oh boy, this is like monad tutorials all over again.
knupfer has joined #nixos
<infinisil> Haha how so?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hoijui has quit [Quit: Leaving]
<dminuoso> Just staring at this.
<infinisil> Hmm, looking at this I'm wondering why the author made it this complicated
<dminuoso> But I guess Ill apply the Feynman algorithm.
<gchristensen> that is way complicated o.o
<infinisil> > paths = (import <nixpkgs/nixos> {}).config.nixpkgs.overlays
<{^_^}> paths defined
<infinisil> This should work too
<infinisil> > paths
<{^_^}> [ ]
<infinisil> -> the bot's config doesn't have any overlays
<pie_> i dont know if foldl' and flip are equicalent to foldr but
<pie_> if they are that would probably be more readable than folr
<pie_> unless theres some kind of performance hit i dont know about
<dminuoso> foldl (flip f) :: Foldable t => (a -> b -> b) -> b -> t a -> b
<dminuoso> foldr f :: Foldable t => (a -> b -> b) -> b -> t a -> b
<dminuoso> So I guess they are the same. :)
<infinisil> Hmm..
<dminuoso> Or well, thats missing some `\f -> ...`
<{^_^}> [nix] @edolstra pushed 3 commits to offline-flakes: https://git.io/fjBBQ
<pie_> im not convinced by just the types :p
schjetne has quit [Ping timeout: 248 seconds]
<dminuoso> pie_: parametricity does the rest!
* pie_ hoogles foldl
knupfer has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « vivaldi: 2.5.1525.43-1 -> 2.5.1525.46-1 »: https://git.io/fjBBd
kisonecat has quit [Ping timeout: 258 seconds]
<dminuoso> infinisil: Regarding the overlay, that wouldn't feed the arguments through though, would it?
<dminuoso> I mean say I did: `self: super: { abis = super.callPackage ./pkgs/abis { }; }`
<{^_^}> [nix] @edolstra opened pull request #2890 → Offline flakes → https://git.io/fjBBb
<infinisil> > :p foldl (flip (a: b: { inherit a b; })) null [1 2]
<{^_^}> { a = 2; b = { a = 1; b = null; }; }
<infinisil> > :p foldr (a: b: { inherit a b; }) null [1 2]
<{^_^}> { a = 1; b = { a = 2; b = null; }; }
<infinisil> They aren't equivalent!
<dminuoso> Oh boy.
<infinisil> dminuoso: Ah yeah an overlay couldn't as easily pass the arguments
<{^_^}> [nixpkgs] @suhr closed pull request #52617 → deadbeef/plugins: add the waveform seekbar plugin → https://git.io/fhfTY
<infinisil> dminuoso: I guess you could do this: `{ config, ... }: { nixpkgs.overlays = [ (self: super: { foo = super.callPackage ./file.nix { inherit (config.programs.foo) bar baz; }; }) ]; }`
Musk_Nakamoto has quit [Read error: Connection reset by peer]
<infinisil> Then you have `foo` available in `pkgs.foo` in all modules
<pie_> id guess theyd be equivalent if the operation your were folding was commutative
<pie_> (after a bit more thought)
<pie_> ah well idk, im tired, gnight o/
<dminuoso> Good night \o
<{^_^}> [nixpkgs] @suhr opened pull request #61976 → kvirc: init at 5.0.0 → https://git.io/fjBBj
<dminuoso> infinisil: Though.. at that point I might as well just import the nix file directly.
<dminuoso> (I mean as amusing as the idea is, of creating an overlay and reusing it in the same module)
<dminuoso> Unless I grossly misunderstood what you meant by that.
<infinisil> dminuoso: With above you'll have separated the definition of the package from it's usesite
Matthieu_ has quit [Ping timeout: 272 seconds]
<dminuoso> infinisil: Wouldn't the same hold true for some `abis = import ./file.nix { inherit (config.programs.abis) bar baz }` ?
<infinisil> So you could e.g. have a `/etc/nixos/pkgs` directory where you put file.nix, and put above expression in `/etc/nixos/pkgs/module.nix`, and import that file in your configuration.nix
<dminuoso> Mmm
<dminuoso> Oh that's not too shabby, actually
<infinisil> And you could have 100 different files in different folders that use pkgs.foo
Musk_Satoshi has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
Soo_Slow has quit [Remote host closed the connection]
<infinisil> Well maybe that's not needed though, because you probably only use the package from the module
<infinisil> In any case there's lots of options how you could structure that
tbenst has quit [Remote host closed the connection]
tbenst has joined #nixos
azdle has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @kuznero opened pull request #61977 → vnote: init at 2.5 → https://git.io/fjBRL
<{^_^}> [nixpkgs] @kuznero closed pull request #61977 → vnote: init at 2.5 → https://git.io/fjBRL
<{^_^}> [nixpkgs] @laMudri opened pull request #61978 → ibus-engines.table: fix after update of settings infrastructure → https://git.io/fjBRY
drakonis1 has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @kuznero opened pull request #61979 → vnote: init at 2.5 → https://git.io/fjBRs
<colemickens> Is there an endorsed way of implementing plugins in nixos?
<colemickens> Or rather of supporting plugins for applications?
<colemickens> OBS plugins require some manual setup, but I've seen other things drop into /run/current-system/sw/share/x-plugins for example
<genesis> why it would be different that packaging plugin as application ?
<glasserc> How do I get access, within a derivation, to its output path? I'm patching an application's hardcoded path to a .glade file that the application ships
<genesis> glasserc : outpath of the apps you're writing ?
kisonecat has joined #nixos
<genesis> $out ?
<infinisil> colemickens: I think it's nicest if you can declare plugins in Nix expressions directly. Like weechat does: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/irc/weechat/default.nix
<infinisil> More declarative/pure that way
<glasserc> Is $out a complete and forever path? I thought it was only valid during a build
<genesis> hum $out would be same since the derivation is same ?
<genesis> since hash-name is based on derivation, if i understand
<glasserc> Ah, I guess I didn't understand $out, thanks
<infinisil> Yeah $out is the final path of the derivation
<genesis> and since you're in the buildphase, whatever.
<{^_^}> [nixpkgs] @andir opened pull request #61980 → firefox-wrapper: stop creating new profiles when the binary path changes → https://git.io/fjBRZ
<glasserc> So how does Nix avoid having incompletely build derivations in the store?
<glasserc> Like, if my build fails halfway through, does it have to clean up?
<genesis> it won't be in nix store
<genesis> since it build in /tmp/nix-*
<infinisil> Hmm good question, I think it has to clean up, but I haven't checked
<infinisil> genesis: That's just the build directory though, $out is different
<genesis> ho means it creates $out but won't be populated and be keep ?
erasmas has quit [Quit: leaving]
<glasserc> That's my question too
<glasserc> Because I've seen derivations touch files in $out
<clever> any lingering $out's will be marked as invalid, and nix-collect-garbage will delete them first
<glasserc> Ah, very cool, thanks
<clever> and if one is in the way at the start of a build, its cleaned up first
kisonecat has quit [Ping timeout: 246 seconds]
<genesis> yes it's never a pb.
<azazel> I sometimes wonder if there is better way to write expressions (one that allows to avoid parenthesis) when "chaining" function calls i.e. splitString " " (first (builtins.match "(fooo)" (readFile ../bar)))
<clever> `nix-collect-garbage --max-freed 1g` will limit how much it deletes, so valid (but un-rooted) things can survive
<infinisil> > :v hackyCompose
<{^_^}> hackyCompose = hackyCompose is not defined
<infinisil> > :v composeHack
<{^_^}> composeHack = a: if lib.isFunction a then b: if lib.isFunction b then composeHack (x: a (b x)) else a b else a
wfranzini has quit [Remote host closed the connection]
<infinisil> > composeHack (x: x + 1) (x: x * 2) 10
<{^_^}> 21
<infinisil> azazel: ^^
wfranzini has joined #nixos
<azazel> infinisil: thanks...mmm.. terse!
<kuznero[m]> > [nixpkgs] @kuznero opened pull request #61979 → vnote: init at 2.5 → https://git.io/fjBRs
<{^_^}> error: syntax error, unexpected '@', expecting ')', at (string):254:11
<kuznero[m]> Please review a very nice markdown based note taking app written in c++ and qt. Very simple package.
<infinisil> Or a not-hacky version would take the functions in a list
<azazel> ah, and compose like a pipe operator ..?
<infinisil> Hm no, `compose [(x: x + 1) (x: x * 2)] 10`
Matthieu_ has joined #nixos
<infinisil> The composeHack thing is basically the same, but it gets this list by taking as many function arguments as possible. The first non-function argument tells it that the list is finished :P
<genesis> kuznero[m] : i wonder if nix doesn't mkdir build/
<genesis> you would avoid your configurePhase, have you test ?
<kuznero[m]> I wouldn't suspect so, but not sure
<kuznero[m]> But yes, by installing with nix-env
<genesis> kuznero[m] : you copy to hicolor, you don't have hicolor theme as dependancies, i see this often
das_j has quit [Quit: "Bye!";]
rfold has quit [Quit: WeeChat 2.4]
<genesis> what others think to force user to have hicolor theme in the dependancies in this case?
<kuznero[m]> I see, could you please leave the comment on pr?
das_j has joined #nixos
<kuznero[m]> Qt, but that shouldn't force that
<genesis> i could but i've to sleep
<kuznero[m]> Ok, will fix it tomorrow
<genesis> so not this night, rendezvous tommorow 8H30 o'clock
<kuznero[m]> Otherwise, looks good?
<genesis> i've some issue
<genesis> homepage "" your uri
<genesis> qt5.full , i don't think you need the full package
<kuznero[m]> Ok, will fix. It needs a lot of qt really
<genesis> i could be, you told me it's an note app, i wonders :)
shibboleth has quit [Quit: shibboleth]
<kuznero[m]> It is a very good note taking app :)
<genesis> i use old zim
<genesis> sell it to me :)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61890 → dconf: Disable tests on armv7l-linux → https://git.io/fj45m
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjBRE
<{^_^}> [nixpkgs] @Infinisil merged pull request #61933 → alacritty: build on aarch64-linux → https://git.io/fjBUc
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjBRu
<genesis> markdown oki, plain text as zim
<kuznero[m]> I finally found something close to OneNote on windows. So far that is the best from open source. For now
<genesis> seems good yes
<infinisil> Ah neat, I have a friend who still uses Windows exclusively for OneNote
<kuznero[m]> And hopefully vnote can solve it for me too
Anton-Latukha has quit [Quit: Leaving.]
<genesis> i've a try
<genesis> shame nix-review is crazy overbloated on my hw
<colemickens> I have a package definition that I had in my local nixpkgs copy. I moved it into my overlay and now when I try to build that specific package, I get: "warning: connection security to hg.sr.ht is disabled per current settings; communication is susceptible to eaves
<genesis> i like to eliminate gtk apps one by one :)
<kuznero[m]> :-)
<genesis> last new thing from lxqt : lxqt-archiver , neat replacement to file-roller.
<genesis> this DE is improving well since years i use it
<colemickens> actually no, I just can't read
<{^_^}> [nixpkgs] @veprbl merged pull request #60640 → photon: 1.0.7 -> 1.3.0 → https://git.io/fjZRz
<{^_^}> [nixpkgs] @veprbl pushed 4 commits to master: https://git.io/fjBRg
<genesis> kuznero[m] : by curiosity, how you choose where to put vnotes in pkgs/top-level/all-packages.nix ?
<{^_^}> [nixpkgs] @veprbl merged pull request #60346 → carla: init at 2.0.0 → https://git.io/fjGmX
<{^_^}> [nixpkgs] @veprbl pushed commit from @minijackson to master « carla: init at 2.0.0 (#60346) »: https://git.io/fjBR2
<genesis> i love to make it looking in the same directory to keep alphabetic order
<genesis> :}
<Yaniel> AFAIK all-packages.nix is in roughly alphabetic order to begin with
<infinisil> alphabetic + a lot of noise
<genesis> so can we in review ask people to keep that ?
<genesis> seems to be impossible the way it's.
illegalprime has joined #nixos
<infinisil> Would be nice to keep it yeah
<genesis> it's in alphabetic order but not for same directory
<genesis> seems harder to maintain that way
abathur has joined #nixos
<genesis> with my idea, alphabetic order according to directory, we can split later easily
<Yaniel> seems reasonable to require in new PRs
<genesis> some parts is like that, some part is pure alphabetic
<Yaniel> would take a good amount of work to fix up existing stuff though
<Yaniel> although I guess it could be automated
<kuznero[m]> <genesis "kuznero : by curiosity, how you "> Tried finding last office app
Matthieu_ has quit [Ping timeout: 248 seconds]
<genesis> yes Yaniel ; with our future nix linter
<genesis> kuznero[m] : btw you missed something in this
<genesis> libsForQt5.callPackage
<kuznero[m]> What is that?
<genesis> instead of callPackage
<genesis> specific for qt5.
<kuznero[m]> Does that also need to be done for apps, it looks like it is for new qt libs
<genesis> sorry
<genesis> i mean qt5.callPackage
<genesis> btw a lot of qt apps seems to not have that, what thinks others ?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e1cd559f9b0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<kuznero[m]> Ok, will try out tomorrow. Need to get some sleep though. Please keep posting, will read it tomorrow. Thanks for help!
boredom101 has joined #nixos
kisonecat has joined #nixos
<genesis> the problem is that old stuff makes since a bit complicated when they serves as bad example for new derivation.
fendor has quit [Quit: Leaving]
<kuznero[m]> Agree, we'll fix that tomorrow together with hicolor theme dependency explicitly
<azazel> infinisil: thanks
ItsMarlin has joined #nixos
<genesis> kuznero[m] : put me @bignaux as reviewer
<genesis> i'd have a look.
mexisme has joined #nixos
<kuznero[m]> Thanks
<genesis> i wonder if all this package with hicolor just mean they want to put their icons somewhere
ThatDocsLady has quit [Ping timeout: 252 seconds]
<genesis> and since they're working on ubuntu and had this dirctory by default
<genesis> they just harcoded this path instead of another arbitrary path, and we should'nt ask to add hicolor theme dependancies
<{^_^}> [nixpkgs] @marsam merged pull request #61932 → nodejs: 8.15.1 -> 8.16.0, 12.2.0 -> 12.3.1 → https://git.io/fjBJb
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/fjBRQ
mexisme_ has quit [Read error: Connection reset by peer]
<kuznero[m]> I didn't see that dependency explicitly before. Not sure. And it seems I cannot add any reviewers for some reason.
<{^_^}> [nixpkgs] @marsam merged pull request #61903 → python37Packages.ipyparallel: 6.2.3 -> 6.2.4 → https://git.io/fj4Nd
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjBR5
hhefesto has quit [Read error: Connection reset by peer]
ItsMarlin has quit [Ping timeout: 246 seconds]
boredom101 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #61900 → python37Packages.flask_marshmallow: 0.10.0 -> 0.10.1 → https://git.io/fj4bV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjBRF
acarrico has quit [Ping timeout: 272 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<genesis> kuznero[m] : i mean just make a comment with @bignaux in it, btw.
alexkidd has quit [Quit: The Lounge - https://thelounge.chat]
ItsMarlin has joined #nixos
<colemickens> what is the magic that allows ~/.nix-profile/share to be populated with certain things that don't appear in /nix/var/nix/profiles/.../sw/share ?
_ris has joined #nixos
<infinisil> colemickens: ~/.nix-profile is literally just a symlink to /nix/var/nix/profiles/per-user/$USER/profile
<infinisil> So ~/.nix-profile/share must be the same as /nix/var/nix/profiles/per-user/$USER/profile/share
<infinisil> Unless you have something weird going on!
<colemickens> infinisil: I have a package, `wlrobs` that has `$(out)/share/obs/obs-plugins/wlrobs` it's available under that path
<colemickens> this is in contrast to if the package is in `environment.systemPackages`, and then it does NOT appear in the current-system profile's /share... path
freeman42x has quit [Ping timeout: 258 seconds]
<infinisil> colemickens: Ah, what gets linked in the end depends on environment.pathsToLink
<colemickens> yeah, right, vim-plugins :)
<colemickens> so there are different paths linked for user/sys profiles, or?
<infinisil> Yeah I think so
<infinisil> Not sure how nix-env decides that
<infinisil> Maybe it links everything?
* infinisil checks the source
<{^_^}> [nixpkgs] @ambrop72 opened pull request #61981 → nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it. → https://git.io/fjB0f
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
schjetne has joined #nixos
<infinisil> colemickens: Yeah it seems that nix-env links everything minus a couple hardcoded exceptions: https://github.com/NixOS/nix/blob/bfc6bdf222d00d3cb1b0e168a5d55d1a7c9cdb72/src/libstore/builtins/buildenv.cc#L58
<infinisil> If I understood the source correctly
<greenerworld[m]> https://github.com/NixOS/nixpkgs/pull/61920 who can I poke for this one?
<{^_^}> #61920 (by soner-cirit, 22 hours ago, open): jetbrains batch update
<colemickens> we've come full circle and I want a nixified wrappr
ottidmes has quit [Ping timeout: 272 seconds]
greenerworld[m] is now known as sonercirit[m]
sonercirit[m] is now known as greenerworld[m]
<{^_^}> [nixpkgs] @marsam merged pull request #61669 → cointop: unstable -> 1.2.0 → https://git.io/fjB0U
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjB0T
goibhniu1 has joined #nixos
alex`` has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
Matthieu_ has joined #nixos
Musk_Satoshi has quit [Read error: Connection reset by peer]
slack1256 has joined #nixos
Musk_Satoshi has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/a59b6608f97 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
schjetne has quit [Ping timeout: 246 seconds]
thc202 has quit [Ping timeout: 272 seconds]