gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<blumenkranz> Well, it certainly is more intelligent than me
<gchristensen> we're just not used to package managers being competent
<gchristensen> ok ldlework here goes
<{^_^}> [nixpkgs] @jnsaff opened pull request #53097 → aws-lambda-builders: init at 0.0.5 → https://git.io/fhLSO
<iqubic> ldlework: What are you doing?
cnidario has quit [Quit: cnidario]
<ldlework> ?
<ldlework> watching a movie
cnidario has joined #nixos
<iqubic> why did gchristensen say "ok ldlework here goes"?
<iqubic> gchristensen: ^^^
<ldlework> even without context, that doesn't allude that I'm the doing something lol
<ldlework> he's formatting his hdd
<iqubic> Why???
<{^_^}> [nixpkgs] @jnsaff opened pull request #53098 → aws-sam-translator: 1.8.0 > 1.9.0 → https://git.io/fhLSG
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
philippD has joined #nixos
<{^_^}> [nixpkgs] @jnsaff opened pull request #53099 → aws-sam-cli: 0.5.0 > 0.10.0 → https://git.io/fhLSV
zukaboo has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<elvishjerricco> gchristensen: Doing ZFS? :)
jasongrossman has joined #nixos
fendor has quit [Quit: Leaving]
Church_ has quit [Ping timeout: 250 seconds]
<colemickens> seems like poor nixpkgs-unstable didn't make it
<{^_^}> [nixpkgs] @marsam opened pull request #53100 → Update various fonts → https://git.io/fhL9V
<infinisil> > gchristensen has lost connection
<{^_^}> undefined variable 'gchristensen' at (string):214:1
rprije has quit [Ping timeout: 250 seconds]
m15k has quit [Ping timeout: 256 seconds]
eadwu has joined #nixos
sigmundv_ has joined #nixos
<drakonis> is it only me or the amount of pull requests doesn't drop below 950?
Rusty1 has joined #nixos
sigmundv_ has quit [Ping timeout: 245 seconds]
Makaveli7 has joined #nixos
simukis has quit [Quit: simukis]
init_6 has joined #nixos
eadwu has quit [Ping timeout: 252 seconds]
cnidario has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #53101 → fsv: init at 0.9-1 → https://git.io/fhLQf
eadwu has joined #nixos
countingsort has quit [Ping timeout: 272 seconds]
Makaveli7 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhLQI
<{^_^}> [nixpkgs] @Infinisil merged pull request #53068 → rescuetime: 2.10.0.1322 -> 2.14.2.1 → https://git.io/fhLCX
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhLQq
gerschtli has quit [Quit: WeeChat 2.2]
gerschtli has joined #nixos
eadwu has quit [Read error: Connection reset by peer]
eadwu has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
kisonecat has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhLQE
* gchristensen waves to ldlework
<samueldr> is it done?
<gchristensen> yeah
<ldlework> \o/
<gchristensen> well, sort of :)
<samueldr> you haven't got enough customizations then :/
<ldlework> gchristensen: any losses?
<samueldr> ah!
<ldlework> samueldr: heh
shibboleth has quit [Quit: shibboleth]
<samueldr> (mostly joking)
<gchristensen> I'm doing it while I watch a movie, so not putting my full attention to it
<ldlework> As it should be.
<ldlework> :P
<samueldr> whenever I'm doing it, I'm doing it as a TAS
<ldlework> TAS?
<ldlework> Tool Assisted Speedrun?
<samueldr> tool assisted speedrun :)
<ldlework> heh what
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53090 → arrow-cpp: don’t expose gtest_static → https://git.io/fhLDo
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhLQ2
<ldlework> gchristensen: this should totally be a thing, shouldn't it
<samueldr> step 1. write a script step 2. exec the script no manual intervention :) (and hopefully the script amounts to partition/format/mount/nixos-install
<ldlework> samueldr: turnkey nix-challenge is god-tier
<gchristensen> I followed my blog post on it which was close to TAS, but I replaced the partitions with ZFS, so some exploration
<gchristensen> taking notes ...
<ldlework> it is understandable if there are some things the person needs to do to get the overall process finished - not setting up tools, but just performing the reinstall and stuff
<ldlework> turn-key though...
thc202 has quit [Quit: thc202]
<ldlework> like the ability to boot into a usb key that does the whole thing without interaction
<samueldr> I think I might do this when I finally migrate my debian-running server to nixos (legacy!)
<ldlework> that'd be basically as good as it gets I think
<samueldr> justdoit.nix much?
<ldlework> heh
<ldlework> i heard rumors that it is close
<MichaelRaskin> USB key… PXE!
<ldlework> needs the nixos challenge video to match
<ldlework> otherwise it is just legend
<ldlework> :)
<samueldr> MichaelRaskin: ^ that's ideally served over PXE
<siraben> Is it possible to get nixos without systemd?
<MichaelRaskin> Nope
<siraben> Looks like some folks are repulsed by systemd they won't consider NixOS
<siraben> Aw
<samueldr> it would be possible to refactor and use bit chunks of nixos, but anything service-releated right now is implemented using systemd
<MichaelRaskin> You can extract all the useful parts, actually, from most services
<MichaelRaskin> (I do it on my systemd-process-less system)
<ldlework> siraben: ideologues
<ldlework> :)
<siraben> Hehe
<MichaelRaskin> ldlework: systemd is indeed low-quality code that makes UX decisions for user, badly
iyzsong has joined #nixos
<ldlework> it mostly doesn't have a causal relationship with my life beyond writing nixos units to do simple things
<ldlework> if it does things badly it doesn't do them badly enough for me to care
<MichaelRaskin> Well, I have enough low-level wishes that it did make me migrate off the mainline
* ldlework nods
<MichaelRaskin> I do agree that NixOS _is_ better at masking systemd than many systems
<samueldr> I don't dislike systemd, but neither like it; I'd like it if there was more competition there :/
<ldlework> i've spent more time fielding systemd conversations than actually interacting with systemd (or its percieved issues)
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fhLQP
<{^_^}> [nixpkgs] @Infinisil merged pull request #52511 → nodejs: 6.14.4 -> 6.15.1, 8.12.0 -> 8.14.1 → https://git.io/fphwI
<gchristensen> ok so I just signed in to ff sync, and got my password store, and I feel like I'm done?
tyang has quit [Quit: Connection closed for inactivity]
<ldlework> gchristensen: what about like all your source code repositories and stuff
<ldlework> do you just fetch those as needed after a new reinstall
<gchristensen> yeah I haven't cloned those, I usually just fetch as needed
* ldlework nods
<{^_^}> [nixpkgs] @Infinisil merged pull request #52201 → Gif for cli → https://git.io/fpbN7
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fhLQN
das_j has joined #nixos
<das_j> Hey, is there a way to (programatically) find out whether I'm on unstable?
<das_j> Something like system.nixos.isUnstable
jasongrossman has quit [Ping timeout: 250 seconds]
<das_j> > system.nixos.revision
<{^_^}> value is a string while a set was expected, at (string):214:1
<das_j> hm
jasongrossman has joined #nixos
<infinisil> das_j: Not really, unstable channels could also be the same as stable versions at certain times
<infinisil> das_j: What for?
<das_j> infinisil: I'm generating a package list. Essentially from builtins.fetchTarball "https://nixos.org/channels/nixos-${version}/nixexprs.tar.xz";
<das_j> infinisil: That doesn't work with the unstable channel because it tries to fetch 19.03
<infinisil> Huh why does it do that?
iqubic has quit [Ping timeout: 256 seconds]
<das_j> Oof, the file is a bit hacky, wait
<disasm> any thoughts on how to fix `npm ERR! bcrypt@2.0.1 install: `node-pre-gyp install --fallback-to-build` nixos`?
<{^_^}> [nixpkgs] @Infinisil merged pull request #52508 → suitesparse: Fix darwin support → https://git.io/fphVv
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhL7t
bpye has joined #nixos
eadwu has quit [Ping timeout: 250 seconds]
kisonecat has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #53054 → newsboat: 2.13 -> 2.14 → https://git.io/fhLkR
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhL7n
kisonecat has joined #nixos
eadwu has joined #nixos
Church_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #53010 → picoLisp 16.12 -> 18.12 → https://git.io/fhImq
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhL7C
<{^_^}> [nixpkgs] @samueldr pushed 3 commits to release-18.09: https://git.io/fhL7B
<{^_^}> [nix-pills] @mhwombat opened pull request #104 → Using note formatting → https://git.io/fhL7E
kisonecat has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhL7a
<{^_^}> [nixpkgs] @Infinisil merged pull request #52999 → virtmanager-qt: 0.60.88 -> 0.70.91 → https://git.io/fhkFZ
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
erictapen has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #52936 → Pyro → https://git.io/fhT17
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fhL76
iqubic has joined #nixos
<samueldr> infinisil++
<{^_^}> infinisil's karma got increased to 48
<Church_> Oh yeah
<Church_> samueldr++
<{^_^}> samueldr's karma got increased to 48
<Church_> manveru++
<{^_^}> manveru's karma got increased to 2
eadwu has quit [Quit: WeeChat 2.3]
eadwu has joined #nixos
ddellacosta has joined #nixos
<infinisil> :D
<{^_^}> [nixpkgs] @talw opened pull request #53102 → dropbox: 55.4.171 -> 63.4.107 → https://git.io/fhL7D
<mog> ugh current 18.09 channel is broken for me
<mog> wont build network-manager
<samueldr> that's not good
* samueldr looks
<mog> fixed-output derivation produced path '/nix/store/bmh2s8hlc3jmllajarl1f9f3y38mvc9x-0a3755c1799d3a4dc1875d4c59c7c568a64c8456.patch' with sha256 hash '1flnxgjjrrlzdk5klx47l8y8rg1vmzdd9vhzxxq6wiwyvd4bd92r' instead of the expected hash '0bizaf2yf93hwkrrjcl3fhawyhmw9dzq9pc283dxmmpxqvvif5xg'
<mog> its fixed in github at least as its moved on to newer version
<mog> but whats out is busted
equivrel has joined #nixos
<samueldr> :/ 0a8f35c998f55f744674ed23b327162df39fb6ae here built and I'm using network-manager
<samueldr> oh wait I was a bit too eager I thought it had finished building
* samueldr waits again
<mog> ya it builds a lot and then dies for me
fusion809 has joined #nixos
<jasongrossman> That's funny. I built 18.09 a few hours ago.
bpye is now known as bpue
bpue is now known as bpye
<mog> maybe the patch changed?
<samueldr> unlikely, but maybe when you were building the server was having issues? https://gitlab.freedesktop.org/NetworkManager/NetworkManager/commit/0a3755c1799d3a4dc1875d4c59c7c568a64c8456.patch
<samueldr> I say unlikely as gitlab probably shouldn't allow changing a commit *that* way
bpye has left #nixos ["Kicked by @appservice-irc:matrix.org : issued !quit command"]
<mog> ill try again
bpye has joined #nixos
<mog> i fetched the file by hand and am trying now
<mog> same error i believe fixed-output derivation produced path '/nix/store/bmh2s8hlc3jmllajarl1f9f3y38mvc9x-0a3755c1799d3a4dc1875d4c59c7c568a64c8456.patch' with sha256 hash '1flnxgjjrrlzdk5klx47l8y8rg1vmzdd9vhzxxq6wiwyvd4bd92r' instead of the expected hash '0bizaf2yf93hwkrrjcl3fhawyhmw9dzq9pc283dxmmpxqvvif5xg'
orivej has quit [Ping timeout: 250 seconds]
bpye has left #nixos [#nixos]
bpye has joined #nixos
moriacat has joined #nixos
LysergicDreams has quit [Ping timeout: 250 seconds]
bpye has left #nixos ["User left"]
bpye has joined #nixos
<samueldr> okay, now it finished building
<samueldr> mog: how did you "fetch the file by hand"? fetchpatch does some dark wizardry to patch files to make them more stable
<samueldr> so simply prefetching the URL isn't enough
worldofpeace has joined #nixos
eadwu has quit [Ping timeout: 272 seconds]
<samueldr> how does the prefetched-file look like?
eadwu has joined #nixos
<mog> path is '/nix/store/bmh2s8hlc3jmllajarl1f9f3y38mvc9x-0a3755c1799d3a4dc1875d4c59c7c568a64c8456.patch'
<mog> 1flnxgjjrrlzdk5klx47l8y8rg1vmzdd9vhzxxq6wiwyvd4bd92r
<samueldr> and does it look right if you look at the file?
<samueldr> (I don't really know how to actually debug the issue :/ past here)
iqubic has quit [Ping timeout: 268 seconds]
<mog> ya looks like the file
drakonis has quit [Remote host closed the connection]
iqubic has joined #nixos
<samueldr> okay, so probably not nix somehow not loading the same file as the browser does
lassulus_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #50341 → chicken: 4.13.0 -> 5.0.0 → https://git.io/fpOrh
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhLdL
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52993 → desync: 0.3.0 -> 0.4.0 → https://git.io/fhkXA
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @charles-dyfis-net to master « desync: 0.3.0 -> 0.4.0 »: https://git.io/fhLdY
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to master « gramps: 5.0.0 -> 5.0.1 »: https://git.io/fhLdG
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52893 → gramps: 5.0.0 -> 5.0.1 → https://git.io/fhT34
<{^_^}> [nixpkgs] @dtzWill opened pull request #53103 → pysnmp: add missing dep on pycryptodomex → https://git.io/fhLdZ
<{^_^}> [nixpkgs] @dtzWill opened pull request #53104 → libxmlb: 0.1.5 -> 0.1.6 → https://git.io/fhLdc
<{^_^}> [nixpkgs] @dtzWill opened pull request #53105 → gobject-introspection: 1.58.2 -> 1.58.3 → https://git.io/fhLdW
init_6 has quit [Ping timeout: 268 seconds]
equivrel has quit [Ping timeout: 272 seconds]
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
justan0theruser is now known as justanotheruser
rprije has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #53106 → fractal: init at 4.0.0 ! → https://git.io/fhLdS
<dtz> ^ i'm using fractal right now to write this! ;)
<samueldr> 😠 the commit message does not respect the contribution guidelines
<samueldr> ;)
<{^_^}> [nixpkgs] @dtzWill opened pull request #53107 → e2fsprogs: update glibcism (musl) patch, fix → https://git.io/fhLd7
eadwu has quit [Ping timeout: 250 seconds]
Havvy has quit [Read error: Connection reset by peer]
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<dtz> oh? oh lol you mean the '!'? d'oh
<dtz> i was just excited :3
<samueldr> :)
cyounkins has quit [Ping timeout: 246 seconds]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon3 is now known as Mateon1
kisik21 has quit [Ping timeout: 250 seconds]
kisik21 has joined #nixos
tzemanovic has joined #nixos
blumenkranz has quit [Quit: WeeChat 2.3]
tzemanovic has quit [Ping timeout: 252 seconds]
<infinisil> dtz: How do I join this channel from matrix?
<dtz> https://riot.im/app/#/room/#Nixos:matrix.org
<dtz> errr or join "#Nixos:matrix.org" probably ;)
<iqubic> What even is matrix?
tzemanovic has joined #nixos
infinisil[m] has joined #nixos
<infinisil[m]> Hello from Fractal!
<dtz> \o/
lawlesseel has quit [Ping timeout: 256 seconds]
tzemanov_ has joined #nixos
<infinisil[m]> iqubic Use google to find out..
<dtz> hope didn't make it sound too great, but I've been dying for a remotely usable matrix client on linux... fractal delivers! At least as of 4.0.0 I can use it for my various communications
<infinisil[m]> It is a bit wobbly for me, but definitely usable
<infinisil[m]> Like, the room directory thing is slow and bit buggy, no progress indication
<infinisil[m]> Sending messages makes the view shift twice (once delayed)
<dtz> oh, haha yeah. first sync for me was.... both slower than expected and a bit.. surprising in terms of "flow"
<iqubic> Is it an upgrade over standard IRC?
<dtz> oh no! I had that earlier but it stopped happening so I hoped they fixed it
<dtz> that was... basically deal-breaker for me re:scrolling the wrong way--meant any conversation would lose sight of itself lol
tzemanovic has quit [Ping timeout: 252 seconds]
<dtz> iqubic: no, at least that's not the comparison anyone would suggest.
<dtz> iqubic: for me, at least, it's the web generation's (:P) replacement for what I used to use pidgin or bitlbee for: unify all the chat silos so I can get stuff done and no one has to care about my client and other way 'round
tzemanov_ has quit [Ping timeout: 252 seconds]
<infinisil[m]> dtz: Do you also need to re-login everytime you quit the client?
<dtz> it's also decentralized, which is rather nice. But I'm not sure i'd use it without the various matrix<-->foo bridges-- for example, right now this channel is bridged so we can use it
<dtz> Infinisil: lol no! D:
<dtz> to be honest I mostly, maybe shamefully, use it as an irc client of sorts lol >.<
<siraben> Is it possible to make a nix build file that will use the latest commit of a Git repo?
<siraben> And how do I get the SHA checksum and "rev" fields?
<siraben> iqubic: I use matrix :)
<dtz> first even looked into it since newer folks on my team didn't seem to find our IRC channel a natural place/method to communicate.... well anyway. I'm probably not the best advocate. Check out matrix.org and google it. ^_^.
<siraben> Matrix has very good bridges, and there's also mobile apps
<siraben> I think I've had one or two occasions where I was disconnected from all my IRC channels
<siraben> In the past year, though.
<iqubic> I see.
<samueldr> siraben: rev, any commit-ish valid to git
<samueldr> so putting master in there would seem to work...
<siraben> iqubic, what's your current setup for staying connected to IRC?
<samueldr> ... until you realise the sha256sum will cause it to not re-download
<samueldr> and siraben, as for getting sha256, it's always wiht a fresh use of TOFU
<samueldr> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<samueldr> (not the only way, but one of the most convenient and universal)
<siraben> I'm tackling packaging https://github.com/popcorn-official/popcorn-desktop now
<iqubic> siraben: Hope and pray that my internet doesn't cut out.
<siraben> Seems to use this "yarn" build tool, hm.
<iqubic> AKA, I don't have a way to stay connected.
<samueldr> in order, you probably want to use a tag, or a revision ID for rev, and *not* track a branch
<samueldr> especially since in nixpkgs branches won't be allowed
<clever> siraben: you probably want yarn2nix
<siraben> iqubic: Then I'd consider using Matrix, it's the best solution I've used.
<siraben> This client: https://riot.im/app/
<iqubic> IDK if ERC will let me use matrix.
<siraben> Ah, in which case you might be interested in the matrix IRC client
<siraben> I mean
b has quit [Quit: Lost terminal]
<siraben> Emacs Matrix Client
<iqubic> Yeah, I might like that.
<iqubic> I'm not sure yet.
<siraben> It works better now, after talking to their devs on their Matrix channel and getting the quelpa installation working
<siraben> clever: yarn2nix? How much of the installation does that do?
redj has quit [Read error: Connection reset by peer]
<iqubic> How would matrix keep me connected to IRC?
<siraben> iqubic: There's a gateway that does it for you
<samueldr> is there a `symlinkJoin` equivalent in nixpkgs that instead uses full files instead of links?
Rusty1 has quit [Quit: Konversation terminated!]
* samueldr looks more
<siraben> So you just log in whenever to catch up again
<clever> siraben: it handles fetching the node_modules via package.json, and then builds it
<worldofpeace> dtz: ooh fractal :P
<iqubic> siraben: None. All it does is create a nix build I think.
* Church_ remembers how bad he is at writing.
<Church_> samueldr: I'm gonna need to edit this post on packaging rails apps
<siraben> clever: Btw, know of a GUI testing tool? that TI calculator emulator you made the Nix build for a while back doesn't have a CLI and it reports the values of registers on a GUI
<Church_> It already looks blegh.
<siraben> trying to make it so that I can run tests on my ROM after compiling it
<clever> siraben: edit it to include CLI args?
<siraben> clever: What do you mean?
<siraben> Doesn't have a CLI display avaliable it seems
<clever> siraben: maybe add a custom IO port, so you can write to a given addr in the emu, and it then immediately exits with the value you wrote?
<clever> so the rom can test itself, and then return a status code
<siraben> iqubic: You a fan of urxvt, by any chance?
<siraben> Trying to switch over from terminator but want to use a declarative config
<siraben> clever: Hm. let me see
<iqubic> I have never used urxvt.
<siraben> What terminal emulator do you use then?
<iqubic> I'm still not sure why I'd want to matrix.
<iqubic> I use termite.
<siraben> it's mostly the always-on nature of it
<siraben> Also cross platform, no issues with keeping track of log files etc.
<siraben> Also means you're more reliant on it not failing, so it's a tradeoff.
<clever> siraben: my main exposure to matrix, is when the servers fail, and 200 people mass-quit in irc
<clever> which floods the channel and makes it unusable :P
<iqubic> But how hard is it to set up?
MinceR has quit [Ping timeout: 240 seconds]
<siraben> Not at all
<siraben> you just make an account, activate the bridge
<siraben> Join your desired channels and it's done.
<siraben> I didn't use the Emacs Matrix Client, note.
<siraben> I currently use Riot
ambro718 has quit [Ping timeout: 244 seconds]
<iqubic> Where do I go to make an account?
<siraben> clever: that was my initial exposure as well, haha
<iqubic> Mine too. LOL.
MinceR has joined #nixos
<iqubic> I'm not sure if I want to use riot or not.
<iqubic> "User ID already taken."???
<iqubic> I can't make an account with the username `iqubic`
<siraben> huh
<siraben> Well you can change it to whatever
<siraben> To IRC users you'll appear the same as normal
<siraben> Because you'll be bridged
<iqubic> I see.
<iqubic> Is it giving me this error because I'm logged in already?
<siraben> Logged in where?
<siraben> IRC?
<siraben> No.
<siraben> Maybe we should move this off channel to PM or something
<iqubic> I'm logged in on IRC, yeah.
<infinisil[m]> #nixos-chat for offtopic discussions
<siraben> clever: Hm. Doesn't seem to have CLI args that allow me to print the state or something
<siraben> Thanks infinisil
<clever> siraben: you would need to modify the emulator to add them
<siraben> Time to crack open the soucre!
<siraben> source*
<siraben> iqubic: move over to #nixos-chat
<wedens> for some reason I have links for "light" package in both `/run/wrappers` and `/nix/store`. light is enabled via `programs.light.enable = true`. how do I reference a wrapped binary and not binary from the store?
<wedens> when I use `${light}/bin/light` from my home-manager configuration it referencec unwrapped binary that doesn't work
<samueldr> /run/wrappers are (only?) setuid wrappers; as the store cannot hold setuid binaries
<samueldr> so this is why it exists
* samueldr checks for a solution to your problem now
<samueldr> it seems the nixos stuff mostly assumes it can refer to /run/wrappers
<wedens> so, the problem is referencing nixos binary from user configuration?
<samueldr> even some non-nixos things e.g. `at` from nixpkgs defaults to sendmailPath being in `/run/wrappers`
<samueldr> it's more that setuid wrappers are built outside of the nix build building your system
<wedens> should I just use binary by name without full path?
<samueldr> I don't know for sure, it must depend on what you're doing
<wedens> I'm binding `light` program to a key in i3 configuration
<wedens> not using full path should be safe enough here, I guess
<samueldr> I personally would either use an unqualified name and rely on PATH or use /run/wrappers/bin/light directly
<samueldr> yeah
<wedens> the later won't work. it's /run/wrappers/wrappers.9YBUGK2B4Y/light and it changes after switching configuration
<samueldr> I'm talking about the /run/wrappers/bin symlink which will resolve to the right wrappers dir
<samueldr> if it doesn't you're in hot water as it's where sudo lives :)
<wedens> ah, there is /run/wrappers/bin indeed
<samueldr> it's also part of your PATH
<wedens> I was just doing `realpath $(where light)` :)
<samueldr> ah right
<samueldr> if you don't want to rely on PATH, and feel icky at hardcoding /run/wrappers/bin/${tool} you could always contain the "mess" of it in a function, (tool: "/run/wrappers/bin/${tool}")
<samueldr> so if in the future that implementation detail changes you have one location to fix
<wedens> I'll go the easy road :) thanks for help
<wedens> it's just a bit confusing that you don't know when it's better to reference the store and when it won't work
<samueldr> I can see, at one point it all makes sense and... you become desensitized to the issue :/
init_6 has joined #nixos
iqubic has left #nixos ["ERC (IRC client for Emacs 26.1)"]
paulvictor has joined #nixos
Dedalo has joined #nixos
<Dedalo> How to I add a user to the list of sudoers in NixOS?
<Dedalo> I want to be able to modify configuration.nix using the user that I have created myself, because `root` doesn't have a Window Manager configured and I can't do copy and paste, like I do in i3.
<makefu> Dedalo: users.groups.wheel.members = [ <your-username> ]; or users.users.<username>.extraGroups = [ "wheel" ]; ( out of my head, untested )
<clever> Dedalo: export EDITOR=gedit ; sudoedit /etc/nix/configuration.nix
Church_ has quit [Ping timeout: 244 seconds]
<clever> sudoedit will copy the file to /tmp, run the configured editor, as non-root, then copy it back when the editor exits
<Dedalo> makefu I have tried the second solution `users.users` but it doesn't work. I will try the first one. Do I just need to perform a `nixos-rebuild switch`, or do I need to reboot?
<makefu> Dedalo: you need to log in and log out of your session
<makefu> check "groups"
<Dedalo> makefu thx, I try
<clever> `id` also works, and shows more info then `groups
<clever> `
<Dedalo> makefu thanks, it worked
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhLNv
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52773 → solarus: 1.5.3 -> 1.6.0 → https://git.io/fhUBO
iqubi4 has joined #nixos
<siraben> iqubic: is that through matrix?
<iqubi4> Yes it is.
<siraben> Ah, cool, so you got it working!
<siraben> btw you might want to disable typing notifications in the settings, if you're concerned about that sort of thing
<iqubi4> Yeah, but it seems to be running slower than just connecting straight to IRC.
<siraben> Yeah, there's a little more latency
<siraben> And in some cases messages may appear slightly out of order
<siraben> But nothing major
<iqubi4> I'm not sure I really like this.
<siraben> Whatever works, it's basically connected the whole time now
qualiaqq has joined #nixos
palo1 has joined #nixos
worldofpeace has quit [Ping timeout: 240 seconds]
<iqubi4> Even if I close the riot client?
<siraben> Yep
<iqubi4> I'm going to go to #nixos-chat now.
<{^_^}> [nixpkgs] @dtzWill merged pull request #53107 → e2fsprogs: update glibcism (musl) patch, fix → https://git.io/fhLd7
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhLNO
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
<wedens> is there a function to make a derivation from a file (script), without specifying hash explicitly?
jasongrossman has quit [Remote host closed the connection]
<clever> wedens: you may not even need a derivation, what do you want to do with the script afterwards?
jD91mZM2 has joined #nixos
<wedens> it's a bunch of scripts I use in a status bar and I'd like to explicitly specify their dependencies
<clever> wedens: might want to use substiteall on them then
<clever> pkgs.substituteAll { inherit hello; } ./script
<clever> it will replace @hello@ with /nix/store/hash-hello/
<clever> though the script will become /nix/store/hash-script, without a bin dir
<wedens> it requires modifying the script, right? I'd prefer to avoid that
<clever> wedens: the other option is wrapProgram
<siraben> iqubic: haha
rprije has quit [Ping timeout: 240 seconds]
<clever> wedens: something along the lines of runCommand "name" {} '' mkdir -pv $out/bin/ ; makewrapper ${./input} $out/bin/output --prefix PATH : ${hello}/bin''
<clever> wedens: roughly
<clever> wedens: that will generate a bash script, that prefixes PATH, then runs input
<iqubi4> Darn... Wrong channel.
<wedens> clever: good idea. thanks. I have a tiny bit of expirience with `runCommand` and `makeWrapper` :)
<wedens> never thought of using them together like this
<clever> wedens: there are 2 versions it, makewrapper, and wrapprogram
<clever> wedens: one accepts 2 files, an input and output, and the output runs the input
<clever> the other accepts 1 file, renames it to .input_wrapped, then reuses the old name, to run the renamed one
<clever> the one with 2 names lets you keep the input as a seperate prog
<wedens> why would I want that?
<clever> saves having to copy them to $out/bin/ first
<wedens> so it looks like modifying "inplace" from the outside?
<clever> ah, and you may need `runCommand "name" { buildInputs = [ makeWrapper ]; } ...`
hedning has quit [Remote host closed the connection]
<wedens> does it check whether file has changed on every build?
<clever> yeah
<clever> it will hash the input file on every nix eval
<clever> and if the hash changes, it has to rebuild
<wedens> great. thanks
<wedens> btw, is there some searchable list of functions?
miaoski_tw has joined #nixos
jasongrossman has joined #nixos
<wedens> or what's the algorithm for looking for some function?
<clever> wedens: nix repl has tab completion
<clever> `nix repl '<nixpkgs>'` then just `lib.<tab><tab>`
<wedens> can I do something like `:doc lib.xyz` in the repl?
<Myrl-saki> [myrl@myrl-lappy:/tmp/tmp.VYpMfTG9wp]$ head -n 2 $(nix-build -E '(import <nixpkgs> {}).stdenv.mkDerivation { name = "locale"; buildCommand = "locale > $out"; }')
<Myrl-saki> LANG=
<Myrl-saki> LC_CTYPE="POSIX"
<Myrl-saki> Any explanation for why POSIX is the default locale?
<siraben> How do I get #53106 to install?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53106 (by dtzWill, 3 hours ago, open): fractal: init at 4.0.0 !
<siraben> ^that
jasongrossman has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @pbogdan opened pull request #53109 → nasm: 2.14.01 -> 2.14.02 → https://git.io/fhLA3
<siraben> Never mind figured it out, have to replace the first couple of lines with with import <nixpkgs> {};
equivrel has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ddellacosta has quit [Remote host closed the connection]
Lears has quit [Remote host closed the connection]
<siraben> I'm trying to get it to build but I get https://paste.debian.net/1058121/
jasongrossman has joined #nixos
Lears has joined #nixos
<clever> siraben: if you clone the right branch of nixpkgs (from the pr author), you can just `nix-build -A fractal` and it should build
thc202 has joined #nixos
qualiaqq has quit [Quit: ERC (IRC client for Emacs 26.1)]
<siraben> clever: how do I do that?
<siraben> What branch is this
<clever> siraben: the branch is at the top of the PR
<siraben> Should I just clone his fork?
<siraben> Ok
emily has joined #nixos
emily has quit [Client Quit]
<clever> yeah, thats the simplest way to get the branch
<siraben> Thanks clever
juhe has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
<wedens> or download a zip with specific revision if you don't want to pull nixpkgs with its huge history
<wedens> but you'll have to clone it at some point anyway :)
<{^_^}> [nixpkgs] @FRidh merged pull request #53083 → digikam: switch from QtWebKit to QtWebEngine → https://git.io/fhLKU
<{^_^}> [nixpkgs] @FRidh pushed commit from @veprbl to master « digikam: switch from QtWebKit to QtWebEngine »: https://git.io/fhLx5
<wedens> btw, is there still a point in pointing nixpkgs at your own fork, now that overlays is a thing?
<clever> wedens: i clone the upstream nixpkgs, then add multiple remotes to it
<clever> it can also be easier to edit a clone, rather then write an overlay, for some packages
<siraben> clever: Hm I can't seem to make it work
<siraben> What do I run in the command line?
<siraben> Doesn't seem to be a fork but a bunch
<siraben> branch
<clever> siraben: what commands did you try?
<wedens> try doing `nix-build -I /path/to/repo -A fractal`
<clever> that -I wont do what you think
<clever> the -I just says where to look for <things>
<siraben> I'm not cloned in?
<siraben> error: attribute 'fractal' in selection path 'fractal' not found
<clever> but no filename was given, so it just opens default.nix in the current dir
<clever> siraben: what branch are your on?
<wedens> is it `nix-build -I nixpkgs=/path/to/repo -A fractal`?
<siraben> NixOS/nixpkgs
<siraben> How would I switch?
<clever> `git checkout branchname`
<siraben> git branch feature/fractal
<siraben> Got it
<clever> wedens: that just changes where to find <nixpkgs> but you still didnt specify what file to load, so it opens default.nix in the current dir
<clever> wedens: you have to pass <nixpkgs> as an arg, or just /path/to/repo directly
<siraben> Still error: attribute 'fractal' in selection path 'fractal' not found
<clever> siraben: what does `git rev-parse HEAD` return?
<wedens> clever: ah, right. -I is not neccessary. thanks
<siraben> 75ca6faece8f06096fb45d0b341c39a7ad47c256
<siraben> Doing a pull, now it's
<siraben> 00754cd6898fc276fc8aa21ccfd2b283dac80479
<clever> siraben: that does not match the commit in the PR
<clever> siraben: your not on the right branch
ambro718 has joined #nixos
<clever> siraben: what does `git status` and `git log` say? and use a pastebin
<wedens> siraben: have you added git remote?
<siraben> First 100 line
<siraben> wedens: not explicitly
<{^_^}> [nixpkgs] @timokau opened pull request #53113 → vimUtils: fix requiredPlugins → https://git.io/fhLpe
<clever> it will add the right remote for you, if you clone https://github.com/dtzwill/nixpkgs/
<wedens> you'll need to add a fork with a branch as a git remote. it's a branch in a fork
<wedens> yeah, or just clone the fork
* siraben `rm -rf`'s the old nikpkgs
<siraben> nixpkgs*
dermetfan has joined #nixos
<siraben> Wow this is a huge repository
<siraben> 28% 294 MiB and still going
<wedens> you could've used --depth 1
<siraben> Is that deep enough?
<siraben> Ok that's much faster
<siraben> Now I `cd`'d into it
MichaelRaskin has left #nixos [#nixos]
<clever> then checkout the right branch, and nix-build it
<siraben> What's the right branch?
<clever> 2018-12-31 05:21:42 < siraben> git branch feature/fractal
<wedens> `git clone --depth 1 git clone --depth 1 https://path/to/repo/foo.git -b feature/fractal` will give you a shallow clone of the branch
<clever> oh, `git checkout feature/fractal`
<clever> wedens: ah, that can also work
<siraben> Ok I'm in feature/fractal but it doesn't build?
<siraben> error: attribute 'fractal' in selection path 'fractal' not found
<wedens> (I somehow messed the command above, but you get the idea)
<clever> siraben: what does `git rev-parse HEAD` return now?
<siraben> 34a67fba04742dcbda122c50adec0d4b1871c38b
<siraben> Still not 89851509d54129a6dd6cfe6bd394342c733eea0b
<clever> that is still not the commit we want
<clever> 2018-12-31 05:23:56 < clever> siraben: what does `git status` and `git log` say? and use a pastebin
<clever> what was the output when you ran `git checkout feature/fractal` ?
<siraben> something switched branched
<siraben> branch
<wedens> execute this exact command: git clone --depth 1 https://github.com/dtzWill/nixpkgs.git -b feature/fractal
<Myrl-saki> clever: Do you often use `tar -xf $(nix-build -E '((import <nixpkgs> { }).pkg.src)' --no-out-link)`
<siraben> wedens: done
<siraben> wedens: ok nix-build works now
<wedens> now you should have 89851509 as HEAD
<clever> Myrl-saki: not really, and nixpkgs has a function to make a tar for you
<siraben> huh didn't know why it worked there
<Myrl-saki> clever: I'm doing the other way around, unpacking the src tar.
<clever> siraben: i suspect its because you ran `git branch feature/fractal` by accident
<siraben> clever: Ah
<clever> siraben: that creates a branch, with the name in question, pointing to whatever your current HEAD was
<Myrl-saki> Hm.
* siraben should brush up on git
<Myrl-saki> So it's not Nix that sets the language to POSIX.
<siraben> Thanks clever , wedens .
<Myrl-saki> I actually have no idea what sets the nix-build locale to POSIX now.
<clever> Myrl-saki: a: what does `env` output in runcommand?, b: what about a naked derivation?
tzemanovic has joined #nixos
<Myrl-saki> clever: I experimented this way.
<Myrl-saki> cle [myrl@myrl-lappy:~]$ head -n 2 $(nix-build -E '(import <nixpkgs> {}).stdenv.mkDerivation { name = "locale"; buildCommand = "locale > $out"; }')
<Myrl-saki> LANG=
<Myrl-saki> LC_CTYPE="POSIX"
<clever> bare-env.nix omits the entire stdenv, so env vars wont be set by anything
<clever> last time i ran it, no locale related var is set
<clever> also, those might even be defaults by the locale binary, and `env` will list nothing set
<Myrl-saki> clever: How should I use his?
<clever> just modify it to run locale
<clever> buildInputs wont work however, so you need to use the absolute path
<Myrl-saki> clever: Change builder to a shell script?
<siraben> What's the difference between buildInputs and nativeBuildInputs?
<Myrl-saki> Or a path to an executable,?
<clever> its already a shell script
<clever> just put the locale command inside it
<clever> siraben: when cross-compiling, nativeBuildInputs is for the host, and buildInputs is for the target
<Myrl-saki> clever: .overrideAttrs?
<clever> Myrl-saki: just edit bare-env.nix
<siraben> Hm cross-compiling?
<clever> .overrideAttrs doesnt work when the stdenv has been skipped entirely
<clever> siraben: nixpkgs supports automatic cross-compiling of most things
<siraben> This build is eating up my CPU and memory, heh.
<siraben> clever: I see.
<Myrl-saki> clever: Whoops, yeah, I get it now lol
* Myrl-saki has to scram off soon
* Myrl-saki has to scram off now
miaoski_tw has quit [Quit: Connection closed for inactivity]
<siraben> clever: yay!
<siraben> Is there a way to install this?
<siraben> Or should I wait until it gets merged
<clever> siraben: nix-env -f . -iA something
<chris|> I am having some trouble building the firefox derivation. It compiles fine but activation seems to fail: https://privatebin.net/?59315269eaf9f1d8#adlEjlZ/DPk4UwK3GDBs0V5qjHoJr1+oFefdb8wJ3Fk=
<wedens> can I result of `substituteAll` as a string?
<wedens> * get
<Twey> Is there a tool I can use to find out where all the space in my Nix store is going? Lately it seems to be growing at an alarming rate…
<Twey> wedens: You can builtins.readFile the result…
<Twey> wedens: But maybe use builtins.replaceStrings?
jD91mZM2 has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fhLhb
jomik has joined #nixos
jgt has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #53009 → mupdf: fix CVE-2018-18662 → https://git.io/fhIUC
<jgt> is there a way to rebuild my nix store from scratch without reinstalling nix?
<jgt> can I do something like nix-store --delete /nix/store?
equivrel has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
jomik has quit [Ping timeout: 268 seconds]
ddellacosta has joined #nixos
<wedens> I think it'll only delete dead paths
ddellacosta has quit [Read error: Connection reset by peer]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #53113 → vimUtils: fix requiredPlugins → https://git.io/fhLpe
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fhLjc
imdoor has joined #nixos
mmlb has quit [Quit: Ping timeout (120 seconds)]
pepesza has quit [Ping timeout: 250 seconds]
pilcrow has quit [Ping timeout: 246 seconds]
mmlb has joined #nixos
pepesza has joined #nixos
<{^_^}> [nixpkgs] @CrazedProgrammer closed pull request #53015 → [18.09] urn: 0.7.1 -> 0.7.2 → https://git.io/fhIGU
<{^_^}> [nixpkgs] @FRidh pushed 211 commits to staging-next: https://git.io/fhLjN
lawlesseel has joined #nixos
<{^_^}> [nixpkgs] @CrazedProgrammer reopened pull request #53015 → [18.09] urn: 0.7.1 -> 0.7.2 → https://git.io/fhIGU
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brodul has quit [Ping timeout: 240 seconds]
pepesza has quit [Ping timeout: 244 seconds]
pepesza has joined #nixos
kisik21 has quit [Quit: WeeChat 2.4-dev]
eyJhb has joined #nixos
<eyJhb> Hey, I am currently trying to mount a external SSD on boot which is encrypted using luks. But I keep getting "failed to open key file" at each boot, at the service will eventually timeout...
<eyJhb> Any ideas?
<eyJhb> THis is the configuration - https://termbin.com/0py2
m15k has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #53115 → smartmontools: 6.6 -> 7.0 → https://git.io/fhteD
Akii has quit [Quit: ZNC 1.7.1 - https://znc.in]
b has joined #nixos
<wedens> polybar uses ping command https://github.com/jaagr/polybar/blob/master/src/adapters/net.cpp#L128 I've tried adding iputils to PATH in a wrapProgram, but I still have symptoms that it can't invoke ping sucessfully
mmlb has quit [Quit: Ping timeout (120 seconds)]
Akii has joined #nixos
<wedens> ah, ping is inside /run/wrappers
<wedens> samueldr: that's more difficult incarnation of the problem I had before :)
mmlb has joined #nixos
<ivan> why does SLiM show only one of my two users in the list?
simukis has joined #nixos
<ivan> they're both isNormalUser
<adisbladis> wedens: Yeah, ping because of ICMP needs setuid/CAP_NET_RAW
<wedens> how do I make polybar use ping from /run/wrappers ?
<wedens> it doesn't seem to automagically use it from PATH
<adisbladis> wedens: It should just work it looks like
<wedens> I'm not sure, but looks like ping returns non-zero code. the same command invoked manually works fine
<adisbladis> Ping is not wrapped by default, so polybar _should_ use the one from PATH
<adisbladis> wedens: You have a polybar command line so I can see if it works for me?
<wedens> looks like it's wrapped by default. and if I try to use ping from the store, it fails with "operation not permitted"
<adisbladis> wedens: I just had a look of the expression, ping is not wrapped
b has quit [Quit: Lost terminal]
<wedens> trying to rebuild polybar with /run/wrappers/bin appended to PATH, just to see if it changes anything
<wedens> I think that's what makes it wrapped
<wedens> I have 4.14 kernel apparently
<wedens> yeah, polybar behaves as expected with /run/wrappers/bin in PATH
Wharncliffe has joined #nixos
<wedens> so... what's the solution for some binary needing something from /run/wrappers/bin in runtime?
<wedens> hm.. maybe it's a systemd service that doesn't have /run/wrappers/bin in PATH
<{^_^}> [nixpkgs] @atopuzov opened pull request #53117 → Bump teamviewer version to 14 → https://git.io/fhtv0
* aristid mumbles something about opensmtpd 6.4 breaking all configs
aexoxea has joined #nixos
ottidmes has joined #nixos
jgt has quit [Quit: WeeChat 2.3]
jtojnar has joined #nixos
<Izorkin> https://github.com/NixOS/nixpkgs/issues/53067 - help to fix this error
<{^_^}> [nixpkgs] @ptrhlm opened pull request #53120 → WIP: virtualbox: 5.2.22 -> 6.0.0 → https://git.io/fhtvS
<{^_^}> #53067 (by Izorkin, 1 day ago, open): haskel: error build package insert-ordered-containers and uri-bytestring
Notkea has quit [Read error: Connection reset by peer]
<ottidmes> I have a question about how to best organize the local sources uses by my configurations. The way I have currently organized my configurations requires sources to exists at locations outside of my configuration. With the consequence that you cannot just take my configuration and install it, it would fail due to those missing sources. I like my configuration to be self-contained, so I was wondering how others
<ottidmes> do this. I saw someone using a vendor directory containing the sources, I like that idea, but how to go about your personal projects that you want to include, it seems weird to have all of it be contained in your NixOS configuration. My current idea is to default to just pointing to their git origin's for the sources, but overwrite them in an overlay if local checkouts exist.
Notkea has joined #nixos
random_yanek has quit [Quit: random_yanek]
jomik has joined #nixos
jomik has quit [Client Quit]
<Twey> Why doesn't the `pipenv` derivation have `virtualenv` in its propagatedBuildInputs? It seems to be necessary if python3Packages = python36Packages but not if python3Packages = python37Packages, and I can't figure out why
<ottidmes> Izorkin: seems unrelated to Nix, so you might have more luck on the Haskell channel, but if those packages are not well maintained you might try an older version of GHC or it might actually be fixed in a newer version of ghc. What is the version returned by: nix-instantiate --eval --strict --expr 'with import <nixpkgs> { }; haskellPackages.ghc.version'
<Twey> ottidmes: You can also use fetchurl and friends
<Twey> ottidmes: And you can store local changes as patches
<Izorkin> ottidmes: "8.4.4"
goibhniu has joined #nixos
<ottidmes> Twey: your second point, what would that look like? would you need to make patches for every change made?
<ottidmes> Izorkin: then you could try haskell.compiler.ghc822 instead of haskellPackages to use GHC 8.2.2 instead of 8.4.4 for example
periklis has joined #nixos
FRidh has joined #nixos
<ToxicFrog> What needs to happen to get #51980 merged?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51980 (by ToxicFrog, 2 weeks ago, open): nixos/munin: New options (and some bugfixes) for service configuration
<Twey> ottidmes: I mean, it's your config, so you could just have one big patch
jomik has joined #nixos
<Twey> ottidmes: But it might be better just to fork the source repo somewhere and refer to that in the config maybe?
<jomik> How do people using Nix handle their emacs configuration? Do you install emacs-packages with nix and then just have an init.el? Or do you also handle your init.el with nix?
agander has joined #nixos
<ottidmes> Twey: yeah, I think I will be doing the fork approach, but I have a script that takes a snapshot of just the changes made in the Git repo, so I will probably also do what you suggest with sort of patches, so that I do not always have to commit my repos while I might not want to at that particular moment
<Izorkin> ottidmes: how to need add to configuration.nix to replace gcc
<ottidmes> Izorkin: could you rephrase that, I am not sure what you mean? replace gcc everywhere?
<Izorkin> replace gcc only haskellPackages
<FRidh> instead of having a fixed location to a local patch in the tree `patches = [ ./my/patch ]` I would like to dynamically determine the patch `[ patches = [ "./${version}/patch" ]` is a string so not helpful. toPath can't be used either
<ottidmes> Izorkin: How to replace haskell packages that require gcc? Not sure, if they used gccStdenv explicitly it might be possible by inspecting their function arguments, but I am not familiar enough with the details of how haskell packages are packaged in Nix to determine that
<ottidmes> FRidh: ./. + "${version}/patch" might work
<ottidmes> FRidh: ehm this: ./. + "/${version}/patch" might work
ddellacosta has joined #nixos
<FRidh> yep indeed thanks
Dedalo has joined #nixos
<Twey> "${./.}/${version}/patch" too I guess
<ottidmes> Twey: yes, but you definitely do not want that, because it would copy ./. to the nix store
lawlesseel has quit [Ping timeout: 256 seconds]
ris has joined #nixos
<Twey> ottidmes: I think that's equivalent
periklis has quit [Remote host closed the connection]
<Twey> ./. + "/foo" will also copy ./. to the store
<ottidmes> Twey: no, it results in just a path
ddellacosta has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/fhtf9
<Twey> ottidmes: You're sure? Path-literal copying happens very early
<Twey> Before concatenation, I think
<Myrl-saki> Twey: I agree with ottidmes.
<{^_^}> [nixpkgs] @vcunat merged pull request #53057 → gcc: 7.3 -> 7.4 → https://git.io/fhLmL
<ris> hmmm..... is there any way to get `nix-shell` to obey `meta.priority` in the way that `nix-env` does?
<Myrl-saki> Twey: The only thing that forces /nix/store is string interpolation, I believe.
<Myrl-saki> It just so happens that string interpolation is so ez to accident.
<symphorien> ris: I think the mechanism behind meta.priority is in buildEnv
<ris> orly
<ris> interesting
<jomik> Twey, ottidmes, Myrl-saki - I had this exact issue yesterday, ottidmes' does not copy the path to nix-store, whereas passing just the string, would :D
<jomik> Just to confirm.
<ris> oh actually i guess what i want really...
<ottidmes> Twey: ./. + "/foo" results in just a path value, if you were to then do "${./. + "/foo"}" it would still not be equivalent, because it would copy only foo to the nix store, not the whole of ./. like your first suggestion would
<ris> is to make one version of `git` appear in the $PATH before the other
<ris> and that's not quite the same thing as `meta.priority` is it?
Laalf has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
periklis has joined #nixos
<Twey> ottidmes: Weird, I would have thought that any path literal would be copied to the store (before conversion to a string and concatenation with the string). But I guess indeed path + string produces a path
<ottidmes> jomik: passing a string would not copy the path to nix store
<symphorien> ris: a buildEnv with a hiPrio git and a lowPrio git will contain only one $out/bin/git
<jomik> "${./.}/${version}/patch" I mean? IIUC that is a string, ottidmes ?
<ottidmes> Twey: jomik: "${./.}/foo" ~> "/nix/store/gzn97qspl2jk9hrf1068amxsh7vihc8l-bar/foo", "${./. + "/foo"}" ~> "/nix/store/avva3pijyyj4bgrj1vcl3sj6hiadjxlj-foo", and "${toString (./. + "/foo")}" ~> "/bar/foo"
<Twey> ottidmes: Yeah, I tested it
<ottidmes> jomik: the end result of "${./.}/${version}/patch" is indeed a string, compared to ./. + "/${version}/patch", which would end up as a path, but it is "${./.}" that is the interesting bit, like I showed in: "${toString (./. + "/foo")}" a path can always be converted to a string without copying over the path to the nix store
<ris> symphorien: ah i guess that's an argument for actually using a `buildEnv` rather than just a derivation with a bunch of `buildInputs` which is what i'm currently doing
<ris> symphorien: perfect answer thanks
<ris> (assuming it works :)
<{^_^}> [nixpkgs] @timokau opened pull request #53121 → vimUtils: derive pname from the plugin string → https://git.io/fhtJk
__monty__ has joined #nixos
<Myrl-saki> clever: Did you check it out yourself while I was gone?
<m15k> Someone already installed lxd on nixos? I'm a little bit lost. Seems that I can't get the service running.
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/0396345b794 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<Myrl-saki> clever: [myrl@myrl-lappy:/tmp/tmp.djTkezKRID]$ head -n2 $(nix-build bare-env.nix --substituters '' --no-out-link)
<Myrl-saki> LANG=
<Myrl-saki> LC_CTYPE="POSIX"
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<jomik> ottidmes: Ah, yeah, sorry. I meant that if you use that path in imports, it'd copy it over.
<jomik> Gotta run for new-year prep stuff! :D
<jomik> Have fun and happy new year if you guys do that stuff xD
jomik has quit [Quit: WeeChat 2.2]
<clever> Myrl-saki: check what `env` outputs as well
<clever> Myrl-saki: its possible that locale is lying, and neither var is set, and thats what it does when none are set
<clever> Myrl-saki: a simple `env -i /run/current-system/sw/bin/locale` outside nix confirms that, with zero env vars, it claims posix all-around
tzemanov_ has joined #nixos
<{^_^}> [nixpkgs] @tazjin closed pull request #49275 → Add generated documentation for library functions → https://git.io/fxHYO
orivej has quit [Ping timeout: 245 seconds]
tzemanovic has quit [Ping timeout: 260 seconds]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Myrl-saki> clever: Ah, makes sense. Thanks.
tzemanovic has joined #nixos
* clever heads off to bed
<clever> Myrl-saki:
tzemanov_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @ck3d opened pull request #53122 → cudatoolkit: fix nvprof → https://git.io/fhtJD
lawlesseel has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #53123 → WIP: CPython: merge expressions of interpreters into single expression → https://git.io/fhtJx
countingsort has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 217 commits to staging: https://git.io/fhtUJ
eadwu has joined #nixos
kisonecat has joined #nixos
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/fhtUg
<{^_^}> [nixpkgs] @vcunat merged pull request #53091 → gzip: 1.9 -> 1.10 → https://git.io/fhLDh
obadz has quit [Ping timeout: 250 seconds]
<countingsort> whats the difference between nativeBuildInputs an buildInputs?
<countingsort> just compile time vs run time?
earldouglas has left #nixos [#nixos]
periklis has quit [Ping timeout: 250 seconds]
<Twey> countingsort: nativeBuildInputs are things available to the build process itself, i.e. the thing doing the build, but not to the built program/in the built environment. buildInputs are things that can be used alongside the build product. The difference is chiefly different when cross-compiling: nativeBuildInputs might be something like a cross-compiler or source transformation tool (that runs on the build
<Twey> host) while buildInputs can be things like dynamic libraries for the built application
<Twey> countingsort: Compile-time vs runtime is done automatically in Nix, by looking for build inputs that are referenced in the final build product
<Twey> countingsort: So that distinction doesn't exist when you're writing derivations
<countingsort> Twey: i see, thanks
obadz has joined #nixos
<betaboon> is there a binary cache for headless(xserver-less) configurations ?
<Twey> Is there a way to see what a ‘dumping very large path’ warning is referring to?
GiGa has joined #nixos
aristid has quit [Quit: WeeChat 2.2]
aristid has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #53101 → fsv: init at 0.9-1 → https://git.io/fhLQf
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhtTE
<infinisil> Twey: Yeah, with a couple -v's
kisonecat has quit [Ping timeout: 240 seconds]
<Twey> Ahh
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
imdoor has quit [Quit: imdoor]
goibhniu has quit [Ping timeout: 250 seconds]
tzemanovic has quit [Remote host closed the connection]
Dedalo has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
<ottidmes> infinisil: any reason to use zfs unstable outside of encryption?
iyzsong has joined #nixos
Makaveli7 has joined #nixos
__monty__ has quit [Ping timeout: 246 seconds]
<infinisil> ottidmes: If you like losing data it's very recommended xD
__monty__ has joined #nixos
tzemanovic has joined #nixos
<infinisil> Yeah heh, i can't switch back now
<infinisil> I wish i could
<infinisil> But I enabled pool features for unstable
ris has quit [Quit: Konversation terminated!]
agander_ has joined #nixos
<ottidmes> infinisil: ah ok, if you feel like that, then I am sure not to use unstable :)
agander has quit [Ping timeout: 250 seconds]
<infinisil> Well, my laptops zpool got corrupted at some point, probably because i was using unstable
<infinisil> I'll just wait until 0.8 comes out
<clever> infinisil: only time ive ever had corruption with zfs, was when i messed with zfs on a usb stick, and qcow2 copy-on-write overlays
<infinisil> Mine happened possibly due to the needed force shutdown, it was weird
<infinisil> It might not be zfs unstable's fault, i have no idea
tzemanovic has quit [Ping timeout: 252 seconds]
<clever> ive done dozens of improper shutdowns, and it has survived fine
<clever> once, it even did a minor rollback
<clever> first, my SSD's have a firmware bug, that results in the drive going unresponsive randomly during writes
<clever> second, one day, it failed, immediatelly after a `git commit && git push`
<clever> after a forced reboot, the commit ceased to exist locally, yet it still existed remotely!
<p_l> it's very hard to truly corrupt ZFS beyond automatic self-repair
<infinisil> Haha
<clever> the git app thought the data was commited to disk
<clever> yet it undid itself!
<clever> the corruption likely triggered an automatic rollback, which repaired it perfectly
<p_l> one time I've seen it it involved running `master` branch of zfsonlinux when a bug got into it (never reached release, as it was caught), and the bug changed the on-disk format
<infinisil> p_l: I wish I was more motivated to find the cause of that
<p_l> the fix involved rewinding transactions to one from before the bug :D
* clever tries to get to bed :P
<{^_^}> [nixpkgs] @jtojnar opened pull request #53125 → pytrainer: 1.12.1 → 2.0.0rc1 → https://git.io/fhtkl
niksnut has quit [Quit: Lost terminal]
niksnut has joined #nixos
eadwu has quit [Ping timeout: 250 seconds]
erictapen has joined #nixos
Makaveli7 has quit [Quit: Leaving]
<schopp0r> hm. can somebody please help me: I would like to install *one* unstable package (which I will probably also patch) as a user, but keep the rest stable. how hard is this?
<infinisil> ,unstable schopp0r
erictapen has quit [Ping timeout: 246 seconds]
_lawlesseel has joined #nixos
ddellacosta has joined #nixos
<schopp0r> infinisil: thx!
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @lsix to master « postgresql_9_3: drop »: https://git.io/fhttG
eadwu has joined #nixos
iyzsong has quit [Ping timeout: 250 seconds]
lawlesseel has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @thoughtpolice closed pull request #52052 → postgresql_9_3: drop → https://git.io/fpFHx
ddellacosta has quit [Ping timeout: 272 seconds]
monotux has quit [Quit: prutt]
<Izorkin> https://github.com/NixOS/nixpkgs/issues/53067 - help to fix this error
<{^_^}> #53067 (by Izorkin, 1 day ago, open): haskel: error build package insert-ordered-containers and uri-bytestring
<{^_^}> [nixpkgs] @ElXreno opened pull request #53126 → megasync: init at 3.7.1.0 → https://git.io/fhttD
tzemanovic has joined #nixos
<wedens> is there a good example with instructions on how to organize nixos with home-manager and install existing configuration from scratch? let's say I have my nixos config, dotfiles, etc in a git repo and I want to install it on a new system. where do I clone it? should I somehow split system and per-user configuration so that I can install the later after installing the system?
eadwu has quit [Ping timeout: 250 seconds]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
eadwu has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<schopp0r> infinisil: can I do the same in my per-user nix configuration?
tzemanovic has joined #nixos
<infinisil> schopp0r: Yeah no problem
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<schopp0r> infinisil: ok I will try later. (currently in the train, I cannot checkout the repo here ^^)
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<infinisil> wedens: I personally use home-manager#97 to have NixOS + home-manager combined in a single config
<{^_^}> https://github.com/rycee/home-manager/pull/97 (by rycee, 1 year ago, merged): Experimental NixOS module
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<infinisil> (But it is a bit slow because it always needs to build the full system even if you just want to change a home-manager setting)
eadwu has quit [Read error: Connection reset by peer]
<wedens> infinisil: so, you have all your configuration in /etc/nixos?
tzemanovic has quit [Remote host closed the connection]
<infinisil> wedens: I have it all in ~/cfg, and (you could say) that I set `nixos-config=/home/infinisil/cfg` for doing system rebuilds
__monty__ has quit [Quit: leaving]
<infinisil> You can do it any way you like really, Nix doesn't constrain you in that way
arjen-jonathan has quit [Ping timeout: 264 seconds]
<wedens> infinisil: but you don't have $HOME when you don't have a system yet ;)
<wedens> yeah, that's the problem of not being opinionated. too many options :))
<infinisil> Heh yeah, I guess then it would be somewhere else
arjen-jonathan has joined #nixos
eadwu has joined #nixos
<wedens> I thought of seeding the system from some accessible location and then moving configuration to ~ and re-linking config files. but i'm too spoiled by nix being declarative :)
<infinisil> wedens: I'd recommend a wrapper script for whatever you need for the rebuild
<infinisil> Like I have ~/cfg/deploy/rb for doing a rebuild
<infinisil> It sets up everything relative to itself
<infinisil> So it doesn't matter where I have the config (assuming I didn't mess up somewhere)
tzemanovic has joined #nixos
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
tzemanov_ has joined #nixos
random_yanek has joined #nixos
<schopp0r> hm. how can I search for packages containing certain filenames? (I think I can remember there was something like that)
<symphorien> nix-locate
<infinisil> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended).
<infinisil> (nix-index is the package containing the nix-locate binary)
<{^_^}> [nixpkgs] @Infinisil merged pull request #53106 → fractal: init at 4.0.0 ! → https://git.io/fhLdS
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhtmv
tzemanovic has quit [Ping timeout: 252 seconds]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Infinisil merged pull request #53078 → wings3d: 1.5.4 -> 2.2.1 → https://git.io/fhLuZ
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fhtmL
Dedalo has joined #nixos
<wedens> with `nixos-rebuild dry-build` it's possible to see what'll be built, but how to know what caused the build?
m15k has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #53121 → vimUtils: derive pname from the plugin string → https://git.io/fhtJk
<{^_^}> [nixpkgs] @timokau pushed to master « vimUtils: derive pname from the plugin string (#53121) »: https://git.io/fhtmc
<infinisil> wedens: Generally that's hard to say, there's no mapping from derivations to nix expressions
<wedens> a list of inputs that caused changes downstream or something like that
<infinisil> I recommend using git to track the changes of your config
<wedens> for example, I did `nix-channel --update` and `nixos-rebuild switch --upgrade` and it caused recompilation of my custom emacs derivation. I'd like to know why it was needed to recompile it
<wedens> recompiling emacs on every upgrade doesn't sound good :)
agander_ is now known as agander
<gchristensen> what is custom about your emacs?
<wedens> specific revision in emacs repo
<gchristensen> aye
<gchristensen> it is going to be very common that a channel update causes it to recompile, since emacs has lots of dependencies and it is common for them to change
<wedens> does it make sense to use pinned nixpkgs for emacs derivation?
<wedens> or will it duplicate half of my system?
<gchristensen> how long does the compilation take?
obfusk has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
lucus16 has quit [Quit: lucus16]
tyang has joined #nixos
<wedens> ~1h
<gchristensen> ugly
<wedens> yeah. that's why I'd like to do something about it
<gchristensen> you could pin nixpkgs just for that one
<gchristensen> it would have a penalty for increased disk space, yes, but Nix is always a trade of sanity points for disk space
<wedens> how can I use specific nixpkgs for specific derivation?
<gchristensen> how do you make your custom emacs now?
<wedens> `overrideDerivation` in an overlay
<gchristensen> basically, you probably have a `pkgs.emacs...` thing somewhere, and instead do (import my-custom-emacs {}).emacs.overrideDerivation
<gchristensen> s/my-custom-emacs/my-custom-nixpkgs/
<wedens> `emacs = super.stdenv.lib.overrideDerivation (super.emacs.override { srcRepo = true; }) ...`
<gchristensen> not sure why you do the super.stdenv... bit
<gchristensen> you can just do emacs = super.emacs.override { ... }
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> oh interesting :)
<wedens> so, I can just replace `super.emacs` with `pinned.emacs`?
<gchristensen> yep, that should do it
kisonecat has joined #nixos
jbo has quit [Ping timeout: 250 seconds]
jonreeve has joined #nixos
<jonreeve> I've been having the Pandoc-related error described here: https://github.com/NixOS/nixpkgs/issues/52995
<{^_^}> #52995 (by 8573, 3 days ago, closed): Pandoc fails to build, citing missing dependency `tasty`
<jonreeve> But it doesn't seem to be fixed for me
<jonreeve> (And I'm on unstable)
<jonreeve> I've tried nix-channel --update, but it still fails because of "tasty"
<jonreeve> Anyone know a workaround?
<{^_^}> [nixpkgs] @ikervagyok opened pull request #53127 → [Staging] xorg: updates and cleanup → https://git.io/fhtY0
<ottidmes> jonreeve: you could use an overlay, you could maybe point nixpkgs to the specific commit it has been fixed (with the change that some things will not have been build yet, so it could trigger some builds)
kisonecat has quit [Ping timeout: 246 seconds]
<ottidmes> s/change/chance/ (somehow often make that mistake)
kisonecat has joined #nixos
<{^_^}> [nixos-hardware] @nocent opened pull request #91 → apple: Add support for MacBook 3,X → https://git.io/fhtYi
tilpner has quit [Quit: WeeChat 2.3]
kisonecat has quit [Ping timeout: 250 seconds]
tilpner has joined #nixos
_lawlesseel has quit [Remote host closed the connection]
_lawlesseel has joined #nixos
_lawlesseel has quit [Remote host closed the connection]
<schopp0r> hm. ok. can I also set the nix-channel to a local repo? because I want to have a nix-channel with my patches.
tilpner has quit [Quit: WeeChat 2.3]
<infinisil> schopp0r: No need for a channel, you can use the repo directly, just set `nixpkgs=/path/to/nixpkgs` in your NIX_PATH
tilpner has joined #nixos
<schopp0r> infinisil: but I want to use stable packages otherwise
<infinisil> Then add https://github.com/NixOS/nixpkgs-channels as a remote, and track it's nixos-18.09 branch
<schopp0r> infinisil: "track"?
Dedalo has joined #nixos
<infinisil> `git remote add channels https://github.com/NixOS/nixpkgs-channels && git fetch channels && git checkout nixos-18.09` should do it
<schopp0r> infinisil: I only want to install one package from that repo. To test it and maybe send a pull request.
<infinisil> Oh I see
<schopp0r> infinisil: and maybe dependencies, not sure.
<infinisil> Then you can just build it with `nix-build -A attrpath` and test it with `result/bin/foo`
<infinisil> Within the repo
<{^_^}> [nixpkgs] @jtojnar merged pull request #53104 → libxmlb: 0.1.5 -> 0.1.6 → https://git.io/fhLdc
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fhtOr
<schopp0r> infinisil: what is attrpath?
<infinisil> The attribute path to the package
<infinisil> E.g. `nix-build -A hello` for the hello package
<infinisil> It's what's defined in pkgs/top-level/all-packages.nix
[rg] has joined #nixos
<schopp0r> ah ok. thx.
<{^_^}> [nixpkgs] @jtojnar merged pull request #53105 → gobject-introspection: 1.58.2 -> 1.58.3 → https://git.io/fhLdW
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/fhtOH
agander_ has joined #nixos
<schopp0r> ah btw: I used to maintain bluez-tools, but I no longer do that. should I remove the package, or is there some mark for "orphanned" packages?
_lawlesseel has joined #nixos
<schopp0r> (I mean, it is not good to leave packages like bluez-tools unmaintained, but I do not use it anymore.)
agander has quit [Ping timeout: 245 seconds]
kisonecat has joined #nixos
kisonecat has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @dtzWill opened pull request #2608 → EvalState::resetFileCache: clear parse cache as well as eval cache → https://git.io/fht3F
<{^_^}> [nixpkgs] @timokau opened pull request #53128 → suitesparse: 5.3.0 -> 5.4.0 → https://git.io/fht3p
_lawlesseel has quit [Ping timeout: 256 seconds]
endformationage has joined #nixos
ddellacosta has joined #nixos
<wedens> hm. home manager uses thing like `network.target` in systemd units that are not available in user's systemd (https://github.com/rycee/home-manager/blob/master/modules/services/syncthing.nix#L27)
<wedens> how does it work? (does it?)
ddellacosta has quit [Ping timeout: 250 seconds]
<infinisil> schopp0r: if you want to you can just remove you as a maintainer, but i mostly don't even do that. Even when I don't maintain stuff, i could still be the only person having a slight idea about the package and could help with it
darkf has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53089 → release: add more unstable release-critical jobs → https://git.io/fhLDu
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhtsM
Thra11 has joined #nixos
shabius has quit [Remote host closed the connection]
shabius has joined #nixos
shabius has quit [Max SendQ exceeded]
shabius has joined #nixos
shabius has quit [Remote host closed the connection]
pbb has joined #nixos
shabius has joined #nixos
shabius has quit [Remote host closed the connection]
eadwu has quit [Ping timeout: 250 seconds]
shabius has joined #nixos
[rg] has quit [Read error: No route to host]
kisonecat has joined #nixos
GiGa has quit [Quit: Leaving]
shabius has quit [Remote host closed the connection]
shabius has joined #nixos
shabius has quit [Max SendQ exceeded]
shabius has joined #nixos
shabius has quit [Max SendQ exceeded]
shabius has joined #nixos
shabius has quit [Max SendQ exceeded]
shabius has joined #nixos
<Izorkin> https://github.com/NixOS/nixpkgs/issues/53067 - help to fix this error
<{^_^}> #53067 (by Izorkin, 1 day ago, open): haskel: error build package insert-ordered-containers and uri-bytestring
tzemanov_ has quit [Remote host closed the connection]
astrofog has joined #nixos
boredom101 has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
astrofog has quit [Remote host closed the connection]
sanscoeur has joined #nixos
clefru has joined #nixos
agander_ is now known as agander
shabius has quit [Quit: Leaving]
<clefru> swrast_dri.so wants glibc-2.27 because /run/opengl-driver/lib/dri/swrast_dri.so: /usr/lib/libm.so.6: version `GLIBC_2.27' not found (required by /run/opengl-driver/lib/dri/swrast_dri.so). However my FHS env puts /nix/store/9gfa9yn1r9nxjxcx6ppzg5k4hsxg9gx9-glibc-multi-2.26-131/lib/libc.so.6 into /usr/lib. Can someone point me how to kick that to glibc-2.27 (which is also installed in the /nix/store). I can't seem to find what controls glibc selection,
<clefru> when building the environment. I don't want glibc-multi-2.26 but glibc-2.27. Any hints?
eadwu has joined #nixos
fusion809 has quit [Remote host closed the connection]
sanscoeur has quit [Remote host closed the connection]
cnidario has joined #nixos
<infinisil> clefru: I think updating your system should do the trick
<infinisil> So you have 2.27
<clefru> ignore that question. glibc_multi is hardcoded in build-fhs-userenv.nix
<clefru> infinisil: I do think that my system is fully up2date wrt to the nixos-18.09 channel
ddellacosta has joined #nixos
<clefru> actually it's not. sorry for the noise.
cyounkins has joined #nixos
* clefru needs to find a way to make nix-deploy push a new nixpkgs to the target system.
<infinisil> I'm setting `nix.nixPath = [ "nixpkgs=${/path/to/nixpkgs}" ]` in my config
<pbb> I wondered: is it somehow possible to use the results of the nixpkgs:trunk hydra builds? it is not really a channel, right?
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pbb> (quassel was updated to 0.13 in nixpkgs, and I want to upgrade to that new version, but it is not yet included in the nixos-unstable channel)
<infinisil> pbb: Yeah you can, just `nix-store -r /nix/store/<path-that-hydra-built>` to make that path exist
<pbb> okay, but I would have to retrive the result manually? is there some way to make nix fetch it by adding something to the configuration?
<clefru> infinisil++
<{^_^}> infinisil's karma got increased to 49
<infinisil> :D
<infinisil> pbb: You mean automatically?
<pbb> yes
<infinisil> You need to get the exact nixpkgs version of that build
<infinisil> It's in the inputs tab somewhere
<infinisil> And then build the nix attribute path for that nixpkgs
boredom101 has quit [Quit: Page closed]
<pbb> eh, but how would I import that? I can import that nixpkgs version from source basically, but then it would compile the new quassel system, instead of using the builds from hydra, right?
<infinisil> (can also use `fetchTarball "https://github.com/NixOS/nixpkgs/archive/<revision>.tar.gz"` to get a specific version)
<infinisil> pbb: Nah, if you use the exact same version it will get the builds from hydra without building anything
<pbb> okay, thanks. I'll try that then :)
<infinisil> That's true for every build in Nix: It first checks all your caches whether it was built by them. If yes it fetches those. If not it recurses on the dependencies and builds it itself.
eadwu has quit [Ping timeout: 250 seconds]
<pbb> okay, I thought the binary distribution was somehow linked to the channels. are all results from hydra added to the cache, or only those from channels?
<gchristensen> all the things
<pbb> great
Dedalo has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<pbb> another question: why should I prefer fetchfromgithub over fetchgit?
<infinisil> It uses github's automatically generated tarballs for every revision
<infinisil> Which can be *much* smaller than the full repository
<pbb> okay, so performance?
shibboleth has joined #nixos
<infinisil> Yeah, download speed
cyounkins has quit [Ping timeout: 245 seconds]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
juhe has quit [Remote host closed the connection]
<pbb> now connecting with quassel 0.13 from the cache, worked smoothly ;)
freeman42x[nix] has joined #nixos
dermetfan has quit [Ping timeout: 250 seconds]
alex`` has quit [Quit: WeeChat 2.3]
alex`` has joined #nixos
kisonecat has quit [Ping timeout: 250 seconds]
cyounkins has joined #nixos
dermetfan has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
pointfourone has joined #nixos
pointfourone has left #nixos [#nixos]
eadwu has joined #nixos
shabius has joined #nixos
shabius has quit [Max SendQ exceeded]
shabius has joined #nixos
<infinisil> Noice
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eadwu has quit [Quit: WeeChat 2.3]
pbb has joined #nixos
eadwu has joined #nixos
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<infinisil> Baughn: Hey, regarding Erisia, I'm trying to run the MCU-Bootstrap.jar with https://gist.github.com/cleverca22/f48f709ca4e392be7970b07263f36937
<infinisil> But after the initial loading screen it's only 2 blank windows
<Baughn> RIght.
<Baughn> For starters, try this one instead: https://brage.info/mcupdater/
<Baughn> That's based on the Nixpkgs minecraft derivation.
<infinisil> Oh that was fast! Thanks I'll give it a go
<Baughn> You should delete your ~/.MCUpdater as well. Get a fresh start.
<gchristensen> hey Nix people
<gchristensen> y'all like stuff having to do with pluto, right?
<gchristensen> https://www.youtube.com/watch?v=AiZq6wDgL9U New Horizons is getting to do its fly-by of pluto and what-not
<infinisil> Baughn: Hmm still the same result
<Baughn> That was fast...
<Baughn> gchristensen: We only like *real* planets.
cyounkins has quit [Ping timeout: 246 seconds]
<infinisil> I was able to log in successfully (it didn't throw an error)
<Baughn> You did delete .MCUpdater?
<infinisil> Yeah
<infinisil> It fetched the bootstrap thing
<Baughn> Then... I don't know, I'm afraid.
<Baughn> WorksForMe(tm).
<infinisil> Hmm..
<infinisil> I tried an strace to figure out what libs it needs and wrote this for it: https://paste.infinisil.com/Vze1IibPK8.nix
<infinisil> So the libraries are passed explicitly
<infinisil> And I tried this with Nixpkgs versions back to 17.09 but still no luck
<infinisil> It's probably something with my X setup, I'm just using bare xmonad
<Baughn> MCUpdater itself only needs a small fraction of that.
<Baughn> ...ah. Yes, you need at least the EWMH hooks.
orivej has joined #nixos
<Baughn> Java doesn't work under bare xmonad.
<infinisil> I think I do have that, it's a setting in xmonad
<infinisil> But yeah something might be wrong with it
<Baughn> I don't use it at home. Can't really help.
<Baughn> I recall there was a problem like that, but...
<infinisil> All right thanks, I'll maybe try running a VM with some DE to see if that's it
<infinisil> Ohh
<Baughn> Another victory for Google.
<Thra11> Can somebody point me to an example default.nix or shell.nix which I can adapt to develop a simple C++ application?
<infinisil> It worked!
<infinisil> Thanks Baughn++!
<{^_^}> Baughn's karma got increased to 1
<Baughn> Thra11: It's not C++-specific, but here's *something*: https://github.com/Electrical-Age/ElectricalAge/blob/develop/shell.nix
<Baughn> (A bit out of date. The current gradle version no longer works with the project. ^^;)
<infinisil> Baughn: Hehe, did you seed your file from https://github.com/NixOS/nixpkgs/pull/51350? Seems like it :P
<{^_^}> #51350 (by Infinisil, 4 weeks ago, merged): minecraft: Fix versions <1.13
<Baughn> infinisil: I generated it with %s/minecraft/mcupdater/g
<Baughn> Merging into nixpkgs is still WIP.
<infinisil> Baughn: Oh you got a WIP branch somewhere?
<Baughn> Um, no. I mean I still need to do the factoring work and submit a PR.
<infinisil> I see
<Baughn> Though atm I'm waiting for clarification on a different PR on what the staging branches are for.
<infinisil> Baughn: One other question: Can I generate MCU-Bootstrap.jar myself?
<Baughn> Sure.
<infinisil> I see you have https://github.com/Erisia/builder, it's probably somewhere there
<Thra11> Baughn: Thanks. Looks like it should be ok as a starting point for me.
<infinisil> Baughn: Ohh neat, okay I'll try that
kisonecat has joined #nixos
Xal has quit [Ping timeout: 250 seconds]
<Baughn> infinisil: Oh, and I see I can change that to use https now.
<infinisil> https++
<infinisil> Ah snap, the bot doesn't accept karma for non-users anymore
imalsogreg has joined #nixos
init_6 has quit []
<gchristensen> how can you tell?
<infinisil> Logging users which have said things
Xal has joined #nixos
<gchristensen> neat
infinisil is now known as https
<https> Helloo
https is now known as infinisil
<infinisil> https++
<{^_^}> https's karma got increased to 1
<infinisil> :P
<Baughn> gchristensen: Do you know what the deal is with the staging branches?
<samueldr> https://nixos.org/nixpkgs/manual/#submitting-changes-staging-branch <- previous workflow if it helps understand the new workflow
kisonecat has quit [Ping timeout: 250 seconds]
<obadz> what's the state of the art of open source remote desktop? something hopefully faster than vnc and where I can just remote into an existing X session…
shabius has quit [Remote host closed the connection]
shabius has joined #nixos
shabius has quit [Max SendQ exceeded]
Xal has quit [Ping timeout: 245 seconds]
obfusk has joined #nixos
shabius has joined #nixos
Xal has joined #nixos
random_yanek has quit [Quit: random_yanek]
<hodapp> well, SPICE from Red Hat has been a thing for awhile
<hodapp> if it's specifically X you want, NoMachine NX has also been around awhile and is excellent for speed
<hodapp> I have comfortably used remote X over slow DSL with NX
<simpson> Vanilla Xorg is not that bad. I've used all kinds of things on Xorg over the network.
<hodapp> if "the network" refers to a wired LAN, sure
nDuff has joined #nixos
<hodapp> as soon as any amount of latency is involved, speed goes to crap because of how chatty X11 is and how many operations require round-trips across the network
ryjm has quit [Ping timeout: 245 seconds]
ryjm has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
pie_ has joined #nixos
jmeredith has joined #nixos
drakonis has joined #nixos
kisonecat has joined #nixos
eadwu has quit [Ping timeout: 252 seconds]
agander has quit [Quit: Leaving]
random_yanek has joined #nixos
random_yanek has quit [Max SendQ exceeded]
eadwu has joined #nixos
random_yanek has joined #nixos
<pie_> Mic92, any luck with the bsd bootstrap
Church_ has joined #nixos
kisonecat has quit [Ping timeout: 250 seconds]
<jasom> obadz: why faster than VNC? I find VNC to be reasonably efficient
<jasom> IIRC wayland lacks a network-transparent protocol due to the assumption that VNC-like protocols would be sufficient.
cyounkins has joined #nixos
<jasom> obadz: though note that I find xfreerdp to be more stable than x11nvc (both share your existing x session, the former using the remote desktop protocol and the latter using vnc)
<jasom> obadz: I also find xpra to be reasonably good, but you need to start your session as xpra from the get-go. Unlike the other two solutions it allows you to have remote windows appear as distinct windows on the local machaine (rather than a virtual desktop of the remote machine in a single local window)
<{^_^}> [nixpkgs] @dtzWill merged pull request #36384 → x86_64-musl bootstrap: refresh bootstrap tools package → https://git.io/vAdRX
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fht8M
shibboleth has quit [Quit: shibboleth]
orivej has quit [Ping timeout: 245 seconds]
nDuff has quit [Quit: zzz]
tzemanovic has joined #nixos
eadwu has quit [Ping timeout: 252 seconds]
drakonis has quit [Read error: Connection reset by peer]
eadwu has joined #nixos
jpf137 has joined #nixos
ddellacosta has quit [Remote host closed the connection]
<vaibhavsagar> pbb: fetchFromGitHub internally uses GitHub's builtin support for creating tarballs of a given commit
<vaibhavsagar> oops, scrollback
Izorkin has quit [Ping timeout: 250 seconds]
Izorkin has joined #nixos
irdr has quit [Remote host closed the connection]
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
tyang has quit [Quit: Connection closed for inactivity]
lawlesseel has joined #nixos
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @tex opened pull request #53130 → neovim 0.3.1 -> 0.3.2 → https://git.io/fhtRG
cnidario has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53015 → [18.09] urn: 0.7.1 -> 0.7.2 → https://git.io/fhIGU
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @CrazedProgrammer to release-18.09 « urn: 0.7.1 -> 0.7.2 »: https://git.io/fhtRl
irdr has joined #nixos
goibhniu has joined #nixos
cnidario has joined #nixos
pie_ has quit [Ping timeout: 250 seconds]
jpf137 has quit [Ping timeout: 268 seconds]
eadwu has quit [Ping timeout: 244 seconds]
<pbb> and even though I didn't change anything since the last nixos-rebuild, it still rebuilt the whole thing
erictapen has joined #nixos
sir_guy_carleton has joined #nixos
pie_ has joined #nixos
cnidario has quit [Remote host closed the connection]
slack1256 has joined #nixos
das_j has quit [Remote host closed the connection]
eadwu has joined #nixos
eadwu has quit [Ping timeout: 245 seconds]
erictapen has quit [Ping timeout: 246 seconds]
erictapen has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
eadwu has joined #nixos
<exarkun1> warning: unable to download 'http://nixos-arm.dezgeg.me/channel/5fjfld0kakvh14rvpz8bj5wxm3b0xzbp.narinfo': HTTP error 302 (curl error: Timeout was reached); retrying in 303 ms
cyphase has quit [Ping timeout: 245 seconds]
eadwu has quit [Ping timeout: 246 seconds]
avn has quit [Remote host closed the connection]
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
orivej has joined #nixos
cyphase has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
freeman42x[nix] has quit [Ping timeout: 244 seconds]
cyounkins has quit [Ping timeout: 250 seconds]
cyounkins has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
ambro718 has quit [Ping timeout: 250 seconds]
eadwu has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
<exarkun1> seems to me I should be able to tell nixops to cross-compile a whole system by doing something like https://gist.github.com/exarkun/8b903b7f08b5856e120a32820344c535 but it fails, anyone help me understand why?