worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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 || For best support,
<DigitalKiwi> :D
<gchristensen> DigitalKiwi: hmm making supper, will look in a few minutes :)
<tracer41matrix[m> stay liberal fag
<DigitalKiwi> they're now sanded! just have to hand finish the corners
tracer41matrix[m was banned on #nixos by gchristensen [*!*@gateway/shell/matrix.org/x-fwacfjhcvayaauyi]
<edef> that's a paddlin'
tracer41matrix[m has left #nixos [requested by gchristensen (#NixOS is inclusive, supportive, friendly, and respectful.)]
<DigitalKiwi> happy new year!
<ben> someone help me with my latin homework
<edef> goddamnit ben
<DigitalKiwi> i odn't know latin but i think it says ignorance is no excuse
<ben> "ignorance is legit no excuse" probably
<samueldr> 'tis legit no excuse, see, being ignorant led to a ban!
<DigitalKiwi> how am i not banned
jgeerds has quit [Ping timeout: 260 seconds]
<simpson> That's a pretty funny mistranslation. "Legit". And now I know how far I have to go before I'm bannable.
<samueldr> wilfully ignorant vs. haven't learned yet?
kleisli has quit [Ping timeout: 265 seconds]
<gchristensen> dang, samueldr is saying everything I want to say, perfetly
<samueldr> perfectly
<samueldr> :3
<gchristensen> you did it again!!
<edef> simpson: i mean, i think we'd all appreciate if you don't push it that far either q=
erasmas has quit [Quit: leaving]
<samueldr> *cracks thesaurus open* DigitalKiwi an uneducated or unknowledgeable person is not an issue; compared to an insensible impolite ill-mannered person!
<simpson> edef: Oh, of course I don't want to, but simply by being myself, I'm often mistaken (?) for a troll or a troublemaker. Additionally, as of the past few years, I'm usually not very nice, and I've been banned from IRC channels just for not being sufficiently obsequious.
<craige> Heppy New Year :-) Am I correct in my assumptin that I cannot specify a generation to rollback to for `nixos-rebuild switch --rollback` ?
<DigitalKiwi> simpson: i suspect the line is somewhere before what they did but they landed on go to jail do not pass go
<gchristensen> simpson: I usually find you to be earnest, not a troll :)
<clever> craige: but you can use nix-env -p /path/to/profile --rollback or --set to just go to a certain build
<samueldr> abrasive sometimes, but you're still genuine at least
<simpson> craige: It doesn't appear so, no. I know that you ought to be able to reboot into any prior generation that's still configured in the bootloader, at least.
<gchristensen> samueldr: help I think we've mind-melded
<DigitalKiwi> i tried to troll once and isntead gchristensen explained how nix does IO
<craige> Thanks clever simpson :-)
<lovesegfault> clever simpson, lol
<edef> craige: you can do nix-env -p /nix/var/nix/profiles/system --set /nix/var/nix/profiles/system-42-link && /nix/var/nix/profiles/system/bin/switch-to-configuration switch
<edef> craige: (as root)
mbrgm_ has joined #nixos
<edef> craige: replace with appropriate generation ofc
mbrgm has quit [Ping timeout: 268 seconds]
mbrgm_ is now known as mbrgm
<zeta_0> just curious, how many people use nixos compared to other linux distros like debian/ubuntu ?'
<samueldr> in general, or here on this channel?
<zeta_0> in general
<samueldr> (I don't have an answer for in general)
<samueldr> here on this channel there's more nixos users that's for sure :)
<craige> Thanks edef
<ivan> probably safe to say 'fewer people use nixos than debian or ubuntu'
o1lo01ol1o has quit [Remote host closed the connection]
<shapr> yeah, but look at the market share
<shapr> from what I'm seeing, many ops people are learning nixOS
<shapr> and devs too, because it saves you compile time
justanotheruser has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<zeta_0> cool, i am glad that i discovered nix, it has saved me from a lot of pain and suffering(dependency hell, and so forth), it's automation capabilities are enjoyable to use
o1lo01ol1o has joined #nixos
<Diogenes-> Heya shapr!!
<shapr> howdy Diogenes-
<Diogenes-> shapr: Enjoying learning nix/nixOS?
<zeta_0> not having to manually set things like path env vars is nice, in ubuntu i used to make little typos when adding/changing an env var, and it would cause the whole system to crash, then i would have to install ubuntu from a flash drive all over again
<shapr> Diogenes-: mostly distracted by job interviews
<Diogenes-> heheh
<Diogenes-> Any good ones?
erictapen has quit [Ping timeout: 265 seconds]
* Diogenes- is fighting bash and jenkins today
<shapr> yeah, I'm traveling to Brooklyn soon for one
<Diogenes-> Nice!
<shapr> they gave me coding homework, I wrote some Haskell, they liked what I did
<Diogenes-> Let me know when, we could grab lunch again
<Diogenes-> Or well finally grab lunch haha
AstroBadger has joined #nixos
<shapr> yeah, sounds like fun to me
erictapen has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
<clever> gchristensen: was just thinking, one case where zfs dedup would be better then nix-store --optimize, is when snapshots get involved
<clever> gchristensen: if you delete, a file, but a snapshot holds a copy, and then you remake it, nix cant dedup, but zfs could
<clever> but its better to just not snapshot /nix
takeda has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ericson2314 pushed 310 commits to mkderiv-env: https://git.io/JexSC
<lovesegfault> The aarch64 jobs always linger :/
noudle has quit []
<lunik1> it was ultimately the same issue as https://github.com/NixOS/nixpkgs/issues/23196 if somebody comes in with the same issue
<{^_^}> #23196 (by nihil-2019, 2 years ago, open): Wi-Fi fails to work when connman is enabled with networking.connman.enable = true.
<{^_^}> [nixpkgs] @MicrosoftTakeover closed pull request #73727 → soundfont-fluid: Update Mirror → https://git.io/JeKgQ
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<gchristensen> lovesegfault: ehh evaluation failed
MmeQuignon has quit [Ping timeout: 260 seconds]
<lovesegfault> gchristensen: Which one?
gustavderdrache has joined #nixos
<gchristensen> the most recent onte
<lovesegfault> hmm
<gchristensen> it seems IFD has snuck in to the evaluation
<lovesegfault> IFD?
<gchristensen> Import From Derivation
<lovesegfault> Ah, I think that's an older eval than my change though
<lovesegfault> the input is commit 74404831384768744c2705bd9d6f4cc31b2620c4
<gchristensen> look at the evaluation log, you can see "copyin from ..." that means it is about to build, but it should *never* build during evaluation
<{^_^}> [nixpkgs] @ryantm merged pull request #76208 → bcftools: 1.9 -> 1.10.2 → https://git.io/JexSr
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JexSo
<lovesegfault> Oh, yeah
<lovesegfault> hmmm
<gchristensen> we might have to revert #75031 -- still checking, but that seems most likely
<{^_^}> https://github.com/NixOS/nixpkgs/pull/75031 (by Infinisil, 4 weeks ago, merged): Module system improvements for NixOS as a submodule
<lovesegfault> gchristensen: I can bisect, how do I repro that?
<gchristensen> looking ...
<gchristensen> nix-instantiate nixos/release-combined.nix -j0 I think
<{^_^}> [nixpkgs] @danjuv opened pull request #76851 → bazel: 1.2.1 -> 2.0.0 → https://git.io/JexSX
<clever> $ nix show-config | grep import
<clever> allow-import-from-derivation = true
<clever> gchristensen: if you set that to false with --option, it will hard fail on all IFD
<gchristensen> great idea
<gchristensen> I thought I already had something like that working
<clever> also, just parsing the nixpkgs release.nix, would generate ~20,000 drv files in /nix/store/
<clever> that broke my system, back when i ran btrfs, lol
<lovesegfault> reproducing...
<gchristensen> hah
<edef> just 20k? that must've been a while back
<clever> rough number, cant remember exactly
<gchristensen> yikes, the PR which did this should have fixed all the tests: trace: warning: The option `boot.extraTTYs' defined in `/home/grahamc/projects/github.com/NixOS/nixpkgs/nixos/modules/services/misc/nixos-manual.nix' has been renamed to `console.extraTTYs'.
<clever> edef: it also didnt complete, it crashed the system hard, forcing a reboot
<edef> just realised i can expose implementation details of initEnv
<lovesegfault> gchristensen: Yeah, I'm about to go fix this
<lovesegfault> I'm getting so many errors :(
<gchristensen> same
<gchristensen> thank you <3
<lovesegfault> <3
<lovesegfault> gchristensen: Eh, that command worked here
<gchristensen> hmm
<{^_^}> [nixpkgs] @lovesegfault opened pull request #76852 → nixos-manual: boot.extraTTYs -> console.extraTTYs → https://git.io/JexSH
<lovesegfault> gchristensen: ^
<gchristensen> lovesegfault: I think nixos/modules/services/misc/rogue.nix needs fixing too, you're on fire today!
jluttine has quit [Ping timeout: 265 seconds]
<lovesegfault> looking at it :)
<lovesegfault> gchristensen: I'm on vacation and at my inlaws' house, never had so much free time
<gchristensen> :')
Rusty1 has quit [Remote host closed the connection]
<noonien> is there a nice way of running .desktop files from the terminal?
<lovesegfault> gchristensen: Alright, added a commit to that PR that fixes rogue :)
<lovesegfault> noonien: Not really, I use awk to parse them
<drakonis> there's a rogue service
<drakonis> ?
<lovesegfault> drakonis: apparently
<drakonis> apparently its available in the install cd?
<lovesegfault> gchristensen: Trying nix-instantiate nixos/release-combined.nix -j0 again
<drakonis> so i can play rogue while nixos installs
<drakonis> genius
<clever> lovesegfault: nix-instantiate isnt as recursive as hydra
<DigitalKiwi> if you have internet access everything's available
<lovesegfault> clever: Hm?
LLED2_2 has quit [Read error: Connection reset by peer]
<clever> lovesegfault: it wont get the deeper attributes that hydra would eval
<lovesegfault> clever: I see :/
LLED2_2 has joined #nixos
<lovesegfault> And I'm guessing I can't emulate that behavior easily?
<clever> lovesegfault: its very easy
<clever> lovesegfault: https://github.com/input-output-hk/iohk-nix/blob/master/ci/check-hydra.sh just run hydra-eval-jobs with the right args
<clever> lovesegfault: no need for any config file or postgresql database
drakonis has quit [Quit: WeeChat 2.7]
<lovesegfault> :O
<lovesegfault> Can I just steal your script?
<clever> lovesegfault: mostly, you only need line 13-16
eoli3n_ has quit [Quit: WeeChat 2.7]
drakonis has joined #nixos
m0rphism has quit [Ping timeout: 268 seconds]
alexherbo2 has joined #nixos
<lovesegfault> clever: Trying
eacameron has quit [Quit: Connection closed for inactivity]
<lovesegfault> ~find hydra-eval-jobs
drakonis has quit [Client Quit]
<lovesegfault> tsc
<clever> lovesegfault: its in pkgs.hydra
<lovesegfault> clever: thx :)
<lovesegfault> clever: error: access to path '/nix/store/p0xhic15fgy60rd3iig5gaqmwmcsdlfj-nixpkgs' is forbidden in restricted mode
<lovesegfault> should I care about warning: `--gc-roots-dir' not specified?
<clever> lovesegfault: restricted mode is on, so only paths you specify with -I can be visible
<{^_^}> [nixpkgs] @earksiinni opened pull request #76854 → linuxPackages.prl-tools: remove version assertion → https://git.io/Jex9O
<clever> lovesegfault: `--gc-roots-dir` just stops things from GC'ing the .drv files its creating, so hydra has a chance to use them
<lovesegfault> I see
<lovesegfault> clever: How do I disable restricted mode OR correctly specify -I?
* lovesegfault fiddles
<clever> lovesegfault: give it a -I that includes the path its trying to access
<lovesegfault> oh oh, I see
<clever> -I . is often enough
<clever> if your working on the current dir
<lovesegfault> error: access to path '/home/bemeurer/src/nixpkgs' is forbidden in restricted mode
<lovesegfault> Hmmm
<clever> lovesegfault: what args did you give it, and what dir did you run it in?
<clever> lovesegfault: `-I .` only allows access to the nixos subdir, you want `-I ..`
<lovesegfault> Aha! of course
<clever> lovesegfault: you want to be cd'd into the root of nixpkgs, and give the command a path of nixos/release-combined.nix
<clever> then `-I .` will also refer to the root
alex`` has joined #nixos
<lovesegfault> clever: ❯ hydra-eval-jobs --option allowed-uris "https://github.com/NixOS" -I . nixos/release-combined.nix
<lovesegfault> like such?
<lovesegfault> (that also errors)
<clever> lovesegfault: allowed-uris is also impure, and shouldnt be involved
<clever> lovesegfault: but you will want to set the flag to disallow IFD
<lovesegfault> removed allowed uris
<lovesegfault> > error: access to path '/nix/store/75rcwsad4p0840jhr4xmmw89k6ic2h8b-nixpkgs' is forbidden in restricted mode
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):272:23
<lovesegfault> godammit
<clever> lovesegfault: you may need to include the copy of nixpkgs in /nix/store, in the -I list
<lovesegfault> bingo!
<lovesegfault> I hate restricted mode
<lovesegfault> I want it gone
<lovesegfault> :P
<clever> lovesegfault: it stops the very kinds of impurity your trying to fix :P
<lovesegfault> I need that scroll of truth meme
<{^_^}> [nixpkgs] @grahamc merged pull request #76852 → nixos-manual: boot.extraTTYs -> console.extraTTYs → https://git.io/JexSH
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/Jex9B
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jex90
jb55 has quit [Ping timeout: 240 seconds]
<gchristensen> what the heck
<gchristensen> why can't I reproduce this
<lovesegfault> gchristensen: I am struggling
<lovesegfault> this is driving me nuts
<gchristensen> wat
logzet has quit [Ping timeout: 248 seconds]
<lovesegfault> I stole the script from clever, and now I'm manually having to add these damn include paths
jb55 has joined #nixos
<gchristensen> clever: can you take a look?
* clever looks
<clever> lovesegfault: when you edit the shell script, it changes the contents of ., which changes the /nix/store/hash-nixpkgs hash
<clever> lovesegfault: you want to put the shell script outside of nixpkgs
<gchristensen> I mean more specifically, the hydra evaluation problem :P
<lovesegfault> clever: the script is in my homedir
<clever> lovesegfault: whats the current error?
bvdw has quit [Read error: Connection reset by peer]
ng0 has quit [Quit: leaving]
bvdw has joined #nixos
infinee has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos
lunik1 has quit [Quit: :x]
shajra is now known as tnks
syd has joined #nixos
<syd> has anyone recently built an android app with nix?
evils has joined #nixos
<jared-w> clever: ... does that check-nix-tools stuff run code gen and then commit the results automatically?
<clever> jared-w: link?
<evils> ,jt kjd jdpp g; mt patsfk ;dk ks x,dokt{ g kjglv gkq; ndiaf;d sy kjd g18leisl;spdVdtmar ijaluglu ks isl;spdevdtmareeew gk yfivdh fr xfgkd jaoheee
<clever> evils: cat?
<evils> iak
<jared-w> clever: looks like they're australian and have their encoding backwards instead of upside down
<jared-w> https://github.com/input-output-hk/iohk-nix/blob/master/ci/check-nix-tools.nix was what I saw when looking at the script you linked to lovesegfault
<evils> clever: it's dvorak encoded anger about nix having fucked up my layout
<clever> jared-w: ah, builtkite supports uploading artifacts when the build is done (pass or fail), and this one just uploads a .patch file (line 61)
<clever> jared-w: it is up to the developer to either run `regenerate.sh` themselves, or apply the patch file
<clever> evils: ah, lol
<clever> evils: id need a decoder wheel to translate!
<evils> g hdmalh tsf jdpr md hdnfu kjg; .ga kjg; glismrodjdl;gnpd lsl;dl;dw kjg; g; flaiidrkanpdw nflij sy x,dokt nga;dh na;kaoh hd.dpsrdo;!
drakonis has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
<clever> evils: lol, who would have thought to make sucha tool!
hpfr has joined #nixos
Rusty1 has joined #nixos
<jared-w> someone else who regularly tries to run linux with a broken keyboard, apparently /s
<evils> clever: now i remember why i have a keyworded bookmark for "qwerty"
<evils> also i suddenly remembered i have a key combo to toggle between qwerty and dvorak...
<jared-w> evils: does your keyboard do hardware level mapping for layouts?
<evils> so either that's persisted between reboots, or nixos fucked up
<evils> jared-w: got a new keyboard, i believe i can set that, i don't believe i have
<jared-w> evils: I once tried to learn dvorak without using a keyboard that could set it at the hardware level; instant regret. Now the most pain I inflict on myself is mapping esc+ctrl to caps
<jared-w> I just use too many computers, or there's a surprisingly vast amount of stuff out there that breaks on other keyboard layouts or when you wanna set stuff to a non default, or what not. So I was already suffering with going out of my way to run linux and I gave up on the alternative keyboard layout :p
<evils> jared-w: everything i touch is set to dvorak, no pain, until i got this poisoned gift, shit got so fucked up with this, i can't even access my bios xD
<jared-w> lol
<{^_^}> [nixos-channel-scripts] @samueldr opened pull request #30 → mirror-branch: Bails when failing to run nix-instantiate → https://git.io/Jex9Q
<evils> uefi doesn't seem to accept usb as an input, while trying to fix that i got to a point where it would accept usb when my ps/2 keyboard was plugged in, and now it accepts neither
<gchristensen> jared-w: (please try to avoid profanities in here :))
<evils> nor does grub
<evils> gchristensen: you mean me?
<gchristensen> oops, yeah
<jared-w> Its cool, he pegged me on it like two weeks ago so it was probably force of habit :p
* jared-w flips table at hydra queue--10 machines and all of them "idle"
<jared-w> I am moderately proud of my beautiful hack to auto login people into Hydra though (it's a private hydra so there's only really one user and nobody cares)
<evils> lets see if it's just X remembering my keyboard layout state between reboots, then i just have corsair and asrock to swear at (though the segfaults at shutdown aren't nice)
<jared-w> evils: segfaults at shutdown? Because of a keyboard layout? o.O
<evils> no, because of nixos
<evils> or because latest kernel
<{^_^}> [nixpkgs] @danielfullmer opened pull request #76855 → zoneminder: Fix installation location for cgi-bin → https://git.io/Jex95
<evils> i should probably refrain from listing my swear worthy grievances with nixos...
<jared-w> I just wrote a few lines of ugly JS and crammed it in the hydra "tracker" thing. It checks to see if something in the login button exists and if it does, it programmatically submits the form hardcoded with the admin user/password.
<jared-w> evils: latest kernel is pretty much always working nicely for me...
<evils> i've been having intermittened (though reliable per version i think) segfaults/hangs at shutdown since 5.1 i think (and that's just when i started using the latest kernel)
evils has quit [Remote host closed the connection]
evils has joined #nixos
h0m1 has quit [Ping timeout: 248 seconds]
<evils> yay, its nixos' fault...
h0m1 has joined #nixos
<evils> neither services.xserver.layout nor .xkbOptions are working it seems
<{^_^}> [nixos-channel-scripts] @grahamc merged pull request #30 → mirror-branch: Bails when failing to run nix-instantiate → https://git.io/Jex9Q
<{^_^}> [nixos-channel-scripts] @grahamc pushed 2 commits to master: https://git.io/JexHf
<evils> so my toggle doesn't work, but started working earlier...
<Diogenes-> Hmm, with the jellyfin service. Anyone suddenly getting forbidden when hitting it?
<evils> at least 'setxkbmap dvorak' still works
rogue_koder has quit [Ping timeout: 260 seconds]
<Diogenes-> Wonder if the jellyfin package was updated...
<Diogenes-> Hmm
<syd> can anyone here help me with building an android app?
<hpfr> on nixos-unstable using the home-manager module, getting "the option home-manager.users.lh.programs.readline does not exist" when I try to rebuild
<hpfr> hasn't changed for 25 days, what am I doing wrong? https://github.com/rycee/home-manager/blob/master/modules/programs/readline.nix
<evils> syd: if it's nix related, maybe try #nixos-aarch64, the mobile-nixos people hang out there i believe, otherwise, maybe an android specific channel?
<syd> okido thanks!
<syd> this is so much more difficult than it should be
jluttine has joined #nixos
rogue_koder has joined #nixos
<mla> how might i make firmware available to the initrd? it seems like the hardware.firmware option doesn't get loaded there but i need to pull in an edid firmware file for drm to be loaded properly in early stage
takeda has joined #nixos
<lovesegfault> clever: Had to go to the bank
<lovesegfault> clever: error: access to path '/nix/store/7wghnp6s3bgwqj16j98cb68p08lw9qjh-nixpkgs' is forbidden in restricted mode
<lovesegfault> every time I add a path of an error like this it errors again with a different path
<clever> lovesegfault: run `diff -ru` on 2 versions of that path, from the errors
<clever> lovesegfault: how do they differ?
selfsymmetric-mu has joined #nixos
<clever> lovesegfault: your leaving an eval.json in the directory, which changes its hash
<lovesegfault> clever: Duh! bingo!
<{^_^}> [nixos-channel-scripts] @samueldr opened pull request #31 → mirror-branch: Exit with actual exit status → https://git.io/JexHR
<lovesegfault> clever: error: syntax error, unexpected ':', expecting '.' or '=', at /nix/store/swrfsj1h8anqqhvi6qz5dkgajz3xvc40-test.json:1:10
<lovesegfault> a new one!
<clever> lovesegfault: and if you read the json, what do you see?
<lovesegfault> looking
<lovesegfault> jq breaks with it too
<lovesegfault> Actually, scratch that
<lovesegfault> it works just fine
<lovesegfault> it's used in nixos/tests/certmgr.nix
<lovesegfault> scratch that
justanotheruser has quit [Ping timeout: 260 seconds]
Hedgework has quit [Quit: ZNC - http://znc.in]
HedgeMage has quit [Quit: Real life calls!]
<evils> any idea why X11 isn't using the keyboard options? they're in /etc/X11/xorg.conf.d/00-keyboard.conf (via configuration.nix)
HedgeMage has joined #nixos
Hedgework has joined #nixos
<{^_^}> [nixos-channel-scripts] @grahamc merged pull request #31 → mirror-branch: Always exit with 1 on nix-instantiate error → https://git.io/JexHR
<{^_^}> [nixos-channel-scripts] @grahamc pushed 2 commits to master: https://git.io/JexHD
<{^_^}> [nixpkgs] @fpletz merged pull request #76801 → chirp: 20191123 -> 20191221; add support for chirp.drivers.tk8180 → https://git.io/Jexsv
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JexH9
<{^_^}> [nixpkgs] @fpletz merged pull request #76756 → hyperrogue: 10.5e -> 11.2d → https://git.io/JeAAL
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JexHH
jonten has joined #nixos
Lears has joined #nixos
takeda has quit [Ping timeout: 258 seconds]
elux has joined #nixos
[Leary] has quit [Ping timeout: 260 seconds]
* gchristensen watches, waits
* gchristensen prods tokudan to watch, too
ditadi has joined #nixos
ditadi has quit [Changing host]
ditadi has joined #nixos
<lovesegfault> gchristensen: Nice
<lovesegfault> I gave up on repro-ing it :P
<gchristensen> ah I managed to
<turq> i can "nix-build" without a problem, but i can't "cabal new-build" within a nix-shell due to the lack of a library. i've tried referencing /nix/store/LONG_STRING_zlib-VERSION/lib with --extra-lib-dirs, but I only see .drv files for the version needed
<{^_^}> [nixpkgs] @anmonteiro opened pull request #76856 → ocaml rresult: Add the `result` compatibility package as a build input → https://git.io/JexQR
jerryaldrichiii has joined #nixos
gustavderdrache has left #nixos [#nixos]
<{^_^}> [nixpkgs] @Infinisil opened pull request #76857 → Apply `disabledModules` recursively → https://git.io/JexQV
<jerryaldrichiii> Hey all :D I have a question regarding pinentry/gnupg. TL;DR: Getting "attribute 'flavors' missing at /PATH/modules/service/gpg-agent.nix:134:41" during a rebuild. Any ideas?
<fpletz> jerryaldrichiii: you need to use the 19.09 branch of home-manager since you're using nixos 19.09
<jerryaldrichiii> This sounds plausible! Let me check. Thanks fpletz
<gchristensen> infinisil: I'm afraid your PR merge might need to be reverted
<jerryaldrichiii> Ah, yeah. Looks like I'm pulling master. I'll fix that and try again.
<infinisil> gchristensen: What did it break?
<gchristensen> I think it is causing IFD during the evaluation of nixos
<gchristensen> still verifying
alexherbo22 has joined #nixos
<gchristensen> it is slow to bisect evaluating all of nixos :P
<infinisil> Oh hm that shouldn't be, I'll check it out
<elux> hi guys. has anyone heard of a situation where the system boots, i can use my keyboard but after a few seconds after logging into the tty, the keyboard is completely unresponsive? i literally have enough time to write `journalctl -f` perhaps its not just the keyboard, its the entire system? but if i hit the power off switch on the box, it shuts down safely with systemd sequence..
<gchristensen> infinisil: I'm onthe last step of the bisection
<elux> this configuration.nix has worked just fine on another machine of mine (this one), with some very minor adjustments to it ..
<gchristensen> and also I'll need to improve ofborg to detect this better
<infinisil> gchristensen: We're talking about https://github.com/NixOS/nixpkgs/pull/75031, right?
<notgne2> elux: does the system remain responsive if you were to SSH into it?
<{^_^}> #75031 (by Infinisil, 4 weeks ago, merged): Module system improvements for NixOS as a submodule
<gchristensen> yeah, infinisil
alex`` has quit [Ping timeout: 260 seconds]
<elux> notgne2: i haven't tried that, ssh is off on this box, but thats worth a shot anyways
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo22 is now known as alexherbo2
<notgne2> I had an issue a bit like that (but probably with less than enough time to login), it turned out to be an issue with the kernel version and graphics drivers
<infinisil> gchristensen: What command are you using for the bisection?
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/ad1e1af5ad3 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
felixfoertsch23 has joined #nixos
<notgne2> over SSH it was a lot easier to notice and find the exact error, leading pretty quickly to the solution
<gchristensen> infinisil: hydra-eval-jobs -I /nix/store/vffnn407yn933if249gsp9aj2pqmwdv5-nixpkgs -I nixpkgs=$(pwd) ./nixos/release-combined.nix
<elux> perhaps its a graphics driver thing.. im just in the console so far tho
<gchristensen> infinisil: specifically, it is failing because it is trying to IFD on https://github.com/NixOS/nixpkgs/blob/804678f9ea5222bb8a6c011639b0735ca9b8d64c/nixos/tests/certmgr.nix#L121 but I don't see any related changes in this file
alex`` has joined #nixos
wucke13 has quit [Quit: ZNC 1.7.4 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.4 - https://znc.in]
mumuluxi has joined #nixos
<infinisil> gchristensen: Looks like that module does IFD though, so probably my change just uncovered this?
<gchristensen> does it? hmm
felixfoertsch has quit [Ping timeout: 265 seconds]
wucke13 has joined #nixos
<infinisil> > toString (pkgs.writeText "foo" "bar")
qubasa_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> "/nix/store/di8jjcd2lrz7rqxp0kv005kxafir51cy-foo"
<gchristensen> that isn't IFD on its own
greizgh has quit [Quit: greizgh]
<infinisil> Oh right
<gchristensen> Nix knows the out path statically
greizgh has joined #nixos
takeda has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f7bc9886f9d (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<elux> i got it. my desktop had powertop enabled, perhaps this was it..
andi- has quit [Remote host closed the connection]
qubasa has joined #nixos
<jerryaldrichiii> fpletz: That did it (pinning to release-19.09 branch) thanks a bunch!
felixfoertsch23 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<infinisil> gchristensen: What specifically is the error?
domogled has joined #nixos
<infinisil> Is it IFD or is it just importing a ./nixpkgs path into the store?
thomashoneyman has joined #nixos
felixfoertsch has joined #nixos
<gchristensen> IFD
<infinisil> Error?
<gchristensen> one moment, I'll get you more info (currently on 2 problems)
andi- has joined #nixos
<gchristensen> https://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-errors -> error: a 'aarch64-linux' with features {} is required to build '/nix/store/9y4r9bn97zrac02cj2fhbp6ncv0f20zp-test.json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
<infinisil> Yeah just checked that out too, hmm...
<gchristensen> and my bisect is like 30s away from being complete
<gchristensen> aaaand the garbage collector started.
<infinisil> gchristensen: Oh, check out `nix-instantiate nixos/tests/certmgr.nix`
<infinisil> error: syntax error, unexpected ':', expecting '.' or '=', at /nix/store/7jkffc96jmjyh55b8k99252wsrklhg6q-test.json:1:10
<lovesegfault> Yep
<gchristensen> O.o
<lovesegfault> I ran into that
<infinisil> Seems like it's trying to read a json file as nix
<gchristensen> it bisects to eec83d41e3e7d9ad5bc1086198d972d55bab1203
<lovesegfault> that's the file passed through jq, btw
<gchristensen> infinisil: yeah, that matches up with the contents of eec83d41e3e7d9ad5bc1086198d972d55bab1203
<gchristensen> I think
<infinisil> Hm I have a slight idea
<gchristensen> oh?
<infinisil> The path.check there
<infinisil> I think that toString's the argument
<gchristensen> ah
<infinisil> Wait
<infinisil> How is that IFD
<johnw> gchristensen: hi!
<gchristensen> hey, johnw! :)
<infinisil> Removing that path.check test indeed makes the nix-instantiate succeed
<infinisil> Though I'm not sure why
<gchristensen> infinisil: I think you're trying to check that the file at the other end of that path is a valid nix module
<infinisil> Ahh yes
<infinisil> Well
<infinisil> When path.check is true, it indeed should import that file
<gchristensen> I think maybe that means this part of your PR should be reverted
<infinisil> We could do that, but first I want to see if I can fix it before I go to sleep
<syd> evils: I can't seem to contact anyone on #nixos-aarch64
<gchristensen> okay
<gchristensen> infinisil: but if it requires changith the certmgr module, I'd prefer you revert for now and take another look tomorrow if that is okay
<evils> syd: i don't think there's a lot of people in the overlap between nixos and mobile...
<syd> hm, I guess so
<syd> how about the relex people
<syd> they seem to do it
<syd> no not relex
<syd> reFlex
<syd> obsidian!
jonten has quit [Ping timeout: 265 seconds]
<lovesegfault> syd: What?
<syd> the people who work at obsidian
<infinisil> gchristensen: Depends on what the fix is. If it's dead simple I don't want to revert
<syd> obelisk allows people to build android apps right
<syd> so they must know _something_ about it
<gchristensen> infinisil: yeah, but requiring us change the module means perhaps lots of users' modules will be broken
<infinisil> Hm yeah depends on what the problem is
<gchristensen> and that is the point where I'd like to think a bit more
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ec29bb50bf4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f7bc9886f9d (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @zowoq opened pull request #76858 → docker: 19.03.4 -> 19.03.5 → https://git.io/JexQN
alex`` has quit [Ping timeout: 258 seconds]
lunik1 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
<infinisil> gchristensen: Ohhh I see the problem
<gchristensen> ooh?
<infinisil> The certmgr module uses `either` to allow a submodule or a path
<infinisil> But now that submodules can be paths too, this is a problem
<gchristensen> ...hm
* infinisil is thinking
syd has quit [Remote host closed the connection]
<gchristensen> uhhh.... hrm.
<gchristensen> > builtins.compareVersions (builtins.parseDrvName "20.03pre206786.62ef779f2a5").version (builtins.parseDrvName "20.03pre207234.ec29bb50bf4").version
<{^_^}> 0
<gchristensen> oops that isn't what I meant to do
<{^_^}> [nixpkgs] @thefloweringash opened pull request #76859 → uboot: add ubootBananaPim3 for Banana Pi M3 → https://git.io/JexQj
<gchristensen> > builtins.compareVersions (builtins.parseDrvName "nixpkgs-20.03pre206786.62ef779f2a5").version (builtins.parseDrvName "nixpkgs-20.03pre207234.ec29bb50bf4").version
<{^_^}> -1
<gchristensen> :/
<thefloweringash> is that wrong?
<gchristensen> no, but something else is going wrong
<infinisil> gchristensen: I'll revert the commit and make a PR to fix it (by making the default behavior to not allow paths as values)
<gchristensen> infinisil: sounds great, how about you do a revert, I'll trigger an eval to try and get nixos-unstable updated before merging the updated patch?
<thomashoneyman> quick qustion: anyone have a link to docs on using a nixpkgs overlay on a nested attribute?
<thomashoneyman> specifically, i want to write a ~/.config/nixpkgs/overlay.nix file
<thomashoneyman> which overrides vimPackages.<plugin>
<infinisil> gchristensen: Want a PR for the revert? I'd just push it directly to master
<gchristensen> infinisil: I'd say ahead to master, but if it goes wrong it is doubly awkward :P
<gchristensen> (up to you)
<thomashoneyman> a naive `super: self: { vimPlugins.<plugin> = super.vimPlugins.<plugin>.overrideAttrs ... `
<infinisil> Will do that then
<{^_^}> [nixpkgs] @Infinisil pushed to master « Revert "lib/types: Allow paths as submodule values" »: https://git.io/Jex7J
<gchristensen> okay queueing an eval
<lovesegfault> infinisil: Sweet
<gchristensen> https://status.nixos.org/ is gonna be so green soon
<thomashoneyman> ...never mind, i see the issue is that this is supposed to be a list of overlays
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ec29bb50bf4 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<lovesegfault> YEEEEEES
<lovesegfault> YES
<lovesegfault> Wait
<lovesegfault> nixpkgs
<gchristensen> lovesegfault: that was nixpkgs- :)
<lovesegfault> dammit
<lovesegfault> gchristensen: Yes, I have stopped jumping
<gchristensen> I am quite late for bed
<gchristensen> but will stick around a few minutes to watch this eval
<lovesegfault> :D
mcbeth has quit [Ping timeout: 268 seconds]
<lovesegfault> This reminds me I need to email Mathieu
* gchristensen is on vacation
<lovesegfault> gchristensen: I will tell on you, that you are ~gasp~ Working on vacation!
<gchristensen> this is hobby!
<lovesegfault> I'll be honest some parts of my work are so close to my hobby I have to squint to differentiate
<gchristensen> Emily regularly asks "are you working or is this for fun?"
* lovesegfault does not know Emily
<gchristensen> spouse
<lovesegfault> Ah :)
<lovesegfault> Lol my wife says the same thing
<lovesegfault> but with a more presumption of guilt; "stop working!"
<gchristensen> :)
<gchristensen> better follow instructions
<gchristensen> lovesegfault: if you have some more free time, I just saw these notices fly by: https://gist.githubusercontent.com/grahamc/5012f6fd9b3f3239b73b4425f594e804/raw/6a33c27b8e757d391c6f36aa372f4c72e44ef9a3/gistfile1.txt
<gchristensen> ignore the warning at the top
<lovesegfault> gchristensen: I do, I'll fix it in a jiffy
<gchristensen> MVP of the day
<lovesegfault> I'm finally getting up to speed on Nix
<lovesegfault> I had forgotten how long it took me to be able to contribute well to Gentoo and understand ebuilds
<lovesegfault> Nix took about the same
<gchristensen> oh cool
<gchristensen> that is encouraging
<lovesegfault> We use it at work, I think that helps
<{^_^}> [nixpkgs] @Infinisil opened pull request #76861 → lib/types: Allow paths as submodule values → https://git.io/Jex7O
<lovesegfault> and I had a lot of babysitting from andi- and tobias who contract for us
<infinisil> Alright PR for the re-revert (plus backwards compatibility fix) ^^
<lovesegfault> Nice :D
<thomashoneyman> i'm trying to override a vim plugin's environment variables
<tbenst[m]> I'm having a heck of a time trying to get `nix.sshServe` working. Anyone have experience? https://github.com/NixOS/nixpkgs/issues/76860
<{^_^}> #76860 (by tbenst, 4 minutes ago, open): Cannot connect to Nix store via SSH
<thomashoneyman> specifically, the WAKATIME_HOME variable is usually set to $HOME
<thomashoneyman> but when it gets built via Nix it uses /homeless-shelter instead
<gchristensen> infinisil: I don't feel qualified to review it, but thank you :)
<infinisil> Yeah no worries
<infinisil> Doing a bunch of stuff on the module system lately
<infinisil> #76857 is also nice
<gchristensen> :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/76857 (by Infinisil, 1 hour ago, open): Apply `disabledModules` recursively
<gchristensen> oh
<gchristensen> neat
<lovesegfault> gchristensen: Where do those errors come from? I found ngrok-2 with isArm, but all the other deprecated methods don't show up
<lovesegfault> (using ripgrep on nixpkgs)
<gchristensen> lovesegfault: oh maybe it is just because I'm instantiating everything deeply
<gchristensen> so I guess they're not a prolbem :)
<{^_^}> [nixpkgs] @lovesegfault opened pull request #76862 → ngrok-2: isArm -> isAarch32 → https://git.io/Jex7l
<lovesegfault> One fix through though :D
kleisli has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
smollcato has quit [Remote host closed the connection]
<gchristensen> yay
smollcato has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
mac10688 has joined #nixos
elux has quit [Quit: leaving]
<gchristensen> lovesegfault: https://hydra.nixos.org/eval/1563009
takeda has quit [Ping timeout: 240 seconds]
drakonis has quit [Quit: WeeChat 2.7]
<gchristensen> infinisil: ouch, the failing lib-tests failed the tested job, failing the channel update
<infinisil> Hehe
<lovesegfault> I am going to lose it
<gchristensen> infinisil: can you fix it on master and undo the fix on your PR?
<gchristensen> ie: fix lib-tests to pass on master as it is now
<infinisil> Yeah can do
<gchristensen> thank you
<gchristensen> I'm not going to wait another 30min for this one to finish, but if it won't take long I'll trigger the eval
<{^_^}> [nixpkgs] @Infinisil pushed to master « lib/tests: Temporarily disable submodule path test »: https://git.io/Jex7A
<infinisil> gchristensen: I'm a naughty boy today, pushing directly to master
<gchristensen> :P
<gchristensen> lovesegfault: https://hydra.nixos.org/build/109282765
<gchristensen> I should have gone to sleep 2 hours ago, so no time like the present. good luck, nixos:trunk-combined:tested
<DigitalKiwi> graham
<gchristensen> kiwi
<gchristensen> dang I'm still here
<DigitalKiwi> i'm having a seance
<lovesegfault> gchristensen: night!
fusion809 has joined #nixos
takeda has joined #nixos
dansho has joined #nixos
takeda has quit [Ping timeout: 265 seconds]
<thomashoneyman> i'm going crazy -- i can't seem to force the WAKATIME_HOME environment variable to be used in the Nix build
<thomashoneyman> setting vim-wakatime.overrideAttrs (_: { WAKATIME_HOME = <path> })
<thomashoneyman> does not seem to work -- /homeless-shelter/ still ends up getting used
<thomashoneyman> same for vim-wakatime.overrideAttrs (_: { postInstall = ''export WAKATIME_HOME=<path>''; })
<thomashoneyman> if i echo $WAKATIME_HOME i do see it set to <path>
<thomashoneyman> but by the time it gets to the whole neovim setup it seems to be gone
justanotheruser has joined #nixos
<thomashoneyman> specifically i end up receiving this line of output after the wrong env variable gets used:
<judson_> Hm. I'm having trouble with cache.nixos.org - "SSL peer certificate or SSH remote key was not OK"
felixfoertsch has quit [Quit: ZNC 1.7.4 - https://znc.in]
felixfoertsch has joined #nixos
<judson_> I tried running gchristensen's script, which ironically tries to install from cache.nixos.org
<judson_> Curl doesn't like the cert either.
domogled has quit [Quit: domogled]
dansho_ has joined #nixos
<judson_> no alternative certificate subject name matches target host name 'cache.nixos.org'
<judson_> s_client verifies the chain, but the subject is e.sni.fastly.net
dansho has quit [Ping timeout: 265 seconds]
<judson_> Nevermind. Seems to have corrected itself.
<CMCDragonkai> Why are some haskell packages missing?
Rusty1 has quit [Quit: Konversation terminated!]
<CMCDragonkai> For example `pkgs.haskellPackages.directory` is null
<CMCDragonkai> but `pkgs.haskellPackages.directory_1_3_4_0` is not missing
<CMCDragonkai> why does `directory` not exist, but `directory` with that specific version does?
<CMCDragonkai> Another example is `binary`
<CMCDragonkai> it doesn't exist, but `binary_0_7_6_1` exists and `binary_0_8_7_0` exists
captn3m0- has quit [Ping timeout: 268 seconds]
judson_ has quit [Remote host closed the connection]
letletletlet has joined #nixos
<letletletlet> Does nix support recursive let? I want to do `unstable = ...; haskellPackages = unstable.haskell.packages.ghc881;` within packageOverrides but unstable isn't avaialble let. In emacs you would use `let*` instead of `let` here.
<dansho_> letletletlet: does let rec { ... } work?
jlv has joined #nixos
<DigitalKiwi> emacs is a great programming language lacking only a text editor
<letletletlet> Actually I described my problem wrong. Here is a workaround that seems to work because I inlined everything. It isn't actually within a let, here is a smaller version of my config: https://pastebin.com/pSZHJP3S
<letletletlet> it's within packageOverrides that I define "unstable" then I'd like to use it immediately after defining
<infinisil> letletletlet: let's are always recursive in nix
nexgen has joined #nixos
<infinisil> letletletlet: I'd remove the `with import <nixpkgs> {}` because in NixOS you should always use the `pkgs` you get from the arguments
<infinisil> Is there an error you get with that config?
<letletletlet> infinisil: Yes. I get `error: undefined variable 'unstable'`
rogue_koder has quit [Remote host closed the connection]
<infinisil> letletletlet: Try it with an overlay instead perhaps: `nixpkgs.overlays = [(self: super: { unstable = import unstableTarball { config = config.nixpkgs.config; }; }; )]`
<thomashoneyman> ...after all this it turns out that none of this is an issue with vim instead of neovim. i don't exactly know why, but that's for another day.
<letletletlet> letletletlet: Alright I'll thry that. Thank you.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/be3f887ac40 (from 68 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
palo1 has joined #nixos
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
<letletletlet> infinisil: That had an extra semicolon in it I think, but after removing it I get this error that it's expecting a function not a set. Here is the commit: https://github.com/codygman/my-emacs-everywhere/commit/9a06faec5a5d9849859878c180233bc70a11f435
<infinisil> letletletlet: No there's no mistake in the code I showed
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
<infinisil> That's the same as before
<jlv> How can I tell nix to run just thec checkPhase for a project (as in, a project with a default.nix)?
<letletletlet> Have to leave, but thanks for the help infinisil. I'll check back here in case you say anymore tomorrow!
<infinisil> letletletlet: Ah heh, sorry, it did have a mistake after all
<letletletlet> oh?
<infinisil> It's just the semicolon though
<infinisil> Nothing else needs to be removed
<infinisil> nixpkgs.overlays = [(self: super: { unstable = import unstableTarball { config = config.nixpkgs.config; }; })]
<letletletlet> infinisil I also did this one I think it's same as above but copy pasting above directly: https://github.com/codygman/my-emacs-everywhere/commit/609bd96fde228e890a2f3db790cbbd13108ffd7c
<infinisil> Yeah that looks good
<letletletlet> it still complains about unstable not being defined. Do I need to move haskellPackages to be redefined within the overlay too to be able to use unstable?
<letletletlet> or are things defined in overlay usable in packageOverrides?
<infinisil> letletletlet: Oh um, home-manager switch doesn't rebuild nixos
<infinisil> Oh that's a home-manager config
davidcl has quit [Ping timeout: 268 seconds]
<infinisil> letletletlet: Ah you should move the haskellPackages change to overlays as well
<infinisil> packageOverrides is a bit screwy
<infinisil> overlays are the now recommended way to do such changes
davidcl has joined #nixos
<infinisil> letletletlet: nixpkgs.overlays = [(self: super: { unstable = import unstableTarball { config = config.nixpkgs.config; }; haskellPackages = self.unstable.haskell.packages.ghc881; } )];
<letletletlet> infinisil: You helped me learn something, because I got it before I looked back here. Thank you for your help and solutions :) Success: https://github.com/codygman/my-emacs-everywhere/commit/0c06fd99a42b8356e0273428bbd7304204972b05
<infinisil> Nice :)
<infinisil> jlv: Elaborate?
<jlv> infinisil: I have a project that I'm using Nix to build. I have a checkPhase, but I'm not sure how to run that checkPhase. I would like to run that checkPhase without the rest of the build. On a related note, the checkPhase does not appear to be running when I run `nix-build`.
<letletletlet> infinisil: Last question, can I then somehow use `unstable.ghc881` in `(all-hies.selection { selector = p: { inherit (p) ghc865; }; })`? I tried: `(all-hies.selection { selector = p: { inherit (p) unstable.ghc881; }; })`
<infinisil> jlv: You mean in a nix-shell?
<infinisil> letletletlet: Nah, HIE doesn't support 8.8.1 yet
tpanum| has quit [Read error: Connection reset by peer]
<jlv> infinisil: I am using a nix-shell, but I am also using Nix to build the project and manage dependencies.
mac10688 has quit [Ping timeout: 240 seconds]
<infinisil> letletletlet: It's coming though: https://github.com/haskell/haskell-ide-engine/pull/1482
<{^_^}> haskell/haskell-ide-engine#1482 (by Avi-D-coder, 1 week ago, open): GHC 8.8 support
<letletletlet> infinisil: Okay great, can't wait to test it. Thank you for all your hard work on all-hies :)
<infinisil> jlv: In a nix-shell you should be able to call `checkPhase` directly
<infinisil> letletletlet: :D
<infinisil> It's not much work tbh, the people working on HIE are doing the good stuff!
tpanum has joined #nixos
xkapastel has joined #nixos
zupo has joined #nixos
<jlv> infinisil: I am getting "no: command not found" when I try to run `checkPhase` in nix-shell.
zupo has quit [Client Quit]
<jlv> Oh. I'm tired. I was literally running "`checkPhase`"
captn3m0 has joined #nixos
<jlv> Although, `checkPhase` gives error "no Makefile or custom buildPhase, doing nothing". There is definitly a custom buildPhase.
letletletlet has quit [Ping timeout: 260 seconds]
<infinisil> Hm yeah I think there's a problem with that
<infinisil> jlv: I think it might be something like `eval $checkPhase` or so
<infinisil> Can't remember exactly
<jlv> I think that does it :D
dansho_ has quit [Ping timeout: 240 seconds]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
thomashoneyman has quit [Quit: Lost terminal]
dansho_ has joined #nixos
smollcato has quit [Remote host closed the connection]
smollcato has joined #nixos
<softinio> anyone available to review my PR: https://github.com/NixOS/nixpkgs/pull/76305
<{^_^}> #76305 (by softinio, 1 week ago, open): Add coc-metals vim plugin
lovesegfault has quit [Quit: WeeChat 2.7]
captn3m0 has quit [Ping timeout: 258 seconds]
m0rphism has joined #nixos
otulp has joined #nixos
captn3m0 has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
ajs124 has quit [Ping timeout: 248 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
Makaveli7 has joined #nixos
lovesegfault has joined #nixos
gagbo has joined #nixos
ixxie has joined #nixos
zupo has joined #nixos
dansho__ has joined #nixos
dansho_ has quit [Remote host closed the connection]
lovesegfault has quit [Quit: WeeChat 2.7]
zupo_ has joined #nixos
justanotheruser has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #76477 → yoshimi: 1.6.0.3 -> 1.6.1 → https://git.io/JebJE
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JexbM
<{^_^}> [nixpkgs] @marsam merged pull request #76432 → spectre-meltdown-checker: 0.42 -> 0.43 → https://git.io/JeFxT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jexby
zaeph has joined #nixos
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jexb5
<{^_^}> [nixpkgs] @marsam merged pull request #76443 → sysbench: 1.0.18 -> 1.0.19 → https://git.io/JeFpM
dansho__ has quit [Remote host closed the connection]
dansho__ has joined #nixos
<bennofs[m]> ,locate nixos-install
zupo has joined #nixos
<{^_^}> Found in packages: nix-bash-completions
<pie_[bnc]> bennofs[m]: i think thats in nixpkgs
<pie_[bnc]> bennofs[m]: its kind of weird but theres a directory with some source code, for various nixos tools
<thefloweringash> shouldn't be)
<thefloweringash> I'm tracking down a build failure in a 32-bit vm with an overlayfs /nix/store. The bug is that lseek to a position >32 returns only the lower 32 bits (according to strace). I'm assuming it's an overlayfs/O_LARGEFILE interaction, but I don't yet understand why I'm seeing this when writing to files `/tmp`. Is `/tmp` during a sandbox build actually inside /nix/store? (It is according to `df /tmp`, but seems like it
<thefloweringash> that should be "position > max 32 bit int"
zupo_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #76865 → lr: 1.4.1 -> 1.5 → https://git.io/JexNv
chloekek has joined #nixos
smatting has joined #nixos
logzet has joined #nixos
zupo_ has joined #nixos
captn3m0 has quit [Ping timeout: 265 seconds]
zupo has quit [Ping timeout: 260 seconds]
szicari has quit [Ping timeout: 258 seconds]
hexo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #75798 → arrow-cpp: add pkgsStatic support → https://git.io/Je73s
<{^_^}> [nixpkgs] @FRidh pushed 12 commits to staging: https://git.io/JexNm
<{^_^}> [nixpkgs] @FRidh closed pull request #76833 → gflags: fix static musl build → https://git.io/JexoE
<{^_^}> [nixpkgs] @andys8 opened pull request #76866 → elmPackages.*: update to latest versions → https://git.io/JexNO
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to staging « apr: fix static musl build »: https://git.io/JexNs
<{^_^}> [nixpkgs] @FRidh merged pull request #76827 → apr: fix static musl build → https://git.io/JexV9
captn3m0 has joined #nixos
veske has joined #nixos
szicari has joined #nixos
veske has quit [Client Quit]
veske has joined #nixos
hexo has joined #nixos
joshuagl has joined #nixos
captn3m0 has quit [Ping timeout: 268 seconds]
brightone has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 47 commits to staging-next: https://git.io/JexNZ
eoli3n_ has joined #nixos
<eoli3n_> Hi
<eoli3n_> is there any "boot.loader.grub.copyKernels = true;" for systemd-boot ?
<eoli3n_> https://nixos.wiki/wiki/NixOS_on_ZFS from known issues
<eoli3n_> Using NixOS on a ZFS root file system might result in the boot error "external pointer tables not supported" when the number of hardlinks in the nix store gets very high. This can be avoided by adding this option to your configuration.nix file:
<eoli3n_> boot.loader.grub.copyKernels = true;
<eoli3n_> but no exemple for systemd-boot
justanotheruser has quit [Quit: WeeChat 2.6]
thc202 has joined #nixos
captn3m0 has joined #nixos
justanotheruser has joined #nixos
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #76705 → Staging next → https://git.io/JeAGq
<{^_^}> [nixpkgs] @FRidh pushed 721 commits to master: https://git.io/JexNa
sigmundv_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
domogled has joined #nixos
sigmundv_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #74964 → micropython: init at 1.12 → https://git.io/JeDOa
<{^_^}> [nixpkgs] @FRidh pushed commit from @stigtsp to master « micropython: init at 1.12 »: https://git.io/JexNH
o1lo01ol1o has joined #nixos
__monty__ has joined #nixos
kenjis has joined #nixos
NoctisLabs has quit [Ping timeout: 258 seconds]
NoctisLabs has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #76654 → pythonPackages.compiledb: init at 0.10.1 + dependencies → https://git.io/JeNQ5
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JexNN
Makaveli7 has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @mikesperber opened pull request #76867 → texlive: make updmap actually regenerate (#76826) → https://git.io/JexNj
zaeph has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @filalex77 opened pull request #76868 → tiny: init at 0.5.0 → https://git.io/JexAq
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #76790 → pythonPackages.svgwrite: refactor fix broken build → https://git.io/Jexqm
<{^_^}> [nixpkgs] @jonringer pushed commit from @costrouc to staging-next « pythonPackages.svgwrite: refactor fix broken build »: https://git.io/JexAZ
lukash_|away is now known as lukash_
<{^_^}> [nixpkgs] @filalex77 closed pull request #75564 → docker-slim: init at 1.26.1 → https://git.io/JeHnd
<{^_^}> [nixpkgs] @sbourdeauducq opened pull request #76869 → libbladerf: 2.2.0 -> 2.2.1 → https://git.io/JexAu
zupo has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #76838 → next: set next-gtk-webkit as a propagated build input → https://git.io/Jexib
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JexAg
Chiliparrot has joined #nixos
zupo_ has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @laikq opened pull request #76871 → nixos-install: add documentation for --channel, --no-channel-copy → https://git.io/JexAH
dansho__ has quit [Remote host closed the connection]
dansho has joined #nixos
fendor has joined #nixos
detran has quit [Quit: ZNC 1.7.4 - https://znc.in]
srid has quit [Quit: Connection closed for inactivity]
dingenskirchen1 has joined #nixos
detran has joined #nixos
dingenskirchen1 is now known as dingenskirchen
<{^_^}> [nixpkgs] @toonn opened pull request #76872 → Wire desktop bump → https://git.io/JexAj
<ldlework> how do I fix running out of space when trying to install things into a nix-shell?
o1lo01ol1o has quit [Remote host closed the connection]
brightone_ has joined #nixos
<__monty__> Why nix-shell specifically?
<__monty__> And do you mean disk space or memory?
brightone has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @LnL7 merged pull request #76771 → llvm_9: 9.0.0 -> 9.0.1 → https://git.io/Jexeb
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to staging: https://git.io/JexxU
ebzzry has quit [Ping timeout: 268 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<pbb> > with import <nixpkgs> {}; with stdenv.lib; let sources = { aarch64-linux = {}; }; in filter (p: sources ? platform) platforms.all
<{^_^}> [ ]
<pbb> any idea why this doesn't work?
<pbb> I would expect it to return [ "aarch64-linux" ]
<ldlework> __monty__: ERROR: Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/nix/store/bph71v9qiqznpgyibmpln6bi784pfvgf-python3-3.6.9/lib/python3.6/site-packages/UNKNOWN-0.0.0.dist-info'
<__monty__> Read-only doesn't sound like "out of space".
MmeQuignon has joined #nixos
<LnL> pbb: ? doesn't take variables
<LnL> > { foo = {}; } ? foo
<{^_^}> true
<LnL> so you want "${p}"
<pbb> > with import <nixpkgs> {}; with stdenv.lib; let sources = { aarch64-linux = {}; }; in filter (p: sources ? "${platform}") platforms.all
<{^_^}> undefined variable 'platform' at (string):272:110
jgeerds has joined #nixos
<pbb> > with import <nixpkgs> {}; with stdenv.lib; let sources = { aarch64-linux = {}; }; in filter (p: sources ? "${p}") platforms.all
<{^_^}> [ "aarch64-linux" ]
<pbb> LnL++
<{^_^}> LnL's karma got increased to 16
troydm has quit [Ping timeout: 260 seconds]
veske2 has joined #nixos
veske has quit [Ping timeout: 258 seconds]
kenjis has quit [Remote host closed the connection]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
veske2 has quit [Ping timeout: 258 seconds]
syd has joined #nixos
kleisli has quit [Ping timeout: 268 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dingenskirchen1 is now known as dingenskirchen
kenjis has joined #nixos
syd has quit [Remote host closed the connection]
veske has joined #nixos
alexherbo2 has joined #nixos
ng0 has joined #nixos
ng0 has joined #nixos
alex`` has joined #nixos
<siers> I want to see haskell package's dependencies. I guess the easiest way would be to see the closure of nix shell derivation. How could I do that?
cosimone has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3298 → passAsFile: leave out the hash prefix → https://git.io/JexyD
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jexxa
dm9 has joined #nixos
evernite_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #76832 → openblas: fix static musl build → https://git.io/JexoO
<{^_^}> [nixpkgs] @FRidh pushed to staging « openblas: fix static musl build »: https://git.io/JexxM
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to staging: https://git.io/JexxD
evernite_ has left #nixos [#nixos]
LLED2_3 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to staging « python3Packages.numpy: fix build »: https://git.io/Jexxy
LLED2_2 has quit [Ping timeout: 268 seconds]
<eoli3n_> i use an EFI boot, so systemd-boot config. I want to setup zfs encryption, i tried with zfs over LUKS and separated EFI part outside luks
<eoli3n_> problem is that it can't see generations
<eoli3n_> should i use full disk encryption on luks + grub config OR zfs unstable and built in encryption ?
<__monty__> When I run mpv I get a Fontconfig error about not being able to load the default config. This is on macOS. I'm not having any luck googling for the problem.
veske2 has joined #nixos
veske has quit [Ping timeout: 268 seconds]
szicari has quit [Ping timeout: 260 seconds]
Wizek has joined #nixos
szicari has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FRidh pushed 49 commits to staging: https://git.io/JexpL
<{^_^}> [nixpkgs] @FRidh pushed 34 commits to staging-next: https://git.io/Jexpt
<{^_^}> [nixpkgs] @FRidh opened pull request #76875 → Staging next → https://git.io/Jexpq
<adisbladis> eoli3n_: Built-in encryption is also available in the stable package (even on 19.09)
<eoli3n_> oh cool lets try that so
Neo-- has joined #nixos
<eoli3n_> maybe wiki need to be updated
<eoli3n_> https://nixos.wiki/wiki/NixOS_on_ZFS#Encrypted_ZFS "Native encryption is only available in the zfsUnstable package of NixOS, which was added in PR-29426 in unstable and will be part of 18.03."
<eoli3n_> i misunderstood that
zupo has joined #nixos
Makaveli7 has joined #nixos
<adisbladis> eoli3n_: I just updated the wiki
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #76877 → WIP grpc: fix static musl build → https://git.io/Jexpw
cvlad- has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<LnL> __monty__: same, but everything seems to work regardless
reanimus has quit [Quit: Logging off...]
reanimus has joined #nixos
kenjis has quit [Remote host closed the connection]
<__monty__> LnL: Do you get the cocoa opengl deprecation warning too?
<LnL> yeah
dingenskirchen has quit [Read error: Connection reset by peer]
<__monty__> Are you running 0.31.0? Does fullscreen work for you? `f` stopped working for me since update.
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
<LnL> mine might be a little outdated
ng0 has quit [Quit: leaving]
andymandias has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #76858 → docker: 19.03.4 -> 19.03.5 → https://git.io/JexQN
<{^_^}> [nixpkgs] @alyssais pushed commit from @zowoq to master « docker: 19.03.4 -> 19.03.5 »: https://git.io/JexpF
ng0 has joined #nixos
ng0 has joined #nixos
ng0 has quit [Changing host]
<{^_^}> [nixpkgs] @alyssais merged pull request #76865 → lr: 1.4.1 -> 1.5 → https://git.io/JexNv
<{^_^}> [nixpkgs] @alyssais pushed commit from @marsam to master « lr: 1.4.1 -> 1.5 »: https://git.io/JexpN
<{^_^}> [nixpkgs] @alyssais merged pull request #76806 → theme-obsidian2: 2.9 -> 2.10 → https://git.io/JexCb
<{^_^}> [nixpkgs] @alyssais pushed commit from @romildo to master « theme-obsidian2: 2.9 -> 2.10 »: https://git.io/Jexpx
troydm has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/Jexph
<{^_^}> [nixpkgs] @adisbladis merged pull request #74831 → compton/picom: 7.2 -> 7.5 → https://git.io/JeM0m
<{^_^}> [nixpkgs] @alyssais merged pull request #76781 → tpm2-tss: 2.3.1 -> 2.3.2 → https://git.io/JexTG
<{^_^}> [nixpkgs] @alyssais pushed commit from @esclear to master « tpm2-tss: 2.3.1 -> 2.3.2 »: https://git.io/Jexhe
veske3 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #76871 → nixos-install: add documentation for --channel, --no-channel-copy → https://git.io/JexAH
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JexhJ
veske2 has quit [Ping timeout: 258 seconds]
shabius has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @alyssais merged pull request #76553 → mullvad-vpn: 2019.08 -> 2019.10 → https://git.io/JebDP
<{^_^}> [nixpkgs] @alyssais pushed commit from @emacsomancer to master « mullvad-vpn: 2019.08 -> 2019.10 »: https://git.io/JexhI
dingenskirchen has joined #nixos
<o1lo01ol1o> Is it possible to ask a nix installation on `darwin` to automatically do garbage collection?
<{^_^}> [nixpkgs] @alyssais merged pull request #76805 → nodePackages.dat:added dependencies to fix compilation → https://git.io/JexCF
<{^_^}> [nixpkgs] @alyssais pushed commit from @pasqui23 to master « nodePackages.dat: added dependencies to fix compilation »: https://git.io/JexhO
ebzzry has joined #nixos
orivej has joined #nixos
leo has joined #nixos
leo is now known as Guest96803
mananamenos has joined #nixos
cmacrae has joined #nixos
ryantm has quit [Quit: leaving]
<mananamenos> hi, i want to use cachix, but `nixos-rebuild switch` does not get the binary i expect, instead it start building it. What am i missing?
ryantm has joined #nixos
ryantm has quit [Client Quit]
ryantm has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jexh0
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @adisbladis pushed to master « nixos/doc: Fix manual build after renaming compton to picom »: https://git.io/JexhV
<LnL> o1lo01ol1o: there's min-free/max-free but that is synchronous, for something periodic you'll need a launchd service
<domenkozar[m]> mananamenos: how are you specifying cachix?
<mananamenos> i've added cachix as systemPackage, later did `cachix use all-hies` with my user
<o1lo01ol1o> LnL: thanks, will do
ryantm has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Ma27 pushed to release-19.09 « wireguard-tools: 1.0.20191226 -> 1.0.20200102 »: https://git.io/Jexhi
ryantm has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « firefox-devedition-bin: 72.0b4 -> 72.0b11 »: https://git.io/JexhM
shabius has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.7]
patrl has joined #nixos
Rusty1 has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @alyssais pushed commit from @zowoq to release-19.09 « docker: 19.03.4 -> 19.03.5 »: https://git.io/Jexhd
<__monty__> Looks like I'm gonna need it to get mpv working from version 0.31.0 onwards.
<Shoubit> mananamenos, you probably want to set `nix.binaryCaches = [ "..." ]` in configuration.nix -- https://nixos.org/nixos/options.html#binarycache
<Shoubit> mananamenos, afaik `cachix use all-hies` will only enable you to use cachix as a user, but not on the system-level as required by `nixos-rebuild`
jgeerds has quit [Ping timeout: 258 seconds]
domogled has quit [Remote host closed the connection]
patrl has quit [Quit: WeeChat 2.7]
patrl has joined #nixos
<mananamenos> Shoubit, i tried doing the use cachix with root, but as yeah, it does not add anything in /etc/nix/nix.conf about all-hies
xkapastel has quit [Quit: Connection closed for inactivity]
silver has joined #nixos
silver_ has joined #nixos
silver_ has quit [Remote host closed the connection]
patrl has joined #nixos
patrl has quit [Changing host]
mananamenos_ has joined #nixos
mananamenos has quit [Ping timeout: 268 seconds]
<domenkozar[m]> mananamenos: it should tell you how to configure nixos with the caches
<mananamenos_> this didn't help either :/ weird. At least now i do see the all-hies cachix url in /etc/nix/nix.conf
<{^_^}> [nixpkgs] @FRidh opened pull request #76880 → gcc: keep using gcc8 to work-around failing rpi build → https://git.io/Jexjt
fendor has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #76862 → ngrok-2: isArm -> isAarch32 → https://git.io/Jex7l
<{^_^}> [nixpkgs] @FRidh pushed commit from @lovesegfault to master « ngrok-2: isArm -> isAarch32 »: https://git.io/Jexjq
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @grahamc opened pull request #76881 → Revert #75031 - caused 2 hydra failures → https://git.io/Jexjm
bvdw has joined #nixos
nix-newbie has joined #nixos
alexherbo2 has quit [Ping timeout: 258 seconds]
alex`` has quit [Ping timeout: 258 seconds]
<nix-newbie> I'm playing around with the nix language and one (hopefully) very simple thing I am hitting a brick wall against is a way to test whether a list has a member
<nix-newbie> e.g.
<nix-newbie> x = [ "foo" "bar" "baz" ]
<nix-newbie> "foo" in x
<nix-newbie> would be true
v88m has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
alex`` has joined #nixos
<nix-newbie> This appears to work
<nix-newbie> `builtins.any (x: x == "foo") [ "foo" "bar" "baz" ]
<nix-newbie> But is there a more idiomatic or sugary way to do this?
civodul has joined #nixos
<Shoubit> nix-newbie, you want `lib.elem` which takes the element as the first argument and the list as the second
<nix-newbie> Thanks!
<nix-newbie> Is there a way to discover these functions...? The wiki lists the builtins but seemingly nothing else? Unless I'm just looking at the wrong place...
<domenkozar[m]> mananamenos_: are you on nixos?
Chiliparrot has joined #nixos
<Shoubit> nix-newbie, I usually just use `nix repl`, type `lib.` and press the tab key
<nahamu> Shoubit++
<{^_^}> Shoubit's karma got increased to 1
<nahamu> I've never used `nix repl` but now I'm excited to try it!
zupo_ has joined #nixos
<nix-newbie> That brings along a related question
<nix-newbie> When I am in the repl
<nix-newbie> I can only access the builtins
<nix-newbie> I guess I must import lib first?
<Shoubit> oh, oops. `nix repl '<nixpkgs>'` should do
<{^_^}> [nixpkgs] @xwvvvvwx opened pull request #76882 → wireguard-tools: 1.0.20191226 -> 1.0.20200102 → https://git.io/Jexj0
<dansho> you can also :l <nixpkgs> from inside the repl
<nix-newbie> Yep
<nix-newbie> That works, thanks guys. That helps discoverability immensly
Chiliparrot has quit [Ping timeout: 245 seconds]
<nix-newbie> And yet another question
zupo has quit [Ping timeout: 260 seconds]
<nix-newbie> And again I'm probably just not looking at the right place
thblt has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
<nix-newbie> But say I now do lib.mapAttrs
rogue_koder has joined #nixos
<nix-newbie> Can I pull the help or see the source of the function from within the repl?
<{^_^}> [nixpkgs] @Ma27 closed pull request #76882 → wireguard-tools: 1.0.20191226 -> 1.0.20200102 → https://git.io/Jexj0
cosimone has quit [Quit: Quit.]
selfsymmetric-mu has quit [Remote host closed the connection]
cosimone has joined #nixos
__Sander__ has joined #nixos
kenjis has joined #nixos
<o1lo01ol1o> What precisely does "warning: substituter foo does not have a valid signature for path bar" mean?
<o1lo01ol1o> for context, we have a number of binary caches with different keys and these messages seem to increase as time goes on.
<{^_^}> [nixpkgs] @mdorman opened pull request #76883 → gi-gdkx11: Default to 3.X version → https://git.io/JexjF
szicari has quit [Ping timeout: 252 seconds]
ddellacosta has joined #nixos
mananamenos_ has quit [Remote host closed the connection]
mananamenos has joined #nixos
szicari has joined #nixos
jluttine has quit [Ping timeout: 240 seconds]
jco has joined #nixos
elux has joined #nixos
<elux> does anyone here use multiple machines and sync their ~/.config and other settings between them? for the most part i can get far with a .dotfiles directory and .nix files to reproduce my setup, but there are a few lingering files in my .config i'd like to sync too, such as spotify, vscode, etc. -- wondering how others are tackling this
mananamenos has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @grahamc closed pull request #76881 → Revert #75031 - caused 2 hydra failures → https://git.io/Jexjm
kenjis has quit [Remote host closed the connection]
veske3 has quit [Quit: This computer has gone to sleep]
ixxie has quit [Ping timeout: 260 seconds]
kenjis has joined #nixos
gustavderdrache has joined #nixos
<Guest96803> take a look at the keys directory.
erictapen has quit [Ping timeout: 258 seconds]
<Guest96803> mine is a non-solution, though. just some experimenting.
<Guest96803> maybe home-manager will also be of help?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mehlon has joined #nixos
erictapen has joined #nixos
mananamenos has joined #nixos
jluttine has joined #nixos
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<mehlon> but it just says "no makefile, doing nothing" etc
justanotheruser has quit [Ping timeout: 248 seconds]
elux has quit [Quit: leaving]
<mehlon> autoconf is one of the build inputs but it doesn't seem to run autoconf... or whatever its supposed to do
cmacrae has quit [Ping timeout: 268 seconds]
<thefloweringash> there's an `autoreconfHook`
patrl has quit [Ping timeout: 265 seconds]
cfricke has joined #nixos
<mehlon> ah, thank you thefloweringash
ng0_ has joined #nixos
ng0_ has joined #nixos
ng0_ has quit [Changing host]
drakonis has joined #nixos
ng0 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-channel-scripts] @edolstra pushed to master « Fix adding nix to $PATH »: https://git.io/JepJi
waleee-cl has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
eoli3n_ has quit [Quit: WeeChat 2.7]
<mehlon> ah it compiles!
<mehlon> say, is there a way to tell which build inputs I can delete?
<gustavderdrache> i usually start with an empty list and incrementally add
psyanticy has joined #nixos
mac10688 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #76885 → nixos/pam: cleanup services → https://git.io/JepJj
<{^_^}> [nixpkgs] @Valodim opened pull request #76886 → package etesync-dav → https://git.io/JepUe
<Valodim[m]> first PR, woo
<buckley310> nice :)
<gchristensen> congratualtions, Valodim[m]!
kenjis has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-make: 0.25.0 -> 0.25.1 »: https://git.io/JepUZ
kenjis has joined #nixos
<{^_^}> [nixpkgs] @corngood opened pull request #76887 → llvm: use correct version of tablegen when cross compiling _8 and _9 → https://git.io/JepUC
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
ng0_ is now known as ng0
<nix-newbie> Is there a way to update sets?
<nix-newbie> `s = { x = 1; y = 2 };`
<gchristensen> > let s = { x = 1; y = 2; }; in s // { x = 3; }
<{^_^}> { x = 3; y = 2; }
logzet has quit [Ping timeout: 248 seconds]
<Valodim[m]> (for certain definitions of "update")
<mehlon> there's the // union operator which favors the right side
<nix-newbie> Ok, thanks, I guess I should clarify... since it's a bit more complicated
<nix-newbie> I'm trying to define users.users
<nix-newbie> I generate the attributes for users 1..10
<nix-newbie> Then I have a separate set which lists the ssh keys
<nix-newbie> for each user
<nix-newbie> so
<nix-newbie> users.users.userX.openssh.authorizedKeys.keys = ...
veske3 has joined #nixos
syd has joined #nixos
<syd> Hi peeps, I'm trying to package an android applictaion to an apk with nix but hitting a lot of roadblocks. Can anyone here help me?
<mehlon> maybe so
veske3 has quit [Client Quit]
ixxie has joined #nixos
<syd> I'ts a more recent gradle application
<syd> I've tried the gradle2nix thing that I found online
<syd> but when I do that, there is no installDist task available
<syd> and not even an assembleDebug or assembleRelease
<syd> and now I don't know where to go from here
brightone_ has quit [Read error: Connection reset by peer]
brightone has joined #nixos
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #76538 → airwave: mark VST SDK as unfree → https://git.io/JebrR
<{^_^}> [nixpkgs] @alyssais pushed to master « airwave: mark VST SDK as unfree »: https://git.io/JepUx
jco has quit [Ping timeout: 260 seconds]
hanemile5 has left #nixos ["The Lounge - https://thelounge.chat"]
FRidh has joined #nixos
<{^_^}> [nixpkgs] @puzzlewolf opened pull request #76889 → 3.0.0 -> 3.1 → https://git.io/JepTq
domogled has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #76890 → nix: build using gcc8 → https://git.io/JepT3
steell has joined #nixos
mananamenos has quit [Quit: Leaving]
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
ebzzry has quit [Ping timeout: 268 seconds]
domogled has quit [Quit: domogled]
jco has joined #nixos
elux has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #75548 → step-ca: init at 0.13.3 → https://git.io/JeHkJ
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JepT0
philr has quit [Ping timeout: 260 seconds]
lunik1 has quit [Quit: Ping timeout (120 seconds)]
lunik1 has joined #nixos
Havvy has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
szicari has quit [Ping timeout: 252 seconds]
<kenjis> Is there a way to use niv for Sourcehut? Or do I need to do the fetchgit?
__Sander__ has quit [Quit: Konversation terminated!]
szicari has joined #nixos
erictapen has quit [Ping timeout: 265 seconds]
cfricke has quit [Ping timeout: 258 seconds]
erictapen has joined #nixos
virus_dave has joined #nixos
<dsx> fetchgit should work with any git, shouldn't it?
jco has quit [Ping timeout: 248 seconds]
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
MarcWeber has joined #nixos
<kenjis> Yes it works with Sourehut, sorry I think the Question wasn't clear enough. I was wondering if the tool niv https://github.com/nmattia/niv is able to handle Sourcehut links, so far I haven't gotten it to work yet.
<{^_^}> [nixpkgs] @grahamc merged pull request #76890 → nix: build using gcc8 → https://git.io/JepT3
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/Jepkn
ebzzry has joined #nixos
<tbenst[m]> anyone know a cross-platform way to get hostname in a home.nix file? i.e. something like `${nixos.config.networking.hostName}` that works on both NixOS and Ubuntu
gagbo has quit [Quit: I'm out !]
<tbenst[m]> I suppose I could `builtins.readFile /etc/hosts` and then parse `127.0.0.1` that != localhost, but that feels pretty inelegant
<mehlon> etc/hostname ?
<{^_^}> [nixpkgs] @filalex77 opened pull request #76891 → termius: init at 5.2.3 → https://git.io/Jepk0
<tbenst[m]> mehlon: that works! thanks
alexherbo2 has quit [Read error: Connection reset by peer]
<fendor> ,locate nix-shell
<{^_^}> Found in packages: nix1, nixFlakes, nixStable, nixUnstable, nix-bash-completions
alexherbo2 has joined #nixos
floscr has joined #nixos
<floscr> anyone got an idea why I can't update my nix-channels on a fresh install (So nixos-install also doesnt work)
<floscr> So nix-channel --update just takes forever
<floscr> I'm connecting via tethered phone
<floscr> ping works, so I'm connected
<floscr> Well at least now I'm getting a timeout
zupo has joined #nixos
erasmas has joined #nixos
brightone has quit [Remote host closed the connection]
<tilpner> floscr: You don't need to use nix-channel if you don't want to. If (for some reason) you can't update them, you can use any other means (USB drive) to transfer a copy of nixpkgs to the right place and set NIX_PATH appropriately
<tilpner> floscr: A tar.gz will work, <20MB, you don't need the full checkout
<{^_^}> [nixpkgs] @adisbladis opened pull request #76892 → mesa: 19.2.7 -> 19.3.1 → https://git.io/JepkF
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
mac10688 has quit [Ping timeout: 258 seconds]
jco has joined #nixos
<elux> whats a good x11 program for viewing sensor data as to fan speeds and temperatures?
Thra11 has quit [Ping timeout: 268 seconds]
<elux> the `sensors` program doesnt seem to report my cpu temp?
<ivan> what is your CPU?
<elux> 3950x
<elux> amd
<ivan> yeah, that's what I guessed :-)
<ivan> you need a very recent kernel and maybe patches
<elux> i have kernel 5.4.6 -- the system is working great, im just not sure how to get the temp readings setup
cosimone has quit [Quit: Quit.]
<elux> it might be working and called the k10temp driver.. i think so
<ivan> ok I guess temperatures should be working in 5.4 https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.4-Hwmon-Zen-2-Thermal
dsx has quit [Quit: dsx]
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
peter__ has joined #nixos
<peter__> back.. froze my system probing with sensors-detect, hehe
Havvy has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #76810 → perlPackages.TimeDate: fix tests that fail as of 2020 → https://git.io/JexlN
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging-next « perlPackages.TimeDate: fix tests that fail as of 2020 »: https://git.io/JepI3
peter__ is now known as elux_
isHavvy has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed commit from @costrouc to master « pythonPackages.svgwrite: refactor fix broken build »: https://git.io/JepIC
<floscr> tilpner: thanks, I've restarted the live-cd, seemed to be some issue with drivers that I was trying out before
elux has quit [Ping timeout: 240 seconds]
dansho has quit [Quit: Leaving]
Havvy has quit [Ping timeout: 268 seconds]
isHavvy has quit [Ping timeout: 260 seconds]
elux_ is now known as elux
bvdw has quit [Quit: bvdw]
Havvy has joined #nixos
<mehlon> for some reason my account is not added to the 'docker' group even though I have it in extraGroups and I ran nixos-rebuild switch
bvdw has joined #nixos
<kenjis> try it with boot and then restart / relogin
<mehlon> ah
<buckley310> you can also use the command "newgrp docker" and that shell will get the group
<mehlon> brb
mehlon has quit [Remote host closed the connection]
chloekek has quit [Quit: WeeChat 2.6]
dsx has joined #nixos
xO1 has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #76889 → frescobaldi: 3.0.0 -> 3.1 → https://git.io/JepTq
<{^_^}> [nixpkgs] @veprbl pushed commit from @puzzlewolf to master « frescobaldi: 3.0.0 -> 3.1 (#76889) »: https://git.io/JepIP
orivej has quit [Ping timeout: 240 seconds]
fresheyeball has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ee194350 has joined #nixos
<fresheyeball> I can't get jack audio to ouput sound to my speakers
<fresheyeball> I am missing something dumb and the docs for jack audio on nixos are out of date
<fresheyeball> someone kick me in the head
<evanjs> fresheyeball: cursory search turns up #74742 and #71283
<{^_^}> https://github.com/NixOS/nixpkgs/issues/74742 (by bcaccia, 4 weeks ago, open): Jack Audio does not present any valid output devices
<{^_^}> https://github.com/NixOS/nixpkgs/issues/71283 (by MDeltaX, 11 weeks ago, open): [WIP]: NixOS: (Jack / Pro) Audio Infrastructure
Thra11 has joined #nixos
<evanjs> *looking through the items on the list* > integrate and obsolete https://github.com/musnix/musnix -- yes pleeeeease. If only for RT kernel support in NixOS
<{^_^}> [nixpkgs] @adisbladis merged pull request #76892 → mesa: 19.2.7 -> 19.3.1 → https://git.io/JepkF
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to staging: https://git.io/JepIA
meck has quit [Quit: WeeChat 2.7]
<evanjs> like #59268 :/
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59268 (by matthiasbeyer, 38 weeks ago, open): linux: kernel: Add kernels with rt patchset
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to staging-next: https://git.io/JepIj
<{^_^}> [nixpkgs] @flokli merged pull request #76193 → gitlab: 12.5.5 -> 12.6.2 → https://git.io/JepLe
<{^_^}> [nixpkgs] @flokli pushed 8 commits to master: https://git.io/JepLv
meck has joined #nixos
<Ankhers> I recently bought a Lenovo T590. I have installed NixOS on it, but I can't seem to reboot / turn off the machine without it freezing. Does anyone know how I can attempt to debug this?
<nahamu> Ankhers: Can you boot it from some sort of live media and see if it still has the same problem?
aveltras has joined #nixos
<nahamu> Otherwise it would make sense to pastebin a redacted version of your configuration somewhere in case you installed something obviously wrong.
nixtacular has joined #nixos
justanotheruser has joined #nixos
[Leary] has joined #nixos
<adisbladis> Another thing: Very recent laptops often require the latest kernel (not LTS)
Lears has quit [Read error: No route to host]
<Ankhers> nahamu: Sure. I will do that shortly and see if the issue persists. Would there be a way for me to load my configuration into the live USB so that I could test it against that?
<nixtacular> hey would someone who has merge permissions in the GitHub repo mind reviewing this 1-line PR really quick? i'm trying to fix a package that has been broken for years and this is a blocker in my dev process. https://github.com/NixOS/nixpkgs/pull/76854
<{^_^}> #76854 (by earksiinni, 16 hours ago, open): linuxPackages.prl-tools: remove version assertion
<adisbladis> Ankhers: You can trivially build your own iso
kleisli has joined #nixos
v88m has joined #nixos
<Ankhers> adisbladis: If I do need to use the latest kernel, what is the way to do that?
<adisbladis> The comment at the top of the file is how to build it
szicari has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @flokli pushed 7 commits to release-19.09: https://git.io/JepLs
kleisli_ has joined #nixos
kleisli has quit [Ping timeout: 260 seconds]
<infinisil> nixtacular: Shouldn't the parallels tools first be updated to some version that's compatible with >4.15?
<infinisil> Ah I guess there's a redundant check anyways
szicari has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<nixtacular> infinisil: i'm actively working on an update to the most recent version of parallels tools, but i'm trying to do it as an overlay on my own system first. the assert in derivation prevents the overlay from working because the base derivation won't even load.
jco has quit [Ping timeout: 245 seconds]
<nixtacular> i've been working with Nix for a couple of months and i still haven't found a good workflow for updating packages on my own system and merging upstream. the process feels frustrating and chaotic :-/
<{^_^}> [nixpkgs] @Infinisil merged pull request #76854 → linuxPackages.prl-tools: remove version assertion → https://git.io/Jex9O
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JepLV
<infinisil> Merged :)
<nixtacular> infinisil: thank you!
<infinisil> nixtacular: I personally am using nixpkgs as a git submodule, so I can always easily make changes/cherry-pick commits/try out PRs
<infinisil> And I don't have to mess with whatever override method this particular change needs
<infinisil> though I still only try to use the nixpkgs checkout if it can't be done with overrides
<{^_^}> [nixpkgs] @aanderse opened pull request #76893 → solr: 8.3.1 -> 8.4.0 → https://git.io/JepLr
<nixtacular> infinisil: have you by any chance written up your workflow somewhere?
Thra11 has quit [Ping timeout: 260 seconds]
<infinisil> It's nothing special, just `git submodule init` and such to initialize the submodule
<infinisil> Ah and I have a wrapper around nixos-rebuild (but for multiple machines) that makes sure that nixpkgs is used
<nixtacular> that's what i was getting at ;-)
<nixtacular> would you mind sharing that wrapper as a gist? i would be very interested in learning from it
<{^_^}> [nixpkgs] @oxalica opened pull request #76894 → firefox: update rust to 1.40.0 → https://git.io/JepLP
<nixtacular> i had something similar in mind, using a local copy of the git repo, but i wasn't sure how to integrate it w/ nixos
<__monty__> Why is `swift` only available on linux and not darwin? o.O
<infinisil> Hm, I do have a quite special setup
<infinisil> nixtacular: But this is the script I use to rebuild my machines: https://github.com/Infinisil/system/blob/master/deploy/rb
smatting has quit [Ping timeout: 268 seconds]
syd has quit [Remote host closed the connection]
<nixtacular> infinisil: interesting. i see that you're using nix-build directly
<infinisil> nixtacular: Yeah, I'm using my work-in-progress deployment tool: https://github.com/Infinisil/nixoses
<gchristensen> infinisil: oh cool
<infinisil> :D
<gchristensen> the borked network bits ... very nice
<nixtacular> neat!
wangoe[m] has joined #nixos
<nixtacular> i might be able to use this. my use case is that i'm trying to create an ideal dev setup for myself: a NixOS virtual machine running on my laptop that's my primary driver, which is kept continually in sync with a nearly identical NixOS build running in the cloud that i can access any time that I don't have my laptop
<infinisil> This tool is also one of the main reasons why I pushed #75031, because now I can write multi-host abstractions because of it
<{^_^}> https://github.com/NixOS/nixpkgs/pull/75031 (by Infinisil, 4 weeks ago, merged): Module system improvements for NixOS as a submodule
<nixtacular> infinisil: by "submodule," you mean as a git submodule...?
<infinisil> nixtacular: Ah not in that PR, that's a NixOS submodule
<nixtacular> ah right. makes more sense lol
<infinisil> I also have some more cool ideas I plan to implement: https://github.com/Infinisil/nixoses/blob/master/notes.md
psyanticy has quit [Quit: Connection closed for inactivity]
nek0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<nixtacular> nice
<infinisil> I should update that though, some of these I think are already implemented now
<gchristensen> anyone familiar with Hydra seen this behavior before? http://gsc.io/snaps/89d02b24-6949-407b-9b5c-e60adfff6ba8.png
nek0 has joined #nixos
nixtacular has quit [Remote host closed the connection]
pepesza has joined #nixos
<noonien> hello folks
zupo has joined #nixos
<noonien> a friend is trying to install nixos, and his wifi card seems to not be shown in lspci on the live cd, is there something to be done?
<notgne2> maybe a custom livecd with enableAllFirmware
<noonien> is that hard to do?
thomashoneyman has joined #nixos
<__monty__> ,locate bin xcrun
<{^_^}> Found in packages: xcbuild, xcodebuild6
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #76887 → llvm: use correct version of tablegen when cross compiling _8 and _9 → https://git.io/JepUC
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/Jeptt
Neo-- has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Vskilet opened pull request #76895 → gitea: 1.10.1 -> 1.10.2 → https://git.io/Jept4
<jared-w> Is there a nice script or process somewhere that'll completely clean up and remove hydra from a nixos computer entirely? I'd like to clean slate remove the db, users, keys, anything in the store related to it, etc.
<jared-w> gchristensen: haven't seen that yet. I did manage to get my hydra to where it would queue things and then never evaluate anything
<{^_^}> [nixpkgs] @FRidh merged pull request #76872 → Wire desktop bump → https://git.io/JexAj
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JeptV
domogled1 has joined #nixos
<infinisil> jared-w: Everything except the state should be taken care of by nixos
<infinisil> For the database you probably have to use psql manually and DROP some tables
<jared-w> infinisil: that's what I was thinking
endformationage has joined #nixos
<jared-w> just wanted to make sure I wasn't missing anything
selfsymmetric-pa has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
domogled1 is now known as domogled
<infinisil> I personally never remove state unless I notice it taking up too much space
eraserhd2 is now known as eraserhd
<gchristensen> and the home directory for each hydra-* user
<jared-w> I'm trying to reverse engineer a setup a coworker has that works perfectly on his computer, the production server, yet despite verbatim copy pasta, I can't get it running, so I've been rebuilding it in a more deterministic way, hence my desire to aggressively and frequently purge every possible form of state whatsoever :p
<gchristensen> ouch
<jared-w> It's been wild. We're using hydra, but we're generating jobsets using a python actor model service that takes multiple inputs and essentially creates a matrix of jobsets out of them (essentially "try this package with ghc versions 8.4 8.6 8.8, and also with different versions of your dependencies and also with...")
<jared-w> The hydra setup seeeems to be mostly working except for the whole "can't get the machines to stop being idle" that happened lately, but there's a few layers of indirection between hydra and the jobset so debugging that has been interesting
kenjis has quit [Ping timeout: 248 seconds]
<jared-w> particularly since it's not "broken", I just can't reproduce it in a working manner... lol
<__monty__> Why oh why? Swift's not available on darwin, neither is glibc. Oh the humanitey!
<jared-w> __monty__: glibc is really weird on macOS iirc
<jared-w> aah yeah, https://matthewbauer.us/blog/darwin-stdenv-update.html that's what I was thinking of
<__monty__> That's bad news. Does anyone know whether swift really needs it?
<jared-w> Presumably not since swift the language was invented for macOS first... :p
<gchristensen> I constantly feel like there should be a lib.attrsToList
<gustavderdrache> i had to write one
<__monty__> jared-w: That's why I'm puzzled the swift derivation doesn't work on macOS.
<jared-w> gchristensen: to go from {a=b;} to?
<gustavderdrache> it'd be the opposite of listToAttrs such that attrsToList (listToAttrs x) = x
<gchristensen> [ { name = "a"; value = b; } ], just like builtins.lisToAttrs
takeda has joined #nixos
floscr has quit [Ping timeout: 265 seconds]
<infinisil> > :p mapAttrsToList nameValuePair { foo = 10; }
<{^_^}> [ { name = "foo"; value = 10; } ]
<jared-w> that's what I thought. Now that I think about it, I do reach for that non existing function enough to remember being frequently annoyed by it not being there :p
<infinisil> gustavderdrache: ^
MichaelRaskin has joined #nixos
<jared-w> __monty__: https://github.com/Homebrew/homebrew-core/blob/master/Formula/swift.rb this is the homebrew derivation for installing swift
<infinisil> So attrsToList = mapAttrsToList nameValuePair
<infinisil> Ah gchristensen asked for that ^
<gchristensen> yeah, that should just be part of the "standard library"
o1lo01ol1o has quit [Remote host closed the connection]
<__monty__> jared-w: Good idea to use that as reference. I'm not sure how to integrate it with the existing derivation for linux.
<jared-w> https://github.com/apple/swift/blob/master/utils/build-script looks like they just use this and pass in the right arguments so everything can find the right paths. They're using clang to build and the nixpkgs version is somehow using clang and then applying a million patches to switch it out into glibc somehow? o.O
jumper149 has joined #nixos
CMCDragonkai has quit [Quit: Connection closed for inactivity]
<__monty__> Yeah, a bunch of linux specific patches. Kinda don't want to create another schizophrenic derivation like the one for wire-desktop though : /
jumper149 has quit [Client Quit]
<jared-w> wire-desktop doesn't look... *terrible*
<jared-w> wouldn't wanna write that for swift, though; especially given its complexity vs wire...
<infinisil> gchristensen: I've been thinking for a while that a nix library of sorts would be nice, outside of nixpkgs
<infinisil> With all sorts of standard things in them
<__monty__> Yeah, but updating wire-desktop's versions is kinda annoying. And it's not actually building wire, just getting the right binary for the platform >.<
<thomashoneyman> i'm trying to use filterSource to restrict the source of a derivation to only two directories ("src" and "test")
<jared-w> __monty__: might almost be worth it to just download the binary somehow and screw with it until it boots correctly?
<lejonet> What the hell am I doing wrong if I'm on nixos-unstable channel but nix search refuses to turn up ghidra? I can see that it is in 19.09 stable, but I've tried "nix search ghidra" on 2 systems, which nix-channel --list shows them to be on nixos-unstable, but can't find ghidra...
<thomashoneyman> but it looks like the 'path' bit is the absolute path
<thomashoneyman> wait, never mind, let me look at path manipulation functions first
<infinisil> lejonet: Did you update the nix search cache?
<lejonet> infinisil: yep, even with -u it says no results found
<__monty__> jared-w: Don't let gchristensen hear though, he doesn't like derivations providing binaries >.> <.<
<thomashoneyman> is there a function which retrieves the last segment of a path?
<thomashoneyman> given say ./a/b/c returns c?
<lejonet> infinisil: https://brpaste.xyz/zDmerg
<__monty__> thomashoneyman: In the shell that's `basename` so there's probably an equivalent.
<thomashoneyman> ah, yes, baseNameOf
<DigitalKiwi> __monty__: what's wrong with wire-desktop
<adisbladis> lejonet: Try nix search -u -f '<nixpkgs>' ghidra
<__monty__> DigitalKiwi: Just that it fetches binaries, at different versions depending on the platform.
<adisbladis> I dunno if `nix search` is channel aware and doing some weird stuff
<adisbladis> lejonet: Works for me at least
<infinisil> Or directly `nix search -f channel:nixos-unstable --no-cache ghidra`
<{^_^}> [nixpkgs] @Vskilet opened pull request #76896 → roundcube: 1.4.1 -> 1.4.2 → https://git.io/JepqZ
fendor has quit [Quit: Leaving]
<lejonet> adisbladis, infinisil: The only command that gave me any output is the last one from infinisil
<lejonet> I suspect that my NIX_PATH env var is screwed up somehow
<DigitalKiwi> __monty__: why is that bad? the latest released version numbers are different
<adisbladis> lejonet: Maybe you have some inherited channel from the root user?
<adisbladis> Those don't show up in `nix-channel --list`
<lejonet> adisbladis: not impossible, how would I verify that?
<adisbladis> My only real protip here is don't use channels
<adisbladis> lejonet: Run `nix-channel --list` as root perhaps?
<__monty__> DigitalKiwi: It's just annoying. Means you need both platforms to test. (I bumped wire earlier today and wrote the double derivation originally btw.)
<adisbladis> lejonet: You can also just remove any channels you have as root :)
<lejonet> indeed, root is on 19.03, I thought user channel would override that, but I guess my assumption is an ass :P
kbZ has joined #nixos
<jared-w> it does for user packages, but not for everything
<DigitalKiwi> __monty__: lol i noticed it was out of date i was about to check if it'd been bumped in master and if not update it
<adisbladis> lejonet: Super sharp UX edge :/
<jared-w> I bet the weird ass nix-env -i thingy would've worked since that uses your channel (I think?)
<lejonet> adisbladis: yeah, the whole channel thing is confusing to say the least
selfsymmetric-pa has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
<adisbladis> lejonet: Don't worry, they'll die eventually :)
* jared-w waves the flake hype banner
<lejonet> nix-env -iA nixos.ghidra told me to sit in the corner... (could be because the pkg seems to be called ghidra-bin tho)
<lejonet> adisbladis: :D
<__monty__> adisbladis: Unless flakes dies first.
<DigitalKiwi> __monty__: haha though I had a notification anyway :P
<adisbladis> __monty__: I hope not
<adisbladis> lejonet: Imho by far the easiest way to get rid of confusion is to not use channels at all
<jared-w> adisbladis: if they die, it would probably be to something else that's better, so I'm okay with it as long as what they're replaced with accomplishes all the necessary goals
<adisbladis> Remove all channels and use a git repo referenced in NIX_PATH
<__monty__> DigitalKiwi: In wire you mean? The channel has probably not moved on yet.
<adisbladis> jared-w: Indeed, the current plan is to replace channels with flakes
<jared-w> what I don't want to see is everyone bike shedding about turning nix into the perfect-est package manager and trying to solve advanced dependency resolution, inheritance, diamonds, whatevs, etc., all before flakes actually get out the door
<DigitalKiwi> __monty__: i work off of master
<adisbladis> jared-w: If you're not up to speed: https://github.com/NixOS/rfcs/pull/49/
<__monty__> jared-w: I saw {^_^} saying Fridh merged my PR a short while ago. So if it's not working for you on linux with a current checkout it may be a bug.
<{^_^}> [nixpkgs] @gebner closed pull request #72813 → kicad: python2 -> python3 → https://git.io/Je2D4
<{^_^}> [nixpkgs] @gebner merged pull request #74259 → kicad: cleanup, fix and update → https://git.io/JeP55
<{^_^}> [nixpkgs] @gebner pushed 11 commits to master: https://git.io/Jepqw
<lejonet> adisbladis: pointing my NIX_PATH to the right /nix/var thingy makes it work, but I guess I should just take a gander at flakes for real
<__monty__> jared-w: Sorry, meant DigitalKiwi ^
rauno has quit [Ping timeout: 248 seconds]
<adisbladis> lejonet: Flakes are not ready for mainstream use yet
<adisbladis> You'd have to use the nixFlakes derivation to even get support atm
<adisbladis> Until then I think the least headache is my suggestion above (nuke channels, use NIX_PATH)
<drakonis> flakes is undocumented right now
<DigitalKiwi> __monty__: no that's not what i meant...
<drakonis> its quite clunky to use right now
<lejonet> adisbladis: well it was through NIX_PATH I was using channels, so you suggest pointing it towards like a git checkout is better?
<DigitalKiwi> __monty__: while we were talking i checked the github and saw that they had released new versions than were in my git checkout and i was about to go to github to see if anyone else had updated it already so i didn't waste my time updating something someone already did (which i've done many times before...) and i had a notification because i'm in the maintainers list :P
<adisbladis> lejonet: Yeah, removes all the magic :)
<__monty__> Ah, : D
<lejonet> adisbladis: indeed, I've been thinking about doing that for nixops, to keep channels from incremental updating them when I don't want to and such, doing it for my entire user makes sense :P
<jared-w> speaking of state and nixops; is the whole state file really necessary for nixops?
<adisbladis> lejonet: Right, my approach for Nixops is exactly that :)
<adisbladis> jared-w: Yes and no, it depends
<adisbladis> jared-w: For a simple deployment to a nixos machine, no, it's not required
<jared-w> adisbladis: I assume it has _some_ benefit somewhere? I just don't know what that is
<adisbladis> When managing s3 resources for example it is
<jared-w> it is? Aren't there other things that use s3 that are stateless?
<__monty__> jared-w: krops and morph are alternatives that avoid state. (Probably at the cost of some features.)
<adisbladis> jared-w: The state is also used for network-wide rollbacks
<lejonet> The statefile is for tracking resources too, i.e. if you've had nixops create stuff, that is how it remembers them and can do stuff like adisbladis pointed out
<jared-w> __monty__: I'm using krops right now. It's pretty decent for what I need it for, and I liked the statelessness + ability to use it on macos (at the time I started this project, I needed that feature)
<jared-w> lejonet: that makes sense
orivej has joined #nixos
<adisbladis> jared-w: Well, imagine yourself how inefficient managing s3 buckets without state would be
andymandias has quit [Ping timeout: 265 seconds]
v88m has quit [Ping timeout: 265 seconds]
<adisbladis> Let's say you have 1000 buckets, you'd have to query each one for metadata to know which ones to remove
<lejonet> jared-w: for example, all the generated keypairs it uses is stored in that statefile, without it, it'll generate new ones each run :P
<adisbladis> While in a state file you can diff locally
<demize> Would be nice if it had support for remote state stores, so that you could easily use it in a team.
<adisbladis> My dream: Marry nix and terraform, reinvent nixops on top of this
andymandias has joined #nixos
<jared-w> ah that's a good point. I suppose what I'm really wanting is the remote state store
<jared-w> nix+terraform sounds legit though
<adisbladis> I think there were some patches to store state in postgres, dunno what happened to it
<jared-w> how would you marry them together?
<adisbladis> jared-w: https://github.com/mrVanDalo/terranix for example
<flokli> adisbladis: not sure if I like nix as a general-purpose programming language
<jared-w> ah so not nix+terraform as a combined tool, but more like generating stuff for terraform, that makes sense
<adisbladis> flokli: I don't see how that is a concern here?
<adisbladis> jared-w: Yeah, piggyback on as much as possible :)
<jared-w> Well the performance of nix is terrible, for one; I had to give up writing advent of code in nix because it was literally impossible to get nix to not seg fault for certain problems
<jared-w> (perhaps I was doing something horribly wrong, though, but the continual shoving of the std lib into builtins that we can improve performance smells odd to me)
<adisbladis> Hm? I've written some fairly complex software in Nix and rarely has it been too slow to cause significant issues
<thomashoneyman> huh -- using filterSource to filter to only "src" and "test" directories actually only produces an empty src and test directory
<thomashoneyman> i expected to include the directories themselves
jonten has joined #nixos
<thomashoneyman> is there...a better function to use?
<jared-w> https://github.com/jared-w/advent-of-code-2019/blob/master/day3/default.nix this is the one I got stuck on. The file isn't particularly coherent as I ended up writing a few different ways to do it and then random test functions as I tried to fix the seg faulting, gave up and just committed the file as is and moved on
dm9 has quit [Quit: WeeChat 2.7]
orivej has quit [Ping timeout: 265 seconds]
<flokli> adisbladis: what I meant is, agreed on making use of all the work gone into terraform providers. Being able to be some level above plain .tf files already is much of an improvement
<{^_^}> [nixpkgs] @mgttlinger closed pull request #76087 → Fix haskell-lsp and lsp-test references → https://git.io/Jedvd
o1lo01ol1o has joined #nixos
<jared-w> adisbladis: but yeh, between terranix, nix + k8s, etc., its looking like using nix "mainstream ops" is improving quickly, which is always nice
<flokli> I'd just be much more happy if errors wouldn't occur during string interpolation or at runtime, but we'd have some simple type system which would do some basic checks when refering thing in other places.
lunik1 has quit [Quit: Ping timeout (120 seconds)]
lunik1 has joined #nixos
v88m has joined #nixos
orivej has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #76895 → gitea: 1.10.1 -> 1.10.2 → https://git.io/Jept4
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jepmq
zupo_ has joined #nixos
o1lo01ol1o has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.6]
<jared-w> flokli: I like dhall for that; haven't used it in anger yet, though, but I want to
fresheyeball has joined #nixos
<flokli> jared-w: I'm not sure if dhall solves that problem
<flokli> as long as we're still rendering to .hcl at least
zupo has quit [Ping timeout: 260 seconds]
<flokli> Ideally, that terraform frontend could query backends for allowed types on each resource attribute
<flokli> (or read some type definitions defined in each, whatever)
fresheyeball has quit [Client Quit]
<jared-w> It's strongly typed and total. If it can represent most all of hcl then I don't see why it couldn't solve the problem
<jared-w> although perhaps I'm underestimating how complex hcl types can get
<tbenst[m]> jared-w: huh not familiar with terraform, looks useful. found this: https://github.com/tweag/terraform-nixos
magnetophon has joined #nixos
wildtrees has joined #nixos
takeda has quit [Ping timeout: 258 seconds]
sigmundv_ has quit [Ping timeout: 258 seconds]
<magnetophon> I'm trying to update recoll, and am getting: "Could not find qmake spec 'linux-g++'." Any ideas?
<jared-w> tbenst[m]: nice, that looks fun. There's a lot of different tools out there and figuring out where each best fits with the other and how to combine them all is a bit... interesting
<flokli> tbenst[m]: jared-w: that's terraform providers/modules for invoking nix during plan/apply
<{^_^}> [nixpkgs] @timor opened pull request #76897 → Opensnitch: init at 1.0.0b and provide NixOS module → https://git.io/JepmV
Thra11 has joined #nixos
gyroninja has quit [Ping timeout: 268 seconds]
gyroninja has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
MichaelRaskin has quit [Remote host closed the connection]
wildtrees has quit [Ping timeout: 265 seconds]
troydm has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to master « rambox: 0.6.9 -> 0.7.3 »: https://git.io/Jepmx
<o1lo01ol1o> warning: unable to download 'https://nixcache.reflex-frp.org/nar/qgv5pfrjsi5vyffk0kwqibg403z3cdiw.nar.xz': HTTP error 200 (curl error: Timeout was reached); retrying in 260 ms error 9 while decompressing xz file
<o1lo01ol1o> That nar.xz is ~3gb, is there anything I can do to get it downloaded?
<{^_^}> [nixpkgs] @markuskowa opened pull request #76898 → soapysdr: add as python module → https://git.io/JepYU
Thra11 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #76788 → libbladerf: 2.2.0 -> 2.2.1 → https://git.io/JexLM
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JepYq
acarrico has quit [Quit: Leaving.]
dozn__ has joined #nixos
<{^_^}> [nixpkgs] @markuskowa pushed commit from @sbourdeauducq to release-19.09 « libbladerf: 2.2.0 -> 2.2.1 »: https://git.io/JepYm
<{^_^}> [nixpkgs] @markuskowa closed pull request #76869 → libbladerf: 2.2.0 -> 2.2.1 → https://git.io/JexAu
<clever> o1lo01ol1o: if you download the narinfo and nar to a local directory, you can then use nix copy to import it into your store
<clever> o1lo01ol1o: you would need something like `wget --continue` to resume every time it fails
<Raito_Bezarius> I followed https://nixos.wiki/wiki/Install_NixOS_on_Scaleway_X86_Virtual_Cloud_Server to install NixOS on a scaleway machine
<Raito_Bezarius> And strangely, it seems like the NixOS don't boot at the end
<Raito_Bezarius> On the serial console, I can see the bootloader and "NixOS" as a choice
<Raito_Bezarius> It is chosen and no output afterward
<clever> Raito_Bezarius: are you able to boot it into a rescue env?
<notgne2> Raito_Bezarius: did you keep the config for your serial console in the installed copy, not just the kexec bundle
<Raito_Bezarius> I think so
dozn_ has quit [Ping timeout: 258 seconds]
<Raito_Bezarius> Ah!
<Raito_Bezarius> No, I didn't
<Raito_Bezarius> And it seems like it has booted as SSH is available
<clever> then the real error is going out the vga port, and falling on the floor
<Raito_Bezarius> Nevermind
<clever> or there was no error!
<Raito_Bezarius> Thank you so much clever :'D
<Raito_Bezarius> clever++
<{^_^}> clever's karma got increased to 290
<magnetophon> FRidh: You seem to know your way around qmake. Any idea what causes "Could not find qmake spec 'linux-g++'." ?
<Raito_Bezarius> notgne2: thank you too!
<Raito_Bezarius> notgne2++
<{^_^}> notgne2's karma got increased to 2
ee194350 has quit [Ping timeout: 260 seconds]
mehlon has joined #nixos
<FRidh> magnetophon: I don'tknow
<magnetophon> FRidh: OK, tanks
wildtrees has joined #nixos
ee194350 has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
troydm has joined #nixos
erictapen has quit [Ping timeout: 268 seconds]
ixxie has quit [Ping timeout: 265 seconds]
<o1lo01ol1o> clever: what's the command to copy the nar? (I'm not even sure what the nar is, exactly, it's part of a large derivation set.)
<clever> o1lo01ol1o: i think it was something like `nix copy /nix/store/hash-foo --from file:///home/clever/dir`
<clever> o1lo01ol1o: that will look in dir, for hash.narinfo, and the narinfo should have the relative path to the .nar.xz
<o1lo01ol1o> clever: ok, thanks, i'll try that
cosimone has joined #nixos
<o1lo01ol1o> clever: how to I deduce where the .narinfo lives?
<clever> o1lo01ol1o: nix will have told you that it was downloading /nix/store/hash-name
<clever> o1lo01ol1o: the narinfo is always named hash.narinfo
yl has joined #nixos
<o1lo01ol1o> clever: cool I've found it
<o1lo01ol1o> clever: now to wait for the bytes to trickle down the wire
<o1lo01ol1o> clever++
<{^_^}> clever's karma got increased to 291
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #74284 → Update iOS for XCode 11 → https://git.io/JeXv3
<{^_^}> [nixpkgs] @matthewbauer pushed 8 commits to staging: https://git.io/JepYS
<{^_^}> [nixpkgs] @matthewbauer merged pull request #76070 → iOS with xcode 11 cherry pick for 19.09 → https://git.io/Je57F
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to release-19.09: https://git.io/JepY7
lovesegfault has joined #nixos
<symphorien> is it correct that activations scripts are ran before systemd during boot ?
<clever> symphorien: yes
<clever> symphorien: and there was a bug, where any error in the activation scripts, leads to systemd itself not even being in PATH, and then your boot fails :P
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7572786449c (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @Ma27 merged pull request #76896 → roundcube: 1.4.1 -> 1.4.2 → https://git.io/JepqZ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JepOO
<Raito_Bezarius> Is there any reason why 19.09-small for NixOS fails when I try to switch to it: "error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused"
<Raito_Bezarius> On 19.03-small
<evils> Raito_Bezarius: try the command again
<{^_^}> #72372 (by flokli, 9 weeks ago, open): Activation script snippet "nix" failed
Thra11 has quit [Ping timeout: 265 seconds]
<Raito_Bezarius> Alright, it works
<symphorien> clever: my question was about https://github.com/NixOS/nixpkgs/issues/72372
<{^_^}> #72372 (by flokli, 9 weeks ago, open): Activation script snippet "nix" failed
<symphorien> apparently an activation script now requires a running nix daemon
<symphorien> I am right to think this is problematic at boot, as the nix-daemon is by definition not yet running
<clever> symphorien: if nix is ran as root, it shouldnt need nix-daemon, it can just fork the worker out itself
<symphorien> ah I see
<clever> symphorien: also, why are you even running nix on boot?
<symphorien> the activation script does it
<symphorien> see the issue
<clever> which one?
<{^_^}> #72372 (by flokli, 9 weeks ago, open): Activation script snippet "nix" failed
fusion809 has quit [Remote host closed the connection]
<Raito_Bezarius> Also, is it expected that I see some error/assert traces on unstable?
<Raito_Bezarius> "trace: warning: Option `services.awstats.configs.<name>.extraConfig' has no description." in particular
domogled has quit [Ping timeout: 260 seconds]
<Raito_Bezarius> Even if I don't have any awstats stuff in my config
<symphorien> clever: caused by https://github.com/NixOS/nixpkgs/pull/76785
<{^_^}> #76785 (by flokli, 2 days ago, merged): [19.09] nix: 2.3 -> 2.3.1
<clever> Raito_Bezarius: its likely complaining because the option was defined
<gchristensen> Raito_Bezarius: what channel are you on exactly?
<Raito_Bezarius> gchristensen: I just moved to nixos-unstable right now
<gchristensen> nixos-unstable, not nixpkgs-unstable?
<clever> symphorien: *looks*
<Raito_Bezarius> nixos-unstable
<gchristensen> hrm
<Raito_Bezarius> from my nix-channel --list
<gchristensen> Raito_Bezarius: maybe find a recent PR affecting awstats and add a comment about it?
<Raito_Bezarius> FWIW, I have been doing 17.03 → 18.03 → 18.03-small → 19.03-small → 19.09 → unstable
<clever> symphorien: that should maybe be changed to `nix ping-store --no-net --store local`
<Raito_Bezarius> (notably due to the Nix 2 stuff)
<clever> symphorien: local tells it to directly open /nix itself, rather then asking nix-daemon
<Raito_Bezarius> AFAIK, gchristensen I see this one https://github.com/NixOS/nixpkgs/pull/76575
<{^_^}> #76575 (by aanderse, 1 week ago, merged): nixos/awstats: add missing description to extraConfig option
<symphorien> clever: do you mind writing this to the issue ?
<gchristensen> ah cool, then it should release soon Raito_Bezarius
<Raito_Bezarius> But I'm not sure why I don't see it on nixos-unstable, is nixos-unstable sync'd with nixpkgs master?
<symphorien> only after some tests pass
<Raito_Bezarius> is it possible to find the status on some Hydra page?
<symphorien> so there is a few days' lag
<Raito_Bezarius> Thank you!
<symphorien> !stuck
<clever> symphorien: done
<gchristensen> ,stuck
<gchristensen> ,stuck = https://status.nixos.org/
<{^_^}> stuck redefined, was defined as https://howoldis.herokuapp.com/
leo has joined #nixos
<Raito_Bezarius> gonna bookmark all of this
<symphorien> oh howoldis has now an official counterpart !
<symphorien> nice
leo is now known as Guest99757
<symphorien> clever: thanks!
justanotheruser has quit [Ping timeout: 258 seconds]
Guest96803 has quit [Ping timeout: 260 seconds]
chloekek has joined #nixos
zeta_0 has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<Raito_Bezarius> can I specify a stateVersion = "20.03" ?
<mehlon> I don't recommend it
<Raito_Bezarius> should I stick on the latest official release?
<Raito_Bezarius> i.e. 19.09 ?
alex`` has quit [Quit: WeeChat 2.7]
<mehlon> ah sorry I haven't been following this discussion
<Raito_Bezarius> This is a brand new machine
alexherbo2 has joined #nixos
<Raito_Bezarius> There is no state atm
alex`` has joined #nixos
<mehlon> you can do just fine with the latest stable
<Raito_Bezarius> So I just want to use the latest PGSQL mostly
<mehlon> you can override packages
<mehlon> usually..
<Raito_Bezarius> But I suppose that if I'm on some major PGSQL
<Raito_Bezarius> There is no automatic pg conversion of data
<Raito_Bezarius> to the next major PGSQL (makes sense)
<Raito_Bezarius> So I have to pin it somewhere (?)
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<Raito_Bezarius> and I understood that stateVersion was somehow assuming this role
<mehlon> I'm... not sure
<Raito_Bezarius> It's okay :)
<symphorien> Raito_Bezarius │ There is no state atm << note that there is state everywhere. For example, people who had no stateVersion defined have recently had problems with systemd-timesyncd failing after it's state got corrupted. So you might have state after all.
<Raito_Bezarius> I understand but this is a just-provisioned now machine
ng0 has quit [Remote host closed the connection]
tarnacious has joined #nixos
<Raito_Bezarius> Could it happen also on them?
mehlon has quit [Ping timeout: 258 seconds]
<Raito_Bezarius> Thus, the question becomes: how can I provision a machine with the stateVersion (X) of my choice when I am restricted on the version of NixOS (17.03)?
<clever> Raito_Bezarius: when nixops creates a machine, it will read the current version (whatever it booted with) and remember that as your stateVersion
ng0 has joined #nixos
ng0 has joined #nixos
ng0 has quit [Changing host]
<Raito_Bezarius> For the Scaleway installation, I cannot use something > 17.03 for the kexec NixOS right?
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7201d239204 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<symphorien> you can always change stateVersion, see what fails, find the corresponding github issue and fix the problem by hand
<clever> Raito_Bezarius: if you use kexec, then just pick the right channel before you run nixos-install and nixos-generate-config, and it will just start from what you picked
<Raito_Bezarius> Okay I see
<clever> same as any normal install from the ISO
metastatic has joined #nixos
UndefinedIsNotAF has joined #nixos
cosimone has quit [Quit: Quit.]
<pie_[bnc]> clever: IIRC you know something about pulseaudio bluetooth stuff?
<clever> pie_[bnc]: a little bit
<pie_[bnc]> clever: i skimmed over https://nixos.wiki/wiki/Bluetooth and have (please hold for paste) in my configuration.nix
<pie_[bnc]> but a rebuild switch doesnt seem to restart pulse, and manually loading the pulse bluetooth modules doesnt work;
<pie_[bnc]> $ pactl load-module module-bluetooth-discover
<pie_[bnc]> Failure: Module initialization failed
ehmry has joined #nixos
fendor has joined #nixos
<clever> pie_[bnc]: are you set to the pulseaudio full package?
<pie_[bnc]> clever: to the best of my knowledge yes
<clever> pie_[bnc]: you may need to `pactl exit` to kill the daemon, it should restart itself
<clever> pie_[bnc]: ive only been able to initiate a connection with blueman
<pie_[bnc]> clever: the actual error is: blueman.bluez.errors.DBusFailedError: Protocol not available
Thra11 has joined #nixos
<pie_[bnc]> when i try to right click device -> "connect to:" Audio Source
<pie_[bnc]> im successfully paired
<clever> pie_[bnc]: have you confirmed that pulseaudio has restarted?
<pie_[bnc]> clever: ive tried systemctl restart
<clever> pie_[bnc]: check the timestamp on the process in `ps aux` ?
alex`` has quit [Ping timeout: 258 seconds]
<pie_[bnc]> systemctl --user restart puleseaudio or something like that
<pie_[bnc]> ok hold on
alexherbo2 has quit [Ping timeout: 258 seconds]
<pie_[bnc]> clever: heres the config https://bpaste.net/URPA
<Guest99757> clever: Still no luck with the felgo installer
mexisme has quit [Ping timeout: 246 seconds]
MichaelRaskin has joined #nixos
<Guest99757> just too much hassle to package the dependencies, patch the installer, extract it, patch/package the result
<Guest99757> I guess this is where Nix{,OS} fails
<clever> pie_[bnc]: line 5 should already add bluetooth support, so i dont see 6 being needed
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Guest99757> just too laborious for binaries/proprietary/complex software
<pie_[bnc]> clever: hm
__monty__ has quit [Quit: leaving]
<thomashoneyman> if I have a Nix expression which includes a line like this:
<thomashoneyman> let dep = callPackage ./expr.nix {}; in stdenv.mkDerivation { ... }
<thomashoneyman> where dep is used in mkDerivation
<thomashoneyman> does a change in dep force a rebuild of the derivation?
<thomashoneyman> or do i have to add the dep to buildInputs to cause that?
<thomashoneyman> i have a setup like this and a change to the dep doesn't seem to be triggering a rebuild
<clever> thomashoneyman: only if dep is somehow passed to stdenv.mkDerivation will it impact the build
<MichaelRaskin> And passthru and meta do not count
MightyJoe has quit [Ping timeout: 258 seconds]
<thomashoneyman> clever: it's used like `buildPhase = '' ... cp ${dep}/file '';`
dwagenk has joined #nixos
<pie_[bnc]> clever: well i killed the process manually, still nothing, ill try without the second line
<MichaelRaskin> thomashoneyman: is dep fixed-output?
<thomashoneyman> no, it's not
<thomashoneyman> if by that you mean it's got a pre-specified output hash
<thomashoneyman> i'm basically using the equivalent of cabal2nix > file.nix and then in another file using callPackage file.nix and using the results of that
<thomashoneyman> with the idea being if file.nix changes i want a rebuild
<{^_^}> [nixpkgs] @misuzu opened pull request #76900 → psi: 0.15 -> 1.4 → https://git.io/Jep3i
Thra11 has quit [Ping timeout: 268 seconds]
<clever> thomashoneyman: can you gist all of the nix files?
MichaelRaskin has quit [Remote host closed the connection]
cyraxjoe has joined #nixos
dwagenk has quit [Remote host closed the connection]
<thomashoneyman> oh, lord, i'm not using one of the dependencies i thought i was
<thomashoneyman> let me fix that and see if it works
<thomashoneyman> i've used this pattern elsewhere successfully
<thomashoneyman> sorry about that!
ng0 has quit [Quit: leaving]
jlv has quit [Remote host closed the connection]
<Raito_Bezarius> Would that be possible to use fdroidserver and Hydra to build reproducible APK from a mobile application repository?
<Raito_Bezarius> I know that fdroidserver builds can be considered as stateful/impure so I cannot directly use Hydra I guess (?)
<chloekek> Is it possible to get PHP without systemd integration on Linux? The value the derivation uses is "config.php.systemd or stdenv.isLinux" so I guess not.
<pie_[bnc]> clever: im a dummy, the config didnt switch because i didnt notice a rebuild error
<chloekek> Since stdenv.isLinux is always true on Linux.
<clever> pie_[bnc]: that will do it!
<chloekek> It feels like the or should be and because systemd only runs on Linux anyway.
<zeta_0> how would i copy all the files from one directory including the .(dot) files into another directory(just the files not the directory itself), i can't seem to find a command that does this?
<pie_[bnc]> clever: thanks for your infinite patience
<pie_[bnc]> clever: i was suspicious about te rebuild not restarting the service but it didnt click
<Raito_Bezarius> zeta_0: in nix?
<pie_[bnc]> clever: devil in the details
<chloekek> Ah, or isn't logical OR, it is default for missing attribute.
szicari has quit [Ping timeout: 245 seconds]
<pie_[bnc]> clever: still bothers me that pulseaudio wouldnt load the module and gave a completely useless error message
<clever> pie_[bnc]: its likely that the old pulse just didnt have it in the search path
<pie_[bnc]> clever: but it tab completed
<clever> pie_[bnc]: weird
<clever> pie_[bnc]: id look into how it even tab completes
<clever> pie_[bnc]: it could be a hard-coded list of modules!
<pie_[bnc]> clever: crap, still same protocol not found error, still no service restart
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @misuzu opened pull request #76902 → psi-plus: 1.4.904 -> 1.4.983 → https://git.io/Jepsm
<zeta_0> i want to be able to copy 2 files: default.nix and .envrc into another directory to be used with nix-shell, but i can't seem to find a command that does this, trying out the commands i found online, it either only copies default.nix or it copes the entire directory, which i don't want, i just want to copy all the files including the .(dot) files from one directory to another, is there a simple command to this in bas
<zeta_0> h?
ng0 has joined #nixos
ng0 has joined #nixos
ng0 has quit [Changing host]
szicari has joined #nixos
<{^_^}> [nixpkgs] @eraserhd opened pull request #76903 → graalvm8: use custom mercurial → https://git.io/Jepsl
<pie_[bnc]> clever: f*** it it might be faster to start a mumble server and connect to it with my phone
<clever> pie_[bnc]: and have better range!
mehlon has joined #nixos
cosimone has joined #nixos
fresheyeball has joined #nixos
<zeta_0> clever: do you know a command that will do this for me, the commands that i found online don't do this specific thing?
<Raito_Bezarius> Are Android SDKs packaged in nixpkgs? I don't find them on nixos.org/nixos/packages.html
<clever> zeta_0: "cp ${./.envrc} .envrc; cp ${./default.nix} default.nix"
<pie_[bnc]> clever: do you know off the top of your head how i can forward a wlan port to my internal container port
<Raito_Bezarius> pie_[bnc]: use iptables
<pie_[bnc]> can i do it without needing to nat the target ip
<pie_[bnc]> err
<pie_[bnc]> that makes no sense
<clever> pie_[bnc]: there are port forward options under networking
<Raito_Bezarius> you can use SSH otherwise or Docker native forward
<Raito_Bezarius> Docker native forwarding uses iptables internally with its own device IIRC
<pie_[bnc]> i mean this method uses both the source and tar...oh wait im dumb
<pie_[bnc]> thats not the connecting device ip
* pie_[bnc] hand waves disregard me
<pie_[bnc]> clever: oh right thats a thing
<pie_[bnc]> clever: there are also specifically container port forward options
<pie_[bnc]> ^ @ oh right thats a thing
edef has quit [Ping timeout: 268 seconds]
edef has joined #nixos
Guest99757 has quit [Quit: leaving]
<zeta_0> clever: i did not understand that command, and i need to copy them separately?
<clever> zeta_0: thats the simplest option
<mehlon> pip install ffpass gives me the error ModuleNotFoundError: No module named 'setuptools'
<{^_^}> [nixpkgs] @ivan opened pull request #76904 → diesel-cli: unmaintain → https://git.io/Jepsi
erictapen has joined #nixos
<zeta_0> clever: thanks, i'll try out those commands
<zeta_0> clever++
<{^_^}> clever's karma got increased to 292
ixxie has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #76904 → diesel-cli: unmaintain → https://git.io/Jepsi
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JepsD
<mehlon> mehlon++
<{^_^}> mehlon's karma got decreased to -1
<mehlon> oh real funny
<mehlon> {^_^}--
vimkuha has joined #nixos
<gchristensen> karma can only go up (unless you try to give it to yourself)
<mehlon> mehlon++
<{^_^}> mehlon's karma got decreased to -2
<mehlon> on the upside this means I am guaranteed to be reincarnated
<gchristensen> there you go
<vimkuha> I'm looking to accomodate a binary package that contains both 32bit and 64bit binaries. Is this doable?
<mehlon> probably
fresheyeball has quit [Quit: WeeChat 2.6]
<clever> vimkuha: does it need both, or is it a choice for the user which one to use?
<vimkuha> clever: It needs both
<vimkuha> clever: It's crossover 19, a version of wine
MichaelRaskin has joined #nixos
<clever> vimkuha: pkgsi686Linux.hello lets you get a 32bit version of things, when you patchelf
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<vimkuha> clever: So I create an expression as if it's a 64bit package, but I refer to pkgsi686Linux... to get the 32bit stuff I need?
ddellacosta has quit [Quit: WeeChat 2.2]
o1lo01ol1o has joined #nixos
<clever> vimkuha: yep
gustavderdrache has quit [Quit: Leaving.]
<vimkuha> Great! Thanks
ddellacosta has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<pie_[bnc]> clever: see anything blatantly wrong here? https://bpaste.net/NHIA
<pie_[bnc]> clever: the port is filtered outside but open inside according to nmap
erictapen has quit [Ping timeout: 240 seconds]
<clever> pie_[bnc]: is there any point in running murmur inside a container?
<pie_[bnc]> clever: i happen to have had thi sconfig sitting around
<pie_[bnc]> clever: probably not
<pie_[bnc]> clever: tcpdump shows packets getting _in_ afaict but thats it
<arcnmx> Hm, can modulesPath be made to work with types.submodule in some way?
<clever> pie_[bnc]: tcpdump bypasses the firewall when capturing
<pie_[bnc]> clever: mh.
<jackdk> https://github.com/NixOS/nixpkgs/issues/71948 does anyone have any idea why lua-mode in particular seems to have unstable archives?
<pie_[bnc]> i guess i could try disabling the firewall to see if that helps
<{^_^}> #71948 (by endgame, 10 weeks ago, open): emacsPackages.lua-mode fails to build
<clever> pie_[bnc]: you can also try allowing the port on the host
<clever> pie_[bnc]: nixos also doesnt restart containers automatically
<pie_[bnc]> clever: yeah i restarted the container manually
<pie_[bnc]> clever: oh that might make sense
<pie_[bnc]> re @ open on host
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @tobim closed pull request #72069 → zstd: add static option → https://git.io/JeEdy
<arcnmx> https://github.com/NixOS/nixpkgs/pull/75031 oh wtf relevant changes were merged yesterday, nevermind me then
<{^_^}> #75031 (by Infinisil, 4 weeks ago, merged): Module system improvements for NixOS as a submodule
kraem has quit [Quit: outta here]
<pie_[bnc]> clever: ok it was either the host firewall or some other thing i just fixed!
<{^_^}> [nixpkgs] @wahjava opened pull request #76905 → sbcl: 1.5.6 -> 2.0.0 → https://git.io/JepGJ
<pie_[bnc]> clever: this is so dumb but it works
<pie_[bnc]> clever: i now have a better microphone than my laptop one
<pie_[bnc]> its a documented effect but trying to talk while listening to yourself on a couple millisecond lag is really screwy
domogled has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #76906 → ffmpeg{_4,-full}: 4.2.1 -> 4.2.2, ffmpeg_2_8: 2.8.14 -> 2.8.15 → https://git.io/JepGY
<pie_[bnc]> gonna try to record some singing...definitely beats the internal microphone. idk about the dynamic range on this thing but oh boy this is gonna be bad :D
<pie_[bnc]> aaand this is the point i end up really wanting JACK
demize has quit [Quit: Do Androids Dream of Electric Sheep?]
demize has joined #nixos
<vimkuha> Is $NIX_CC/nix-support/dynamic-linker supposed to point to a 32 bit linker always?
<clever> vimkuha: it will depend on which arch the stdenv is for
<pie_[bnc]> ,locate libgcc_s.so.1
<{^_^}> Found in packages: glibc, graalvm8, glibc_multi, gcc-unwrapped.lib
<clever> nix-repl> "${pkgsi686Linux.gcc}/nix-support/dynamic-linker"
<clever> vimkuha: this will get you the 32bit one
<vimkuha> clever: Yes yes! Thanks
zaeph has joined #nixos
<o1lo01ol1o> clever: nix copy /nix/store/qgv5pfrjsi5vyffk0kwqibg403z3cdiw-Xcode.app --from file://Users/timpierson/Downloads/qgv5pfrjsi5vyffk0kwqibg403z3cdiw.narinfo (yields: error: path '/nix/store/qgv5pfrjsi5vyffk0kwqibg403z3cdiw-Xcode.app' is not valid)
<pie_[bnc]> i need to update my channels lol, i keep forgetting to use unstable and everything is broken
<clever> o1lo01ol1o: the --from must point to a directory
<clever> o1lo01ol1o: nix will then compure the name of the narinfo, based on what it wants to read
<o1lo01ol1o> clever: gotcha. (error: NAR info file 'qgv5pfrjsi5vyffk0kwqibg403z3cdiw.narinfo' is corrupt; guess I'll try to get that again.)
<clever> o1lo01ol1o: its plaintext, so you can peek inside and see whats wrong with it
justanotheruser has joined #nixos
peanutbutter144_ has quit [Quit: No Ping reply in 180 seconds.]
vimkuha has quit [Ping timeout: 260 seconds]
Wizek has quit [Quit: Connection closed for inactivity]
<pie_[bnc]> clever: seems like i cant load any pulse modules manually for some reason
<clever> pie_[bnc]: what command are you using?
peanutbutter144 has joined #nixos
<pie_[bnc]> clever: pactl load-module
<clever> pie_[bnc]: the full cmd
<pie_[bnc]> clever: $ pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; pacmd set-default-sink jack_out
<pie_[bnc]> clever: this is a module i already have loaded:
<pie_[bnc]> $ pactl load-module module-role-cork
<pie_[bnc]> Failure: Module initialization failed
<pie_[bnc]> not sure how to get to the pulseaudio logs
<clever> Jan 03 18:50:14 amd-nixos pulseaudio[6337]: E: [pulseaudio] ltdl-bind-now.c: Failed to open module module-jack-sink.so: module-jack-sink.so: cannot open shared object file: No such file or directory
<clever> Jan 03 18:50:14 amd-nixos pulseaudio[6337]: E: [pulseaudio] module.c: Failed to open module "module-jack-sink".
<clever> pie_[bnc]: this shows up in `journalctl -f`
<clever> pie_[bnc]: adding on `-o json`, shows ALL fields
<pie_[bnc]> clever: why doesnt journalctl --user -u pulseaudio work
<clever> "_SYSTEMD_USER_UNIT":"pulseaudio.service"
<clever> -u matches on systemd_unit, not systemd_user_unit
<pie_[bnc]> ...
<pie_[bnc]> bleh
<clever> [root@amd-nixos:~]# journalctl -f _SYSTEMD_USER_UNIT=pulseaudio.service
<clever> this matches directly on a field
<clever> [root@amd-nixos:~]# strace -p 6337 -f -e open,openat
<clever> and this reveals the search path
<pie_[bnc]> ok so its failing to find stuff , as expected
<pie_[bnc]> no variations on sudo or lack thereof and --user and --user-unit work for me yet but -f works fine, so whatever
knupfer has joined #nixos
dozn_ has joined #nixos
elux has quit [Quit: leaving]
<pie_[bnc]> dunno why they cant just output this on the cli https://bpaste.net/CWEQ
<pie_[bnc]> why does one have to go digging in journals
<pie_[bnc]> ideally theyd do both
<pie_[bnc]> clever: given that im using pulseaudiofull idk what the problem is
<clever> pie_[bnc]: check the nix store with find, where does module-jack-sink.so exist?
<pie_[bnc]> im waiting for the find righ tnow
<Athas> I'm confused. I want to downgrade from from following nixpkgs-stable to nixos-19.09. I have thus used nix-channel to make the 'nixpkgs' channel point at https://nixos.org/channels/nixos-19.09. But when I run 'nixos-rebuild build', it doesn't do anything!
<clever> Athas: nixos-rebuild always uses the channel named nixos
lovesegfault has quit [Quit: WeeChat 2.7]
dozn__ has quit [Ping timeout: 260 seconds]
<Athas> clever: odd, I didn't have one by that name in the first place.
mehlon has quit [Quit: Leaving]
<Athas> So what have I been running?
<Athas> Ah, wait, ffs.
<Athas> This is because I didn't run nix-channel as root, isn't it?
<clever> Athas: each user has their own list of channels
<pie_[bnc]> clever: oh wth didnt even see you give the strace
<pie_[bnc]> clever: oh right i forgot strace can attach to processes ;_;
<pie_[bnc]> clever: im so bad at thi
lsix has quit [Quit: WeeChat 2.6]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
alexherbo2 has joined #nixos
<pie_[bnc]> clever: the pulse entry doesnt seem to have the dlls i need https://bpaste.net/7I4A , these paths probably come from some config file
<pie_[bnc]> but anything that seems to refer to pulseaudio is the pulseaudio binary
* pie_[bnc] checks the systemd unit again
<pie_[bnc]> maybe its it's $PATH
justanotheruser has quit [Ping timeout: 248 seconds]
<pie_[bnc]> nope nothing interesting there
<clever> pie_[bnc]: the fact that its checking glibc, implies that its using dlopen, which may search RPATH and LD_LIBRARY_PATH
<pie_[bnc]> clever: makes sense
* pie_[bnc] reaches for patchelf
<pie_[bnc]> clever: if it was using ld library path is expect there to be something in the unit file or a wrapper, which i havent seen
alex`` has joined #nixos
<pie_[bnc]> actually
<pie_[bnc]> not sure whats going on but FragmentPath is set and the file is nonempty
<pie_[bnc]> and so is DropInPaths
<pie_[bnc]> hm but maybe systemctl show already contians the evaluated contents of that
zeta_0 has joined #nixos
<clever> pie_[bnc]: i just: [root@amd-nixos:~]# cat /etc/systemd/user/pulseaudio.service
ayerhart has quit [Ping timeout: 268 seconds]
<pie_[bnc]> oh lol what i wonder if this is a remnant of me fighting with it months ago...
<pie_[bnc]> i dont think nixpkgs creates a pulsef***.conf
<clever> that doesnt sound like a PR that would get merged, lol
<pie_[bnc]> xD
<pie_[bnc]> do you know off the top of your head where systemd puts overrides
<pie_[bnc]> .config/systemd/user?
<clever> [root@amd-nixos:~]# ls /etc/systemd/user/pulseaudio.service.d/overrides.conf
<zeta_0> clever: where would i place: `eval "$(direnv hook bash)"`? do i place it in: displayManager.sessionCommands in configuration.nix? that will place it in: `.bashrc` ,right? https://nixos.wiki/wiki/Development_environment_with_nix-shell
<clever> zeta_0: displayManager.sessionCommands is the wrong one, thats before your terminal window even opens
ayerhart has joined #nixos
<zeta_0> clever: good thing i asked, so if .bashrc is write protected then what bash option in configuration.nix do i place it in?
<softinio> gchristensen: hope you are well got a question if you are around
risson has quit [Quit: Pouet. WeeChat 2.6]
risson has joined #nixos
<pie_[bnc]> clever: current hunch: systemd is running the wrong pulse
<pie_[bnc]> $ readlink $(which pulseaudio )
<pie_[bnc]> /nix/store/wc33fc3fzakd2rmyzq352rcnxsq60aq8-pulseaudio-13.0/bin/pulseaudio
<clever> pie_[bnc]: compare ps aux to the unit file
<pie_[bnc]> clever: ps aux yields /nix/store/5sngikdd1ya4dwv4yaybq92y16n0lapg-pulseaudio-13.0/bin/pulseaudio --daemonize=no
mexisme has joined #nixos
<clever> pie_[bnc]: what about `which --all pulseaudio` ?
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7201d239204 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<jared-w> there's an --all for which? wat
<pie_[bnc]> clever: looks like the unit file shows the w* path
<pie_[bnc]> clever: which lists only the one in current-system
<pie_[bnc]> clever: wasnt there a command for making systemd reload configs
<clever> pie_[bnc]: then it simply hasnt been restarted yet
datakurre has quit [Ping timeout: 260 seconds]
<pie_[bnc]> clever: systemctl show doesnt match the unit file
<zeta_0> so where would i need to place eval "$(direnv hook zsh)" ? https://nixos.org/nixos/options.html#programs.bash
<clever> zeta_0: programs.bash.interactiveShellInit
<clever> pie_[bnc]: systemctl --user --reload, i think
<jared-w> home-manager has a builtin shell integration thing for direnv too
<pie_[bnc]> clever: doesnt work, ill just google it
<pie_[bnc]> clever: also systemctl revert is a thing apparently
<pie_[bnc]> clever: well, revert made the settings change
<jared-w> pie_[bnc]: https://rycee.gitlab.io/home-manager/options.html#opt-programs.direnv.enableBashIntegration
<zeta_0> clever: thanks, i'll place it there now and to a rebuild switch, except with bash instead of zsh
<zeta_0> clever++
<{^_^}> clever's karma got increased to 293
<pie_[bnc]> jared-w: wrong highlight, zeta_0 see above
<jared-w> ah whoops, thx
<jared-w> clever: how much of your karma is from zeta_0 using you as a google search engine? :p
<clever> jared-w: id have to check the irc logs, lol
mexisme has quit [Ping timeout: 260 seconds]
<pie_[bnc]> clever: it works now. so the verdict is i had some old badly done service overrides making the wrong version of pulse run
<pie_[bnc]> this might explain some other issues i was having
<pie_[bnc]> infinisil: ^
<pie_[bnc]> ...wait. no. nevermind. still broken.
<zeta_0> i didn't know there was an option for direnv, thanks
<zeta_0> jared-w++
<{^_^}> jared-w's karma got increased to 1
Dagger2 is now known as Dagger
dhess has quit [Remote host closed the connection]
datakurre has joined #nixos
<{^_^}> [nixpkgs] @wucke13 opened pull request #76907 → [WIP] pivx: 3.4.0 -> 4.0.0 → https://git.io/JepZL
<pie_[bnc]> considering how much of my typing i can hear over my phone microphone, audio keylogging seems entirely plausible with some effort
<zeta_0> clever: so i don't need to set eval "$(direnv hook bash)" if set the direnv option? https://rycee.gitlab.io/home-manager/options.html#opt-programs.direnv.enable
cosimone has quit [Quit: Quit.]
<clever> zeta_0: probably
<clever> pie_[bnc]: there is also accelerometer keyloggers
<pie_[bnc]> right
<{^_^}> [nixpkgs] @jonringer opened pull request #76908 → pythonPackages.elementpath: 1.3.3 -> 1.4.0 → https://git.io/JepZt
mehlon has joined #nixos
lukash_ is now known as lukash_|away
fendor has quit [Quit: Leaving]
<jared-w> zeta_0: yup. that's correct. I have it working on my personal computer with that
<jared-w> In fact, if you want to use lorri in combination with direnv, home-manager has an out of the box one liner for that too: https://www.tweag.io/posts/2019-03-28-introducing-lorri.html
<jared-w> zeta_0: services.lorri.enable = true; programs.direnv.enable = true; is all I have in my home-manager config
zeta_0 has quit [Quit: rebuilding]
<jared-w> (assuming your shell is configured and enabled through home-manager. Otherwise all you need to do is stick the standard `eval ...` stuff somewhere in your shell config.)
zeta_0 has joined #nixos
thc202 has quit [Ping timeout: 248 seconds]
<pie_[bnc]> clever: seems like im uspposed to do smething with some kind of jackdbus but i dont see anything for enabling it anywhere and apparently its supposed to work... https://bpaste.net/ESHA
datakurre has quit [Ping timeout: 246 seconds]
<pie_[bnc]> " Load the jack modules for pulseaudio after starting jackdbus "
<pie_[bnc]> doing the checkbox thingy doesnt work
<clever> pie_[bnc]: ive not tried jack in a few years
<pie_[bnc]> and i cant find anything under systemd for jack
<pie_[bnc]> im guessing pulseaudiofull has this covereD? hardware.pulseaudio.package = pkgs.pulseaudio.override { jackaudioSupport = true; };
* pie_[bnc] checks nixpkgs
<clever> pie_[bnc]: to the source!
<clever> 14356 pulseaudioFull = pulseaudio.override {
<clever> 14358 jackaudioSupport = true;
<clever> 14357 x11Support = true;
<clever> 14360 bluetoothSupport = true;
<pie_[bnc]> mh
<o1lo01ol1o> clever: rror: NAR info file 'qgv5pfrjsi5vyffk0kwqibg403z3cdiw.narinfo' is corrupt <- the specified nar.xz file length is correct however the sha256 differs; i've downloaded the file twice each time it gives the same value for `openssl dgst -sha256` but neither time is this what is listed in the narinfo
jonten has quit [Ping timeout: 268 seconds]
<clever> o1lo01ol1o: the narinfo contains 2 hashes, for the .nar and for the .nar.xz
erasmas has quit [Quit: leaving]
<o1lo01ol1o> clever: yes, the length of the latter is correct; however, the sha256 doesn't match eithher
<clever> o1lo01ol1o: the narinfo also holds the hash in base32, not base16
<clever> o1lo01ol1o: `man nix-hash` to see how to convert hash types, and how to just hash a file
<o1lo01ol1o> clever: ah, ok. thanks
knupfer has quit [Ping timeout: 248 seconds]
<pie_[bnc]> whelp <x> pie_[bnc]: iirc there once was a ctf challenge where you had to reconstruct the flag from keyboard input recorded via microphone. was with some effort solvable.
<zeta_0> clever: will the bash options installed in configuration.nix collide with the bash options in home.nix, for example: setting aliases in both?
<pie_[bnc]> clever: ...o...oh
<pie_[bnc]> clever: i went over the page again and at the top its services.jack
<afics> I want to locally modify an existing package in the nixpgs repo, what would be the way to go? For quick testing I would just copy the folder from the nixpkgs repo and overlay it, but I'm hitting "error: cannot coerce a set to a string, at" and similar errors.
<clever> zeta_0: no clue, i dont use home-manager
<zeta_0> clever: you don't use home-manager?
<clever> zeta_0: correct
<{^_^}> [nixpkgs] @jonringer merged pull request #76641 → pynagsystemd: init at 1.2.0 and dependencies → https://git.io/JeNyB
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JepZo
<makefu> afics: if you are lucky, then '<packagename>.override' is enough for you :) if you want to override certain stages and parameters then you can user overrideAttrs pkgs.packagename (old: {})
beurs has joined #nixos
<afics> makefu: I want to override the whole package; I read somewhere that <packagename>.override is deprecated?
<zeta_0> rycee: will the bash options installed in configuration.nix collide with the bash options in home.nix, for example: setting aliases in both?
<zeta_0> rycee: and does nix-shell use the bash from configuration.nix or home.nix?
<makefu> if you want to fiddle around your local clone then you can use 'nix-build -I nixpkgs=/path/to/my/checkout -A package-name'
<afics> makefu: I am using nixops, so I assume that's quite a bit more involved in my cas
<afics> *case
<clever> makefu: the -I wont really have any effect, a file hasnt been specified, so it will try to load default.nix from the current dir
shibboleth has quit [Quit: shibboleth]
<clever> makefu: `nix-build /path/to/my/checkout -A package-name` would be one fix
<makefu> ah yes, sure
<{^_^}> [nixpkgs] @wucke13 opened pull request #76909 → [WIP] utsushi: 3.59.2 -> 3.61.0 → https://git.io/JepZ1
<makefu> afics: overrideDerivation is somewhat deprecated ( see https://nixos.org/nixpkgs/manual/#sec-pkg-overrideDerivation )
edef has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 260 seconds]
ent has quit [Ping timeout: 252 seconds]
liff has quit [Read error: Connection reset by peer]
<makefu> if the package is a dependency in nixpkgs, then you should use an overlay and callPackage the copy you created ( super.callPackage ./copied-package.nix {} ); how create an overlay is described in the manual and the wiki ( https://nixos.wiki/wiki/Overlays )
erictapen has joined #nixos
<afics> makefu: I tried that, that's where I get the "cannot coerce a set to a string, at" error
zeta_0 has quit [Quit: rebuilding]