gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
xcmw has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #38960 → kde_frameworks: 5.44 -> 5.45 → https://git.io/vpe7t
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/vpLfF
<{^_^}> → 52858e42 by @bkchr: kde_frameworks: 5.44 -> 5.45
<{^_^}> → 39ba6636 by @bkchr: ki18n: Adds patch that fixes infinite loop in po files generation
<{^_^}> → b162c2c0 by @peterhoeg: Merge pull request #38960 from bkchr/kde_frameworks_5_45
jtojnar has joined #nixos
jperras has joined #nixos
<zybell_> another way:by patching the kernel install in /proc a 'session' link analog to 'self' now, but aimed at the sessionleader of the current process. That would make /proc/session/cwd point at the current $HOME and /proc/session/cwd/.nix-profile the root of fixed path to installed fhs progs. Then fill /usr with symlinks into that path. Instant FHS!
<gchristensen> wat
<gchristensen> I mean we can make a fhs given some paths
<dtz> ~o~ sup folks
<zybell_> That idea is to make a FHS *user specific*! That is what the user installed is there in *the ver* the user installed.
<gchristensen> I'm not sure why we'd want that
keith` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<zybell_> When a user runs a prog and that prog neds say wine in fhs, it will find the version of wine the user has configured.
<zybell_> and which the user expects to run with.probably.
epl692 has left #nixos ["John 16:33 NIV—“I have told you these things, so that in me you may have peace. In this world you will have trouble. But take heart! I have overcome the world.”"]
<gchristensen> that isn't how nix is designed to work
<zybell_> it will combine the nix way as far as possible with the expectations of designers of binary sw.
<justanotheruser> how do I see which channel a package is installed from?
<zybell_> it is for running binary only
Sonarpulse has quit [Ping timeout: 240 seconds]
<iqubic> Is it just me or is the default version of ghc LESS RECENT in the unstable branch than the stable on.
<gchristensen> iqubic: sometimes that can happen ...
mahalel_ has joined #nixos
<iqubic> ghc in the 18.03 repo is 8.2.2 and the unstable version is 8.0.2
<zybell_> justanotheruser:nix why-installed(?2.0 command)should give you a profile.Then you look which channel the profile is at.But actually it makes no sense to ask which channel a package is from. see ^
jackdk has joined #nixos
<Drakonis[m]> iqubic: no?
jtojnar_ has joined #nixos
<zybell_> (Iqubics lines I mean)
<Drakonis[m]> nixpkgs is at the latest
jtojnar has quit [Ping timeout: 256 seconds]
jtojnar_ is now known as jtojnar
warbo has quit [Ping timeout: 255 seconds]
vidbina has quit [Ping timeout: 276 seconds]
fragamus has joined #nixos
dcol has quit [Ping timeout: 256 seconds]
thc202 has quit [Ping timeout: 276 seconds]
<hodapp> "CUDA driver version is insufficient for CUDA runtime version" ugh, it's always fucking CUDA
<hodapp> ran into this because I had to use a newer nixpkgs master in order to get something to build...
pie_ has quit [Ping timeout: 264 seconds]
dbmikus_ has joined #nixos
<justanotheruser> zybell_: well a profile can use multiple channels?
<iqubic> haskell on nix seems rather complex.
<hodapp> uhm, getting "warning: unknown setting 'signed-binary-caches'" trying to upgrade to 18.03 followed by it just stalling indefinitely
<gchristensen> that warning is just a warning
<hodapp> that's great and all, but why is it just stalling after that and doing nothing?
<hodapp> CPU isn't being loaded, no I/O appears to be ongoing, no network activity
jperras_ has joined #nixos
jperras has quit [Ping timeout: 276 seconds]
jrolfs__ has joined #nixos
Fare has joined #nixos
<hodapp> yeah, running it in strace now, it's still seemingly doing nothing
<zybell_> justanotheruser:especially any version/derivation can be availabe on multiple channels,or installed because of dependency,the channel changed in meantime and because of reproducibility you can not differentiate the possible cases.
<hodapp> all I did was "nix-channel --add https://nixos.org/channels/nixos-18.03 nixos" and then "nixos-rebuild switch --upgrade".... was there some other magic required for an upgrade to not fail silently?
nuncanada has quit [Quit: Leaving]
<boomshroom> hodapp: Did you nix-channel --add as root? nixos-rebuild implicitly uses root's nixos channel.
<hodapp> boomshroom: yes.
<zybell_> 18.03 likes it if the nix command(s) are version 2.0. But normally they fail with fanfare.
<boomshroom> hodapp: You might have to do a `sudo nix-channel --update` or include `--upgrade` to nixos-rebuild to update the channel.
<hodapp> I did 'nixos-rebuild switch --upgrade'
iyzsong has joined #nixos
<hodapp> zybell_: is this nix 2.0 dependency documented anyplace? an upgrade page?
<zybell_> i know about it from here irc.
<hodapp> I searched around first to see if there were any special instructions for 18.03
<zybell_> If you have ALSA sound expect to have to unmute it once from cmdline (gui doesnt work in this case) after update.
jperras_ has quit [Read error: Connection reset by peer]
jperras has joined #nixos
jrolfs__ has quit [Ping timeout: 240 seconds]
astsmtl has quit [Ping timeout: 256 seconds]
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
<hodapp> yeah, if this upgrade ever decides it's not going to stall indefinitely while doing absolutely nothing, I'll handle that
jperras_ has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
jrolfs__ has joined #nixos
Lnavry has joined #nixos
kreisys has quit [Read error: Connection reset by peer]
Yaniel has quit [Excess Flood]
olto has quit [Ping timeout: 264 seconds]
kreisys has joined #nixos
jrolfs__ has quit [Ping timeout: 264 seconds]
olto has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
blonkhart has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blonkhart is now known as blinkhard
zybell_ has quit [Ping timeout: 264 seconds]
zybell_ has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
mbrgm has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
srdqty has quit [Ping timeout: 264 seconds]
mbrgm has joined #nixos
srdqty has joined #nixos
iyzsong has joined #nixos
spear2 has joined #nixos
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
iqubic` is now known as iqubic
joehh has quit [Ping timeout: 240 seconds]
hamburglar[m] has joined #nixos
jgt has joined #nixos
ryantrinkle has quit [Ping timeout: 276 seconds]
<mightybyte> Anyone know why the home-manager install doesn't get rustc cached?
jrolfs__ has joined #nixos
Ridout has quit [Quit: Lost terminal]
jrolfs__ has quit [Ping timeout: 256 seconds]
<samueldr> hodapp: the "stalling" is nix 2 running on a nix 1 daemon, they don't like to talk, but it's (when hung) downloading and compiling as it would
<samueldr> (this should've probably been added in the 18.03 release notes)
<samueldr> it will come back after the "usual download and compilation" time (it probably came back since it's been an hour since you asked)
jgt has quit [Ping timeout: 240 seconds]
WhittlesJr has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg pushed to master « freerdp: 2.0.0-rc1 -> 2.0.0-rc2 »: https://git.io/vpLtg
<{^_^}> [nixpkgs] @peterhoeg closed pull request #38886 → freerdp: 2.0.0-rc1 -> 2.0.0-rc2 → https://git.io/vxhTq
<{^_^}> [nixpkgs] @peterhoeg closed pull request #39077 → freerdp: 2.0.0-rc1 -> 2.0.0-rc2 → https://git.io/vpUNS
hiratara has joined #nixos
<disasm> how do I escape ${foo[@]} in a multiline string? e.g. I want the script to have ${foo[@]} in it.
<boomshroom> disasm: Is foo a list and you want to get an element from it? I don't think nix supports that operator and you'd have to use a builting get function.
<{^_^}> [nixpkgs] @peterhoeg opened pull request #39131 → freerdp: 2.0.0-rc1 -> 2.0.0-rc2 → https://git.io/vpLqT
orivej has quit [Ping timeout: 276 seconds]
<disasm> boomshroom: foo is a bash array and I want the script to really have ${foo[@]} in it. It's for looping through an array using `for i in ${foo[@]}; do echo $i; done;`
<disasm> I tried \${foo[@]} but that failed.
<boomshroom> disasm: Ah, I think it should just be \${foo[@]}
<disasm> yeah, tried that, no luck
<disasm> error: syntax error, unexpected '@', at
<disasm> found it: `''${core_pid[@]}`
<disasm> the two '' before $ escapes it
chessai has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38771 → apktool: 2.3.1 -> 2.3.2 → https://git.io/vxNgL
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLme
<{^_^}> → 81bd50ec by R. RyanTM: apktool: 2.3.1 -> 2.3.2
<{^_^}> → 5cff8ec2 by @matthewbauer: Merge pull request #38771 from r-ryantm/auto-update/apktool
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38661 → altcoins.mist: init at 0.10.0 → https://git.io/vx5Aw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmm
<{^_^}> → 7cb50de4 by @jbboehr: altcoins.mist: init at 0.10.0
<{^_^}> → 22639dbd by @matthewbauer: Merge pull request #38661 from jbboehr/ethereum-mist-browser-master
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmO
<{^_^}> → 2afa9595 by R. RyanTM: sysstat: 11.7.2 -> 11.7.3
<{^_^}> → 66273cce by @matthewbauer: Merge pull request #38694 from r-ryantm/auto-update/sysstat
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38694 → sysstat: 11.7.2 -> 11.7.3 → https://git.io/vxFST
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38697 → scantailor-advanced: 1.0.12 -> 1.0.14 → https://git.io/vxFAE
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLms
<{^_^}> → ec0495c0 by R. RyanTM: scantailor-advanced: 1.0.12 -> 1.0.14
<{^_^}> → 117b79d2 by @matthewbauer: Merge pull request #38697 from r-ryantm/auto-update/scantailor-advanced
thblt has quit [Remote host closed the connection]
jperras_ has quit [Quit: WeeChat 2.1]
pirateking has joined #nixos
<pirateking> is there any way to duplicate derivations? i'm needing neo4j and the only way to have multiple databases is to have multiple instances
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38705 → murmur: fix /tmp usage → https://git.io/vxb4j
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmr
<{^_^}> → e0de2d7a by @tokudan: murmur: fix /tmp usage
<{^_^}> → 8fb93be4 by @matthewbauer: Merge pull request #38705 from tokudan/murmur_tmpfix
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38565 → geos: 3.6.1 -> 3.6.2 → https://git.io/vxQJO
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLm6
<{^_^}> → a2c1a90f by R. RyanTM: geos: 3.6.1 -> 3.6.2
blankhart has quit [Ping timeout: 256 seconds]
<{^_^}> → 25ca23b1 by @matthewbauer: Merge pull request #38565 from r-ryantm/auto-update/geos
<achambe> pirateking: why do you need multiple?
blankhart has joined #nixos
<boomshroom> pirateking: Do you need to duplicate the steps to build it, or do you just need the derivation on multiple machines?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38553 → hdf5-threadsafe: 1.10.1 -> 1.10.2 → https://git.io/vxHh3
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmi
<{^_^}> → e9dbe1a2 by R. RyanTM: hdf5-threadsafe: 1.10.1 -> 1.10.2
<{^_^}> → 16774077 by @matthewbauer: Merge pull request #38553 from r-ryantm/auto-update/hdf5-threadsafe
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38709 → libcouchbase: 2.8.5 -> 2.8.6 → https://git.io/vxbux
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmM
<{^_^}> → c26f4405 by R. RyanTM: libcouchbase: 2.8.5 -> 2.8.6
<{^_^}> → d649f626 by @matthewbauer: Merge pull request #38709 from r-ryantm/auto-update/libcouchbase
<boomshroom> pirateking: nix copy and nix-copy-closure lets you copy a derivation between machines.
Fare has quit [Ping timeout: 260 seconds]
<pirateking> achambe: a database for each component. but connect them all. allows more flexibility and also creativity
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38749 → alsaOss: 1.0.28 -> 1.1.6 → https://git.io/vxNJJ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmD
<{^_^}> → 3f78f4c6 by R. RyanTM: alsaOss: 1.0.28 -> 1.1.6
<{^_^}> → 84bce091 by @matthewbauer: Merge pull request #38749 from r-ryantm/auto-update/alsa-oss
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38746 → burp: 2.1.30 -> 2.1.32 → https://git.io/vxNe6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmy
<{^_^}> → ba08d7ed by R. RyanTM: burp: 2.1.30 -> 2.1.32
<{^_^}> → fd41e56d by @matthewbauer: Merge pull request #38746 from r-ryantm/auto-update/burp
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38745 → alsaPlugins: 1.1.5 -> 1.1.6 → https://git.io/vxNef
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmS
<{^_^}> → c3c91b01 by R. RyanTM: alsaPlugins: 1.1.5 -> 1.1.6
<{^_^}> → e1785bec by @matthewbauer: Merge pull request #38745 from r-ryantm/auto-update/alsa-plugins
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38744 → certbot: 0.22.2 -> 0.23.0 → https://git.io/vxbjg
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLm9
<{^_^}> → 479d38c5 by R. RyanTM: certbot: 0.22.2 -> 0.23.0
<{^_^}> → e4211644 by @matthewbauer: Merge pull request #38744 from r-ryantm/auto-update/certbot
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38743 → altcoins.bitcoin-abc: 0.16.2 -> 0.17.0 → https://git.io/vxbjn
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmH
<{^_^}> → ad0045db by R. RyanTM: altcoins.bitcoin-abc: 0.16.2 -> 0.17.0
<{^_^}> → d54078f0 by @matthewbauer: Merge pull request #38743 from r-ryantm/auto-update/bitcoin-abc
<pirateking> boomshroom: i need multiple databases on one machine
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38742 → alsaTools: 1.1.5 -> 1.1.6 → https://git.io/vxbAx
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmQ
<{^_^}> → f180c93b by R. RyanTM: alsaTools: 1.1.5 -> 1.1.6
<{^_^}> → 8b1116c1 by @matthewbauer: Merge pull request #38742 from r-ryantm/auto-update/alsa-tools
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38741 → di: 4.44 -> 4.45 → https://git.io/vxbNd
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLm5
<{^_^}> → 4a89e6fa by R. RyanTM: di: 4.44 -> 4.45
<{^_^}> → da071c09 by @matthewbauer: Merge pull request #38741 from r-ryantm/auto-update/di
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38713 → librime: 1.3.0 -> 1.3.1 → https://git.io/vxb2f
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmd
<{^_^}> → 6214e1d8 by R. RyanTM: librime: 1.3.0 -> 1.3.1
<{^_^}> → 5137e6ff by @matthewbauer: Merge pull request #38713 from r-ryantm/auto-update/librime
<achambe> pirateking: are you talking about the service, or the compiled database
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38718 → lldpd: 0.9.9 -> 1.0.1 → https://git.io/vxbMI
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmF
<{^_^}> → 29a319dd by R. RyanTM: lldpd: 0.9.9 -> 1.0.1
<{^_^}> → ab9c1292 by @matthewbauer: Merge pull request #38718 from r-ryantm/auto-update/lldpd
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38719 → libbson: 1.9.3 -> 1.9.4 → https://git.io/vxbMB
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmb
<{^_^}> → fd8326aa by R. RyanTM: libbson: 1.9.3 -> 1.9.4
<{^_^}> → cf12348e by @matthewbauer: Merge pull request #38719 from r-ryantm/auto-update/libbson
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38729 → groonga: 8.0.0 -> 8.0.1 → https://git.io/vxbHV
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmN
<{^_^}> → 7344356f by R. RyanTM: groonga: 8.0.0 -> 8.0.1
<{^_^}> → 0db85184 by @matthewbauer: Merge pull request #38729 from r-ryantm/auto-update/groonga
johnw has quit [Ping timeout: 256 seconds]
<pirateking> achambe: i believe service - i need them to talk to each other
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38735 → chrony: 3.2 -> 3.3 → https://git.io/vxbdv
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmA
<{^_^}> → 2db78d5b by R. RyanTM: chrony: 3.2 -> 3.3
<{^_^}> → e372bc90 by @matthewbauer: Merge pull request #38735 from r-ryantm/auto-update/chrony
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38737 → efibootmgr: 15 -> 16 → https://git.io/vxbFq
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmx
<{^_^}> → 82058196 by R. RyanTM: efibootmgr: 15 -> 16
<boomshroom> pirateking: So you want the same derivation installed in multiple places?
<{^_^}> → 82e9f024 by @matthewbauer: Merge pull request #38737 from r-ryantm/auto-update/efibootmgr
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38740 → cytoscape: 3.6.0 -> 3.6.1 → https://git.io/vxbNq
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLmp
<{^_^}> → 853529b2 by @matthewbauer: Merge pull request #38740 from r-ryantm/auto-update/cytoscape
<{^_^}> → 65e18bd3 by R. RyanTM: cytoscape: 3.6.0 -> 3.6.1
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38888 → yaws: 2.0.4 -> 2.0.5 → https://git.io/vxhtI
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLYU
<{^_^}> → 0ab54def by R. RyanTM: yaws: 2.0.4 -> 2.0.5
schoppenhauer has quit [Ping timeout: 256 seconds]
<{^_^}> → cc4c267e by @matthewbauer: Merge pull request #38888 from r-ryantm/auto-update/yaws
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38900 → emby: 3.3.0.0 -> 3.3.1.0 → https://git.io/vxh1O
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLYk
<{^_^}> → 0b57c3ef by R. RyanTM: emby: 3.3.0.0 -> 3.3.1.0
<{^_^}> → 851ed0a3 by @matthewbauer: Merge pull request #38900 from r-ryantm/auto-update/emby
<achambe> pirateking: maybe this is bad advice, but i would copy the neo4j module and make my own two modules.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39029 → znapzend: 0.17.0 -> 0.18.0 → https://git.io/vpJzM
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpLYI
<{^_^}> → 4eb5bdd9 by R. RyanTM: znapzend: 0.17.0 -> 0.18.0
<pirateking> boomshroom: essentially yes. the end result is making as many databases as i need when i need them, and they need to be accessible simultaneously, and on the same machine
<{^_^}> → 4ae08796 by @matthewbauer: Merge pull request #39029 from r-ryantm/auto-update/znapzend
<achambe> oh
schoppenhauer has joined #nixos
<boomshroom> pirateking: The database server shouldn't have to move. It probably could be just invoked multiple times with different databases.
johnw has joined #nixos
chisui has joined #nixos
<pirateking> boomshroom: i'll take a look again. though neo4j is one database per server. maybe i can use a derivation as a thing to clone when i need to breed more graphs
<pirateking> achambe: thanks i'll take that into consideration
<fearlessKim[m]> how to debug a "stack overflow (possible infinite recursion)" ? I have no idea where it is
<boomshroom> pirateking: You can't just install neo4j once and run the server multiple times?
semilattice has joined #nixos
<pirateking> boomshroom: nope, you have to install a fresh copy of neo4j each time you want a database
<achambe> lol
semilattice_ has joined #nixos
<achambe> that sounds wrong
semilattice_ has quit [Remote host closed the connection]
<achambe> are the database paths hardcoded or something?
<achambe> pirateking: another way would be to use the nixos containers
semilattice has quit [Remote host closed the connection]
<achambe> and listen on a different port for each
<achambe> the manual has a container guide
semilattice has joined #nixos
<achambe> or same port for each, just different virtual ethernet devices
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<achambe> neah, i think the nix containers is the best option from what you said
<achambe> yeah*
<pirateking> achambe i'll have to look that up. containers sound nice but i need to get them to work with an app. email graph, projects graph, contacts graph, reference file graph, reminders graph etc
<achambe> its not like docker containers or anything
<achambe> its an instance of nixos running in a private area
<achambe> using the same config
<pirateking> ok that sounds more appealing
<pirateking> i'm about to get off for the night, but can i create dupes of containers programmatically as well? if so it sounds really nice for some other experimentation
<achambe> yeah
iyzsong has quit [Ping timeout: 260 seconds]
<achambe> there are imperative nixos containers
<achambe> and declarative ones
<achambe> both take in a nix config
<achambe> sort of how mutableUsers work if you are familiar with that
iyzsong has joined #nixos
<pirateking> nope but i'll figure it out
<pirateking> thanks
<pirateking> :)
<achambe> I'm using them now for running a jailed ssh server
<disasm> pirateking: yup! just abstract out your `config` for the container and reuse it in multiple containers.
boomshroom has quit [Quit: WeeChat 2.0]
<pirateking> disasm: thanks!
<pirateking> achambe: oh nice
odi has joined #nixos
blinkhard has quit [Quit: WeeChat 1.9.1]
pirateking has quit [Ping timeout: 260 seconds]
<fearlessKim[m]> any nixops maintainer feeling like merging https://github.com/NixOS/nixops/pull/824 ?
<achambe> btw, is it written down anywhere how to get merge rights to nixpkgs?
<{^_^}> [nixops] @andrewchambers closed pull request #900 → Add new option "NIXOPS_SSHOPTS" → https://git.io/vANVL
odi_ has joined #nixos
<{^_^}> [nixpkgs] @ThomasMader closed pull request #38958 → Dlang update → https://git.io/vpeHK
odi__ has joined #nixos
odi has quit [Ping timeout: 260 seconds]
odi__ has quit [Remote host closed the connection]
odi_ has quit [Ping timeout: 256 seconds]
odi__ has joined #nixos
kerrhau has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
day|flip has quit [Remote host closed the connection]
<achambe> Hmm, I am compiler a program using the Go compiler, however the compiler is now being marked a runtime dependency I think
<achambe> can I disable this? or am I using the wrong dependency mode, (depsBuildTarget)
<ryantm> achambe: That's how buildGoPackage removes the compiler
<ryantm> achambe: I assume you aren't using buildGoPackage?
odi__ has quit [Remote host closed the connection]
<achambe> nah, I just have a single program with all dependencies bundled so didn't think I needed it, thanks for the link
<achambe> perhaps its wise to use it
<ryantm> buildGoPackage + https://github.com/kamilchm/go2nix
<adisbladis[m]> achambe: You'll save yourself a lot of grief by using the nix build abstractions
<ryantm> adisbladis[m]: Until you run into some issue with it: I currently am trying to track down why a buildGoPackage binary stopped getting it's interpreter set.
<achambe> well, go has reproduceable byte for byte builds now with vgo, but In general I agree.
astiles_ has quit [Remote host closed the connection]
<ryantm> night
<achambe> good night, thanks for the help
<adisbladis[m]> I _think_ that go2nix should already work with vgo
dbmikus_ has quit [Ping timeout: 264 seconds]
odi has joined #nixos
astiles has joined #nixos
jonjitsu has joined #nixos
<adisbladis[m]> Because the whole `go build` step is manual when generating the expressions. But I'm not sure how GOPATH works with vgo
<adisbladis[m]> achambe: Have you used vgo yet?
<achambe> for a few things
<iqubic> is the nix expression language turning complete?
<elvishjerricco> iqubic: Yep
<elvishjerricco> `fix = f: let x = f x; in x` :P
<adisbladis[m]> achambe: And what's your experience like so far?
<iqubic> Alright. How does that prove my point?
<jonjitsu> not sure if this is the right channel, what is the simplest way of setting up my own private nix pkgs on a non nixos distro?
<achambe> adisbladis[m]: it seems to solve my annoyances with most other tools. being able to verify the hashes in a binary is pretty cool.
<achambe> unfortnately it is totally broken on my terraform plugin though
<achambe> maybe go2nix won't be haha.
<adisbladis[m]> I guess I'll spare a few minutes today to playing with vgo and how it relates to nix :)
<iqubic> does go2nix exist?
<elvishjerricco> jonjitsu: Delete your nix-channel, then somewhere set `export NIX_PATH="nixpkgs=/path/to/my/nixpkgs:$NIX_PATH"`
<achambe> adisbladis[m]: if anything, it should be possible to convert a go.mod file to a set of nix expressions
astiles has quit [Ping timeout: 264 seconds]
<iqubic> It seems a whole lot less useful than cabal2nix
<jonjitsu> elvishjerricco, will that make unavailable the standard nix packages? I just want to be able to add custom packages to my local ecosystem similar to gentoo overlays
<elvishjerricco> oh
<elvishjerricco> then you want nixpkgs overlays :p
<jonjitsu> ahh nice, thanks
contrapumpkin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reinzelmann has joined #nixos
<achambe> Yeah, a tool to convert a go.mod file would probably be pretty awesome
Rusty1_ has quit [Quit: Konversation terminated!]
<adisbladis[m]> achambe: How do you produce integrity hashes using vgo? It's not included in go.mod
<achambe> one sec, i'll find it.
<achambe> somewhere in there
<achambe> echo > go.modverify to make an empty file
<achambe> then go build
<achambe> vgo build**
<adisbladis[m]> Ahh :) Just create the file and then its good
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has joined #nixos
<achambe> adisbladis[m]: if there is no cgo, i think it is possible for all vgo builds to be fixed output derivations in theory
aarvar has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #38813 → dashing: init at 2018-02-15 → https://git.io/vxA4I
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vpLsR
<{^_^}> → 0f329141 by @matthiasbeyer: dashing: init at 2018-02-15
<{^_^}> → 6cc5bd1c by @peterhoeg: Merge pull request #38813 from matthiasbeyer/add-dashing
boomshroom has joined #nixos
<boomshroom> Hello!
<boomshroom> How do I get sublime text 3 to run a shell other than /bin/bash when trying to build a project?
ma27 has joined #nixos
Guanin has quit [Ping timeout: 260 seconds]
semilattice has quit [Remote host closed the connection]
Guanin has joined #nixos
maingo has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg pushed to master « maintainers: sort »: https://git.io/vpLGe
<{^_^}> [nixpkgs] @kamidon opened pull request #39133 → gnome-boxes: fix USB redirection (#39129) → https://git.io/vpLGf
<{^_^}> [nixpkgs] @peterhoeg merged pull request #36864 → nixos ddclient: support multiple domains and run via systemd timer [WIP] → https://git.io/vxfmh
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vpLGk
<{^_^}> → 642c8a8d by @peterhoeg: nixos ddclient: support multiple domains and run via systemd timer
<{^_^}> → 740bafa9 by @peterhoeg: Merge pull request #36864 from peterhoeg/f/ddclient
odi has quit [Ping timeout: 264 seconds]
joehh has joined #nixos
jonjitsu has quit [Ping timeout: 264 seconds]
mahalel_ has quit [Ping timeout: 240 seconds]
<zybell_> boomshroom:try to run SHELL=... sublime
<boomshroom> zybell_: If I'm running it through the desktop entry, do I need to create a new desktop entry? I can't just set it in a config file somewhere?
<zybell_> Try first from xterm. it may not work.
Fare has quit [Ping timeout: 248 seconds]
<zybell_> especially if perl is the shell you want to run
odi has joined #nixos
<zybell_> boomshroom does it work?
<boomshroom> zybell_: What? No! I do Ctrl-b and get `[Errno 2] No such file or directory: '/bin/bash'`
<boomshroom> zybell_: It didn't work.
Ariakenom has quit [Read error: Connection reset by peer]
<zybell_> then the sledgehammer method: strace -o fileonfsGBfree -f -s 4567 sublime
<adisbladis[m]> achambe: Well the output hash would depend on compiler version. So fixed-output would not be viable.
<zybell_> boomshroom `less +/bin/bash fileonfsGBfree` should show you where the setting comes from
<boomshroom> zybell_: Where does "fileonfsGBfree" come from and what does it mean?
<boomshroom> Is it refering to the sublime text binary?
<zybell_> read my line before that line too
fragamus has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
<zybell_> boomshroom another way were you could run sublime from the shell you want to start in sublime, if you dont do it already,what I suspect.
hamishmack has quit [Ping timeout: 256 seconds]
jacob_ has joined #nixos
<{^_^}> [nixpkgs] @avalent opened pull request #39136 → The Storage Performance Development Kit (SPDK) → https://git.io/vpLnW
alex`` has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #39137 → nixos lcdproc: module for lcdd/lcdproc → https://git.io/vpLn8
<{^_^}> [nixpkgs] @avalent closed pull request #39136 → The Storage Performance Development Kit (SPDK) → https://git.io/vpLnW
jrolfs__ has joined #nixos
<{^_^}> [nixpkgs] @avalent opened pull request #39138 → spdk: init at 18.04-pre → https://git.io/vpLnP
<{^_^}> [nixpkgs] @nlewo merged pull request #39089 → rstudio: 1.1.423 -> 1.1.442 → https://git.io/vpTaN
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/vpLnD
<{^_^}> → 0743c349 by @ciil: rstudio: 1.1.423 -> 1.1.442
<{^_^}> → 1c0595f7 by @nlewo: Merge pull request #39089 from ciil/rstudio-update
jrolfs__ has quit [Ping timeout: 256 seconds]
jrolfs has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to master « spectre-meltdown-checker: 0.36 -> 0.37 »: https://git.io/vpLcm
robstr has joined #nixos
Ariakenom has joined #nixos
Lears has quit [Remote host closed the connection]
rauno has joined #nixos
rosa has joined #nixos
johnw has quit [Ping timeout: 256 seconds]
johnw has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #38755 → lrcalc: init at 1.2 → https://git.io/vxNk2
<{^_^}> [nixpkgs] @dotlambda pushed commit from @timokau to master « lrcalc: init at 1.2 (#38755) »: https://git.io/vpLCY
xy2_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #38800 → planarity: init at 3.0.0.5 → https://git.io/vxAIt
<{^_^}> [nixpkgs] @dotlambda pushed commit from @timokau to master « planarity: init at 3.0.0.5 (#38800) »: https://git.io/vpLCW
<{^_^}> [nixpkgs] @dotlambda opened pull request #39139 → appdaemon: 3.0.0 -> 3.0.1 → https://git.io/vpLCh
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « abcmidi: 2018.04.01 -> 2018.04.18 »: https://git.io/vpLW8
rosa has quit [Quit: rosa]
rosa has joined #nixos
rosa has quit [Quit: rosa]
alex`` has quit [Ping timeout: 256 seconds]
wangoe has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #39104 → release-18.03: ELK 5.6.9 & 6.2.4 & fixes for elasticsearch6 and logstash6 not starting up → https://git.io/vpkn7
<{^_^}> [nixpkgs] @adisbladis pushed 8 commits to release-18.03: https://git.io/vpL8l
<{^_^}> → 428c055e by @basvandijk: elk5: 5.6.6 -> 5.6.8
<{^_^}> → 37bd229f by @basvandijk: elk6: 6.1.2 -> 6.2.2
<{^_^}> → bcafb726 by @basvandijk: elk6: 6.2.2 -> 6.2.3
boomshroom has quit [Quit: WeeChat 2.0]
semilattice has joined #nixos
semilattice_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #39116 → vscode: fix files with space(s) → https://git.io/vpIlF
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vpL8d
<{^_^}> → dc48e682 by @LightDiscord: vscode: fix files with space(s) #39112
<{^_^}> → e6c13548 by @FRidh: Merge pull request #39116 from LightDiscord/fix-39112
asuryawanshi has joined #nixos
rauno has quit [Ping timeout: 256 seconds]
frank87 has joined #nixos
joehh has quit [Ping timeout: 240 seconds]
<frank87> Hi, I created a wordpress site on my nixos machine. It redircs you to localhost
rauno has joined #nixos
<frank87> What did I do wrong?
<etu[m]> Probably some wordpress setting, because wordpress checks if you're on the configured domain and redirects you there if you aren't.
<etu[m]> This does load something that looks like wordpress:
<etu[m]> > curl -H 'Host: localhost' 'http://boumawijnans.xs4all.nl/' -v
<frank87> It is WordPress, and it works, from localhost...
<etu[m]> Not sure if it's your wordpress since it looks like a shared domain/host something :)
<frank87> It's my home PC
semilattice_ has quit [Ping timeout: 276 seconds]
semilattice has quit [Ping timeout: 276 seconds]
<frank87> so you think wordpress is beint too smart...
<frank87> then I'll grep for localhost in the php-code
<etu[m]> Can you check your wp-config.php file and see what settings there are in there?
<frank87> It's the wp-config that nixos generates...
<etu[m]> Oh
rosa has joined #nixos
<etu[m]> I've never hosted wordpress on nixos and didn't find any settings for it in the manpage
<etu[m]> So I'm just doing wild guesses, but check the file anyways? :p
<frank87> I found a nix file in the wiki
xy2_ has joined #nixos
<frank87> But maybe I can add the hostname in my hosts file
<manveru> frank87: can you show your config for wp?
<frank87> moment
vaninwagen has joined #nixos
coot has joined #nixos
thc202 has joined #nixos
<manveru> so you never got to the wp setup?
Lears has joined #nixos
<manveru> your setup definitely is strange
rosa has quit [Quit: rosa]
talyz has joined #nixos
<frank87> got it from the wiki
<frank87> so I should rewrite the wp-config?
<manveru> might be that you need some more apache config
<manveru> i'm in a meeting atm, can't help much, sorry
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f045ed13e8c (from 42 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<frank87> I'll be back later... Work...
freeman42x]NixOS has quit [Ping timeout: 260 seconds]
jensens has joined #nixos
reinzelmann has quit [Ping timeout: 276 seconds]
<Aleksejs> hi, I still can't run teamviewer12 on 18.03 after upgrade. It says that teamviewerd is not running but I checked it and restarted it like 100 times in different combinations - still the same error
ma27 has joined #nixos
<Aleksejs> I googled it and tried solutions that are offered - basically they offer to restart daemon which I did
jackdk has quit [Ping timeout: 246 seconds]
<Aleksejs> when I run teamviewer --daemon status it shows "teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?)" however pid file exists: "-rw-r--r-- 1 root root 5 Apr 19 10:52 /run/teamviewerd.pid"
<clever> Aleksejs: re-run it under strace and see what the error is
<sphalerite> Aleksejs: check if teamviewerd is running using pgrep -a teamviewerd, and if not remove the pid file (sudo rm /run/teamviewerd.pid) then try again
<{^_^}> [nixpkgs] @peterhoeg pushed to master « beep: fix for CVE-2018-0492 »: https://git.io/vpLRH
<Aleksejs> sphalerite: it does; clever: it shows a bunch of "openat(AT_FDCWD, 0x7ffea9623810, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)"
<clever> Aleksejs: the 2nd argument should be a filename, and strace should have translated it to a string
freeman42x]NixOS has joined #nixos
<clever> that error also makes sense if the pid file doesnt exist yet
<clever> its opening it in read-only mode, so it wont be created
<{^_^}> [nixpkgs] @peterhoeg pushed to release-18.03 « beep: fix for CVE-2018-0492 »: https://git.io/vpL0v
<Aleksejs> well when I stop teamviewerd, pid file disappears. When I start it, it appears
xy2_ has quit [Ping timeout: 264 seconds]
<clever> that sounds entirely normal
reinzelmann has joined #nixos
<Aleksejs> yes
<Aleksejs> but I don't understand why teamviewer doesn't see it
<clever> try stracing that next?
sanscoeur has quit [Ping timeout: 240 seconds]
civodul has joined #nixos
<Aleksejs> there are some "ioctl(13, VFAT_IOCTL_READDIR_BOTH, 0x224000) = -1 ENOTTY (Inappropriate ioctl for device)"
<Aleksejs> and also "stat64("/home/aleksejs/.local/share/teamviewer12/dosdevices/c:/TeamViewer/mscoree.dll", 0x33f4b8) = -1 ENOENT (No such file or directory)"
srghma has joined #nixos
knupfer has joined #nixos
coorey[m] has joined #nixos
orivej has joined #nixos
srghma has quit [Client Quit]
<{^_^}> [nix] @edolstra merged pull request #2090 → Allow multiple search experssions in nix search → https://git.io/vpIKm
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/vpLue
<{^_^}> → f6e8ceaf by @poelzi: add tests for multi search
<{^_^}> → b712d467 by @poelzi: Allow multiple search experssions in nix search
<{^_^}> → 6f907b75 by @edolstra: Merge pull request #2090 from poelzi/multi_search
chisui has joined #nixos
xCuri0 is now known as kuri0
knupfer has quit [Remote host closed the connection]
<neonfuz> compiling my kernel segfaults while building uim
knupfer has joined #nixos
ma27 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #39141 → nixos/release-small.nix: disable predictable-interface-names test → https://git.io/vpLz3
<rizary> is there anyone here develop nodejs on nixos and using hydra? I am planning to make nodejs backend using nixos, but can't find the example of hydra configuration.
ma27 has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
odi_ has joined #nixos
odi has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #39142 → networkmanager: exhaustive dispatchers enum → https://git.io/vpLzj
lonokhov has joined #nixos
<coorey[m]> anything important I should know before I overwrite my ubuntu with nixos?
bind has quit [Quit: WeeChat 0.3.2]
<{^_^}> [nixpkgs] @geistesk opened pull request #39143 → et: 0.1 -> 0.1.1 → https://git.io/vpLgK
<jophish> is Ben Saunders here?
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<sphalerite> coorey[m]: have a backup in case there was anything there you want to keep :)
<jophish> Ah, Ralith: playing with vulkan?
mojjo has joined #nixos
ma27 has quit [Ping timeout: 248 seconds]
humanoyd has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mojjo> hi! Does anybody know how to use melpa instead of melpa-stable when building emacs via `(pkgs.emacsPackagesNgGen pkgs.emacs25).emacsWithPackages (epkgs: ...);`
reinzelmann has quit [Quit: Leaving]
<mojjo> Particularily I'd need the use-package package in a less outdated version (the one on melpa stable is 2 years old..)
peacememories has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aebd54c267c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
hlavaty has joined #nixos
Mateon3 has joined #nixos
tmaekawa has joined #nixos
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/aebd54c267c (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<mojjo> got it
ilyaigpetrov has joined #nixos
Xal has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @geistesk opened pull request #39144 → farbfeld, sent: wrap PATH for 2ff and sent → https://git.io/vpLrP
jluttine has quit [Quit: WeeChat 2.0]
Xal has joined #nixos
jluttine has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @geistesk opened pull request #39145 → slstatus: unstable-2018-03-21 -> unstable-2018-04-16 → https://git.io/vpLoB
<hlavaty> hi i have a fileSystems."/var/lib/foo" entry in configuration.nix. the disk failed and now on boot the machine goes into rescue mode. how do i disable the disk so that the machine starts normally again and i can ssh in an upload and activate new configuration?
<Akii> hlavaty: can't you just mount the disk in rescue mode?
Myrl-saki has joined #nixos
<Akii> or do you only have access over SSH?
<hlavaty> Akii: no they failed
peacememories has joined #nixos
<hlavaty> is there no way to disable that systemd device in the rescue mode?
vaninwagen has quit [Ping timeout: 256 seconds]
humanoyd has quit [Ping timeout: 265 seconds]
tmaekawa has quit [Quit: tmaekawa]
<Myrl-saki> So, uhh
<Myrl-saki> After the initial "bootstrapping" process, Nix is actually very good even as source-based.
<hlavaty> Akii: i have physical access to the machine but nixos config is installed via ssh
<hlavaty> i might just plug in new disks with the same label, hopefully it will boot normally and then start modifying configuration.nix via ssh again
<Akii> hlavaty: ah I thought you could mount the disk, change the config. But that would require a system rebuild; I had not considered that
<hlavaty> yeah
tmaekawa has joined #nixos
sigmundv__ has joined #nixos
tmaekawa has quit [Client Quit]
<greska[m]> Hello, I just downloaded nixos to install it in QUBES os. I am a complete new user to nixos and I cannot get the internet to work for the install. Nixos sees the hardware designated from qubes but I cannot get it to connect. Any ideas?
<{^_^}> [nixpkgs] @flokli opened pull request #39146 → notmuch: build with gmime2 for now → https://git.io/vpL64
Ariakenom has quit [Ping timeout: 256 seconds]
sanscoeur has joined #nixos
satreu has joined #nixos
periklis has joined #nixos
ciastek has joined #nixos
<Myrl-saki> error: Nix daemon out of memory
<Myrl-saki> help
<satreu> hello guys, i need some advise... currently i am trying to build a package in nixos but i think it is the wrong way of doing it. I want to compile some java-source with ant and then deploy it as a local Website.
<Myrl-saki> That's for import
<achambe> Myrl-saki: how much ram in your machine?
<Myrl-saki> 4 GB
<Myrl-saki> The import is 1.2 GB
<achambe> ouch
<achambe> hmm
<achambe> there are a few issues in the bug tracker about this
<Myrl-saki> tmpfs 967M 7.0M 960M 1% /run
<Myrl-saki> Is this the suspect?
<achambe> why is 1 percent use suspect?
<Myrl-saki> 960M
joehh has joined #nixos
<Myrl-saki> I increased the size
humanoyd has joined #nixos
<Myrl-saki> Still says OOM
<Myrl-saki> Sigh, time to strace
<Myrl-saki> I have no idea anymore. My RAM usage is okay.
<satreu> is there some way to define services etc. in nixos?
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Myrl-saki> Uhhh... is there a memory checker?
<Myrl-saki> Say, I have 4 GiB of RAM, is there a soft limit for processes?
<{^_^}> [nixpkgs] @peterhoeg opened pull request #39147 → tox: libtoxcore and assorted tox client updates → https://git.io/vpLXU
<Myrl-saki> It spiked at around 3 GB, but never reached 4.
jrolfs has joined #nixos
<Akii> hlavaty: well if all goes wrong you could probably edit fstab manually (if that is still a thing; my linux-fu is rusty)
<Myrl-saki> I'll never know.
iyzsong has quit [Ping timeout: 256 seconds]
<jophish> hmm, hardeningDisable = ["bindnow"] doesn't seem to be working for my haskell package
freeman42x]NixOS has quit [Ping timeout: 255 seconds]
ma27 has joined #nixos
<achambe> adisbladis[m]: vgo list -m spits out a list of urls and a list of import paths
<achambe> I mean list of import paths and a list of tags/versions
<{^_^}> [nixpkgs] @thorerik opened pull request #39148 → Update license for VSCode → https://git.io/vpL17
<{^_^}> [nixpkgs] @adisbladis closed pull request #39148 → Update license for VSCode → https://git.io/vpL17
simukis has joined #nixos
iyzsong has joined #nixos
<adisbladis[m]> achambe: I'm gonna have a quick look at vgo now :)
<jophish> I'm debugging something with nix-shell, however I can't remember the incantation to get runHook in scope
drkna has joined #nixos
<jophish> when I run `exec $configurePhase` runHook is missing
<drkna> hello guys, wanna ask a question. I have tried to install a ruby gem onto NixOS with nixfiles, however, the `gem list` and `gem env` shows it is not linked with the gem path..
<drkna> anyone knows how to do this?
<achambe> drkna: have you checked the nixpkgs user manual section on ruby?
<drkna> yup, i have followed the "packaging ruby" page and created my nixfiles for the gem
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<jophish> domenkozar: you had this issue a few years ago:
<drkna> I can successfully cp the bin/ and lib/ to $out, however, gem or ruby doesn't load with this lib path
<drkna> I tried multiple ways, like running gem install or cp to gem path, none of them works because of permission
<jophish> Irc logs to the rescue. gchristensen helped me with this in 2017!
<jophish> It's `eval "$configurePhase"`
<jophish> not exec
<drkna> i tried to debug with `gem env` inside installPhase and shows the path is correctly added, however, the path is incorrect after deployment
<drkna> and Ruby/Gem doesn't read env path
<tilpner> jophish - Doesn't just "configurePhase" work? Like you would call e.g. ls
<jophish> tilpner: that seems to run the default configurePhase
<jophish> very strange
<jophish> for example running just `buildPhase` tells me there's no makefile available
<tilpner> Probably because you are in the wrong directory or haven't run all previous phases?
<woffs> unpackPhase
<tilpner> Or genericBuild, and pick up where it fails
<domenkozar> jophish: > you mentioned mellanix but you use mellanox below. Isn't this a typo?
<domenkozar> lol, that was a good typo.
<jophish> tilpner: this is a Haskell package, there shouldn't be a makefile :)
<domenkozar> jophish: did you try $ echo $buildPhase
<jophish> `eval "$configurePhase"` does a very different thing to `configurePhase`
<domenkozar> yes I always forget the difference
<jophish> domenkozar: `eval` ended up working for me
<jophish> domenkozar: mellanix?
<domenkozar> sometimes you need one or the other
<jophish> oh, that issue
<domenkozar> after 10+ years working with bash I still don't understand the semantics
<yorick> is there a workaround for https://github.com/NixOS/nix/issues/1305 yet?
<jophish> heheh, semantics for bash
<yorick> or would that be a nix plugin
logzet has joined #nixos
xy2_ has joined #nixos
<jophish> So, I'm getting undefined references to things when I build my haskell package with Nix, however I have disabled "bindnow" hardening
<domenkozar> yorick: I think Nix 2.0 has a way around
<yorick> domenkozar: please tell me the way :)
<jophish> oh, I should make sure it's not linking statically
<domenkozar> yorick: wish I remembered what is the new shiny thing
<yorick> domenkozar: builtins.fetchGit?
<yorick> plugins?
<domenkozar> I think fetchurl works with file://
<domenkozar> or something magic like that :)
chisui has joined #nixos
<yorick> hmm
<adisbladis[m]> achambe: It looks like the modverify hashes are not useful for us :/
<adisbladis[m]> At least not as useful as I'd hoped.
<avn> Just curious folks, does libreoffice in nixos have working spellchecker?
<tilpner> jophish - FWIW, genericBuild for aeson works
<yorick> domenkozar: wouldn't that require knowing the hash?
<yorick> (fetchurl can't fetch store paths, it seems)
<jophish> tilpner: I'll give that a try next time :) Thanks for your help!
<domenkozar> yorick: maybe it's fetchGit ./
<drkna> doesn't need fetchurl if you are looking for local files. You can just do, src = ./.;
<drkna> or path
<drkna> btw, i didn't see the original question lol
<yorick> drkna: I'm trying to filterSource a builtins.fetchGit source, but the revision ends up in the output hash
<domenkozar> yorick:
<domenkozar> $ nix-instantiate --strict --eval -E "(fetchGit ./.)"
<domenkozar> { outPath = "/nix/store/bxj47xf2dk8mi6s3ccgpfmx5yfswl84w-source"; rev = "0000000000000000000000000000000000000000"; revCount = 0; shortRev = "0000000"; }
peacememories has joined #nixos
<yorick> domenkozar: ooh, what's that hash based on?
<drkna> hm... no idea sry
<domenkozar> yorick: what hash?
<domenkozar> -source hash is content addressed, I'd hope :)
<yorick> so I do builtins.fetchGit (builtins.filterSource ...)?
<yorick> no, it'd need to be a git repo
<hodapp> "72396 store paths deleted, 57798.14 MiB freed"
<hodapp> good god what did I do
olto has quit [Quit: ZNC - http://znc.in]
<yorick> hodapp: don't worry about it, worst case your xmonad won't start anymore
<etu[m]> garbage collect for the first time ever? :D
<jophish> hmm, I can't seem to get the same behaviour when building without nix at all
<domenkozar> yorick: maybe: fetchGit (builtins.filterSource (x: y: true) (./.))
<domenkozar> although that probably refers to original store..
<domenkozar> store path*
<yorick> domenkozar: fetchGit actually looks at my .git dir
<domenkozar> yeah that's the point :)
<domenkozar> g2g
Wharncliffe has joined #nixos
<hodapp> etu[m]: no, I do it regularly but I just upgraded to 18.03
vaninwagen has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
<etu[m]> hodapp: You didn't keep any old generation? :D
ottidmes has joined #nixos
iyzsong has quit [Ping timeout: 256 seconds]
<octe> how do i find the location of a package from name?
<octe> a package without a binary
<hodapp> hmm... nix-locate?
<hodapp> or in my case I usually just look directly in /nix
<{^_^}> [nixpkgs] @DerGuteMoritz closed pull request #33734 → stumpwm: Work around dependency load errors during build → https://git.io/vNOAN
<octe> yeah i can do a find /nix for the file i want but that seems inefficent
<octe> might also be multiple version of the package
pie_ has joined #nixos
<ottidmes> In a final attempt to use my GPU with a later kernel than 4.4 (the latest kernel supported by the closed source driver), I managed to get it working under kernel 4.15 with the modesetting driver. Is modesetting a valid choice as a day-to-day driver?
knupfer has joined #nixos
<Dezgeg> yes
<ottidmes> octe: you could just ask nix to give you the path if you have the name
<octe> how?
<Dezgeg> I think modesetting nowadays also replaces the "intel" videoDriver but not totally sure about that one
<hodapp> gah... a derivation I have is trying to download trying https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda_9.1.85_387.26_linux
<hodapp> ...but the CURL line is just " 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0"
<hodapp> so it's just sitting there
<srhb> hodapp: Downloads for me. 1.5 GiB though :|
<ottidmes> Dezgeg: Ah, good to know. It was so annoying to be stuck at 4.4. Sure 3d preformance is terrible right now, but I don't game on NixOS and video rendering and my 4k display work just as well as with the proprietary driver
<jophish> Aha, it was the dynamic executable which got me
<octe> ottidmes, what's the command for that?
<hodapp> if I download it with CURL it produces a 0 byte file
<hodapp> if I do it from the browner it's fine
<srhb> hodapp: Yeah, nvidia is doing something weird...
<tilpner> octe - nix-build --no-out-link "<nixpkgs> -A hello
<srhb> hodapp: Add it manually
<tilpner> octe - Goes together well with an alias
<hodapp> it's *always* fucking CUDA that is my problem
<etu[m]> hodapp: Redirects?
<tilpner> octe - * nix-build --no-out-link "<nixpkgs>" -A hello
<etu[m]> Yeah, they do a redirect
<etu[m]> Curl doesn't follow redirects by default
<ottidmes> octe: What tilpner said would do what you want (I was trying something with nix-instantiate for you)
<srhb> etu[m]: fetchurl does though..
<hodapp> so... nixos 18.03 just shipped with a broken derivation for CUDA?
<hodapp> seems unlikely.
<srhb> hodapp: It appears so.
rauno has quit [Remote host closed the connection]
<srhb> hodapp: Or they changed something recently. We can check on Hydra.
<etu[m]> srhb: Yeah, it should... Well that's odd :(
<Dezgeg> it probably doesn't build cuda as it's unfree
<srhb> Oh, right!
<ottidmes> octe: nix-instantiate --eval --expr 'with import <nixpkgs> {}; toString hello'
<hodapp> ugh, I wish so much that I didn't have to deal with this stupid fucking library
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ma27 has joined #nixos
<hodapp> since I dumped VirtualBox, 95% of my issues with Nix & NixOS stem from CUDA
<octe> cool, that works, thanks ottidmes and tilpner :)
chisui has joined #nixos
<hodapp> srhb: I'll try to add it manually once it downloads... how do I go about doing that?
<srhb> hodapp: nix-store --add-fixed file I think
<ottidmes> hodapp: The JDK always asks me to do: nix-store --add-fixed sha256 /admin/xfr/jdk-8u161-linux-x64.tar.gz
<srhb> Huh, I didn't remember that sha256 argument. I wonder if it's optional.
<srhb> I assume it is. Weird though.
<hodapp> ottidmes: thus far though I've only done this on packages that explicitly asked for it, not with something that just wouldn't download
<srhb> hodapp: I've also not seen this before. I don't know what's really going wrong with it.
<manveru> for some reason, every time i do a `nixos-rebuild switch`, i'm unable to start stuff like hipchat, steam, zoom until i do a restart of X...
<srhb> hodapp: I assume it's some header bs nvidia is doing.
<srhb> hodapp: We should probably add the same kind of warning if that's the new state of affairs.
<hodapp> http://lpaste.net/4551084278988931072 is what wget shows me
<hodapp> all I know is that I want all things CUDA-related to go die in a fire
<srhb> I sympathize :P
<srhb> I don't get it though. If I use the curl parameters that fetchurl does it looks like it's working just fine. Wat.
acarrico has joined #nixos
<LnL> ottidmes: yes, it's not redistributable so there's no way to download it automatically
seanparsons has quit [Read error: Connection reset by peer]
<srhb> hodapp: wait.. I think this was all false alarm
<srhb> hodapp: The curl indicator may be broken though.
<srhb> hodapp: We just assumed the fetchurl was broken because a plain curl doesn't redirect. But fetchurl does.
<srhb> hodapp: More patience would have shown that it just works
<ottidmes> LnL: You mean the JDK? I assumed as much, something to do with licensing. I don't mind it, my biggest annoyance with the current workaround though, is that it will error the whole build. Would be better to ask at the end when the rest has been built, even better if it was interactive, so it could just continue once I have done adding it to the store
<hodapp> srhb: yeah, somehow I wasn't going to wait for an hour for it to do something while it gave no indication whatsoever
<LnL> you can use -k to continue building stuff if there's a failure
pirateking has joined #nixos
<Myrl-saki> nix-shell "$(nix-instantiate '<nixpkgs>' -A ghc)" --option substituters ''
<Myrl-saki> nix-shell -p ghc
<Myrl-saki> Have different results
<ottidmes> LnL: Cool, then I will add that flag in future nixos-rebuild calls! :D
jtojnar_ has joined #nixos
<WilliamHamilton> hi, could someone suggest a correction of http://lpaste.net/4076259757332103168 ? It's intended as an overlay to install an additional haskell package
vandenoever has quit [Ping timeout: 256 seconds]
<Myrl-saki> Oh. Different derivers.
<Myrl-saki> Well, this makes me even more confused.
<ottidmes> Myrl-saki: nix-shell <derivation> and nix-shell --packages <pkgname> have different goals / semantics. It should be described in the manpage of nix-shell
<Myrl-saki> ottidmes: I nix-copy-closured from a different /nix/store.
<Myrl-saki> ottidmes: I copied both the deriver and the output.
<WilliamHamilton> but I get "error: attribute 'constraints-emerge' in selection path 'nixos.haskellPackages.constraints-emerge' not found"
<ottidmes> WilliamHamilton: Try dropping the nixos. prefix
jtojnar has quit [Ping timeout: 256 seconds]
jtojnar_ is now known as jtojnar
seanparsons has joined #nixos
<srhb> WilliamHamilton: Something like this? http://lpaste.net/4076259757332103168
<Myrl-saki> path is not valid.
<Myrl-saki> I have it in my nix store, but the path is not valid..
Wharncliffe has quit [Ping timeout: 256 seconds]
<ottidmes> Myrl-saki: Your first command basically builds a environment to build ghc, while the second creates a shell environment with ghc available
<pirateking> there's a concept in business that's been bugging me about searching for packages in linux - "performance based hiring". when there are so many options, you don't want to spend forever trying everything out if you need to have a job done by someone else (in this case, software and tools). databases can make this process a breeze to query and get a good decision and start on something instantly for any problem you need to solve
<pirateking> is there any way to query packages by date created, date added to nix, date updated, date updated by nix, whether they build, and number of stars on github?
<Myrl-saki> ottidmes: Oh.
<Myrl-saki> ottidmes: Ugh, that makes a lot of sense.
knupfer has quit [Ping timeout: 264 seconds]
<Myrl-saki> ottidmes: How do I nix-shell the output?
<srhb> WilliamHamilton: You probably also need some executableHaskellDepends
<ottidmes> Myrl-saki: Not sure what you mean with your question, could you eloborate?
pie_ has quit [Ping timeout: 240 seconds]
<Myrl-saki> ottidmes: I want a nix-shell with the output available.
<srhb> WilliamHamilton: This works: :) http://lpaste.net/4076259757332103168#a3686326449691688960
<pirateking> when i do `sudo nix-env -qa --json -sPc --description --meta -A nixos.evilwm`, what I'm wanting to know is how much it's helped people. i get no answers
<Myrl-saki> ottidmes: The output, being the drv's output.
<srhb> WilliamHamilton: Tested with nix-build -E 'with import <nixpkgs> { overlays = [ (import ./willham.nix) ]; }; haskellPackages.constraints-emerge'
<pirateking> oh whoops you weren't talking to me :P
MP2E has quit [Remote host closed the connection]
hlavaty has quit [Remote host closed the connection]
<Myrl-saki> ottidmes: nix-shell /nix/store/gpx67mf293442444hcvasmsws7a8agdr-ghc-8.2.2.drv -A out
<Myrl-saki> Seems to work?
<ottidmes> Myrl-saki: Ah, this seems to work: nix-shell -p $(nix-instantiate --eval --expr 'with import <nixpkgs> {}; toString hello')
<Myrl-saki> Ohhh
<Myrl-saki> You can -p an output?
<ottidmes> Myrl-saki: Yep
<pirateking> to make it easier to come to an answer here, i'll change my question. does anyone know of any discussions on package fields and data, or if it's not a job for nix, then what might be used that i can take output from nix to query something that has this extra meta data?
<pirateking> and vice versa
alex`` has joined #nixos
Rusty1_ has joined #nixos
vandenoever has joined #nixos
<ottidmes> Myrl-saki: Seems to be undocumented though, but yeah it works. I just tried with ghc and it returns me the nix store path rather than the /run/current-system/sw/bin one
<srhb> pirateking: It's really difficult to do with Nix in the general case, aside from using git, because there's no 1-1 file-package correspondence
<WilliamHamilton> srhb: thanks, that works indeed; what threw me off was the invocation: I was under the impression that the overlay system picked the overlays automatically, when I put them under the `~/.config/nixpkgs/overlays/` folder (and it worked in the past, I think). So I was trying to install it with `nix-env -iA nixos.haskellPackages.constraints-emerge`
<Myrl-saki> ottidmes: Btw, I believe they're semantically different too.
<srhb> WilliamHamilton: Let me find the whole default location shenanigans for you...
<WilliamHamilton> srhb: do you have any info on automatic overlays?
<pirateking> srhb: thanks
<Myrl-saki> ottidmes: I mean, semantically the same, but executionally different?
<Myrl-saki> ottidmes: -p requires loading everything into memory or something of that sort. "Dumping very large path..."
<srhb> WilliamHamilton: nixpkgs/pkgs/top-level/impure.nix -- search for overlays
<ottidmes> Myrl-saki: Who are they? out path vs pkgname?
<WilliamHamilton> srhb: you are a saint :)
<Myrl-saki> ottidmes: Err, wait, give me a few.
<srhb> WilliamHamilton: It's... Too complicated in my opinion. I prefer just calling functions directly :P
lo_mlatu has joined #nixos
<Myrl-saki> ottidmes: Talking about nix-shell -p $(nix-instantiate --eval --expr 'with import <nixpkgs> {}; toString haskell.compiler.ghc822')
<Myrl-saki> ottidmes: Vs nix-shell -p haskell.compiler.ghc822
<WilliamHamilton> srhb: I checked what I was missing: I didn't add the `.nix` extension to the file! now it works even in the other way
<srhb> WilliamHamilton: Great :)
<manveru> pirateking: so kinda like a nix package store with reviews and such?
<WilliamHamilton> srhb: oh but the overlay system is wonderful: if you just put that file in the ~/.config/nixpkgs/overlays/` folder, then it becomes part of <nixpkgs> and you can issue simpler commands!
<srhb> WilliamHamilton: Yes, but.. Say you also had overlays in other places, or you used nix.overlays, or nixPath = [ "overlays=..." ];
<WilliamHamilton> srhb: thanks for the help, as always :)
<srhb> WilliamHamilton: I have no idea which ones take effect and which don't
<srhb> :P
<srhb> WilliamHamilton: You're welcome!
<tilpner> srhb - https://nixos.org/nixpkgs/manual/#sec-overlays-install describes the search order
<pirateking> manveru: almost. my purpose is similar to that of reviews. but more basic. just more meta data. i can use my own intuition and wisdom to drive my decisions. ..i find myself hunting for the same kind of information everytime just to make a decision. i'd rather not do this manual work
<Myrl-saki> ottidmes: Of course, I get proven wrong once again. I'm guessing something went wrong with the nix copy.
<srhb> tilpner: Right, and so does impure.nix.. But I have to look it up each time. Instead I just invoke nixpkgs manually and add the overlays explicitly. :)
<srhb> It's a bit of duplication, but it's immediately apparent which overlays are in effect.
<tilpner> My <nixpkgs> is a file that adds the overlays
<srhb> tilpner: Yeah, that's essentially what I do. :)
<tilpner> :)
<manveru> pirateking: might be feasable to build on top of https://nixos.org/nixos/packages.html
<Myrl-saki> Is there a way to nix-copy-closure with SSH key?
<srhb> Myrl-saki: It always does, but I assume you mean with your user's key instead of root?
<Myrl-saki> srhb: Yep.
<manveru> pirateking: atm i think it's just a simple json file generated by nix. in theory it might be possible to figure out for each package what .nix files constitute it, and when they were last updated. of course it already includes URLs for github and such, so you could get stars from there
<srhb> Myrl-saki: Perhaps you can use NIX_SSHOPTS?
<srhb> Myrl-saki: Or maybe nix copy has a better option.
<Myrl-saki> srhb: Thanks, where's that documented?
<srhb> Myrl-saki: NIX_SSHOPTS? man nix-copy-closure
<pirateking> manveru: yeah it looks like i'll have to make it myself. i wanted to make sure i wasn't spending time considering things that others have already considered. or worse, started a project already half done. but it looks like it hasn't been done yet
<Myrl-saki> srhb: Thanks. My / failed me.
<srhb> Myrl-saki: I tend to just be a trusted user on each of the machines though.
lohfu has joined #nixos
<srhb> Myrl-saki: I think that makes any root access unnecessary.
<manveru> pirateking: there was one other project that checked what packages are up to date, and also one to update automatically (which works quite well now). but that doesn't seem very helpful for your case?
<srhb> Myrl-saki: (That is, `nix-copy-closure --to sarah@foo path` just works)
<pirateking> it might be. do you think you could dig up any one of those or both?
<jophish> Is it possible to override rust packages with buildRustPackage?
<jophish> cargo isn't able to find the version of a package I need
<pirateking> manveru: beautiful - thank you so much!
<manveru> we definitely could use something a bit... more usable for normal users :)
<pirateking> mhm :)
<seanparsons> Does anyone here work on projects using npm with bundled binary dependencies? I've got something that in this case bundles 7za, tries to run it and it pops instantly because patchelf hasn't been run on it. I'm wondering if there's a sensible way to handle these cases.
lo_mlatu has quit [Ping timeout: 260 seconds]
rauno has joined #nixos
<manveru> seanparsons: yarn2nix can handle such cases
<manveru> though it might require some fiddling still
pirateking has quit [Quit: Page closed]
<Myrl-saki> srhb: Still requires an SSH key though, right?
<srhb> Myrl-saki: Yes, but just for the calling user. if ssh foo works, that should too.
<seanparsons> manveru: Hmmm.
<Myrl-saki> srhb: Makes sense. I forgot how to use SSH keys without ssh-agent though.
joehh has quit [Ping timeout: 248 seconds]
<Myrl-saki> srhb: under config, I believe?
<srhb> Myrl-saki: I don't think you need to do anything? As long as the key is present in the default location
<seanparsons> Cheers for that though, I'll need to have a bit of an investigation.
<srhb> eg. ~/.ssh/id_rsa
<srhb> Or whatever. :P
<manveru> seanparsons: it works via the pkgConfig attribute, i'm at work atm so can't provide a ton of info :|
jonjitsu has joined #nixos
<manveru> but that should be enough to get you some examples
alex`` has quit [Ping timeout: 248 seconds]
darlan has joined #nixos
darlan has quit [Client Quit]
<Myrl-saki> srhb: I also have that, yeah.
<srhb> Myrl-saki: Hm, not sure what else is required. I didn't think anything.
<Myrl-saki> srhb: I think you have ssh-agent?
<Myrl-saki> srhb: I mean, there's nothing wrong with having it. Lmao
<srhb> Myrl-saki: I do, but I'm pretty sure it worked without as well.
<srhb> I might be mistaken though
<Myrl-saki> srhb: Host 192.168.2.11
<Myrl-saki> IdentityFile ~/.ssh/lappy_rsa
<Myrl-saki> ;
<Myrl-saki> srhb: That's in my ~/.ssh/config
<Myrl-saki> srhb: I believe that is required, but I may be wrong.
<srhb> It probably is if you're using a nonstandard name like that.
pkill9 has joined #nixos
lord| has quit [Quit: WeeChat 2.1]
<Myrl-saki> srhb: True, makes sense, but I believe it's standard practice to have a unique key per machine?
<srhb> Myrl-saki: That... Sounds cumbersome.
<srhb> I mean, sure, more security is more better.
<Myrl-saki> srhb: Haha, true. :P
<Myrl-saki> srhb: I'm not so fond of going full security, I just assumed that everyone else does it that way. I guess I was mistaken.
<srhb> I had just one private key for the longest time, now I have a few divided by clients really.
<Myrl-saki> srhb: And yes, it doesn't only sound cumbersome, it is cumbersome.
<Myrl-saki> srhb: I also have some other system quirks, such as having a static IP for my wlan.
<Myrl-saki> srhb: So if I'm in a different place, I have to `systemctl disable dhcpcd` then manually start a new dhcpcd.
<srhb> Fun!
<Myrl-saki> srhb: TBF, my laptop is mostly a build machine, so it's not too bad.
<Myrl-saki> Advantages of being a shut-in. :D
tertle||eltret has quit [Quit: Connection closed for inactivity]
<srhb> Still waiting for those new thinkpads coming this summer (I hope...,) then I can claim the same..
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Myrl-saki> srhb: What's new about them? Coffee lake?
<srhb> Myrl-saki: That and maybe a numpad-free 15 inch.
<srhb> Anymoo. We should probably not veer into that topic because I can talk about my crippling indecisiveness on this topic for... Well, a long time. Ostensibly I've been buying a new Thinkpad for three years.
<Myrl-saki> srhb: How about the XPS 15?
<srhb> :-)
jperras has joined #nixos
<sphalerite> I got an XPS 15 just about a year ago, and I almost regret it a bit. It's a lovely machine, but my chromebook made me realise it's overpowered (and overpriced) for most of what I do
<{^_^}> [nixpkgs] @dtzWill opened pull request #39150 → rw: init at 1.0 → https://git.io/vpLNJ
<srhb> I like having a real build machine.
<srhb> If I had a ton of money I'd set up a real PC at home to act as a remote nix builder and buy a lighter laptop, but...
humanoyd has quit [Quit: WeeChat 2.1]
<sphalerite> that sounds like a cheaper option than getting a powerful laptop
<srhb> Well.. Yeah, it might be, really. But also gaming in bed! Important things!
<sphalerite> hahaha
<srhb> (An eGPU could probably take care of that...)
<Myrl-saki> I wanna have a build farm of Threadrippers.
<etu[m]> Why? They was terrible :D
leat has quit [Ping timeout: 268 seconds]
<sphalerite> srhb: laptop + streaming :p
<srhb> sphalerite: I've considered it. My demands might be low enough that the latency is fine
<etu[m]> A job I had was to build Threadripper clusters for universities. We build 400 blade servers in a week or so by hand and ran hardware tests and such to make sure they worked.
<sphalerite> that sounds kind of cool.
<{^_^}> [nix] @edolstra pushed 2 commits to 2.0-maintenance: https://git.io/vpLNb
<{^_^}> → 497325a7 by @edolstra: Remove some release-critical jobs
<{^_^}> → f7454db4 by @edolstra: Remove Fedora / Ubuntu releases that are no longer in Nixpkgs
<etu[m]> And later on for my next job I've bought one server like that from the very same company for a quite good price. We had 4 Threadrippers, 12 cores each and 64GiB of RAM. I compiled the kernel in less than 60 seconds which was quite cool to be (running Gentoo at the time).
<etu[m]> cool to me*
<gchristensen> I like to buy my powerful hardware by the hour
<gchristensen> then when it goes bad I can just hand it off
<talyz> etu[m]: weren't those bulldozers?
Lears has quit [Remote host closed the connection]
<Myrl-saki> ...
<Myrl-saki> I have 16 GB of RAM
<etu[m]> oh, yes. You're right.... I'm confusing things now.
fuzzy-id has joined #nixos
<Myrl-saki> And the nix-daemon says OOM.
<Myrl-saki> Does nix-daemon require swap? lol
<fuzzy-id> i try to run terraform, but it says it cannot find the aws provider although i installed terraform-full
<etu[m]> gchristensen: We needed to run maya all the time, every day, all of the days, all of the hours. And maya licenses are expensive. So it was cheaper to pack as much power as possible in one box.
<gchristensen> yeah no doubt
Fare has joined #nixos
<Myrl-saki> This is so weird. This happened twice now.
<etu[m]> gchristensen: Did you have a link where it was possible to buy nixos stickers btw? Can't find it in my history :(
<Myrl-saki> Or maybe I have o remount, who knows.
<gchristensen> it is pricey, but 16 cores, 128g ram, 2.4tb nvme, and 2x10gbps nics for $1.75/hr :)
periklis has quit [Ping timeout: 256 seconds]
odi_ has quit [Ping timeout: 256 seconds]
<gchristensen> etu[m]: ping me in a few hours? I'm writing slides for a talk in an hour
xcmw has joined #nixos
<etu[m]> Will do!
Lears has joined #nixos
magnetophon has joined #nixos
<etu[m]> sphalerite: None of the links works :(
<steveeJ> hey, I just stumbled upon an issue with latexindent which is already reported yet unsolved: https://github.com/NixOS/nixpkgs/issues/35537 any chance someone has an idea why this happens?
xcmw has quit [Ping timeout: 264 seconds]
ixxie has joined #nixos
<magnetophon> During nixos-rebuild I keep getting "Cannot write: No space left on device", while "df" says I have 13Gb free on / How do I troubleshoot further?
leat has joined #nixos
<steveeJ> magnetophon: which filesystem are you using?
<fuzzy-id> magnetophon: is this during installation?
<sphalerite> magnetophon: is your /boot maybe out of space?
<sphalerite> hahaha onslaught of questions
jonjitsu has quit [Ping timeout: 248 seconds]
aarvar has joined #nixos
<magnetophon> steveeJ: ext4
<steveeJ> magnetophon: what does df -i say?
<unacceptable> magnetophon: did you recently delete something big?
<magnetophon> fuzzy-id: df doesn\t mention a separate boot
ihar has quit [Quit: WeeChat 2.0]
<fuzzy-id> my question was actually whether you are currently installing ;)
<magnetophon> steveeJ: df -i says I have 3.3mB free!
<{^_^}> [nix] @edolstra closed pull request #293 → Add ``--search`` option to nix-env → https://git.io/LiGD_g
<magnetophon> fuzzy-id: no, not installing
<magnetophon> unacceptable: I did optimise store recently
orivej has quit [Ping timeout: 264 seconds]
<magnetophon> sphalerite: no, no separate boot iinm
<steveeJ> magnetophon: now I'm confused, can you upload the output somewhere?
<magnetophon> steveeJ: sure, one sec
<vaibhavsagar> is https://github.com/bvbfan/Audio-thumbs in kio-extras in 18.03?
<vaibhavsagar> I assumed it would be but I can't find the option to enable audio file thumbnail previews
<unacceptable> 2G free on /home?
<magnetophon> unacceptable: yes
<magnetophon> unacceptable: that isn\t used by nixos-rebuild, is it?
<unacceptable> No idea, it's just your only entry that's even remotely full
<magnetophon> steveeJ: I gues M doesn't stand for MB in this context...:)
<steveeJ> magnetophon: alright, in that case my suspicion of no free inodes is disproved
<symphorien> magnetophon: with ext4 a fraction of the fs is reserved for use by root. ~10% by default. other users get ENOSPACE
<symphorien> sorry more 5%
<symphorien> this might be it
<magnetophon> symphorien: df says I have 20% free
<symphorien> hum misread sorry
<magnetophon> sphalerite: it's trying to unpack a big font pkg, so that rules out /boot issues, doesn't it?
<sphalerite> yeah
Ariakenom has joined #nixos
<sphalerite> magnetophon: OH! It's probably your /tmp
<sphalerite> try unmounting it and redoing it
<sphalerite> iirc stuff gets built in /tmp
<fuzzy-id> yeah, 4G is too less for /tmp on nixos!
Lears has quit [Remote host closed the connection]
<magnetophon> umount: /tmp: target is busy.
<unacceptable> lsof
<Myrl-saki> There's really something wrong.
<magnetophon> so I gues I have to change my config to use regular disk instead of tmpfs for tmp, rebuild without the font, and then try again, right?
<sphalerite> unacceptable: yeah or just make it a bigger tmpfs, adding swap if necessary
<zybell_> How much RAM has that machine?
mojjo has quit [Ping timeout: 276 seconds]
<ottidmes> srhb: If you ever want to try the desktop streaming to laptop approach, this works pretty well: https://parsecgaming.com/
<srhb> ottidmes: Thanks :)
<fuzzy-id> magnetophon: you could also try 'umount -l /tmp' and rebuild. i'm not sure how exactly it behaves though.
<magnetophon> zybell_: 8G
<zybell_> you have over 12G committed to various tmps
Ariakenom has quit [Ping timeout: 265 seconds]
<magnetophon> so in general tmpfs for /tmp on a 8G nixos machine is a bad idea, right?
<magnetophon> zybell_: 12G? how do you figure?
alaricsp has quit [Ping timeout: 260 seconds]
coot has quit [Quit: coot]
<magnetophon> fuzzy-id: umount -l /tmp gives no errors, rebuilding now
<magnetophon> and it finished rebuilding. thanks everybody!
coot has joined #nixos
alexteves_ has joined #nixos
<magnetophon> I commented out # tmpOnTmpfs = true; and will rebuild again. If I understood fuzzy-id correctly, I should leave it that way, right?
<srhb> magnetophon: fwiw I regularly run out of memory while building with 16GiB and zfs.
<srhb> I ran out much more often with tmpOnTmpfs
<ixxie> So, it seems my XPS 9350 sometimes randomly switches its SATA BIOS setting from disabled to RAID or ADHC. I was wondering if there is any chance whatsoever NixOS is somehow doing that, since googling this issue yielded nothing.....
spear2 has quit [Ping timeout: 260 seconds]
<srhb> Usually I just lower the amount of builders when stuff like that happens
<zybell_> that means normal RAM use (compiler) will cut into available space on tmps. /tmp + /run/wrappers + /dev/shm + /run look at Size
<magnetophon> srhb: thanks, I sometimes go into swap when building.
<{^_^}> [nixpkgs] @shlevy pushed to master « rdkafka: Build with openssl support. »: https://git.io/vpLp9
<vaibhavsagar> silly Nix question: I'm getting the "called without required argument 'mkDerivation'" error because I'm expecting callPackage to take care of it
fragamus has joined #nixos
<srhb> vaibhavsagar: Is it in scope?
<vaibhavsagar> and if I pass an argument for mkDerivation, then the derivation complains about the next input
<magnetophon> zybell_: right, thanks
<vaibhavsagar> srhb: I'm doing `pkgs.callPackage derivation.nix {}`
<vaibhavsagar> is there something else I should be doing instead?
alaricsp has joined #nixos
odi_ has joined #nixos
<magnetophon> sphalerite: and thank you especially for the correct answer!
MichaelRaskin has joined #nixos
<sphalerite> \o/
<ottidmes> vaibhavsagar: Should it not be stdenv.mkDerivation? Not sure if mkDerivation even exists as a separate top-level attribute
<sphalerite> oh hey MichaelRaskin
aarvar has quit [Ping timeout: 255 seconds]
<sphalerite> MichaelRaskin: I worked out the sauerbraten thing. It turns out it does some nasty hacks that actually break the glibc headers, and it is sauerbraten's fault, not glibc's or gcc's
aarvar has joined #nixos
<vaibhavsagar> ah, I see
<{^_^}> [nixpkgs] @shlevy pushed to release-18.03 « rdkafka: Build with openssl support. »: https://git.io/vpLh8
Fare has quit [Ping timeout: 255 seconds]
satreu has quit [Quit: Page closed]
rauno has quit [Ping timeout: 246 seconds]
florian has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « Fix tests.evalNixOS »: https://git.io/vpLhd
<derchris> i tried to convert an pypi package to nixos using pypi2nix. there are a few dependencies for the package, one of which is pillow. but when trying to build pillow it failed with missing zlib headers
<unacceptable> derchris: did you provide libzip into that env?
<derchris> tried -E zlib or a nix-shell -p zlib to package it without success
<derchris> i thought it was zlib
<sphalerite> it is
<derchris> will try wiht libzip
maingo has quit [Quit: Connection closed for inactivity]
<ij> Is it posible to get a working shell for a node project with nixpkgs/npm2nix?
Lnavry is now known as Yaniel
<zybell_> yes
joehh has joined #nixos
<{^_^}> [nixpkgs] @ikervagyok opened pull request #39152 → xmr-stak: 2.3.0 -> 2.4.3 → https://git.io/vpte6
<derchris> i get the same build error with libzip
<sphalerite> yeah zlib is the right one to use
<sphalerite> pillow is in nixpkgs, maybe you can put it in from there.
<sphalerite> Not sure how pypi2nix works though
aarvar has left #nixos [#nixos]
periklis has joined #nixos
aarvar has joined #nixos
xcmw has joined #nixos
<steveeJ> how do Install a perl with custom CPAN modules?
ihar has joined #nixos
<steveeJ> AFAICT the system perl doesn't include YAML::Tiny, but latexindent requires this
Fare has joined #nixos
freeman42x]NixOS has joined #nixos
<derchris> sphalerite: do you have any howto for doing it manually?
<derchris> without pypi2nix
blankhart has quit [Ping timeout: 264 seconds]
<sphalerite> I don't know much about python packaging, sorry
<sphalerite> (except that it's generally a pain)
vandenoever has quit [Ping timeout: 264 seconds]
<adisbladis[m]> derchris: Look at awscli for an example
<adisbladis[m]> Sadly python packaging in nixpkgs is a manual affair
Lears has joined #nixos
coot has quit [Quit: coot]
<{^_^}> [nixpkgs] @mnacamura opened pull request #39153 → lightdm-mini-greeter: init at 0.3.2 → https://git.io/vptfS
<derchris> adisbladis[m]: you mean the awscli nixos package, or the example from pypi2nix ?
drkna has quit [Ping timeout: 260 seconds]
<adisbladis[m]> derchris: nixpkgs (NixOS package)
freeman42]NixOS has joined #nixos
<adisbladis[m]> We don't use pypi2nix in nixpkgs. I use it for a few work deployments though
wangoe has quit [Quit: WeeChat 1.9.1]
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
aw has joined #nixos
sphalerite has quit [Quit: WeeChat 2.0]
spacefrogg has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 248 seconds]
rauno has joined #nixos
ixxie has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
nD5Xjz has quit [Ping timeout: 240 seconds]
spear2 has joined #nixos
keith_analog has joined #nixos
nD5Xjz has joined #nixos
odi_ has quit [Remote host closed the connection]
TweyII has joined #nixos
odi_ has joined #nixos
ryanartecona has joined #nixos
aarvar has quit [Quit: Leaving.]
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
odi_ has quit [Remote host closed the connection]
erasmas has joined #nixos
aarvar has joined #nixos
nick_l has joined #nixos
aarvar has quit [Remote host closed the connection]
aarvar has joined #nixos
<nick_l> Is there any NixOS 18.03 compatible (or newer) vnc client which properly capture Windows key and can send it to a recent Mac over VNC?
dbmikus_ has joined #nixos
xcmw has quit [Ping timeout: 260 seconds]
aarvar has quit [Client Quit]
vandenoever has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
pie_ has joined #nixos
aarvar has joined #nixos
<{^_^}> [nix] @edolstra pushed to 2.0-maintenance « Fix tests.evalNixOS »: https://git.io/vptTQ
joehh has quit [Ping timeout: 256 seconds]
aarvar has quit [Client Quit]
jonjitsu has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
jperras has quit [Ping timeout: 276 seconds]
logzet has quit [Ping timeout: 255 seconds]
logzet has joined #nixos
nD5Xjz has quit [Ping timeout: 248 seconds]
pmeunier has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to 2.0-maintenance: https://git.io/vptkA
<{^_^}> → e30bd350 by @masaeedu: Wrap thread local in function for Cygwin
<{^_^}> → c67476fb by @edolstra: Bump version to 2.0.1
pmeunier has quit [Client Quit]
pemeunier has joined #nixos
kreetx has joined #nixos
<kreetx> hi! question: why is NIX_PATH in .profile and not in .bashrc? There is no nix in path when logging in via ssh, since it appears not to start a login shell
lonokhov has quit [Quit: pewpew]
xcmw has joined #nixos
aarvar has joined #nixos
ma27 has quit [Ping timeout: 276 seconds]
lo_mlatu has joined #nixos
blankhart has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
ryantrinkle has joined #nixos
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
logzet has quit [Remote host closed the connection]
knupfer has joined #nixos
contrapumpkin has joined #nixos
<{^_^}> [nixpkgs] @wmertens pushed to zramSwap-one-dev « zramSwap: default to 1 device »: https://git.io/vptLx
<{^_^}> [nixpkgs] @wmertens opened pull request #39155 → zramSwap: default to 1 device → https://git.io/vpttk
<infinisil> kreetx: You can just move it over, the installer just tries multiple files and uses the first one to install the NIX_PATH stuff to
<Myrl-saki> clever: Would ./configure be faster with qemu-system-arm?
dbmikus_ has quit [Quit: WeeChat 2.1]
<infinisil> kreetx: It doesn't matter where it is, as long as it gets sourced by your interactive shells
chisui has joined #nixos
dbmikus has joined #nixos
lo_mlatu has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #39156 → oraclejdk: 8u161, 8u162, 10 -> 8u171, 8u172, 10.0.1 [Critical security fixes] → https://git.io/vptqm
<betaboon> hello #nixos, i am deploying containers into a virtualbox using nixops with nixos18.03 and recently i am (more often than not) running into a problem "Cannot find device host0", which i guess is the step that is trying to rename host0 to eth0, any thoughts on that ?
lo_mlatu has joined #nixos
humanoyd has joined #nixos
dbmikus has quit [Quit: WeeChat 2.1]
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @wmertens pushed to zramSwap-one-dev « zramSwap: remove mentions of old kernels »: https://git.io/vptqj
Lears has quit [Remote host closed the connection]
Lears has joined #nixos
jperras has joined #nixos
kreisys has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @taku0 opened pull request #39157 → oraclejdk: 8u161, 8u162 -> 8u171, 8u172 (backporting to 18.03) → https://git.io/vptm2
asuryawanshi has joined #nixos
<srk> is there a nix-copy-closure for copying closures locally? I need to copy a container closure to zfs dataset
orivej has quit [Ping timeout: 248 seconds]
<srk> hmm, nix copy maybe
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jperras_ has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 240 seconds]
lexspring has joined #nixos
jon_ has joined #nixos
<{^_^}> [nixpkgs] @catern opened pull request #39158 → pythonPackages.dataclasses: init at 0.5 → https://git.io/vptYw
alaricsp has quit [Ping timeout: 265 seconds]
jonjitsu has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #39159 → oraclejdk: 8u161, 8u162 -> 8u171, 8u172 (backporting to 17.09) → https://git.io/vptYM
sanscoeur has quit [Remote host closed the connection]
sphalerite has joined #nixos
<sphalerite> argh weechat is being janky, didn't notice I didn't auto-rejoin here >_>
orivej has joined #nixos
kreisys has joined #nixos
<betaboon> wb then :)
Lears has quit [Remote host closed the connection]
jperras_ is now known as jperras
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8673808927d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
__Sander__ has quit [Quit: Konversation terminated!]
<lexspring> hello, i'm trying to get simple shell script to work : "nix-shell ./makeFHSchroot1.nix ; cd /somedir" ; but cd part don't happen after nix-shell
<lexspring> is there a way to get this work, or tell nix-shell to execute particular shell commands ?
knupfer has quit [Read error: Connection reset by peer]
<betaboon> lexspring: did you try "nix-shell --run" ?
Lears has joined #nixos
Fare has joined #nixos
jrolfs_ has joined #nixos
<lexspring> betaboon, didn't knew such option exist, just tried it , seems doen't change directories nor creates files https://hastebin.com/editifozel.coffeescript
frostspanner has joined #nixos
blankhart has quit [Read error: Connection reset by peer]
jensens has quit [Ping timeout: 248 seconds]
<frostspanner> How do you specify a different overlay path from the default in configuration.nix?
blankhart has joined #nixos
<betaboon> lexspring: can you share the content of that nix-expression ?
alaricsp has joined #nixos
<lexspring> betaboon, contents of my fhs.nix : https://hastebin.com/epubajiyis.pl , i tried to replace runScript = "bash"; with runScript = "cd /tmp"; or runScript = "nano"; but it didn't seem to execute those
<iqubic> Are there any fonts out there that give me Braille characters?
Fare has quit [Ping timeout: 240 seconds]
<betaboon> lexspring: i dunno what you're trying to acchieve there.
<betaboon> and i never used buildFHSUserEnv, so dunno on that part
<Ralith> jophish: on and off
astiles has joined #nixos
<iqubic> What's the right font set to install if I want noto-sans?
<lexspring> here is what I trying to achieve : I would like to execute my pkgs.buildFHSUserEnv function as usual, which works for me. and it drops me to a shell. next thing I want to automate and exececute particular shell script commands. which doesn't work for me now and i'm unsure how to perform that. I would like to perform both operations in one step\script\command\line
coot has joined #nixos
panther420[m] has joined #nixos
<lo_mlatu> Hi all, is there a way to 'pin' a package without installing it?
<lo_mlatu> I mean, let garbage collect ignore the package
vaninwagen has quit [Ping timeout: 256 seconds]
tgunb has joined #nixos
astiles has quit [Remote host closed the connection]
<tgunb> is nixos.org down?
astiles has joined #nixos
<Akii> no
jrolfs_ has quit [Ping timeout: 248 seconds]
rauno has quit [Remote host closed the connection]
<tilpner> lo_mlatu - nix-store --add-root perhaps
alaricsp has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #39160 → tree-wide: fix instance of "meta.maintainer" -> "meta.maintainers" → https://git.io/vptZ4
<clever> tilpner: nix-build creates such roots by defaul
<clever> t
<tilpner> Right, I sometimes forget that because I aliased --no-out-link everywhere
<gchristensen> dtz: is eval broken?
talyz has quit [Read error: Connection reset by peer]
etu has quit [Read error: Connection reset by peer]
<{^_^}> [nix] @shlevy pushed to 2.0-maintenance « ssh-ng: Don't forward options to the daemon. »: https://git.io/vptZK
astiles has quit [Ping timeout: 265 seconds]
<betaboon> lexspring: sorry can't help with that
xcmw has joined #nixos
<dtz> well, I was seeing check-meta failures --but AFAICT this isn't anything new? So if eval worked yesterday, AFAIK still works :P.
talyz has joined #nixos
<dtz> (although having something test everything with check-meta enabled does seem like a good idea...?)
coot has quit [Ping timeout: 256 seconds]
etu has joined #nixos
<lo_mlatu> tilpner looks like what I need, thank you
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<tilpner> lo_mlatu - nix-build '<nixpkgs>' -A hello should work too
<tilpner> That will create a result symlink. As long as that link exists there, hello will not be gc'ed
ryanartecona has quit [Quit: ryanartecona]
jrolfs_ has joined #nixos
<lo_mlatu> tilpner: yes I know that, I just don't want the outlink :)
coot has joined #nixos
xcmw has quit [Ping timeout: 265 seconds]
<{^_^}> [nix] @shlevy opened pull request #2091 → Plugin cherrypicks → https://git.io/vptnG
alaricsp has joined #nixos
lexspring has quit [Ping timeout: 260 seconds]
<lo_mlatu> nix-build can't find some packages, such as texlive-combined-full, however nix-env can find it, why is that?
<tilpner> lo_mlatu - Try texlive.combined.scheme-full
<tilpner> (Doesn't build here though)
<tilpner> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<lo_mlatu> Oh I see, texlive-combined-full is the name attribute of texlive.combined.scheme-full
astiles has joined #nixos
hotfuzz has quit [Quit: WeeChat 2.0]
<dtz> hmm, might be hidden due to using callPackage instead of callPackages or something, at least the ones I'm looking at seem different enough in terms of organization that maybe they're not found
jrolfs has quit [Ping timeout: 265 seconds]
nick_l has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed commit from @bjornfor to release-17.09 « wildmidi: 0.3.9 -> 0.4.2 »: https://git.io/vptcP
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fare has joined #nixos
<tgunb> MichaelRaskin: did you mean nixos.libreoffice?
ryanartecona has joined #nixos
<tgunb> i updated the channel and did nix-env -iA nixos.libreoffice right before my answer.
jon_ has quit [Remote host closed the connection]
TonyTheL1on has quit [Quit: leaving]
<MichaelRaskin> Maybe the channel is too far back, though.
TonyTheLion has joined #nixos
jon_ has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
<MichaelRaskin> I remember nixos-unstable being stuck for a couple of weeks recently…
fragamus has joined #nixos
<MichaelRaskin> I mean nixos.libreoffice.libreoffice when nixos channel catches up
maingo has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vptWO
<{^_^}> → 5a66aaf8 by @FRidh: Merge pull request #39160 from dtzWill/fix/meta-maintainer-singular
<{^_^}> → 4f273627 by @dtzWill: tree-wide: fix instance of "meta.maintainer" -> "meta.maintainers"
<{^_^}> [nixpkgs] @FRidh merged pull request #39160 → tree-wide: fix instance of "meta.maintainer" -> "meta.maintainers" → https://git.io/vptZ4
betaboon has quit [Quit: WeeChat 1.9.1]
<lo_mlatu> tilpner: Sorry, what's the argument of `nix-store --add-root`?
<lo_mlatu> running nix-store --add-root /nix/store/ai528fcd0sbgpwrng4g34z4zb11vbg5s-texlive-combined-full-2017
<lo_mlatu> results `error: no operation specified`
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/vptlZ
<{^_^}> → dd72b6cb by @NeQuissimus: linux: 4.9.93 -> 4.9.94
<{^_^}> → 9e5e51d0 by @NeQuissimus: linux: 4.4.127 -> 4.4.128
<{^_^}> → da788ed8 by @NeQuissimus: linux: 4.14.34 -> 4.14.35
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.4.127 -> 4.4.128 »: https://git.io/vptlC
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.9.93 -> 4.9.94 »: https://git.io/vptll
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.34 -> 4.14.35 »: https://git.io/vptl4
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.15.17 -> 4.15.18 »: https://git.io/vptlE
jrolfs_ has quit [Ping timeout: 248 seconds]
<tilpner> lo_mlatu - nix-store --add-root /tmp/hello --indirect -r /nix/store/kmwd1hq55akdb9sc7l3finr175dajlby-hello-2.10
ottidmes has quit [Quit: WeeChat 2.0]
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @zlatko17 opened pull request #39161 → storm: 1.0.1 -> 1.2.1 → https://git.io/vpt8Q
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mkaito has quit [Read error: Connection reset by peer]
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
Guanin has quit [Remote host closed the connection]
jluttine has quit [Ping timeout: 248 seconds]
Fare has quit [Ping timeout: 268 seconds]
blankhart has quit [Ping timeout: 264 seconds]
<Myrl-saki> clever: The binfmt qemu takes 2 seconds to load up.
<Myrl-saki> clever: Got any idea why?
<Myrl-saki> I tried the qemu package, and it's instant for me
<sphalerite> Myrl-saki: so if you call qemu-user explicitly it's instant but if you call it through binfmt_misc it's slow?
<Myrl-saki> sphalerite: The static(?) qemu-user takes 2 seconds, the nixos package is instant.
<sphalerite> what do you mean by the nixos package/
<Myrl-saki> sphalerite: The one from nixpkgs.
<sphalerite> but that's something completely different, isn't it? That's qemu-system?
<Myrl-saki> sphalerite: I mean
<Myrl-saki> sphalerite: I think clever uses a different source for the qemu, since the versions are different.
<adelbertc> has anyone seen issues like `Error relocating /nix/store/w81d7rbysi0rmf9c47njqbxjnllqv9cq-python-2.7.14/lib/libpython2.7.so.1.0: __vfprintf_chk: symbol not found` ? im hitting this running some python code in a Nix-built/provisioned Docker image
<Myrl-saki> I'll try updating it right now.
<acowley> Is putting an `overlays = [ (import ./blah.nix) ];` in config.nix something that is expected to work? As in, the overlay definitions become part of nixpkgs.
ryanartecona has quit [Quit: ryanartecona]
<sphalerite> adelbertc: apparently it has something to do with FORTIFY_SOURCE. I don't know any details though
<sphalerite> acowley: no. Overlays are a layer above config
<acowley> sphalerite: Drats. Okay, thanks.
<sphalerite> I don't know why that is…
<acowley> I had wanted to do some pathExists checking to control which overlays are imported
<sphalerite> you could do that in the overlays themselves.
<sphalerite> or make one overlay which combines them conditionally
tgunb has quit [Quit: Leaving.]
blankhart has joined #nixos
nuncanada has joined #nixos
doublehp has joined #nixos
wangoe has joined #nixos
ThatOtherGuy has quit [Ping timeout: 276 seconds]
warbo has joined #nixos
warbo has left #nixos [#nixos]
<doublehp> fresh debian; "nix-env -i freecad" returned OOM; I have 2GB of RAM (no swap); how much swap should I add ? will really help or is it likely i have a bug ?
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8673808927d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
lo_mlatu has quit [Ping timeout: 240 seconds]
sanscoeur has joined #nixos
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #nixos
xcmw has joined #nixos
<Myrl-saki> sphalerite: I think it's the build flags.
ma27 has joined #nixos
wangoe has quit [Quit: WeeChat 1.9.1]
wangoe has joined #nixos
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « libjpeg: fixup hash »: https://git.io/vpt04
vandenoever has quit [Ping timeout: 268 seconds]
periklis has quit [Ping timeout: 260 seconds]
xcmw has quit [Ping timeout: 248 seconds]
iqubic has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39041 → agg: disable building of examples to fix build → https://git.io/vpJ7g
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpt0w
<{^_^}> → 4807cc1a by @eqyiel: libraries/agg: disable building of examples to fix build
<{^_^}> → f1eb2932 by @matthewbauer: Merge pull request #39041 from eqyiel/fix-agg
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #38109 → ansible_2_5: init at 2.5.0 → https://git.io/vxrgT
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vpt0P
<{^_^}> → cf45cfc5 by Thilo Uttendorfer: ansible_2_5: init at 2.5.0
<{^_^}> → 443af665 by @yegortimoshenko: Merge pull request #38109 from sengaya/add-ansible25
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38976 → tixati: 2.55 -> 2.57 → https://git.io/vpvG5
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vptEe
<{^_^}> → fa935911 by @volth: tixati: 2.55 -> 2.57
<{^_^}> → 78cfa7bb by @matthewbauer: Merge pull request #38976 from volth/patch-124
Sonarpulse has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39021 → vlc: drop unused onlyLibVLC argument → https://git.io/vpJc1
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vptET
<{^_^}> → 729e3b88 by @pbogdan: vlc: drop unused onlyLibVLC argument
<{^_^}> → c9a3d919 by @matthewbauer: Merge pull request #39021 from pbogdan/vlc-obsolete-argument
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38983 → icicles: 2017-10-28 -> 2018-04-16 → https://git.io/vpvWi
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vptEq
<{^_^}> → dec5e5a6 by @scolobb: icicles: 2017-10-28 -> 2018-04-16
fragamus has joined #nixos
<{^_^}> → 8273d971 by @matthewbauer: Merge pull request #38983 from scolobb/icicles-bump
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38970 → fstl: init at 0.9.3 → https://git.io/vpvfn
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vptE3
<{^_^}> → a4f8090f by @thorstenweber83: fstl: init at 0.9.3
<{^_^}> → a5b8b2e0 by @matthewbauer: Merge pull request #38970 from thorstenweber83/add-pkg-fstl
<{^_^}> [nixpkgs] @bjornfor pushed to master « shutter: add missing dependencies for Screenshot->Export (Ctrl+U) support »: https://git.io/vptE8
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38810 → giac: enable checks, separate outputs → https://git.io/vxACa
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vptEu
<{^_^}> → 32cf225a by Timo Kaufmann: giac: enable checks, separate outputs
<{^_^}> → 1bb28f26 by @matthewbauer: Merge pull request #38810 from timokau/giac-improvements
xeji has joined #nixos
jon_ has quit [Ping timeout: 256 seconds]
LogicAside has joined #nixos
jon_ has joined #nixos
LogicAside is now known as ThatOtherGuy
<jophish> Ralith: cool! I've just resurrected my haskell vulkan bindings if that interests you
<Ralith> jophish: I'm mostly rust flavored these days
<jophish> in that case: very cool!
<Ralith> always good to see vulkan getting love though!
<jophish> I can imagine that it's a splendid language for graphics programming
<jophish> are you using that vulkano crate?
<doublehp> 10G swap did it. Bye.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39003 → Carnix: 0.6 -> 0.7 → https://git.io/vpfkn
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vptuL
<{^_^}> → 29a30597 by @pijul: Carnix 0.7
<{^_^}> → 8e87f73e by @pijul: Update to 0.7.2
<{^_^}> → ec40f193 by @pijul: disable parallel rustc (-C codegen-units=1)
doublehp has quit [Quit: Leaving.]
coot has quit [Quit: coot]
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #39163 → haskellPackages.vulkan: Fix dependency for vulkan → https://git.io/vptu5
jluttine has joined #nixos
xcmw has joined #nixos
szicari has joined #nixos
xcmw has quit [Client Quit]
<mpickering> Can someone set off the builder please on my PR? https://github.com/NixOS/nixpkgs/pull/39125
florian has quit [Ping timeout: 256 seconds]
<mpickering> Attributes: saga and saga_2_3_2
xcmw has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #39150 → rw: init at 1.0 → https://git.io/vpLNJ
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/vptzl
<{^_^}> → 2aff3da7 by @dtzWill: rw: init at 1.0
<{^_^}> → 305b75d3 by @dtzWill: rw: mark as broken on darwin for now
<{^_^}> → 93814ed4 by @dtzWill: Merge pull request #39150 from dtzWill/feature/rw
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/01a664e7793 (from 80 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
knupfer has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38656 → sleepyhead: init at 1.0.0-beta → https://git.io/vx5uf
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vptzR
<{^_^}> → 1ee4331a by @krav: sleepyhead: init at 1.0.0-beta
avira has left #nixos [#nixos]
<{^_^}> → 65485590 by @matthewbauer: Merge pull request #38656 from krav/master
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38588 → dhcp: 4.3.6-P1 -> 4.4.1 → https://git.io/vxQWz
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vptzK
<{^_^}> → 80cd2637 by R. RyanTM: dhcp: 4.3.6-P1 -> 4.4.1
<{^_^}> → 736d31e4 by @matthewbauer: Merge pull request #38588 from r-ryantm/auto-update/dhcp
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38488 → shogun: disable parallel building → https://git.io/vxSns
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to release-18.03: https://git.io/vptzd
<{^_^}> → 96f5d52c by @xeji: shogun: disable paralllel building
jeaye-hiring is now known as jeaye
<{^_^}> → bee61947 by @matthewbauer: Merge pull request #38488 from xeji/p/shogun
ryanartecona has joined #nixos
ryantrinkle has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ngortheone opened pull request #39164 → Fix #33092 → https://git.io/vptg4
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @xeji to master « shogun: disable paralllel building »: https://git.io/vptgR
jperras has quit [Ping timeout: 260 seconds]
Fare has joined #nixos
stranger___ has joined #nixos
ChongLi_ has quit [Excess Flood]
ChongLi has joined #nixos
<{^_^}> [nixos-homepage] @grahamc opened pull request #212 → Allow passing arguments to the Nix installer → https://git.io/vpt2W
<keith_analog> Hi All, can someone tell me how if possible I can configure my configuration.nix to enable parallel builds on my 12 core machine/
<tilpner> keith_analog - nix = { maxJobs = ...; buildCores = ...; nrBuildUsers = ...; };
xcmw has quit [Ping timeout: 264 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
<tilpner> Not sure all of them are required, or if you they default off of each other
sebastian has joined #nixos
sebastian is now known as Guest33271
Guest33271 has quit [Client Quit]
sigmundv__ has quit [Ping timeout: 256 seconds]
seppellll has joined #nixos
alexteves_ has quit [Ping timeout: 260 seconds]
wangoe has quit [Ping timeout: 240 seconds]
nur0n0 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38726 → hwdata: 0.310 -> 0.311 → https://git.io/vxb95
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vptaB
<{^_^}> → 757f026f by @matthewbauer: Merge pull request #38726 from r-ryantm/auto-update/hwdata
<{^_^}> → 8564ceac by R. RyanTM: hwdata: 0.310 -> 0.311
<mightybyte> Anyone know why `nix-env -i ripgrep --dry-run` isn't getting a cached version of rustc?
sehqlr has joined #nixos
<acowley> mightybyte: There was a rustc build failure on hydra for darwin
jeaye is now known as jeaye-hiring
ixxie has joined #nixos
<nek0> hi folks, maybe someone here knows the solution to this problem: whenever I invoe `git add -p` I get the error message `Can't locate Git.pm in @INC (you may need to install the Git module)`
<acowley> sphalerite: If I go the route of doing the overlay merging myself in one master overlay, is there a recommended library function for composing them? Should I just ape stage.nix's use of `foldl' (flip extends)`?
<nek0> what o I need to install?
<sphalerite> nek0: strange, git add -p works for me. Do you maybe have something in your git config that might affect it?
<sphalerite> acowley: none that I know of
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<sphalerite> probably what you said :p
<nek0> sphalerite: my git config only contains my user name, email and my editor....
alex`` has joined #nixos
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/01a664e7793 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<sphalerite> nek0: how did you install git? Could you paste your nix-info output?
<Dezgeg> I think the git problem is fixed on master
sehqlr has quit [Quit: Konversation terminated!]
sehqlr has joined #nixos
<nek0> sphalerite: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0, channels(root): "nixos, nixpkgs, unstable-small-18.09pre137207.92f0d31b949", channels(nek0): "", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
logand has joined #nixos
<ixxie> Dezgeg, while you are around - do you know if there is any way that doing a nixos-rebuild could somehow change my bios settings?
<ixxie> Somehow the SATA mode in the BIOS has changed twice already without me even entering the config menu
<{^_^}> [nixpkgs] @WilliButz opened pull request #39165 → prometheus-postfix-exporter: 2017-06-01 -> 0.1.1, update module → https://git.io/vptV1
jperras has joined #nixos
xy2_ has quit [Ping timeout: 240 seconds]
<Dezgeg> I don't see it should
<{^_^}> [nix] @grahamc opened pull request #2092 → installer: allow opting in / out to the daemon installer → https://git.io/vptVb
<sphalerite> ixxie: maybe the EFI being really weird about having its boot order touched?
<sphalerite> ixxie: what if you set canTouchEfiVariables to false?
<{^_^}> [nixpkgs] @xeji opened pull request #39166 → gede: 2.0.4 -> 2.6.1, fix ctags dependency → https://git.io/vptwT
xy2_ has joined #nixos
<ixxie> sphalerite: I can give it a shot
TweyII has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « metabase: 0.28.1 -> 0.28.6 »: https://git.io/vptwV
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #39159 → oraclejdk: 8u161, 8u162 -> 8u171, 8u172 (backporting to 17.09) → https://git.io/vptYM
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @taku0 to release-17.09 « oraclejdk: 8u161, 8u162 -> 8u171, 8u172 »: https://git.io/vptwi
<acowley> The convention with overlays is that we have a function whose arguments are `self: super: `, but the nixpkgs manual on emacs configuration (https://nixos.org/nixpkgs/manual/#sec-emacs-config) does customization with a function whose arguments are `super: self: `. What's up with that?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38691 → wayland: 1.14.0 -> 1.15.0 → https://git.io/vxFMF
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vptwd
<{^_^}> → f43da349 by R. RyanTM: wayland: 1.14.0 -> 1.15.0
<{^_^}> → 5bc59008 by @matthewbauer: Merge pull request #38691 from r-ryantm/auto-update/wayland
<acowley> Is that a real difference or a documentation error? If it's real, can we have an overrideScope2 that swaps the order so I can develop some muscle memory at writing such functions?
<panther420[m]> hi im new
<panther420[m]> so whats cool about nixos?
jgt has joined #nixos
<sphalerite> acowley: looks like a nasty mess, especially since it *also* uses a rec set.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38641 → nodejs: 9.10.1 -> 9.11.1 → https://git.io/vx7yO
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vptrf
<{^_^}> → f8cbdd53 by @frontsideair: nodejs: 9.10.1 -> 9.11.1
<{^_^}> → c2369dda by @matthewbauer: Merge pull request #38641 from frontsideair/nodejs-9.11.1
<panther420[m]> wait can u irc guys see my message if its from matrix
<sphalerite> panther420[m]: yes we can
<acowley> sphalerite: Yeah, and this fixpoint construction is already confusing enough without the inconsistency.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #38644 → faust: add more faust2appl scripts → https://git.io/vx75U
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vptrL
<{^_^}> → 156dfd6e by @magnetophon: faust: add more faust2appl scripts
<{^_^}> → 48c24a8b by @matthewbauer: Merge pull request #38644 from magnetophon/faust
<dtz> panther320: yessir
<sphalerite> panther420[m]: declarative configuration, system configuration history and atomic rollbacks, parallel installation of multiple versions or configuartions of packages, and many other things.
<{^_^}> [nixpkgs] @grahamc merged pull request #39156 → oraclejdk: 8u161, 8u162, 10 -> 8u171, 8u172, 10.0.1 [Critical security fixes] → https://git.io/vptqm
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/vptrY
<{^_^}> → 5aa3dd11 by @taku0: oraclejdk: 8u161, 8u162 -> 8u171, 8u172
<{^_^}> → 7042807f by @taku0: oraclejdk: 10 -> 10.0.1
<{^_^}> → c826e15a by @grahamc: Merge pull request #39156 from taku0/oraclejdk-8u171
<acowley> I think it's a genuine difference, btw. My customization only works with the arguments as shown in the manual.
<{^_^}> [nixpkgs] @grahamc merged pull request #39157 → oraclejdk: 8u161, 8u162 -> 8u171, 8u172 (backporting to 18.03) → https://git.io/vptm2
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-18.03: https://git.io/vptrG
<{^_^}> → f8acb573 by @taku0: oraclejdk: 8u161, 8u162 -> 8u171, 8u172
<sphalerite> acowley: what a pain.
<{^_^}> → a0f5d776 by @grahamc: Merge pull request #39157 from taku0/oraclejdk-8u171-release-18.03
drakonis has joined #nixos
<sphalerite> gchristensen: we've got so much commit activity on nixpkgs by now that the messages are getting a bit spammy. Any chance we could only have the "PR merged" without the corresponding "commits pushed" messages, and still get "commits pushed" messages if they're done independently of a PR?
<nek0> sphalerite: is there anything I can do? I updated my channels, but the problem still persists.
<sphalerite> nek0: nix-env -f https://nixos.org/nixos/nixpkgs/archive/master.tar.gz -iA git
<{^_^}> [nixpkgs] @adisbladis pushed to master « bazaar: Fix CVE-2017-14176 »: https://git.io/vptr1
<acowley> Or go back to an earlier version without the problem
<sphalerite> if it's fixed on master as Dezgeg says
<sphalerite> oh yeah, or that
<sphalerite> err s/nixos.org/github.com/
mkoenig_ has quit [Ping timeout: 246 seconds]
wangoe has joined #nixos
mkoenig has joined #nixos
Drakonis[m] has quit [Changing host]
Drakonis[m] has joined #nixos
Drakonis[m] has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to release-18.03 « bazaar: Fix CVE-2017-14176 »: https://git.io/vptoU
<nek0> sphalerite: thanks!
<{^_^}> [nixpkgs] @adisbladis pushed to release-17.09 « bazaar: Fix CVE-2017-14176 »: https://git.io/vptoG
<drakonis> move to #nixos-commits
<gchristensen> samueldr: I'm going to disable the github notifier for now
<samueldr> no worry
johann__ has joined #nixos
<samueldr> I can't really take it personal, y'all making too much stuff happen here :^)
balsoft[m] has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chessai has joined #nixos
<drakonis> its where the sausage gets made
jgt has quit [Ping timeout: 256 seconds]
sehqlr has quit [Ping timeout: 255 seconds]
boomshroom has joined #nixos
<boomshroom> Good morning!
<drakonis> mornin'
<drakonis> i'm feeling super chill since the last few times i showed up
<manveru> i think i muted that gh thing long ago...
<drakonis> move it to a separate channel
<drakonis> can you actually mute these kinds of messages?
<gchristensen> it spews to #nixos-bots
<drakonis> hmm
<drakonis> that's not in the topic
<manveru> only bots lovers would know that :)
<adisbladis[m]> Regarding nixpkgs commit activity, someone posted a bit of stats yesterday in the nix matrix room: https://gist.github.com/adisbladis/92af21953844a719d7d59e84b6924253
seppellll has quit [Quit: seppellll]
<drakonis> nice
<manveru> i still get the feeling the issues list never gets smaller :(
<drakonis> lots of issues about out of date packages
<foldingcookie> "velocity_times=velocity_this_year/velocity_last_year=1.618 times" golden ratio .jpg
<drakonis> wouldn't it be simple to automate package updating?
krey has joined #nixos
<manveru> drakonis: that's done already
<adisbladis[m]> drakonis: It's happening right now :)
<drakonis> noice
<manveru> https://github.com/NixOS/nixpkgs/pulse/monthly also looks like we're actually getting less new issues than are closed :D
<drakonis> the issues pile will decrease
<adisbladis[m]> It takes a while to get things merged though. https://github.com/ryantm/nixpkgs-update
<drakonis> hmm, would it be a good idea to have a separate repo with the automated upgrades?
<adisbladis[m]> Wow :O
<drakonis> wow i'm unoriginal, check me out :O
<krey> I added a python package to my overlays, but I can't seem to build it
<krey> it can't find its dependencies
<drakonis> is there stats on nixpkgs' lifetime?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bee61947a2c (from 67 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<drakonis> ie: 2014 had how many commits
<drakonis> lmao there's days with a thousand commits
<drakonis> this is kind of impressive
<samueldr> IIRC last nixcon there was a talk with stats, by globin
<drakonis> was it 2016 or 2017 that hit 100k commits
<drakonis> i forgot now
<drakonis> i was around for that
pkill9 has quit [Quit: WeeChat 2.1]
<boomshroom> Unfortunately, RedoxOS recomendeds using the prebuilt deb toolchain rather than building from scratch. How would I wrap a deb package so it would work?
<krey> ah, I was missing propagetBuildInputs...
jon_ has quit [Ping timeout: 248 seconds]
<manveru> boomshroom: there's some tool to unpack the .deb file, then you have to fix the rest of the insanity...
xcmw has joined #nixos
<adisbladis[m]> boomshroom: Unpack it yourself and a whole lot of patchelf
<adisbladis[m]> boomshroom: Look at the spotify derivation
<boomshroom> manveru: One thing is that I was able to build binutils and gcc, but I was having trouble with newlib because it contained a rust crate barried within the C code.
<manveru> i thought redox was all rust
<manveru> can't say i've looks into it yet :)
jgt has joined #nixos
<boomshroom> manveru: The OS is, but it still has a C toolchain to port existing applications (like Nix, wink wink).
<drakonis> wink wink
<manveru> of course you'll have to replace the bootstrap.sh, but that's not too hard
wangoe has quit [Ping timeout: 240 seconds]
<drakonis> at least they're not insisting posix is a saint that can do no wrong
<drakonis> boo debootstrap doesn't chroot
jon_ has joined #nixos
pkill9 has joined #nixos
<boomshroom> I'd also like to mention that building with rust-nightly can be challenging since it was removed from the official repos.
jgt has quit [Ping timeout: 256 seconds]
<drakonis> boo no libreoffice icons or gtk, so i can't figure out which thing i'm opening
<boomshroom> Honestly, I don't care how up to date or "nightly" it really is, I just want access to nightly features that are fully implemented in the latest stable release, but blocked anyways.
humanoyd has quit [Quit: WeeChat 2.1]
<boomshroom> Adding xargo to the mess just makes it more anoying.
<drakonis> hmm
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<drakonis> have you tried tossing it into a container
<drakonis> not docker though
<boomshroom> drakonis: My main objective is to get the toolchain running as normal derivations so I could make a stdenv that targets redox.
<drakonis> oh i see
Fare has quit [Ping timeout: 264 seconds]
<drakonis> what's a thing to repartition devices
<boomshroom> drakonis: Gparted? fdisk?
<drakonis> i need to resize a partition in a flashdrive
<drakonis> gparted isn't allowing me to alter it
<boomshroom> drakonis: Are you root?
<drakonis> no, user
<drakonis> running with sudo though
linarcx has joined #nixos
<drakonis> ah i see how it is with libreoffice, gtk and qt integration is through plugins, not some build option
ixxie has quit [Quit: Lost terminal]
jrolfs_ has quit [Ping timeout: 260 seconds]
linarcx has quit [Remote host closed the connection]
<drakonis> and i see how it is, its done through environment variables, oh boy oh boy
<drakonis> brb
jon_ has quit [Ping timeout: 248 seconds]
<nur0n0> what is the purpose of 'buildInputs'? is it used solely to make sure that certain other derivations are present in the filesystem? from what I can tell so far, it seems that nix does not attempt to deal with paths ( in the sense of setting environment variables) and this must be done manually. is that correct? Ive been packaging a few projects and
<nur0n0> I still don't have a good sense for what work I can rely on Nix to do and what work must be done manually
jon_ has joined #nixos
drakonis has quit [Remote host closed the connection]
sehqlr has joined #nixos
vaninwagen has joined #nixos
<zybell_> boomshroom:It may be that you first need an older version of the toolchain. Check that that crate was there forever.
<boomshroom> nur0n0: buildInputs refers to packages that should be linked into the build environment for a derivation. Things like the binaries should be in the PATH, and the headers and libraries should be available to the compiler.
<Myrl-saki> clever: I have something that can potentially make mmap faster.
<Myrl-saki> clever: Err, qemu-arm.
<boomshroom> zybell_: Of the redox toolchain? It should be able to be built with just a standard C-toolchain and xargo wrapping nightly-rust.
<boomshroom> Funny how I check the website for a major RedoxOS contributer and see "The Case for Non-Binary Genders" directly above "You Are (Probably) Doing Login Systems Wrong".
<nur0n0> boomshroom: binaries have been working fine, but nix does not appear to deal with header files and libraries at all. I keep having to set NIX_CFLAGS_COMPILE and the like. I just wonder whether this is the standard way of doing things?
<boomshroom> nur0n0: That shouldn't be nessisary. Can you post the derivation you're working on?
akfp has joined #nixos
<akfp> I'd like to programmatically spin up a hetzner cloud server with nixos. On hetzner cloud I can boot using ubuntu/fedora/debian/centos. Then it's possible to attach nixos 18.03 iso as a mounted drive. Is there a nicely scripted way I can quickly "invert" the installation, installing nixos and removing the existing installation, apply some configuration.nix and be up, in a few minutes... Would be nice to have a cookbook for that.
<MichaelRaskin> boomshroom: both are about perils of getting types wrong, right?
boomshroom is now known as boomshroom-away
<Myrl-saki> clever: Back.
<Myrl-saki> clever:
<Myrl-saki> * Test if requested memory area fits target address space
<Myrl-saki> * It can fail only on 64-bit host with 32-bit target.
<Myrl-saki> clever: I think 32-bit qemu would run faster on a 32-bit "host".
phreedom has quit [Remote host closed the connection]
<disasm> akfp: nixops has hetzner support. You can also use something like nixos-in-place
phreedom has joined #nixos
chisui has joined #nixos
jperras has quit [Ping timeout: 256 seconds]
<sehqlr> hey all, I've been trying to install 18.03 on a PC for two days and I'm stuck. The partition that I mounted to /mnt/boot is not recognized as an EFI partition even though I've set it as a FAT32 and set the boot flag. Am I missing something?
<sehqlr> I'm using the graphical install live CD
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fad125262b7 (from 73 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
dan_b has joined #nixos
telent has joined #nixos
badi has quit [Quit: WeeChat 1.9.1]
jon_ has quit [Ping timeout: 256 seconds]
asuryawa_ has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
jrolfs_ has joined #nixos
drakonis has joined #nixos
<sehqlr> the specific error message is 'File system "/boot" is not a FAT EFI System Partition (ESP) file system
jrolfs_ has quit [Ping timeout: 240 seconds]
<nek0> hi there. is there a way to install the libX11 development headers?
krey has quit [Ping timeout: 265 seconds]
mduggie has quit [Ping timeout: 276 seconds]
jgt has joined #nixos
<MichaelRaskin> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<samueldr> sehqlr: is the disk partitionned as GPT? And if so, is the partition type EF00 ?
<MichaelRaskin> sehqlr: you need GPT partitioning, not dos/MBR
<MichaelRaskin> And ef00 partition type (normal FAT32 for data has another type)
<sehqlr> defintely still MBR
<sehqlr> I thought that you only needed to use GPT for larger than 2TiB, but I'll convert it and see if it works
<iqubic> Is there a place one can go to see what version each package is on each branch?
<samueldr> iqubic: I've been working on one, give me a minute or two to run the update script
<Myrl-saki> clever: Addendum/nix/store/q6ag9k4n2r7rq1ad65psbhbpvm04yplw-qemu-user-arm-2.11.1/bin/qemu-arm 0.06s user 0.01s system 97% cpu 0.068 total.
<Myrl-saki> clever: /run/binfmt/arm test 0.24s user 1.41s system 99% cpu 1.654 total
<Myrl-saki> clever: This only affects *startup time*, but it's a nice thing to have. Hope you'll take a look at this.
jgt has quit [Ping timeout: 264 seconds]
<iqubic> Specifically I want to know if there is a branch of nixpkgs with emacs 25.3
jperras has joined #nixos
<iqubic> samueldr: I just want to check this one package.
<samueldr> (I still need to update it)
<samueldr> it looks like 25.3 is in all branches right now (?)
<iqubic> Yes. And I am running 25.3 right now.
mduggie has joined #nixos
<iqubic> I didn't think to run emacs --version
ixxie has joined #nixos
jsgrant has joined #nixos
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<ixxie> is it possible to make imports conditional on the existance of a file?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/757f026f814 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<samueldr> I think so, I seem to remember I did it in the past
<gchristensen> ixxie: ..yes...
<gchristensen> ixxie: but generally not recommended :)
<samueldr> though that particular one is for the imports for nixos modules
<drakonis> how am i supposed to structure my channels?
sigmundv__ has joined #nixos
<manveru> ixxie: builtins.pathExists i think
<drakonis> does root need an default channel?
<ixxie> gchristensen: this is for a configuration.nix not nixpkgs
<ixxie> thanks samueldr
jon_ has joined #nixos
<ixxie> what was the trick when nixos-rebuild runs out of memory?
Akii has quit [Ping timeout: 264 seconds]
<akfp> disasm: great links, thanks! they all require me to build a nixos snapshot though - they are expensive! but I see great potential there..
<ixxie> thanks manveru, I might consider that aswell
<ixxie> oh, samueldr used the same
<samueldr> :)
<manveru> :)
<gchristensen> :)
<jsgrant> :)
<drakonis> :|
<samueldr> (for me) the trick was realizing I should concat arrays in a `(configuration.)imports`
<drakonis> someone help me out here, i have nixpkgs set as the only channel on root and none on the user
<drakonis> i keep getting this warning
<drakonis> warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs' does not exist, ignoring
<manveru> `sudo nix-channel --update`
<iqubic> What is the output of "sudo nix-channel --list"?
jeaye-hiring is now known as jeaye
<drakonis> i already updated it
rodgort has quit [Quit: Leaving]
<manveru> then what iqubic said
<Myrl-saki> sphalerite: Ping. :)
<manveru> drakonis: i think you need a nixos channel too
<drakonis> hmm
<manveru> like that
<iqubic> Yes.
Akii has joined #nixos
<iqubic> drakonis: What are you trying to do exactly? Update nixos?
<drakonis> hmm
<drakonis> yeah?
jrolfs_ has joined #nixos
<sphalerit> Myrl-saki: pong
<iqubic> If you want to update nixos then you need a nixos channel.
<iqubic> And after you have that the update command is "sudo nixos-rebuild switch --upgrade"
<sphalerite> Myrl-saki: what's up?
rodgort has joined #nixos
<drakonis> i'm pretty sure it still updates even with nixpkgs
<drakonis> i'm trying to avoid duplicating my packages by using nixpkgs-unstable instead of nixos-unstable
<Myrl-saki> sphalerite: I found the qemu problem!
<gchristensen> the problem is nixpkgs-unstable could break your computer
<Myrl-saki> sphalerite: strace is a pretty good tool.
<sphalerite> Myrl-saki: yay! What is it?
<sphalerite> yep
<drakonis> rollbacks iunno
<gchristensen> nixpkgs unstable could break your computer to the point that rollbacks don't work
<drakonis> hmm
<drakonis> aight then
<Myrl-saki> sphalerite: strace was mmapping/munmapping so hard, so I had to check the qemu source. I think it was probing for a 32-bit compatible memory address.
<gchristensen> nixpkgs-* channels aren't tested to be fit for an os at all. whereas, the nixos-* channel is.
<drakonis> it is redownloading everything again
<gchristensen> that means he nixos-channel is tested for things like "doesn't erase your bootloader"
sigmundv__ has quit [Ping timeout: 248 seconds]
<drakonis> seems a little excessive
<drakonis> i'm running efi :v
<Myrl-saki> sphalerite: So, a stupid fix I did was to just use i686-linux for qemu.
<drakonis> but could be worse, it could brick my motherboard :v
<drakonis> thanks old efivars versions
<sphalerite> Myrl-saki: fair enough haha
<sehqlr> MichalRaskin: Thanks for the tip, I got to a different error further down the line :)
<Myrl-saki> sphalerite: But the thing that confuses me is that it works fine for a non-static build. :/
<sehqlr> now I'm getting a 'Failed to create EFI Boot variable entry: no such file or directory'
stranger___ has quit [Quit: Connection closed for inactivity]
<LnL> gchristensen: thought, could we add a file to the nixpkgs-* channel pipeline that triggers a warning when it's used for the module system
<sphalerite> Myrl-saki: low-level black magic ♥
<samueldr> sehqlr: known issue, give me 10s to fetch the issue
<Myrl-saki> sphalerite: "Do not touch for sake of sanity"
<MichaelRaskin> sehqlr: it might still boot, actually
<gchristensen> LnL: yyyyes I think we could!
<drakonis> there's a module system now?
<LnL> gchristensen: if we could the we should :)
fuzzy-id has quit [Remote host closed the connection]
<sphalerite> drakonis: there has been for a long time in nixos
<sehqlr> oh! I love it when my bugs are nonlocal :'D
<gchristensen> LnL: would we want to also warn when using a local nixpkgs checkout?
<Myrl-saki> OTOH, why is NixOS modules called... modules?
<MichaelRaskin> I guess loading the efivars module could help
<LnL> gchristensen: that's tricky, what if it's a checkout of a nixos-* revision
<gchristensen> LnL: what if :P
<Myrl-saki> Modules doesn't seem to be the proper term for it.
<gchristensen> LnL: it is tricky. covering the basic case seems easy enough
<samueldr> probably because of first rule of computing: naming things is hard
keith_analog has quit [Quit: Konversation terminated!]
<ixxie> so, what do I do when nixos-rebuild simply runs out of memory?
<Myrl-saki> ixxie: Not run the GC.
<LnL> gchristensen: only doing it for nixpkgs channels covers the most common case and won't annoy people with other usecases
<ixxie> Myrl-saki: how do I do that?
<sehqlr> MichaelRaskin: thank you so much, it's finally worked!!!! I did the efi touch vars workaround!
thblt has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
<MichaelRaskin> sehqlr: I guess samueldr's advice was more specific on this step
thefloweringash has quit [Ping timeout: 256 seconds]
mkoenig has quit [Remote host closed the connection]
<sehqlr> alright, my thanks to samueldr, then :)
<Myrl-saki> ixxie: That was a bit tongue-in-cheek
<samueldr> though, I'm now curious if MichaelRaskin's hunch is right
<Dezgeg> there's a bug open about efi installs
<samueldr> yes there is :)
<MichaelRaskin> On some machines just doing nothing is OK because bootx64.efi is already there and that's what counts.
<Myrl-saki> Dezgeg: I tried your ARM image, and it seems to have a missing findutils.
jmsb has joined #nixos
<MichaelRaskin> I am not sure if efivars is always autoloaded, but it might be needed
<Dezgeg> missing in what way?
<Myrl-saki> Dezgeg: Not in /nix/store.
<Myrl-saki> Dezgeg: It's used by the `activate` script.
asuryawa_ has quit [Remote host closed the connection]
<Dezgeg> huh
<Myrl-saki> Dezgeg: This was a week or two ago, so it might have changed now.
asuryawanshi has joined #nixos
<ixxie> could I simply build my droplet on my laptop?
szicari has quit [Quit: szicari]
<ixxie> both are NixOS machines so there should be a way to specify the one as a remote builder for the other right?
<Myrl-saki> Dezgeg: April 9.
vaninwagen has quit [Ping timeout: 256 seconds]
<Myrl-saki> Dezgeg: Was when I downloaded it. It's also missing `shadow`, IIRC.
<jmsb> hi everyone. i am trying to do react native x android dev in nixos and am running into issues with the aapt, android asset packaging tool
iqubic` has joined #nixos
<jmsb> im seeing an error similar to the one described here and i was seeking guidance in how to translate the solution in nix
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 265 seconds]
jrolfs has joined #nixos
sigmundv__ has joined #nixos
jrolfs_ has quit [Ping timeout: 248 seconds]
silver has joined #nixos
<petersjt014[m]> anyone been able to get nix running on WSL lately?
<petersjt014[m]> 2.0's giving me trouble
jrolfs_ has joined #nixos
knupfer has quit [Remote host closed the connection]
ryanartecona has quit [Quit: ryanartecona]
jacob_ has quit [Quit: Lost terminal]
* petersjt014[m] sent a long message: petersjt014[m]_2018-04-19_20:22:29.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/GqEJDGtWySQBXpEfDjKfWaop>
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
knupfer has joined #nixos
johann__ has quit [Quit: Leaving.]
<Ralith> I want a MSVC stdenv
mkoenig has joined #nixos
jgt has joined #nixos
<boomshroom-away> ixxie: Remote builders are completely possible and feel just magical!
boomshroom-away is now known as boomshroom
robstr has quit [Quit: WeeChat 1.9.1]
xy2_ has quit [Quit: WeeChat 1.9.1]
<ixxie> boomshroom: are they easy to do?
<ixxie> the problem is I cannot rebuild my remote system at the moment xD
<boomshroom> ixxie: All it requires is an SSH connection.
jgt has quit [Ping timeout: 256 seconds]
<akfp> I have some problems porting nixos-infect to hetzner cloud. How do I set a root password in configuration.nix - I need to patch the script?
coot has joined #nixos
<boomshroom> ixxie: the option is nix.buildMachines.
xy2_ has joined #nixos
linarcx has joined #nixos
<tilpner> akfp - IME clevers exec works better than nixos-infect
<tilpner> akfp - I have a modified version for hetzner cloud somewhere
ixxie has quit [Ping timeout: 260 seconds]
<akfp> tilpner: "clevers exec"? is that googleable?
<akfp> (it's not.. :-) )
<tilpner> Wait a minute
<tilpner> akfp - Clone https://git.tx0.co/scratch/nixos-kexec , and edit the ssh key
<tilpner> akfp - Then scp $(nix-build --no-out-link release.nix -A kexec_bundle) root@some.hetzner.server:kexec_bundle
<tilpner> Then just execute kexec_bundle, wait 5 minutes and you have a server setup with openssh listening, configured to your key
<akfp> tilpner: thanks! I really want to convert that into cloud-init, so it's a one-shot install...
chisui has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
spear2 has quit [Remote host closed the connection]
<tilpner> Should be easy. Just host kexec_bundle somewhere, wget and execute
<tilpner> ^ that's the original repository. I stripped the zfs parts, and there's some more information there
ryantrinkle has joined #nixos
<akfp> ok, I'll give it a shot. it requires nix to be installed first on my machine though.. I don't even have that.
zybell_ has quit [Ping timeout: 265 seconds]
mkoenig has quit [Remote host closed the connection]
<tilpner> Oh
<tilpner> You can install it anywhere, you don't need NixOS to build this image
blankhart has quit [Ping timeout: 265 seconds]
<akfp> I know.. the installation of nix in single-user-mode is a bit disingenious (IMHO). asking me to create /nix as root and then using it in single-user-mode.. that directory should be under $HOME in that case.
<tilpner> I think you can do that with Nix 2.0, but you might have to install/build it manunally
szicari has joined #nixos
<tilpner> *manually
jrolfs has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 265 seconds]
Fare has joined #nixos
linarcx has quit [Remote host closed the connection]
<joepie91> akfp: the hashes of the binary builds include the store paths of dependencies, which are /nix-prefixed :)
<joepie91> so you *can* change the store path, but it'll mean you won't get anything from the binary cache
<joepie91> (and will have to build everything locally)
kim0 has joined #nixos
<tilpner> Except if you have mount namespaces c.c
boomshroom is now known as boomshroom-away
ciastek has quit [Quit: Connection closed for inactivity]
szicari has quit [Quit: szicari]
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
szicari has joined #nixos
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
Rusty1_ has joined #nixos
michas_ has joined #nixos
jrolfs has joined #nixos
<Ralith> it would be neat if nix transparently handled mount namespacing somehow
<Ralith> maybe have single-user installs always be used through a special shell
kreetx has quit [Ping timeout: 276 seconds]
leat has quit [Ping timeout: 240 seconds]
<michas_> Hi, I set up a small project based on nix. It would be great, if someone would volunteer for a quick review. https://github.com/michas2/nix-qemu-kubeboot
<petersjt014[m]> lemme see If I know enough to offer anything useful...
szicari has quit [Quit: szicari]
<akfp> tilpner: there's only one problem with the kexec stuff: if the ssh key was given as an env-var, then there could be a generic build of this. now everyone needs to build and host their own.. otherwise - looks fantastic!
bennofs has joined #nixos
<tilpner> akfp - You can do that, I just didn't think it would be useful
<tilpner> akfp - In fact, clevers original has something like that
<petersjt014[m]> Yeah, I got thru like 1/3 or something of the nix katas, so can't really say much :|
<petersjt014[m]> except that the formatting is very tidy
<thoughtpolice> michas_: I don't have time for a review I'm afraid, but that looks like a cool turn-key little tool, actually!
<jeaye> Anyone have updated docs on working with React Native on NixOS?
<petersjt014[m]> the OS or the javascript tangle?
<petersjt014[m]> (or something else)
<norfumpit> how would one get emacs 26 going on nixos
endformationage has joined #nixos
<jeaye> petersjt014[m]: React Native is the JS framework.
<phry> is there a way to import an "options" property from another module file? I want to clone a few options from another module over without having to redefine every single one of them. but on import, the propery seems to have bben handled differently
<akfp> tilpner: ah, perfect
jgt has joined #nixos
<akfp> tilpner: booting and installing worked perfectly.. I think it installed nixos in .. like 20 seconds!
<tilpner> Are you sure that wasn't the kexec?
<tilpner> It should take a little longer than that
<tilpner> If it didn't reboot, you didn't see the installed system
<akfp> oh wait.. it didn't install anything :-)
<tilpner> Did you interrupt it/rebooted manually?
<tilpner> It does things in the background, just give it a few more minutes
jgt has quit [Ping timeout: 260 seconds]
<akfp> ok.. I ran curl ... && ./kexec_bundle without chmod 755 ./kexec_bundle.. probably failed during cloud init.
<akfp> doing it manually now..
obadz has quit [Quit: WeeChat 2.0]
magnetophon has quit [Remote host closed the connection]
blankhart has joined #nixos
<akfp> it pegged the cpu at 100% for 2 minutes, unpacked lots of stuff.. is it done? does it reboot automatically?
<tilpner> Yes, just leave it alone
<tilpner> But 2 minutes? That sounds too long
sehqlr has quit [Quit: Konversation terminated!]
sehqlr has joined #nixos
<akfp> yes it's done or yes it's still working?
<tilpner> It's done after it rebooted
jrolfs has quit [Ping timeout: 248 seconds]
<akfp> almost exactly 2 minutes on the hetzner graphs.
<akfp> this is the ultra-tiny 2G server though.
<tilpner> I used that one too
<akfp> nothing is happening.. 0-1% cpu
<tilpner> journalctl -u performInstall
<tilpner> (If you want to login and check what it's doing)
<akfp> error: unrecognized flag '-j'
<akfp> try 'nix --help' for more information
<tilpner> Huh
<jmsb> does anyone have a recentish example of developing react native on nix?
<akfp> must be "nixos-install --no-root-passwd -j 4" .. only place with a -j?
lord| has joined #nixos
<akfp> jmsb: I want that too!
<jmsb> @akfp: have you seen this: https://github.com/uniphil/nix-react-native-base
<tilpner> akfp - You could try removing the "-j 4", but I don't see why that would not be available to you
<tilpner> akfp - It could be a difference in channels. I don't remember what channel I was on though
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<akfp> I tried.. it fails with -j4.. and works without it.
blankhart has quit [Ping timeout: 256 seconds]
<akfp> yes, I just installed a fresh nix from the nixos website.
obadz has joined #nixos
<obadz> heeelp
<obadz> need to edit my passwd/shadow files, tried grub init=/nix/var/nix/profiles/system/sw/bin/bash like I usually do, but keyboard doesn't work on that computer in that mode
<obadz> keyboard works fine in bios/grub
<obadz> any recommandations?
astiles has quit [Remote host closed the connection]
<akfp> jmsb: that's nice.. thanks!
<tilpner> obadz - Could try a live USB stick
sehqlr has quit [Remote host closed the connection]
astiles has joined #nixos
<obadz> tilpner: hmmm true. I guess that hurts the ego though..
<tilpner> Sounds better to me than debugging keyboard problems via IRC :)
<obadz> I suppose you're right
<obadz> sad
drakonis has quit [Remote host closed the connection]
sehqlr has joined #nixos
<akfp> tilpner: can confirm that it all works splendidly! thanks!
<tilpner> Yay
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<akfp> running python -m SimpleHTTPServer 8000 & on the server that has nix is a nice one-liner, and the server will spit out the IP address when cloud-init fetches the bundle, so then it's easy to later ssh root@<IP>..
astiles has quit [Ping timeout: 260 seconds]
ryanartecona has joined #nixos
pirateking has joined #nixos
hiratara has quit [Ping timeout: 265 seconds]
jsgrant has quit [Remote host closed the connection]
mightybyte has left #nixos [#nixos]
Acou_Bass has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 265 seconds]
<akfp> tilpner: is there a place hetzner will place the configured ssh keys? is /ssh_pubkey a well-known location for this or a random place you came up with?
<tilpner> akfp - clever came up with that, and I have not used it
hiratara has joined #nixos
<tilpner> akfp - My reasoning was that nobody would prebuilt images. So if everyone builds the image anyway, they might as well hardcode their ssh key
<tilpner> *would trust prebuild images
ryanartecona has quit [Ping timeout: 248 seconds]
<pirateking> i'm getting my feet wet in nixos containers. i'm following the manual https://nixos.org/nixos/manual/#ch-containers. but when as root i command the shell `nix-info` (and other commands) i get "error: opening lock file '/nix/var/nix/db/big-lock': Read-only file system". is the manual outdated?
<akfp> my thinking is that most cloud services lets you chose which keys to start a VM with, and those keys are probably placed either in env vars or on disk somewhere.. so picking those up would be nice.
<achambe> those keys are usually placed in a metadata server
<akfp> tilpner: I might have one prebuilt image, but I have multiple environments - dev, pre, pro. I'm not going to use the same keys.
<achambe> lookup cloudinit iirc
cacatoes has left #nixos ["WeeChat 1.6"]
obadz has quit [Quit: WeeChat 2.0]
obadz has joined #nixos
<achambe> pirateking: they container is managed from the host
<achambe> the nix store is mounted into the container as read only
<tilpner> akfp - I agree, that would be nice
MichaelRaskin has quit [Ping timeout: 248 seconds]
<pirateking> achambe: how do i become the host?
<achambe> i mean, whichever machine you are running the containers on
<pirateking> yes it's on my laptop
<achambe> hmm, not sure why you are getting that error then
sehqlr has quit [Remote host closed the connection]
sehqlr has joined #nixos
<pirateking> achambe: maybe the db isn't made yet. lemme follow the guide a bit more
xeji has quit [Quit: WeeChat 2.0]
day|flip has joined #nixos
<Ralith> is there documentation for manually driving a package's build process from start to end somewhere?
jperras has quit [Ping timeout: 260 seconds]
<LnL> nix-shell '<nixpkgs>' -A hello --run genericBuild
<LnL> like that?
phreedom has quit [Ping timeout: 268 seconds]
phreedom_ has joined #nixos
<Ralith> LnL: one step at a time, I mean
<Ralith> I'm trying to debug why libcxxStdenv is apparently missing some important headers
<pirateking> i haven't gotten to that part in my nix journey, but it should be in some build.sh file, right?
<Ralith> pirateking: there is a *lot* of indirection and magic
<LnL> Ralith: in that case look at the nixpkgs manual it explains the stdenv phases
sanscoeur has quit [Ping timeout: 256 seconds]
<Ralith> LnL: it explains the phases, yes, but I don't see how to *run* them
<LnL> unpackPhase; cd $sourceRoot; patchPhase; configurePhase; buildPhase; ...
<Ralith> just calling `fooPhase` seems to often do the wrong thing
<Ralith> some wackiness with bash functions versus variables that contain scripts versus who knows what else
<Ralith> yes, that's wrong
<LnL> that won't work if the entire phase is overridden, but that's considered a bad practice
<Ralith> for example, running `unpackPhase` as written for the llvm derivation fails immediately
xy2_ has quit [Ping timeout: 256 seconds]
<LnL> hrm, didn't I fix that?
* Ralith shrug
<Ralith> I'm not asking what good practice is, I'm trying to debug a specific existing large and complex package
<LnL> if a phase is overridden you have to use eval "$unpackPhase"
<Ralith> knowing that someone thinks the authors had poor style doesn't do me much good
<pirateking> which one do you have? nixos.libcxxStdenv or nixos.llvmPackages.libcxxStdenv?
jgt has joined #nixos
jensens has joined #nixos
<LnL> those are the same
<Ralith> llvm 6 from 18.03 has `unpackPhase = ...`, so I guess not?
<Ralith> will that work reliably or do I need to try both?
chessai has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 264 seconds]
<LnL> I should fix things on my todo list instead of just adding stuff...
jrolfs_ has quit [Ping timeout: 256 seconds]
jgt has quit [Ping timeout: 256 seconds]
sehqlr has quit [Quit: Konversation terminated!]
<Ralith> pirateking: that does not appear to discuss the issue
tertle||eltret has joined #nixos
sehqlr has joined #nixos
<LnL> the unpackPhase function should just do the right thing if it's overridden
judson has quit [Remote host closed the connection]
Wharncliffe has joined #nixos
<Ralith> pirateking: yes, aside from that cite (which appears to contain the requisite magic incantation) that just says "run the phases," which doesn't address the problem
hiratara has quit [Quit: ZNC - http://znc.in]
matklad has joined #nixos
blankhart has joined #nixos
jrolfs_ has joined #nixos
hiratara has joined #nixos
endformationage has quit [Ping timeout: 260 seconds]
endformationage has joined #nixos
jperras has joined #nixos
kisik21 has joined #nixos
joehh has joined #nixos
alex`` has quit [Ping timeout: 264 seconds]
dcol has joined #nixos
jrolfs_ has quit [Ping timeout: 240 seconds]
<dcol> anyone know how I can make emacs daemon get new packages? If I add some emacs packages to my configuration.nix they get added if I start the standalone emacs client but when I try the systemd daemon the packages are not there. I managed to get it to work by deleting the path in nix-store so that it forces nixos-rebuild to build the package anew, but that feels very contrived..
dbmikus has quit [Quit: WeeChat 2.1]
stabbmesiter has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
endformationage has quit [Ping timeout: 240 seconds]
thefloweringash has joined #nixos
matklad has quit [Remote host closed the connection]
endformationage has joined #nixos
pirateking has quit [Quit: Page closed]
<Ralith> LnL: do you participate in maintenance of the llvm package? I think I've got a lead on exactly what's broken here
joehh has quit [Ping timeout: 260 seconds]
jcb_ has joined #nixos
endformationage has quit [Ping timeout: 256 seconds]
jperras has quit [Ping timeout: 268 seconds]
jcb_ has quit [Client Quit]
jmsb has left #nixos ["ERC (IRC client for Emacs 25.2.1)"]
endformationage has joined #nixos
kisik21 has left #nixos [#nixos]
stabbmesiter has quit [Quit: Leaving]
ryanartecona has joined #nixos
sehqlr has quit [Remote host closed the connection]
jgt has joined #nixos
sehqlr has joined #nixos
orivej has joined #nixos
ryanartecona has quit [Ping timeout: 248 seconds]
jensens has quit [Ping timeout: 248 seconds]
<dhess> Anyone seen this error with hydra-server.service on a recent Nixpkgs?
jcb_ has joined #nixos
jgt has quit [Ping timeout: 256 seconds]
<jcb_> Hi, I am trying to build taffybar-1.0.1 and have run into this issue: https://github.com/NixOS/nixpkgs/issues/38531. I am wondering how often hackage-packages caches are updated on the nix servers?
Fare has joined #nixos
<jcb_> the taffybar on nixos-unstable is still version 1.0.0, which is broken due to a dependency issue in gtk-traymanager-1.0.0
<jcb_> I can successfully build taffybar-1.0.1 with stack, but I would prefer to directly manage this package in configuration.nix
<jcb_> I am fairly new to nix, and am hoping there is a convenient way for me to override the package
<jcb_> Or perhaps, you know, some nixos developer can run the hackage-update script on the nix server and pull in the latest packages
astiles has joined #nixos
<jcb_> given that that is the solution proposed in the above issue, which is marked closed
ertes has quit [Ping timeout: 265 seconds]
boomshroom-away is now known as boomshroom
sehqlr has quit [Remote host closed the connection]
astiles has quit [Ping timeout: 276 seconds]
sehqlr has joined #nixos
<petersjt014[m]> Is there a specific reason installing nix on the WSL uses the unstable channel?
<gchristensen> nix on its own always uses unstable by default
<gchristensen> nix's installe8
<gchristensen> nix's installer*
erasmas has quit [Quit: leaving]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5f88700510b (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<petersjt014[m]> Kinda makes sense--can't make as many assumptions about the env if it's not nixos
<gchristensen> typically people only use the nixos-* channels (the only one we have a stable channel for) when using nixos which needs the extra testing
fragamus has joined #nixos
TonyTheLion has quit [Ping timeout: 264 seconds]
michas_ has quit [Ping timeout: 248 seconds]
TonyTheLion has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bee61947a2c (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
freeman42]NixOS has quit [Ping timeout: 246 seconds]
jrolfs has joined #nixos
jon_ has quit [Ping timeout: 260 seconds]
astiles has joined #nixos
sigmundv has joined #nixos
thc202 has quit [Ping timeout: 248 seconds]
goibhniu has joined #nixos
sgillespie has joined #nixos
<sgillespie> Is there a reference of built-in functions somewhere?
<sgillespie> I'm looking for a functional filter
ericsagnes has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c2131a2e6e0 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<gchristensen> sgillespie: https://nixos.org/nix/manual/#ssec-builtins is mostly complete, builtins.filter
<sgillespie> That is exactly what I was looking for. ThanksQ!
<sgillespie> If you'll excuse my fat fingers
<gchristensen> not to worry, I have the fattest of fingers. good luck!
<dtz> haha for builtins I usually just fire up 'nix repl', type 'builtins.' and hit tab once or twice :P:P
<sgillespie> That's nice, too
jgt has joined #nixos
jperras has joined #nixos
ertes has joined #nixos
<gchristensen> huh, nix-repl is broken on 18.03: