worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<jtojnar> alienpirate5 anything in the logs?
gustavderdrache1 has joined #nixos
gustavderdrache1 has left #nixos [#nixos]
sigmundv__ has joined #nixos
gustavderdrache has quit [Ping timeout: 264 seconds]
Acou_Bass has quit [Ping timeout: 265 seconds]
lawr3nce has joined #nixos
lawr3nce has quit [Remote host closed the connection]
never_released_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
never_released has joined #nixos
MmeQuignon has quit [Quit: WeeChat 2.8]
Acou_Bass has joined #nixos
<jlv[m]> I want to refer to the directory containing default.nix, but the actual directory. If I use `./.`, I get a Nix store copy of the directory. Is this possible?
<energizer> jlv[m]: the directory path at evaluation time?
<jlv[m]> energizer: I suppose. It's mostly for `nix-shell`.
<{^_^}> [nixpkgs] @marsam merged pull request #89749 → gitAndTools.git-subset: init at 0.1.1 → https://git.io/JfM7G
<energizer> jlv[m]: what do you want to do with it?
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfDJq
<infinisil> jlv[m]: `toString ./.`
<jlv[m]> energizer: Set `NIXOPS_STATE` to a local directory, for a NixOps project.
<{^_^}> [nixpkgs] @marsam merged pull request #89771 → jc: 1.11.1 -> 1.11.2 → https://git.io/JfMjs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfDJ3
<jlv[m]> infinisil: Oh. That did it. I didn't even consider that after `${./.}` pointed to a Nix store path.
<{^_^}> [nixpkgs] @marsam merged pull request #89739 → editorconfig-checker: 2.0.4 -> 2.1.0 → https://git.io/JfMMP
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfDJn
<energizer> is it possible to avoid pushing to cachix things that are already in cache.nixos.org?
slack1256 has quit [Ping timeout: 264 seconds]
ninjin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #89706 → go-toml: init at 1.8.0 → https://git.io/JfMOn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfDJ0
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfDJE
ninjin has joined #nixos
Rusty1 has joined #nixos
<{^_^}> cachix/cachix#16 (by domenkozar, 2 years ago, open): Upstream binary cache
<emilsp> I'm seemingly failing to build an alsa module or some firmware stuff - /nix/store/hrpvwkjz04s9i4nmli843hyw9z4pwhww-bash-4.4-p23/bin/bash: ./tobin: cannot execute binary file: Exec format error. I'm trying to cross-compile for the raspberry pi 4, and I've already disabled sound - I'm not sure what else should I do to not build this or resolve the issue
<{^_^}> [nixpkgs] @Ericson2314 pushed to staging-next « systemd: Fix cross build »: https://git.io/JfDJg
<gchristensen> energizer: nix declares an invariant that for every artifact in the cache, that same cache has every dependency
proofofkeags has joined #nixos
<energizer> gchristensen: i wonder how he'll do it then. he posted "Going to implement this in a few weeks" at the bottom
<gchristensen> not sure, it's been a few more than a few weeks -- maybe he ran in to trouble
proofofkeags has quit [Remote host closed the connection]
<energizer> i think we're still within the open-source-time-dilation "a few weeks"
proofofkeags has joined #nixos
<gchristensen> domen + cachix is proprietary, though tbh in OSS if I see "in a few weeks" I usually assume it isn't happening
<energizer> hahah :D
<gchristensen> that isn't a dig on anyone or anything, just that typically in OSS either insiration struck now or it didn't, and a few weeks doesn't help
Arahael has quit [Ping timeout: 256 seconds]
thc202 has quit [Ping timeout: 256 seconds]
<energizer> i'll just have to see if it gets done before i'm done uploading texlive...
Arahael has joined #nixos
<energizer> tbh cachix push seems to be going quite slowly
bhipple has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
<energizer> is there another way to get this build from remote to local? rsyncing /nix/store seems ridiculous but if that's my best option i'll do it
<euank> energizer: nix-copy-closure --from user@remote /nix/store/path ?
<euank> Or do you mean something else
<emilsp> huh, is alsa-firmware even cross-compilable?
<energizer> euank: afaict that hangs
<energizer> euank: "copying path..." but no network activity
<euank> Maybe with -v it'll have more info
<energizer> nope
<euank> Oh, weird
<euank> Or is this still cachix, which I have no clue if it offers an ssh-like interface or anything akin to it
<clever> energizer: copy-closure will do some http requests before it copies
xO1 has quit [Ping timeout: 246 seconds]
<energizer> -vvv gives more info
<energizer> querying remote host ... for info on /nix/store/...
<energizer> stuck there
<energizer> maybe firewall issue
<clever> energizer: it uses ssh to connect to the remote box
<euank> Yeah, double check you can ssh with the same `user@machine` command before copy-closuring
<{^_^}> [nixpkgs] @marsam merged pull request #89764 → watson: 1.8.0 -> 1.9.0 → https://git.io/JfMAY
<energizer> clever: it does http over ssh?
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfDUU
<clever> energizer: the remote and local machines do http seperately from the ssh
<energizer> clever: i can't tell if you're saying "it could be a firewall issue" or "it couldn't be a firewall issue"
<clever> the http stuff goes to cache.nixos.org, which you likely dont have blocked
<energizer> ah i see
<clever> so only if port 22 (ssh) is blocked, would it be a fw issue
<{^_^}> [nixpkgs] @marsam merged pull request #89747 → styx: 0.7.1 -> 0.7.2 → https://git.io/JfMQy
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfDUk
<energizer> oh it eventually worked..just needed patience
<clever> yep
<clever> the local machine was probably doing http, to see what it could get from cache.nixos.org
<energizer> when i had tried `nix copy --from` it said "cannot add path '/nix/store/...' because it lacks a valid signature"
<energizer> but `nix-copy-closure --from` worked
<clever> nix-copy-closure doesnt check signatures by default
<clever> nix copy does
<euank> Glad it worked :)
<energizer> who's supposed to be signing these things?
<euank> hydra signs things hydra builds. For things you build, presumably you are
<clever> if its something you built, then your own nix-daemon has to sign it
<clever> and signing isnt configured by default
<energizer> is there a setting to make it do that?
<clever> [root@amd-nixos:~]# grep secret /etc/nix/nix.conf
<clever> secret-key-files = /etc/nix/signing.sec
<clever> energizer: give it a secret key, and it will sign everything it builds
<clever> `man nix-store` -> --generate-binary-cache-key
bhipple has quit [Ping timeout: 246 seconds]
<energizer> services.nix-serve.secretKeyFile i guess
<clever> thats only if your using nix-serve
<clever> which wont interact with `nix copy` at all
<energizer> oh
<energizer> so just nix.extraOptions then
bhipple has joined #nixos
m0rphism has quit [Ping timeout: 264 seconds]
<clever> yep
<clever> and then the public has to go into the trusted-public-keys on the receiver (dont use extraOptions for that one)
felschr[m] has joined #nixos
wnklmnn has quit [Quit: Leaving]
drisc has left #nixos ["WeeChat 2.8"]
<energizer> can i run system commands at eval time?
<jlv[m]> Does `nixops mount` work for anyone else? It keeps giving me "no such file or directory" errors, but I'm pretty sure I have the mount path right.
<emilsp> oh, the alsa-firmware woes are fixed in master. Seemingly, a build tool was compiled for the target arch and not the build arch. Now to figure out how to splice the alsa-firmware from master into the rest of my build
Athas has quit [Quit: ZNC - http://znc.sourceforge.net]
LevelChart8 has joined #nixos
Athas has joined #nixos
sbetrium has quit [Quit: sbetrium]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @jktr opened pull request #89779 → nixos/acme: extra lego flags → https://git.io/JfDUS
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @MetaDark opened pull request #89780 → cmake-language-server: 0.1.1 -> 0.1.2 → https://git.io/JfDTe
<simpson> How should I structure a package which ships a single (Mercurial) repo per source module, but in practice needs at least a half-dozen of these repos to build anything?
<simpson> I started out with the idea of one file per derivation per invocation of fetchhg, but it seems to be a lot easier to keep everything in one file and write a helper function to build each piece.
<evils> simpson: if most are built the same way, that seems sensible, here's something similar done https://git.io/JfDTn
<simpson> evils: Yeah, definitely, that sort of situation. Thanks.
<simpson> evils++
<{^_^}> evils's karma got increased to 8
<hexa-> ,locate festival
<{^_^}> Found in packages: speechd, lilypond, asterisk_13, asterisk-lts, asterisk-stable, lilypond-unstable, lilypond-with-fonts
<drakonis> ,locate ping
<{^_^}> Found in packages: axis2, cjdns, grass, irssi, toybox, busybox, iputils, charybdis, inetutils, ircdHybrid, factor-lang, silc_client, bashCompletion, home-assistant, unixtools.ping, nodePackages.gtop
<evils> ,locate pong
<{^_^}> Found in packages: charybdis, ircdHybrid, factor-lang, xscreensaver
<infinisil> ,locate bin ping
<{^_^}> Found in packages: toybox, busybox, iputils, inetutils, unixtools.ping
<infinisil> I should maybe make the bot display "Found the ping binary in packages foo bar, found other ping files in packages baz qux"
davidv7 has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
<jlv[m]> Is there a reason `man nixops` doesn't mention the `nixops scp` command? Is it not finished, or is the manual just missing it?
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<clever> jlv[m]: probably just missing from the manual
sigmundv__ has quit [Ping timeout: 256 seconds]
<jlv[m]> clever: I just was just about to make an issue, but it looks like there is already an open pull request: https://github.com/NixOS/nixops/pull/1349
<{^_^}> nixops#1349 (by aiverson, 2 weeks ago, open): Added documentation for nixops scp subcommand
proofofkeags has quit [Ping timeout: 260 seconds]
whatisRT has quit [Ping timeout: 260 seconds]
cmk_zzz_ has joined #nixos
cmk_zzz has quit [Ping timeout: 256 seconds]
fling has joined #nixos
fling has quit [Ping timeout: 260 seconds]
kenran has joined #nixos
kenran has quit [Ping timeout: 256 seconds]
felixfoertsch23 has joined #nixos
<mica[m]1> If I want to make a backport PR, what branch should I use? `release-20.03`, `nixos-20.03` or something else?
<clever> mica[m]1: one of the release branches i believe
bhipple has quit [Ping timeout: 264 seconds]
<mica[m]1> clever: thanks
felixfoertsch has quit [Ping timeout: 256 seconds]
felixfoertsch23 is now known as felixfoertsch
whatisRT has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw_ has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
KindTwo has joined #nixos
sbetrium has joined #nixos
KindOne has quit [Ping timeout: 272 seconds]
KindTwo is now known as KindOne
Acou_Bass has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @mdlayher opened pull request #89781 → nixos/corerad: add settings option to supersede configFile → https://git.io/JfDtQ
KindTwo has joined #nixos
KindOne has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @paperdigits opened pull request #89782 → displaycal: 3.5 -> 3.8.9.3 → https://git.io/JfDtA
<{^_^}> [nixpkgs] @romildo opened pull request #89783 → snowblind: 2020-02-26 -> 2020-06-07 → https://git.io/JfDqf
KindTwo is now known as KindOne
Taneb has quit [Quit: I seem to have stopped.]
Taneb has joined #nixos
KindTwo has joined #nixos
KindOne has quit [Ping timeout: 272 seconds]
KindTwo is now known as KindOne
Acou_Bass has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<__red__> so - what are the odds?
<__red__> gcc -pthread -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.1/lib
<__red__> ...
growpotkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
fragamus_ has joined #nixos
<fragamus_> does someone have a docker image of a nix-serve server that acts as a proxy for the official nix cache
<fragamus_> like it would receive requests and if there is a local cache hit then it serves that but if there is no hit it passes the request to the official server and caches the result
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @zowoq opened pull request #89784 → various packages: add myself as maintainer → https://git.io/JfDqj
<clever> fragamus_: cachecache does that
LevelChart8 has quit [Ping timeout: 265 seconds]
whatisRT has quit [Ping timeout: 264 seconds]
<DigitalKiwi> https://github.com/nh2/nix-binary-cache-proxy/ not docker but does that
drakonis has quit [Quit: WeeChat 2.8]
leungbk has joined #nixos
leungbk has quit [Client Quit]
leungbk has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e2bb73ce5f7 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e2bb73ce5f7 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @buckley310 opened pull request #89785 → logstash: fix support for multiple plugin paths → https://git.io/JfDmA
calebT has joined #nixos
notgne2 has quit [Quit: ZNC 1.7.5 - https://znc.in]
notgne2 has joined #nixos
tristan[m] has joined #nixos
leungbk has quit [Remote host closed the connection]
sheepfleece has joined #nixos
Chiliparrot has joined #nixos
<sheepfleece> Hello! I've tried home-manager recently, and my whole config file looks something like this: https://paste.debian.net/1150870/ . And I don't really know how to abstract over the pattern. Essentially I just want Nix to take every file in my folder and link it to ~/.config (or ~)
<angerman> Ericson2314: if we could get that sjlj stuff merged (and into 20.03) that would be cool! Would prevent me from needing to run custom 20.03 branches.
<sheepfleece> Can it be abstacted somehow?
<angerman> Ericson2314: we are using it in github.com/input-output-hk/rust-libs.nix (which uses github.com/input-output-hk/rust.nix).
<Ericson2314> angerman: sorry was mid leaving some comments while wresting with my gf's mac for reinstalling nix on catalina
<{^_^}> [nixpkgs] @ehmry merged pull request #89766 → nym: 0.6.0 -> 0.7.0 → https://git.io/JfMAp
calebT has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @ehmry pushed 2 commits to master: https://git.io/JfDYm
<angerman> Ericson2314: always fun with fruits.
<Ericson2314> tell me about it...
<Ericson2314> OK left the 3 comments
<Ericson2314> Just boring stuff
<Ericson2314> will be happy to backport
<Ericson2314> angerman: so rust.nix is based off of naersk?
<angerman> Ericson2314: pretty much naersk + cleanups
<Ericson2314> does that use buildRustCrate?
<Ericson2314> I forget these things
<energizer> sheepfleece: recursive = true
<angerman> Ericson2314: don't think so. It's all from the ground up + stock rust from nixpkgs.
<angerman> Ericson2314: if someone comes along and shows how to reduce it to null, I'd be quite happy.
<Ericson2314> Well, I am not up to date on the rust things, but it would be cool to see some stuff consolidate
karantan has joined #nixos
<angerman> Ericson2314: I've only seen it scroll buy.
<angerman> Ericson2314: https://github.com/NixOS/nixpkgs/pull/89582/files, betteR?
<Ericson2314> Haha I suppose I am channeling the GHC devs asking for more comments
<Ericson2314> Note [...] is fine for now :)
leungbk has joined #nixos
karantan has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #89582 → rust: fix rust cross-compile → https://git.io/Jf11Q
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/JfDY6
<{^_^}> [nixpkgs] @zowoq opened pull request #89786 → ffmpeg-full: inherit src/version from ffmpeg → https://git.io/JfDYP
<Ericson2314> OK merged
<Ericson2314> maybe comfirm for me everything still works after the reshuffle? and then I'll backport tomorrow
<Ericson2314> That project should get us through the intensional store if all goes well, after which the recursive graph planning is doable, which I really hope will help everyone use the language stuff better
<Ericson2314> (like subsume IFD and work with regular nixpkgs)
<angerman> Let's make IFDs painless. That's something I'd really like to see.
<Ericson2314> so my old dream might finally be on the way
<angerman> haskell.nix does a lot of materialization to work around that right now, and while it's mostly automated, I dislike it needing to be there in the first place.
<Ericson2314> we have path/to/drv!output today to mean build that drv and get me this outoutput
<Ericson2314> I want `(path/to/drv!output0)!output1`
<Ericson2314> i.e. get path to drv, build it and take some output, and then treat that as a drv and do more building
<Ericson2314> which is a pretty good "monadic" primitive
<Ericson2314> (! was always something like a join, but the first argument had to be `pure _`)
<Ericson2314> angerman: https://github.com/NixOS/nix/issues/2523#issuecomment-543715035 thanks, you just solved my problem
Rusty1 has quit [Quit: WeeChat 2.3]
<angerman> lol.
<sheepfleece> energizer: thank you! It works for a `.config`, however I still don't know how to map over all files and prepend '.' to them (so I can put all of it in ~)
thomasjm has quit [Ping timeout: 264 seconds]
palo1 has joined #nixos
gerschtli has quit [Quit: WeeChat 2.7.1]
gerschtli has joined #nixos
<Ericson2314> angerman: wait.... do you remember waht you did to fix?
<energizer> sheepfleece: xdg.configFile."../" = {source = ./dotfiles; recursive = true;};
<Ericson2314> I removed the bad symlink and read the linked issues, but not sure what to put here instead
<Ericson2314> and it doesn't work with nothing there
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
thomasjm has joined #nixos
<angerman> Ericson2314: reinstalled it.
<Ericson2314> oh, lovely
<sheepfleece> energizer: Oh, no, instead ok `xdg.configFile` I can use `home`. but the problem is all my files (say xmonad) do not have a dot at the beginning, so I can't use `recursive` directly.
<angerman> Ericson2314: throw away software
<Ericson2314> i have one more guess before I call it a night to do that tomorrow
endformationage has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « systemd: avoid rebuild from the parent commit for now »: https://git.io/JfDOV
<energizer> sheepfleece: so change that :)
o1lo01ol1o has joined #nixos
<energizer> rename the files so they have the name they'll need
<angerman> Ericson2314: I'll let you know when the rust-libs hydra job is done.
<Ericson2314> angerman: sounds good!
<sheepfleece> But that's exactly what I want to avoid!
o1lo01ol1o has quit [Ping timeout: 264 seconds]
gxt has joined #nixos
Acou_Bass has quit [Ping timeout: 256 seconds]
Acou_Bass has joined #nixos
xO1 has joined #nixos
hmpffff has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
sheepfleece has quit [Quit: Lost terminal]
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @MostAwesomeDude opened pull request #89787 → relpipe: init at 0.16 → https://git.io/JfD36
<ninjin> clever: Thanks again for the hints yesterday, here is my “Proto-Nixops” Makefile target >> https://pastebin.com/YZxABnhV
fragamus_ has quit [Ping timeout: 258 seconds]
kenran has joined #nixos
<clever> ninjin: nix-build '<nixpkgs/nixos>' -I nixos-config=host/$1/configuration.nix -A system
<ninjin> clever: Thank you, I will humbly simplify that. ♥
agsdheidjd has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0710b5afecd (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jbox has joined #nixos
jbox has quit [Client Quit]
drakonis has joined #nixos
jbox has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #89788 → ocamlPackages.ocsigen-start: 2.16.1 → 2.18.0 → https://git.io/JfDsR
Jackneill has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
karantan has joined #nixos
<angerman> Ericson2314: All Green still. So should be good for backporting.
thomasjm has quit [Ping timeout: 264 seconds]
domogled has quit [Ping timeout: 244 seconds]
alexherbo2 has joined #nixos
hmpffff has joined #nixos
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #89607 → pythonPackages.pipBuildHook: do not build in an isolated environment → https://git.io/Jf1QY
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to staging: https://git.io/JfDsh
Acou_Bass has quit [Quit: ZNC 1.7.5 - https://znc.in]
domogled has joined #nixos
Acou_Bass has joined #nixos
ncakerlist has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/f8463ef8002 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
o1lo01ol1o has joined #nixos
hmpffff has quit [Quit: Bye…]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
jbox has quit [Quit: WeeChat 2.8]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfDGb
lsix has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karantan has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #88933 → 1password: 0.10.0 -> 1.0.0 → https://git.io/JfwER
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfDZk
m0rphism has joined #nixos
sh4r3m4n has quit [Quit: Leaving...]
<{^_^}> [nixpkgs] @wmertens merged pull request #80665 → poco: 1.9.4 -> 1.10.1 → https://git.io/JvRti
<{^_^}> [nixpkgs] @wmertens pushed commit from @r-ryantm to master « poco: 1.9.4 -> 1.10.1 (#80665) »: https://git.io/JfDZl
BenSchZA_ has joined #nixos
BenSchZA_ has quit [Client Quit]
leungbk has quit [Ping timeout: 260 seconds]
BenSchZA_ has joined #nixos
BenSchZA_ has quit [Quit: Leaving]
avaq has quit [Remote host closed the connection]
avaq has joined #nixos
domogled1 has joined #nixos
gilligan has quit [Quit: WeeChat 2.7.1]
maxdevjs has quit [Ping timeout: 256 seconds]
domogled has quit [Ping timeout: 260 seconds]
domogled1 is now known as domogled
bqv has joined #nixos
cole-h has quit [Quit: Goodbye]
marusich has joined #nixos
zxcvluy has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #89538 → atlassian-crowd: 3.4.5 -> 4.0.2 → https://git.io/Jf1Cs
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JfDn4
<{^_^}> [nixpkgs] @lheckemann pushed commit from @WilliButz to release-20.03 « atlassian-crowd: 3.4.5 -> 4.0.2 »: https://git.io/JfDn0
domogled1 has joined #nixos
<{^_^}> [nixpkgs] @1000101 opened pull request #89789 → formatting: fix missing leading whitespace → https://git.io/JfDng
asymptotically has joined #nixos
tjg1 has quit [Quit: i sincerely apologise for any civil disobedience caused]
civodul has joined #nixos
domogled has quit [Ping timeout: 256 seconds]
domogled1 is now known as domogled
lzmartinico has quit [Ping timeout: 260 seconds]
lzmartinico has joined #nixos
zxcvluy has quit [Remote host closed the connection]
marusich has quit [Quit: zzz]
<{^_^}> [nixpkgs] @markuskowa merged pull request #89740 → moosefs: fix datapath for mfscgiserv → https://git.io/JfMMF
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JfDnD
<{^_^}> [nixpkgs] @markuskowa pushed to release-20.03 « moosefs: fix datapath for mfscgiserv »: https://git.io/JfDnb
sheepfleece has joined #nixos
sheepfleece has quit [Client Quit]
ninjin has quit [Quit: reboot]
Shados has quit [Quit: Shados]
Shados has joined #nixos
andymandias has quit [Ping timeout: 256 seconds]
sheepfleece has joined #nixos
andymandias has joined #nixos
<{^_^}> [nix] @regnat opened pull request #3668 → Actually test nix-env with a remote store → https://git.io/JfDcP
mananamenos has joined #nixos
<{^_^}> [patchelf] @domenkozar pushed to ci-musl « run CI with musl as well »: https://git.io/JfDCL
thomasjm has joined #nixos
ninjin has joined #nixos
fragamus_ has joined #nixos
thc202 has joined #nixos
fendor has joined #nixos
dermetfan has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b6042f56ab2 (from 40 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<mananamenos> hi, https://nixos.wiki/wiki/Fish i have done this, however, opening the xfce-terminal I get bash. Need to `fish` to drop in fish? Isn't it suppose to be the default terminal after that configuration?
sbetrium has quit [Quit: sbetrium]
<{^_^}> [patchelf] @domenkozar pushed to master « README: no more homepage »: https://git.io/JfDWL
<{^_^}> [patchelf] @domenkozar pushed to ci-musl « not enough space »: https://git.io/JfDWR
<{^_^}> [nixpkgs] @vbgl merged pull request #89651 → dune_2: 2.5.1 -> 2.6.0 → https://git.io/Jf1pU
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « dune_2: 2.5.1 -> 2.6.0 »: https://git.io/JfDWP
<manveru> mananamenos: did you turn it off and on again? :)
<{^_^}> [nixpkgs] @flokli merged pull request #88574 → nixos/qemu-vm: add option to use qboot → https://git.io/Jf2cp
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfDW9
mallox has joined #nixos
<mananamenos> manveru, manveru, do you mean the terminal? or the nixos itself?
<manveru> your display-manager
mallox has quit [Client Quit]
<mananamenos> manveru, i restart the terminal, but didn't log out from nixos and restarted the system
<manveru> because that inherits the environment variables deciding your shell usually
<manveru> so i'd try to login again
<mananamenos> ok thank you
mananamenos has quit [Remote host closed the connection]
fragamus_ has quit [Quit: Connection closed]
sb0 has joined #nixos
mananamenos has joined #nixos
<mananamenos> manveru, logging out did the trick, now the default terminal is fish. I do have the useful scripts snippet from wiki too, but `nix-shell -p hello` still puts me in bash shell instead of fish.
<{^_^}> [patchelf] @domenkozar pushed to ci-musl « Fix musl build »: https://git.io/JfDlI
<manveru> yes
<manveru> i'd recommend direnv for general nix-shell usage if you like to stay in fish
sbetrium has joined #nixos
<manveru> otherwise you have to do `nix-shell -p hello --run fish`
sheepfleece has quit [Ping timeout: 264 seconds]
pjt_014 has quit [Remote host closed the connection]
<manveru> the new `nix shell` command will fix that, but it's still experimental
<{^_^}> [nixpkgs] @flokli merged pull request #89762 → nixos/nextcloud: preserve OC_PASS env variable in the occ wrapper → https://git.io/JfMN1
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfDlE
<mananamenos> manveru, --run fish is ok. However, im supposed to see `inside: <nix-shell> ~>` prompt after editing fish_prompt.fish with wiki's example, but i dont.
ncakerlist has quit [Ping timeout: 258 seconds]
pjt_014 has joined #nixos
<manveru> hmm, i don't know... never used fish
sheepfleece has joined #nixos
o1lo01ol1o has joined #nixos
<mananamenos> manveru, thanks anyway. Im staying in bash too :)
mananamenos has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nlewo pushed to release-20.03 « nixos/nextcloud: preserve OC_PASS env variable in the occ wrapper »: https://git.io/JfDli
mananamenos has joined #nixos
mananamenos has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<{^_^}> [patchelf] @domenkozar pushed to ci-musl « test »: https://git.io/JfDl5
cosimone has joined #nixos
xwvvvvwx has quit [Quit: ZNC 1.8.0 - https://znc.in]
xwvvvvwx has joined #nixos
<{^_^}> [patchelf] @domenkozar pushed to ci-musl « test »: https://git.io/JfD8n
pjt_014 has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [docker] @peti pushed to master « update to Nix 2.3.6 »: https://git.io/JfD88
<{^_^}> [docker] @peti pushed 0 commits to 2.3.6: https://git.io/JfD8B
o1lo01ol1o has quit [Ping timeout: 240 seconds]
NeoCron has joined #nixos
xwvvvvwx has quit [Quit: ZNC 1.8.0 - https://znc.in]
xwvvvvwx has joined #nixos
lc has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
sigmundv__ has joined #nixos
orivej has joined #nixos
locallycompact has joined #nixos
dguibert has joined #nixos
<{^_^}> [nixpkgs] @Rakesh4G opened pull request #89790 → pythonPackages.pytest-dependency: 0.4.0 -> 0.5.1 → https://git.io/JfD8H
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<prusnak> any ideas? i have this in my shell.nix file:
<prusnak> buildInputs = [ binutils (lib.hiPrio gcc) ];
<prusnak> but I still get the following error:
<prusnak> error: packages '/nix/store/wy6v1s2y8rvxcy98l2yvxqj280cq9wgc-binutils-wrapper-2.31.1/bin/ld.bfd' and '/nix/store/fb30zc52va0g99q8qgv7kx4ngq163pii-gcc-wrapper-9.3.0/bin/ld.bfd' have the same priority 10; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)
<prusnak> shouldn't gcc get priority -10 ?
<{^_^}> [nix] @gilligan opened pull request #3669 → Add compression unit tests → https://git.io/JfD8b
mounty has quit [Quit: Konversation terminated!]
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
__monty__ has joined #nixos
maddo has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
mekeor has quit [Ping timeout: 244 seconds]
mekeor has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 130 commits to staging-next: https://git.io/JfD4A
<{^_^}> [nixpkgs] @Mic92 merged pull request #89710 → ocrmypdf: 9.8.0 -> 9.8.2 → https://git.io/JfMGf
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfD4j
<{^_^}> [nix] @knl closed pull request #3643 → Improve github regexes → https://git.io/JfKSw
<{^_^}> [nixpkgs] @danieldk opened pull request #89791 → sentencepiece: 0.1.91 -> 0.1.92 → https://git.io/JfDBv
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/JfDBJ
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/v2.15.4: https://git.io/JfDBU
<{^_^}> [nixpkgs] @FRidh pushed 135 commits to staging: https://git.io/JfDBT
nschoe has joined #nixos
whatisRT has joined #nixos
whatisRT has quit [Ping timeout: 246 seconds]
is_null has quit [Ping timeout: 272 seconds]
is_null has joined #nixos
o1lo01ol1o has joined #nixos
<manveru> prusnak: i think the way is to set `(lowPrio binutils)` and remove `gcc` because `gcc` already exists in the derivation
<manveru> unless you use `runCommandNoCC` for your shell instead of `mkShell` or `mkDerivation`...
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/e2bb73ce5f7 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
jumper149 has joined #nixos
<{^_^}> [nixpkgs] @luc65r opened pull request #89793 → Bump gcc to gcc10 and binutils to 2.34 → https://git.io/JfDBz
jumper149 has quit [Client Quit]
is_null has quit [Ping timeout: 256 seconds]
is_null has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to master « Cabal2nix.hs: fix hlint warning in main module »: https://git.io/JfDRL
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/v2.15.4: https://git.io/JfDRt
ncakerlist has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to master « flake.nix: Remove edition field »: https://git.io/JfDRG
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to release-20.03 « flake.nix: Remove edition field »: https://git.io/JfDRW
<{^_^}> [cabal2nix] @peti pushed to master « Cabal2nix.hs: fix hlint warning in main module »: https://git.io/JfDRa
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/v2.15.4: https://git.io/JfDRw
FRidh has joined #nixos
sb0 has quit [Quit: Leaving]
orivej has quit [Ping timeout: 260 seconds]
hyld3 has joined #nixos
orivej has joined #nixos
is_null has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #89794 → stdenv: set SOURCE_DATE_EPOCH to a value python supports → https://git.io/JfD0f
is_null has joined #nixos
fadenb has quit [Ping timeout: 260 seconds]
meh` has joined #nixos
fadenb has joined #nixos
elibrokeit has quit [Ping timeout: 272 seconds]
ztrawhcse has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfD02
iyzsong has joined #nixos
<meh`> >error: Pillow-7.1.2 not supported for interpreter python2.7
<meh`> that's a new one, wat do
<alexarice[m]> meh`: probably use python3?
<meh`> alexarice[m], I'm not explicitly using python anywhere afaik
<meh`> is there some global setting for that?
<alexarice[m]> what are you trying to do?
<meh`> alexarice[m], I just nix-channel --update and nixos-rebuild switch --upgrade, and started getting that, on nixos-unstable
inkbottle has quit [Ping timeout: 244 seconds]
<alexarice[m]> Likely some update has broken one of your packages, can you work out which one it is?
zebrag has joined #nixos
<meh`> alexarice[m], any hint on how to do that? I was looking for ways to see which packages depend on what on the currently installed system
justanotheruser has quit [Ping timeout: 272 seconds]
eyenx- has joined #nixos
<alexarice[m]> After the error message in the rebuild it usually says `Failed to build X: some reason` or something like that
<alexarice[m]> it should say which package failed
<alexarice[m]> or there will be a list of packages failing because of a failed dependency
eyenx[m]2 has joined #nixos
<alexarice[m]> and somewhere in that chain there will be something you installed
eyenx[m]2 has quit [Remote host closed the connection]
eyenx- has quit [Remote host closed the connection]
<meh`> alexarice[m], https://gist.github.com/meh/15b5ebe0f9d09e9c9d3ae355ca4c08d2 if I'm reading the trace right it's python2.7-datadog-0.36.0?
<{^_^}> [nixpkgs] @Profpatsch opened pull request #89795 → gitit: init at 0.13.0.0 → https://git.io/JfDEC
<meh`> probably coming from nixops I guess
<alexarice[m]> sorry what I said above was wrong, I assumed it started building stuff
<meh`> alexarice[m], yeah, it's nixops, which I wasn't even using
<meh`> alexarice[m], it's aight, no worries, I just had to read the trace but I'm not used to it, it's kind of dense to read through :P
teto has joined #nixos
<alexarice[m]> yeah they do spew out a lot of information
eyenx[m]2 has joined #nixos
tjg1 has joined #nixos
<{^_^}> [nixpkgs] @dali99 opened pull request #89797 → mumble: 1.3.0 -> 1.3.1 → https://git.io/JfDEF
fling has joined #nixos
<{^_^}> [nixpkgs] @nthorne opened pull request #89798 → virtualbox: 6.1.6 -> 6.1.10 → https://git.io/JfDEb
<locallycompact> hi I'm also getting the Pilllow-7.1.2 error what's the fix?
evanjs has quit [Read error: Connection reset by peer]
evanjs- has joined #nixos
luelista has quit [Quit: WeeChat 2.8]
<adisbladis> The fix for that is merged
<adisbladis> It hasn't reached unstable yet I think
<{^_^}> #89588 (by jonringer, 2 days ago, merged): python2Packages.pillow: freeze at 6.2.2
ncakerlist has quit [Ping timeout: 264 seconds]
Thra11 has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
eyenx[m]2 has quit [Remote host closed the connection]
Thra11 has joined #nixos
<sphalerite> __red__: surprisingly high
<sphalerite> (odds)
<sphalerite> store paths with eeeee(...) hashes get generated by nuke-references and remove-references-to in order to replace store paths which would otherwise cause references with invalid ones
Neo-- has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
vidbina has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @priegger opened pull request #89799 → Generated factorio mods → https://git.io/JfDzr
karantan has quit [Quit: Textual IRC Client: www.textualapp.com]
Ariakenom has joined #nixos
<Ariakenom> my nixos-rebuild switch isnt working and im failing in figuring out why. 1st it is doing a lot of deleting and building when i rerun. so it takes a long time and the logs are clogged. it shouldnt rebuild that much if i just rerun right?
o1lo01ol1o has quit [Remote host closed the connection]
<sphalerite> Ariakenom: yes, you can also try `nix build -f '<nixpkgs/nixos>' system` to get terser output and progress
<{^_^}> [nixpkgs] @andir opened pull request #89800 → [20.03] firefox: 76.0.1 -> 77.0.1 → https://git.io/JfDgO
<Ariakenom> sphalerite: error: expression does not evaluate to a expression
<Ariakenom> nix build -f '<nixos>' system
<{^_^}> [nixpkgs] @mmahut merged pull request #89671 → sympa: 6.2.54 -> 6.2.56 → https://git.io/JfMfa
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JfDgl
sheepfleece has quit [Ping timeout: 264 seconds]
ph88 has joined #nixos
Thra11 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
Rusty1 has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #89801 → [20.03] sympa: 6.2.54 -> 6.2.56 → https://git.io/JfDgy
acarrico has quit [Ping timeout: 260 seconds]
vandenoever has joined #nixos
utonto has joined #nixos
utonto has left #nixos [#nixos]
thomasjm has quit [Read error: Connection reset by peer]
vandenoever has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @GuillaumeDesforges opened pull request #89802 → pythonPackages.pytorch: 1.4.1 -> 1.5.0 → https://git.io/JfDgh
vandenoever has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b119c093978 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
Thra11 has joined #nixos
whatisRT has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #89789 → formatting: fix missing leading whitespace → https://git.io/JfDng
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JfD2L
dguibert has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #89803 → KAppTemplate: Init at 19.12.3 → https://git.io/JfD2Y
<vandenoever> is there a way to set /sys/class/drm/card0/device/hwmon/hwmon3/power1_cap via configuration.nix?
<AmandaC> isn't there something called something like sysconfig for stuff like that?
<AmandaC> I'm not sure though
<b42> there's boot.kernel.sysctl but that's for /proc/sys
<b42> don't know of anything for /sys though
orivej has quit [Ping timeout: 264 seconds]
<vandenoever> i found that "echo 60000000 | sudo tee /sys/class/drm/card0/device/hwmon/hwmon3/power1_cap" works great to keep the GPU at low power use while still being perfectly usable
<vandenoever> but i'd like to make it permanent
sbetrium has quit [Quit: sbetrium]
alp has joined #nixos
<{^_^}> [nixpkgs] @invokesus opened pull request #89804 → victoriametrics: 1.34.7 -> 1.37.0 → https://git.io/JfD2z
<betaboon> vandenoever: you could do that with a systemd unit
<sphalerite> Ariakenom: yeah, use '<nixpkgs/nixos>'
<talyz> vandenoever: You can probably use udev rules (services.udev.extraRules) to make it permanent
orivej has joined #nixos
lorimer has quit [Read error: Connection reset by peer]
<sphalerite> vandenoever: it's also quite common for tlp or powertop or similar to set that kind of limit, maybe also lm-sensors since it's a hwmon control
lorimer has joined #nixos
<Ariakenom> oh ha parse error
<Ariakenom> (for me reading your msg)
<Ariakenom> sphalerite: that and --dry-build works. but not dry-activate
Lilpea has joined #nixos
<vandenoever> talyz: i'm not sure how udev.extraRules would help from the example in https://nixos.org/nixos/options.html#extrarules
<{^_^}> [patchelf] @domenkozar pushed 0 commits to ci-musl: https://git.io/JfD2H
<vandenoever> making a systemd unit is not very convenient, but would work
<sphalerite> Ariakenom: can you paste the actual output of the dry-activate command?
<Ariakenom> wait ... it works now?
<vandenoever> powerManagement.powerUpCommands would be a decent option i think
<{^_^}> [patchelf] @domenkozar pushed to ci-musl « verbose »: https://git.io/JfD2x
<Ariakenom> I remember the output from -rebuild switch was that it failed to build(unsure here) /..../...hostname...drv
<Ariakenom> I havent changed anything that I can recall. The only difference I can think of is that I ran the build command
wnklmnn has joined #nixos
sbetrium has joined #nixos
<Lilpea> ';';
<Lilpea> My bad, sorry
<sphalerite> Ariakenom: if it was building enough stuff, maybe it ran out of RAM and fell afoul of the OOM killer. Or ran out of space on /tmp.
<{^_^}> [nixpkgs] @lheckemann pushed to hydra-bump « hydra-unstable: 2020-04-16 -> 2020-06-06 »: https://git.io/JfDa3
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to hydra-bump: https://git.io/JfDas
<Ariakenom> would that lead to it garbage collecting during build too?
<{^_^}> [nixpkgs] @lheckemann opened pull request #89805 → hydra-unstable: 2020-04-16 -> 2020-06-06 → https://git.io/JfDal
<{^_^}> [patchelf] @domenkozar pushed to ci-musl « verbose »: https://git.io/JfDaB
o1lo01ol1o has joined #nixos
<sphalerite> Ariakenom: no, though it will clean up build dirs from /tmp both on successful and failed builds
o1lo01ol1o has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
<betaboon> Mic92: can you confirm that cross-compiling go_1_14 fails on unstable? nix build -f '<nixpkgs>' pkgsCross.armv7l-hf-multiplatform.go_1_14
acarrico has joined #nixos
Lilpea is now known as lilpea
jakobrs has joined #nixos
<jakobrs> Possibly a weird question but is it possible to mount an NTFS filesystem using the built-in Linux drivers even when fileSystems.something.fsType is "ntfs"?
<jakobrs> Because adding a file system with fsType ntfs seems to override the default driver: mount -t ntfs uses ntfs-3g instead now
wnklmnn has quit [Quit: Leaving]
<Mic92> betaboon: I have not cross-compiled it in a while
drakonis_ has joined #nixos
exfalso has joined #nixos
<jakobrs> Note that the current behaviour posits a tiny theoretical security risk: the permissions with the `ntfs` and `ntfs-3g` drivers are different, ntfs has a default umask=277 while ntfs-3g has the more relaxed umask=000
<{^_^}> [nixpkgs] @flokli merged pull request #89570 → pyxdg: fix call to missing class field Type → https://git.io/Jf16k
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfDVD
<jakobrs> So if someone mounts an ntfs file system, and uses nixos-generate-config to add it to hardware-configuration.nix, they may think that only root can read from it, but when you reboot the entire ntfs partition will be world-writable
orivej_ has quit [Ping timeout: 246 seconds]
Ariakenom has quit [Quit: WeeChat 2.7.1]
<betaboon> Mic92: building the way mentioned above fails with `gcc-debug-9.3.0-armv7l-unknown-linux-gnueabihf/bin/gcc: cannot execute binary file: Exec format error` for me. and thats blocking compilation of docker :( any ideas ?
orivej has joined #nixos
<Mic92> betaboon: It should need a cross-compiled go to build docker. I would say something in the docker build is wrong
drakonis has quit [Ping timeout: 260 seconds]
<betaboon> Mic92: should or shouldnt ?
<Mic92> *shouldn't
o1lo01ol1o has joined #nixos
<Mic92> betaboon: I would try to find the target go compiler and replace it with buildPackages.go
<Mic92> betaboon: Actually I would juse `buildGoPackage` to build this: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/docker/default.nix#L59
<Mic92> than it would also take care of removing go references
<betaboon> Mic92: just stumbled upon this: https://github.com/NixOS/nixpkgs/pull/68900/files
<betaboon> Mic92: you're suggesting to build docker with buildGoPackage? so completly rewriting the derivation ?
<Mic92> betaboon: just replace stdenv.mkDerivation with buildGoPackage but keep the buildPhase as it is and drop the fixup phase
<Mic92> That should also take care of setting GOOS
<betaboon> Mic92: I'll try :D
drakonis has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
drakonis_ has quit [Ping timeout: 272 seconds]
<betaboon> Mic92: maybe you have any pointers on this one as well ? https://github.com/NixOS/nixpkgs/issues/50925
<{^_^}> #50925 (by eburimu, 1 year ago, open): btrfs-progs doesn't cross compile
<Mic92> betaboon: I don't know, why I never upstreamed it? https://github.com/Mic92/nixpkgs/commit/3c31069680adc077800c998b114687c70a55905d
zupo has joined #nixos
sparogy1 is now known as sparogy
<Mic92> I think it used to work
<{^_^}> [nixpkgs] @lourkeur opened pull request #89808 → [20.03] pyxdg: fix missing class field Type → https://git.io/JfDww
cantstanya has quit [Remote host closed the connection]
est31 has quit [Remote host closed the connection]
<betaboon> Mic92: someone has upstreamed those changes. still failing tho
<Mic92> betaboon: sorry, I cannot test this right now. I could do an educated guess if you provide me some logs
cantstanya has joined #nixos
<betaboon> Mic92: let me create some :D
drakonis_ has joined #nixos
drewr has quit [Quit: brb]
drewr has joined #nixos
est31 has joined #nixos
dermetfan has quit [Ping timeout: 256 seconds]
gustavderdrache has joined #nixos
drakonis has quit [Ping timeout: 256 seconds]
<Mic92> betaboon: Ok. I think the issue is that this header file comes from the x86 python rather than aarch64. I have seen something like that before. I suspect the way we do python cross-compilation is wrong. Maybe open a ticket for that and cc FRidh
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<betaboon> Mic92: thanks for the input. i think i will try to cc FRidh in that issue
o1lo01ol_ has joined #nixos
<bgamari> nh2, angerman, do either of you know how to build a statically-linked icu?
<angerman> Maybe it needs dontDisableStatic = true?
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<kenran> I want to use nix-gitignore.gitignoreSource [ some-stuff ] ./my-subdir; But now it seems to want a .gitignore in that directory, whereas I only have the "main" .gitignore at top-level (for this package). What can I do if I don't want to duplicate .gitignore contents all over my project?
<kenran> (There are several subdirs where I wish to do this)
<nh2> bgamari: This user has `icu` in the `buildDepends` of `postgresql_static` so I imagine it should already have worked for him: https://github.com/nh2/static-haskell-nix/issues/22#issuecomment-492999534
iyzsong has quit [Quit: ZNC 1.8.0 - https://znc.in]
<angerman> bgamari: libicu seems to have —enable-static, nix will default
<angerman> to passing —disable-static, unless dontDisableStatic is set 🤷
<nh2> bgamari angerman: that said, on my CI server, `for p in $(ls -1U /nix/store | grep icu); do find /nix/store/$p | grep '\.a'; done` does not show a single result, so I probably have never built .a files for that
<bgamari> angerman, ahh
<fps> hmm, i have an almost working xonotic package based on a nightly autobuild (which bundles sources, too), but for some reason the built binaries lack a libstdc++.so.6 rpath entry
<angerman> bgamari: at some point I’ll start a crusade against the shared object fanbois.
proofofkeags has joined #nixos
<fps> i guess i can add another patchelf entry for it
<angerman> As much as someone can fix CVEs after the fact, they can also introduce them. After the fact.
<fps> gcc-9.3.0-lib has it. hmm
<bgamari> nh2, yeah, and it seems even if you pass dontDisableStatic=true, you get static objects that implicitly depend upon libstd++
<bgamari> e.g. I see
<bgamari> (.text+0xc80): undefined reference to `__dynamic_cast'
<jakobrs> When/how does Nix add a package to the PKG_CONFIG_PATH?
<bgamari> from symbols in libicuuc.a when linking against it
<jakobrs> Wait, there's a difference between pkgconfig and pkg-config?
<jakobrs> At least I'm getting different errors
<nh2> bgamari: angerman: `dontDisableStatic = true;` is not enough for `icu64`. The `configure` output still says `checking whether to build static libraries... no`
<{^_^}> [nixpkgs] @mdlayher opened pull request #89809 → prometheus-apcupsd-exporter: unstable-2019-03-14 -> 0.2.0 → https://git.io/JfDrr
<angerman> nh2: is it enableStatic = true? I can never get those args right.
<betaboon> Mic92: about the docker-cross-compile issue: as `go` is in `buildInputs` it should require a cross-compiled go, right? only when i move it to `nativeBuildInputs` it shouldnt ?
<fps> hmm, this didn't do the trick: patchelf --add-needed ${gcc.out}/lib/libstdc++.so.6 ...
lsix has quit [Ping timeout: 256 seconds]
<angerman> bgamari: what’s the issue with depending on libstd++? .a is really just a collection of .o, and the linker is supposed to provide the std I the end.
<nh2> angerman bgamari: No, you are right that `dontDisableStatic = true;` is the general flag to tell nix that *it* should not pass `--disable-static` to autoconf. But some projects deviate from autoconf's default of building both static and dynamic if no flags are given, and instead make it such that you have to explicitly pass `--enable-static` to get static ones as well. `fontconfig` is one of them, and apparently icu too
<bgamari> angerman, the problem is that ghc uses gcc to link
<Mic92> betaboon: yes, there other ways rather than buildInputs where a cross-compiled go maybe added by accident.
<bgamari> angerman, so if you have a Haskell program which links against libicuuc then it won't link against libstdc++
<Mic92> for example if your reference it somewhere else
<angerman> bgamari: fun times. Link it explicit.
<bgamari> angerman, well, the problem is that this propagates across packages
<bgamari> angerman, you need to manually specify this for every executable that links against the library
<betaboon> Mic92: like when there is a `${go}`/`${pkgs.go}` in any phase-script ?
<angerman> yea.
<bgamari> it's pretty brutal
<Mic92> betaboon: exactly
<angerman> bgamari: that’s why you usually get that from pkg-config.
<Mic92> betaboon: you can use something like nix show-derivation to capture this
<Mic92> or just do a cat on the .drv file
<angerman> Or you link it explicitly in the extra-libraries.
drakonis_ has quit [Read error: Connection reset by peer]
<bgamari> nh2, right
drakonis_ has joined #nixos
<angerman> .a has no dependency logic. It might be safe for ghc to just -lstdc++? If there are no references it ends up being a no-op
<nh2> bgamari angerman: More worrying to me: http://userguide.icu-project.org/packaging says
<nh2> "If you add the --enable-static option to the ICU command line build (Makefile or cygwin), ICU will also build a static library version which you can link to only the exact functions your application needs. Users of your ICU must compile with -DU_STATIC_IMPLEMENTATION."
<bgamari> angerman, not in general
<bgamari> nh2, yeah, I saw that
<bgamari> nh2, indeed that is concerning
<bgamari> I wonder what that macro affects
<nh2> does thta really mean that all downstream projects have to pass `-DU_STATIC_IMPLEMENTATION` to their C preprocessor?
<betaboon> Mic92: thanks for the pointers
<{^_^}> [nixpkgs] @ryantm merged pull request #89648 → nco: 4.9.2 -> 4.9.3 → https://git.io/Jf1x0
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfDoY
<bgamari> angerman, if nothing else this would increase GHC's already long link times
drakonis has joined #nixos
<angerman> Use a faster linker ;-)
<bgamari> I think the right solution here is clearly pkg-config
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
<angerman> bgamari: then again you only need this when linking static final products.
lsix has joined #nixos
<bgamari> angerman, unfortunately it looks like it's common not to include libstdc++ in .pc files
drakonis_ has quit [Ping timeout: 272 seconds]
<angerman> bgamari: so always linking it in the final linking step is the way to go.
<{^_^}> [nixpkgs] @Mic92 merged pull request #89809 → prometheus-apcupsd-exporter: unstable-2019-03-14 -> 0.2.0 → https://git.io/JfDrr
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JfDo0
<angerman> You’ll also add -lc -lm... most of the time.
<nh2> bgamari angerman: If you find more ICU info, please comment it on https://github.com/nh2/static-haskell-nix/pull/94
<{^_^}> nh2/static-haskell-nix#94 (by nh2, 1 minute ago, open): survey: Override ICU to have static libs
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JfDoa
<bgamari> nh2, trying to find an appropriate workaround
<nh2> my CI will build it and see if anything goes wrong
<bgamari> nh2, one solution would be to patch the .pc file to include libstdc++
<bgamari> nh2, this seems like the best of a bunch of terrible options
<bgamari> nh2, the other issue I have noticed is ncurses doesn't provide libtinfo
lilpea has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @mdlayher opened pull request #89810 → prometheus-keylight-exporter: init at 0.1.1 → https://git.io/JfDoi
<bgamari> ahh, never mind
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<nh2> bgamari: would this be addressed by your proposal to change `8.6.5-binary.nix` to use ncurses ABI 6?
<meh`> anyone ever deployed GitLab had gitaly failing to find the gitlab_shell_secret?
kloenk has joined #nixos
<bgamari> nh2, I don't think so
sgrunert has joined #nixos
bhipple has joined #nixos
jgeerds has joined #nixos
<infinisil> aanderse: I'm kind of dreading working on the settings thing, because the next step is writing docs for #82743 and #75584, and also finishing the RFC
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82743 (by Infinisil, 11 weeks ago, open): Fallback-typing for NixOS modules
<{^_^}> https://github.com/NixOS/nixpkgs/pull/75584 (by Infinisil, 25 weeks ago, open): Configuration file formats for JSON, INI, YAML and TOML
ncakerlist has joined #nixos
<aanderse> ha, ok
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
jakobrs has left #nixos ["WeeChat 2.7.1"]
zupo has joined #nixos
ph88 has quit [Ping timeout: 272 seconds]
Mr_Keyser_Soze has joined #nixos
Mr_Keyser_Soze has quit [Remote host closed the connection]
Mr_Keyser_Soze has joined #nixos
Mr_Keyser_Soze has quit [Client Quit]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
Brwo has joined #nixos
Brwo has left #nixos [#nixos]
Baerwin has joined #nixos
Baerwin has left #nixos ["ERC (IRC client for Emacs 26.3)"]
* dutchie wonders why the Libertine fonts are only installed as e.g. 'Linux Libertine O'
dguibert has joined #nixos
<dutchie> with the result that 'fc-match Linux\ Libertine' doesn't find it
asymmetric has quit [Ping timeout: 260 seconds]
pamplemousse has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
davidv7 has joined #nixos
xwvvvvwx- has joined #nixos
xwvvvvwx has quit [Ping timeout: 265 seconds]
xwvvvvwx- is now known as xwvvvvwx
sheepfleece has joined #nixos
proofofkeags has quit [Ping timeout: 246 seconds]
waleee-cl has joined #nixos
ph88 has joined #nixos
<betaboon> Mic92: i am trying to convert the docker-derivation to use buildGoPackage but now its complaining about not finding arm-linux-gnueabihf-gcc
<Mic92> betaboon: what does is the content of `$CC`?
<betaboon> Mic92: hm CC="armv7l-unknown-linux-gnueabihf-gcc".
<Mic92> betaboon: is this upstream?
sheepfleece has quit [Ping timeout: 264 seconds]
kenran has quit [Ping timeout: 246 seconds]
tno has quit [Quit: tno]
<betaboon> Mic92: yeah thats on docker-ce master since 2019-07-17
orivej has quit [Ping timeout: 258 seconds]
<Mic92> betaboon: so it should work than if CC is passed
tno has joined #nixos
orivej has joined #nixos
<Mic92> to make
asymmetric has joined #nixos
<betaboon> Mic92: doesnt seem like it. 19.03.11 is build from 19.03 branch, the commit is on master. `git branch --contains` only returns master
<Mic92> betaboon: can you cherry-pick the patch into our build?
drakonis has quit [Ping timeout: 258 seconds]
<betaboon> Mic92: https://github.com/NixOS/nixpkgs/pull/68900 pulls that patch as well. gonna try that
<{^_^}> #68900 (by nspin, 38 weeks ago, open): Docker-related cross-compilation fixes
sgrunert has quit [Remote host closed the connection]
<betaboon> Mic92: with that patch it seems to work
drakonis has joined #nixos
<betaboon> Mic92: switching to buildGoPackage i had to define a `goPackagePath` (which i set to `github.com/${owner}/${repo}`) but the buildPhase-script assumed the src to be at `.` (as in `cd ./components/engine`) which i changed to `cd ./go/src/${goPackagePath}/...`. sounds reasonable ?
ztrawhcse is now known as elibrokeit
sheepfleece has joined #nixos
<{^_^}> [nixpkgs] @jali-clarke opened pull request #89812 → ffmpeg-full: add librsvg dependency → https://git.io/JfDiw
meh` has quit [Ping timeout: 272 seconds]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
dermetfan has joined #nixos
lordcirth has joined #nixos
is_null has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @doronbehar opened pull request #89813 → neomutt: small fixes that should go to the next release's version bump → https://git.io/JfDiH
is_null has joined #nixos
agsdheidjd has left #nixos [#nixos]
noudle has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<davidtwco> Using flakes: can I specify the output to be built from the current directory's flake with nix build? It defaults to `defaultPackage.x86-64_linux` but I don't know how to tell it to build another output.
growpotkin has joined #nixos
orivej has joined #nixos
leungbk has joined #nixos
vtsm^ has quit []
evanjs- has quit [Quit: ZNC 1.8.0 - https://znc.in]
tsrt^ has joined #nixos
evanjs has joined #nixos
<{^_^}> [nix] @gilligan opened pull request #3670 → Add tests for pool.hh → https://git.io/JfDPu
orivej has quit [Quit: No Ping reply in 180 seconds.]
lunik16 has joined #nixos
orivej has joined #nixos
<betaboon> Mic92: now it builds but fails after installPhase with '... docker-19.03.11-armv7l... is not allowed to refer to the following paths: ...-go-1.14.2' I'm lost here
icey_ has joined #nixos
lunik1 has quit [Ping timeout: 256 seconds]
lunik16 is now known as lunik1
<Mic92> betaboon: does your build overrides buildGoPackage fixup phase somehow?
KindOne has quit [Read error: Connection reset by peer]
KindTwo has joined #nixos
cosimone has quit [Ping timeout: 256 seconds]
cosimone has joined #nixos
<betaboon> Mic92: not as far as i can tell
<Mic92> betaboon: you can check if this path: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/go-packages/generic/default.nix#L46 matches the references that you have.
iceypoi has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @alexfmpe opened pull request #89814 → Fix typo → https://git.io/JfDPS
nmayhew has joined #nixos
djbeau has joined #nixos
KindTwo is now known as KindOne
nmayhew has quit [Client Quit]
nmayhew has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixos-homepage] @garbas merged pull request #461 → add missing <span class="nix-command">s → https://git.io/JfMAC
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JfDXf
orivej has joined #nixos
<betaboon> Mic92: how would i do that ? oO
<betaboon> Mic92: the only reference that is mentioned to be not allowed is ...-go-1.14.2
<Mic92> betaboon: when you start a build you see a derivation file printed in the log. Do a cat on this file.
<betaboon> Mic92: the output of that includes a `("preFixup","find ....-go-1.14.2...") with exactly the path that is mentioned to be not allowed
<Mic92> betaboon: that is interesting. What file contains the reference?
<Mic92> You can use `strings` to find this out
<Mic92> if you have `keep-outputs = true` in nix.conf
vidbina has quit [Ping timeout: 265 seconds]
<betaboon> Mic92: I'm running with --keep-output atm. according to grep and strings it is `/libexec/docker/docker` and `/libexec/docker/dockerd` which ofc doesnt match $out/bin !?
asymmetric has quit [Quit: Peace.]
asymmetric has joined #nixos
<Mic92> betaboon: ah, that explains it
<Mic92> This is a special case
asymmetric has quit [Changing host]
asymmetric has joined #nixos
<Mic92> betaboon: what is in bin than, nothing?
<betaboon> Mic92: it's installing to libexec, then creating a wrapper at bin
asymmetric has quit [Client Quit]
asymmetric has joined #nixos
<Mic92> betaboon: ok, in that case you need to re-introduce your custom fixupPhase using libexec for remove-references
<betaboon> Mic92: should i just keep the preFixup that is in the derivation that runs the same thing against $out ? or define a preFixup that just does it against libexec? seems like https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/go-packages/generic/default.nix#L213 concats multiple preFixup anyway ?
ph88 has quit [Ping timeout: 272 seconds]
<Mic92> betaboon: actually you could also fix buildGoPackage to just include libexec
<Mic92> but you can also add your own preFixup in docker
<{^_^}> [nixos-homepage] @garbas pushed to fix-432 « use released-nixpkgs (aka nixos stable) channel to track nix releases »: https://git.io/JfDXu
<{^_^}> [nixos-homepage] @garbas opened pull request #463 → use released-nixpkgs (aka nixos stable) channel to track nix releases → https://git.io/JfDXz
<Mic92> The latter one is probably the least past of resistance
erasmas has joined #nixos
<fps> can i savely remove /tmp/nix-build* ?
philr_ has quit [Ping timeout: 264 seconds]
drakonis_ has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<betaboon> Mic92: should i `${go}` or `${buildPackages.go}` in the additional preFixup? build behaves weird when using `${go}`
stevenxl has joined #nixos
<Mic92> betaboon: buildPackages.go is the correct package here.
<Mic92> fps: yes
drakonis has quit [Ping timeout: 246 seconds]
mdlayher has joined #nixos
proofofkeags has joined #nixos
<betaboon> Mic92: hm nice that seems to work.
<{^_^}> [nixos-homepage] @garbas merged pull request #463 → use released-nixpkgs (aka nixos stable) channel to track nix releases → https://git.io/JfDXz
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JfD1f
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to fix-432: https://git.io/JfD1J
<mdlayher> i should have joined this room ages ago!
noogie has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
amanjeev has joined #nixos
drakonis has joined #nixos
amanjeev has quit [Client Quit]
drakonis1 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b119c093978 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
sarcasticadmin has joined #nixos
<mdlayher> I've written a PR to update a module I own to comply with Nix RFC 42, basically converting Nix attributes to a TOML configuration file via an external tool. i am curious if i'm on the right track here or if there is a pure Nix way to do this: https://github.com/NixOS/nixpkgs/pull/89781
<{^_^}> #89781 (by mdlayher, 13 hours ago, open): nixos/corerad: add settings option to supersede configFile
drakonis_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @edolstra pushed to release-20.03 « nix: 2.3.6 -> 2.3.6 »: https://git.io/JfD18
amf has quit [Quit: WeeChat 2.7.1]
detran has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
<betaboon> Mic92: thanks for the help. docker now succesfully compiled for armv7 and is running :)
<Mic92> betaboon: you are welcome
<betaboon> Mic92: i added my findings and a diff to the PR that you already commented in
agsdheidjd has joined #nixos
<Mic92> betaboon: yeah, better to make it a PR directly. We can merge this to master as is.
orivej has quit [Ping timeout: 256 seconds]
shibboleth has joined #nixos
<betaboon> Mic92: i would prefer nspin (the original author of that PR) to pick it back up as he is clearly interested in it + btrfs-progs still doesnt cross-compile and will block docker from cross-compiling when not disabled explicitly, so i think there is no rush.
<{^_^}> [nixpkgs] @Mic92 merged pull request #89649 → rust-analyzer: 2020-04-20 -> 2020-06-01 and fix build of vscode extension → https://git.io/Jf1xN
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/JfD1N
orivej has joined #nixos
thc202 has quit [Ping timeout: 256 seconds]
thc202 has joined #nixos
NeoCron has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @gilligan opened pull request #3671 → Add unit tests for rust-ffi → https://git.io/JfDML
FRidh has quit [Ping timeout: 264 seconds]
FRidh has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
slack1256 has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89817 → checksec: 2.2.1 -> 2.2.2 → https://git.io/JfDMW
<fps> what package would i find libstdc++.so.6 in?
<fps> Mic92: thanks
<fps> for some reason the binaries in my build have an unresolved reference for it
<Mic92> fps: stdenv.cc.cc
<fps> Mic92: hmm, what env var would that correspond to?
<Mic92> fps: I don't understand
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89818 → circleci-cli: 0.1.7868 -> 0.1.7971 → https://git.io/JfDMP
<fps> Mic92: maybe i'm confused :) here's my expression https://paste.debian.net/1150982/
<Mic92> fps: try autoPatchelfHook and add `stdenv.cc.cc` to buildInputs
<Mic92> than you don't need all the patchelf buisness
ddellacosta has quit [Ping timeout: 260 seconds]
ddellacosta has joined #nixos
<fps> Mic92: ok
iqubic has quit [Remote host closed the connection]
<{^_^}> [nixos-homepage] @garbas pushed to use-versions-from-released-nixpkgs « use nix and nixos version from released-nixpkgs input »: https://git.io/JfDM5
<fps> Mic92: hmm, the thing is: the autobuild also has the source in it which i use to build all the things (tm)
<{^_^}> [nixos-homepage] @garbas opened pull request #464 → Use nix and nixos version from released-nixpkgs input → https://git.io/JfDMj
detran has joined #nixos
<fps> Mic92: autoPatchelfHook and stdenv.cc.cc has worked. i'd like to understand why tho :) let's first see if the build now finally works :)
<{^_^}> [nixos-homepage] @garbas pushed to use-versions-from-released-nixpkgs « remove unused NIXOS_SERIES variable from Makefile »: https://git.io/JfDDJ
<asymmetric> has anyone else had issues with drag-n-drop since 20.03?
<asymmetric> mouse selection doesn't work either, i.e. clicking on something and dragging the cursor while keeping the button pressed
orivej has quit [Ping timeout: 246 seconds]
kenran has joined #nixos
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89819 → codeql: 2.1.4 -> 2.2.1 → https://git.io/JfDD3
cole-h has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
quinn has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #89820 → linux_5_7: init at 5.7.1 → https://git.io/JfDD8
kenran has quit [Ping timeout: 256 seconds]
<fps> asymmetric: what desktop are you on?
<fps> works fine for me in i3
<asymmetric> fps: i3, and i configure mouse with libinput
proofofkeags has quit [Ping timeout: 256 seconds]
KindTwo has joined #nixos
sigmundv__ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @veprbl opened pull request #89821 → clementine: 1.3.1 -> 1.4.0rc1, switch to Qt 5, fix build → https://git.io/JfDDM
KindOne has quit [Ping timeout: 272 seconds]
<fps> asymmetric: sorry, i never consciously used libinput
alp has quit [Remote host closed the connection]
KindTwo is now known as KindOne
alp has joined #nixos
fragamus_ has joined #nixos
ph88 has joined #nixos
fragamus_ is now known as fragamus
proofofkeags has joined #nixos
amanjeev has joined #nixos
<fragamus> how can I force nix-env to build from source?
iqubic has joined #nixos
<iqubic> Well, something's screwed up on my nixos box.
<cole-h> AFAIK, you can't. You could `nix-build -A attr --check` and `nix-env -i ./result` I believe.
ph88 has quit [Ping timeout: 272 seconds]
ninjin has quit [Ping timeout: 240 seconds]
<iqubic> When I boot up my computer a number of kernel modules fail.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89822 → dolt: 0.16.3 -> 0.17.1 → https://git.io/JfDy4
ncakerlist has quit [Ping timeout: 265 seconds]
<cransom> --option substitute false would skip the binary cache. but if none of the inputs changed, it's not going to rebuild it.
<iqubic> And then, instead of lightdm starting, I get a tty
<iqubic> And attempting to log in with my user and password just fails and returns me to the enter username prompt.
<__monty__> fragamus: By overriding the caches setting?
<iqubic> And ctrl-alt-f2 doesn't let me change TTYs
ninjin has joined #nixos
<iqubic> It was working up until I rebooted my machine this
<iqubic> morning
iqubic has quit [Remote host closed the connection]
Neo-- has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-homepage] @knedlsepp opened pull request #465 → Improve some wording in the demo → https://git.io/JfDyr
iqubic has joined #nixos
<iqubic> Anyone know what's going on here?
<iqubic> This is so annoying.
<cole-h> First thing I would do is `nix-diff` on your the working and broken system generations.
shibboleth has quit [Quit: shibboleth]
<iqubic> How? I can't access the broken system
<cole-h> Why not use an older generation?
<iqubic> All generations are broken
<cole-h> That... shouldn't be possible? Did you delete your old generations before you attempted rebooting?
<adisbladis> I've had this happen before
<cole-h> Ouch
<adisbladis> For me the cause was file system corruption
<cole-h> Ouchhhhh
<iqubic> No. But all of the old generations are in fact not working
<cole-h> Then that could possibly be it...
<adisbladis> I can't really imagine anything else causing this
ncakerlist has joined #nixos
<iqubic> How do fix this?
<iqubic> *I
fragamus has quit [Ping timeout: 260 seconds]
<iqubic> Is there a way to fix this?
<{^_^}> [nixpkgs] @jonringer merged pull request #89585 → bitwarden: 1.17.2 -> 1.18.0 → https://git.io/Jf1M2
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « bitwarden: 1.17.2 -> 1.18.0 »: https://git.io/JfDST
<cole-h> Do you have backups?
<iqubic> Backups of what?
<{^_^}> [nixpkgs] @jonringer merged pull request #89581 → axel: 2.17.8 -> 2.17.9 → https://git.io/Jf11o
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfDSI
<cole-h> Your important data/state? Because the only way I know of recovering from a corrupted disk is by reinstalling to another, known-working disk.
<cole-h> (Granted, I've never had to deal with fs corruption.)
<iqubic> I don't have backups of my data. I was going to create those today.
<Rusty1> fsck it from live nedia?
<cole-h> And then use ddrescue to another disk sounds like a decent idea.
<iqubic> Am I royally screwed?
<cole-h> Probably.
<srk> check dmesg, boot from live media and nixos-enter
<iqubic> God Damn It.
<cole-h> Watch your language, please :^)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89823 → easyrpg-player: 0.6.2 -> 0.6.2.1 → https://git.io/JfDS3
<cole-h> srk made a good suggestion as well. See if dmesg is complaining about anything
<cole-h> Though idk if it would complain about corrupt disks.
<iqubic> I can't check dmesg as I can't log in
<{^_^}> [nixpkgs] @veprbl closed pull request #89520 → Revert "treewide: replace base64 encoded hashes" → https://git.io/JfXjY
<simpson> There's smartctl, but that might have to wait until a successful boot, probably from a rescue disk.
<iqubic> What nixos recovery disk should i use?
xO1 has quit [Ping timeout: 246 seconds]
<srk> installer
<srhb> The installer iso will do fine
<iqubic> Good.
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/70717a337f7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<srk> like you can also do init=/bin/bash on kernel command line but not on nixos I guess.. that would require something like init="/usr/bin/env bash" if that even works
<cole-h> Could do /bin/sh
<srk> ++
<srk> that didn't occur to me.
<srhb> srk: There's single user flags to feed it as well.
<iqubic> How do i enter those flags? Running Grub2.
<srhb> I think it's 'e' to edit, but frankly the installer iso will be much more ergonomic and familiar
<cole-h> tbh I'd avoid booting into a potentially corrupt disk, if it were me... I'd even go as far as to mount it read-only when diagnosing.
<srhb> For sure. It's all too easy messing things up worse, especially when frustrated. Been there, done that.
proofofkeags has quit [Remote host closed the connection]
alp has quit [Ping timeout: 272 seconds]
proofofkeags has joined #nixos
iqubic has quit [Ping timeout: 245 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
iqubic has joined #nixos
<iqubic> Why is my WiFi so slow
Thra11 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #89470 → brotab: 1.2.2 -> 1.3.0 → https://git.io/JfX8X
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JfDSb
<iqubic> Downloading the minimal installer right now.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89824 → ergo: 3.2.5 -> 3.2.6 → https://git.io/JfDSx
<iqubic> wget tells me I'm at 54%
proofofkeags has quit [Ping timeout: 240 seconds]
<iqubic> Now.
<iqubic> Now we wait for dd
<energizer> iqubic: not necessary to provide live updates :)
<bbarker> are there any known issues with using stackage nightly with nixos? I'm having an issue where my project is looking for ghc 8.6.5 even though I'm on 20.03 and stackage nightly is on GHC 8.8.3
<{^_^}> [nixpkgs] @hedning merged pull request #89730 → Gnome shell 3.36.3 → https://git.io/JfMic
<{^_^}> [nixpkgs] @hedning pushed 4 commits to master: https://git.io/JfD9I
Chiliparrot has joined #nixos
iqubic has quit [Remote host closed the connection]
gmr[m] has joined #nixos
<srhb> bbarker: iirc it used to be that stack when detecting nix would just use that ghc (which I think(?) makes sense in the stack+nix world)
<srhb> bbarker: So I think that's regular behaviour.
kini has quit [Remote host closed the connection]
fendor has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 258 seconds]
<srhb> bbarker: You can provide your own expression if you want a specific version, though building ghc takes A While.
<bbarker> hmm, i guess ghc is still at 8.6.5 is 20.03, somehow I thought it wasn't.
<bbarker> so that explains that
sheepfleece has quit [Ping timeout: 264 seconds]
<srhb> bbarker: Stick unstable in your shell.nix? :)
kini has joined #nixos
zupo has joined #nixos
Thra11 has joined #nixos
<quinn> ;w
kini has quit [Excess Flood]
kini has joined #nixos
Thra11 has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89825 → fly: 6.1.0 -> 6.2.0 → https://git.io/JfD9H
iqubic has joined #nixos
alp has joined #nixos
commandocrypto has joined #nixos
kenran has joined #nixos
<energizer> on digitalocean can i make a nixos machine from scratch, or do i need to start with an ubuntu one and lustrate it?
<iqubic> I now have a nixos minimal installer running on my affected machine. How do i get wireless Internet going? Seems
<sshow> iqubic: wpa_supplicant might help you out
<exarkun> iqubic: or nmcli if that floats your boat
<iqubic> Seems nmtui don't work
<energizer> sshow: do you mean "no, you have to start with ubuntu and convert it"?
<sshow> energizer: no, I just mean I knew about that wiki-page and wanted to share it :)
<energizer> ok
<sshow> energizer: that page mentions digitalocean too
gmr[m] has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
<bbarker> srhb, I needed to add the ghc version as an input, and add an inherit ghc statment, as described in section 10.6.2.4 at https://gsc.io/search-docs/users-guide-to-the-haskell-infrastructure.html
<infinisil> energizer: You can build a NixOS digital ocean image with https://github.com/NixOS/nixpkgs/pull/66978
<{^_^}> #66978 (by arcnmx, 41 weeks ago, merged): nixos/digital-ocean-image: init (rebase)
<iqubic> I don't have nmcli here
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89826 → flyctl: 0.0.123 -> 0.0.128 → https://git.io/JfDHR
lorimer has quit [Quit: NAE TROOSERS]
<energizer> infinisil: how do i use it?
<infinisil> energizer: Add <nixpkgs/nixos/modules/virtualisation/digital-ocean-image.nix> to imports, then build the `config.system.build.digitalOceanImage` attribute
<{^_^}> [nixpkgs] @jonringer merged pull request #89580 → aws-checksums: 0.1.5 -> 0.1.7 → https://git.io/Jf11L
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « aws-checksums: 0.1.5 -> 0.1.7 »: https://git.io/JfDHo
gentauro has quit [Read error: Connection reset by peer]
<iqubic> How do i get root access on this iso?
iqubic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #89802 → pythonPackages.pytorch: 1.4.1 -> 1.5.0 → https://git.io/JfDgh
<{^_^}> [nixpkgs] @jonringer pushed commit from @GuillaumeDesforges to master « pythonPackages.pytorch: 1.4.1 -> 1.5.0 »: https://git.io/JfDH6
gentauro has joined #nixos
iqubic has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #89578 → angband: 4.2.0 -> 4.2.1 → https://git.io/Jf1XT
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « angband: 4.2.0 -> 4.2.1 »: https://git.io/JfDHj
fragamus_ has joined #nixos
<energizer> infinisil: where is the doc for nixpkgs.nixos?
<iqubic> Getting Internet here is being a pain.
ebopp has joined #nixos
<fragamus_> how can I force a build from source for this thing: RUN nix-env --fallback -f "<nixpkgs>" -iA haskellPackages.stack_0_1_10_1
<iqubic> Switching to graphical iso
jakobrs has joined #nixos
<jakobrs> Does installing libimobiledevice require doing anything special?
<jakobrs> I mean, apart from `nix run nixpkgs.libimobiledevice`
Neo-- has joined #nixos
doomlist3 has joined #nixos
ncakerlist has quit [Ping timeout: 256 seconds]
<infinisil> energizer: I'd just use `(import <nixpkgs/nixos> { configuration = ...; }).config.system.build.digitalOceanImage`
<infinisil> Probably no docs for pkgs.nixos
<energizer> ok
<energizer> infinisil: on my physical machines i do ` boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;` do i want that here too?
<{^_^}> [nixpkgs] @romildo opened pull request #89827 → imb-plex: 4.0.2 -> 5.0.0 → https://git.io/JfDQp
sigmundv__ has joined #nixos
lorimer has joined #nixos
iqubic has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89828 → ghq: 1.1.0 -> 1.1.1 → https://git.io/JfD7J
<infinisil> energizer: Nah, the digital ocean import should handle all boot and co. settings
<{^_^}> [nixpkgs] @worldofpeace merged pull request #89760 → Pantheon updates → https://git.io/JfMNg
<{^_^}> [nixpkgs] @worldofpeace pushed 31 commits to master: https://git.io/JfD7L
magnetophon has joined #nixos
<Izorkin> infinisil: how to need to merge this PR? - #41798
<{^_^}> [nixpkgs] @Thra11 opened pull request #89829 → SDL2_mixer: add optional dependency mpg123 → https://git.io/JfD73
<{^_^}> https://github.com/NixOS/nixpkgs/pull/41798 (by Izorkin, 2 years ago, open): nixos/ssh: add crypto options
sheepfleece has joined #nixos
domogled has quit [Quit: domogled]
<infinisil> Izorkin: Left a review
<infinisil> Other than that it looks good
<energizer> infinisil: `(import <nixpkgs/nixos> { configuration = ...; }).config.system.build.digitalOceanImage` attribute 'digitalOceanImage' missing
<cole-h> You probably need to merge the aforementioned PR into a local branch and use that...
<jakobrs> Answering my own question, I needed to start usbmuxd.
<energizer> cole-h: that was merged in november, shouldn't it be available in 20.09pre?
<infinisil> Izorkin: I know english isn't your main language, but would you mind if I helped you with some sentences so you can improve them?
<cole-h> Oh, I didn't see it was merged
<{^_^}> [nixpkgs] @worldofpeace opened pull request #89830 → [20.03] Pantheon updates → https://git.io/JfD7B
<cole-h> Oops
<Izorkin> infinisil: yes, thanks
kenran has quit [Ping timeout: 260 seconds]
user_0x58 has joined #nixos
ebopp has quit [Quit: leaving]
ebopp has joined #nixos
<{^_^}> [nixpkgs] @Thra11 opened pull request #89831 → Julius augustus → https://git.io/JfD7r
<infinisil> Izorkin: So you're often asking "how to need to merge this PR", which isn't correct grammatically. Better would be "How can I get this PR merged?" or "Can you take a look at this PR?"
<energizer> ah i put the import in the wrong place
Thra11 has joined #nixos
pamplemousse has quit [Ping timeout: 265 seconds]
fragamus_ has quit [Ping timeout: 246 seconds]
<infinisil> Izorkin: Or "What is needed to get this PR merged?". I hope that helps :)
<Izorkin> infinisil: ok)
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #41798 → nixos/ssh: add crypto options → https://git.io/vhaJ0
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JfD7Q
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89832 → go-jsonnet: 0.15.0 -> 0.16.0 → https://git.io/JfD7d
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shibboleth has joined #nixos
jakobrs has left #nixos ["WeeChat 2.7.1"]
<Thra11> For changes which cause mass rebuilds, how well am I supposed to test it? The contributors guide says staging is not for testing, only for well tested changes. Do I have to rebuild and test everything which depends on the changed package?
<{^_^}> [nixpkgs] @flokli opened pull request #89833 → terraform-providers: update → https://git.io/JfD5v
zupo has joined #nixos
<Thra11> Presumably not, but how many reverse-dependencies should I check?
fabianhjr has joined #nixos
<Thra11> Also, what's the threshold for something to be considered a "mass rebuild" (approximately)?
<infinisil> I'd say just test the first couple rev-deps for smaller changes
<cole-h> Anything over 500 changed packages should go to staging, IMO. My standard is: "rebuild and test the affected packages that you use".
<LnL> depends a lot on the type of change
<cole-h> That's very true.
<energizer> nix-build says `error writing file: No space left on device`, none of my devices are close to full, which one is it talking about?
<Thra11> energizer: possibly /tmp or /run/user/something which it has decided to use as tmp because you're in a shell?
<infinisil> energizer: Check `df`
<energizer> infinisil: like i said, none of them are close
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89834 → gotop: 3.5.2 -> 3.5.3 → https://git.io/JfD5S
proofofkeags has quit [Remote host closed the connection]
<Ericson2314> angerman: thanks, will backport
proofofkeags has joined #nixos
<srhb> energizer: If it's something like a ramdisk, it may just be full for the very short while it takes to fail, then clear up all the temporary space.
<infinisil> energizer: Well you said devices, but `df` lists more than just physical devices
iqubic has joined #nixos
commandocrypto1 has joined #nixos
<Thra11> energizer: What are the TMP and TMPDIR environment variables set to?
<iqubic> Well, my computer file system is well and truly corrupt.
<iqubic> Are at least I think it is.
<infinisil> (well I guess RAM is still physical, just not a disk)
<energizer> Thra11: nothing
<iqubic> I've not managed to do a nixos-enter from an installation media yet
<iqubic> So, it might be salvageable
<Thra11> energizer: Is tmp a tmpfs, and if so, how big is it/how much is used?
commandocrypto has quit [Ping timeout: 246 seconds]
dguibert has quit [Ping timeout: 245 seconds]
proofofkeags has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-20.03: https://git.io/JfDdW
<Ericson2314> angerman: backported
<energizer> why doesn't nix-collect-garbage need root?
<energizer> -d especially
<srhb> energizer: The '-d' part does, in fact, as it can't delete generations you don't own.
<srhb> So anything referenced by another user is safe.
<energizer> i see
<iqubic> Is it just me, or does the ISO at "https://channels.nixos.org/nixos-20.03/latest-nixos-plasma5-x86_64-linux.iso" just not have a graphical environment?
<{^_^}> [nixpkgs] @mweinelt opened pull request #89835 → pinnwand: 1.1.1. -> 1.1.2 → https://git.io/JfDdw
<iqubic> That the graphical option from here: https://nixos.org/download.html
<iqubic> Oh wait... I just can't DD properly
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos
commandocrypto1 has quit [Ping timeout: 264 seconds]
tokudan has quit [Remote host closed the connection]
<drakonis1> dont change the label
<drakonis1> alternatively
<drakonis1> it likely does but you have to run it
<{^_^}> [nixpkgs] @florianjacob opened pull request #89836 → matomo: 3.13.5 -> 3.13.6 → https://git.io/JfDFm
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89837 → helmfile: 0.114.0 -> 0.118.6 → https://git.io/JfDFO
tokudan has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed 24 commits to python-unstable: https://git.io/JfDF3
admicos has joined #nixos
<admicos> o/ all! quick question: is there any way to get fusermount or sudo working in a FHS nix-shell? I am currently stuck with this issue: https://github.com/NixOS/nixpkgs/issues/69338
<{^_^}> #69338 (by JohnAZoidberg, 36 weeks ago, open): SUID wrappers do not work in buildFHSUserenv.env
kopele has joined #nixos
<{^_^}> [nixpkgs] @fadenb opened pull request #89838 → [20.03] [backport] graylog: 3.2.5 -> 3.3.0 (with plugins) → https://git.io/JfDF0
kopele has left #nixos [#nixos]
alp has quit [Remote host closed the connection]
alp has joined #nixos
<ldlework> Is there no way to capture what error occurred with tryEval or anything else?
m0rphism has quit [Quit: WeeChat 2.7.1]
satoshi has joined #nixos
pamplemousse has joined #nixos
satoshi is now known as Guest83297
bastion-tester has quit [Ping timeout: 272 seconds]
domogled has joined #nixos
iqubic has quit [Remote host closed the connection]
mananamenos has quit [Ping timeout: 265 seconds]
magnetophon has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
codygman has quit [Ping timeout: 246 seconds]
magnetophon has joined #nixos
codygman has joined #nixos
drakonis has quit [Ping timeout: 260 seconds]
imalsogreg has joined #nixos
fendor has joined #nixos
commandocrypto1 has joined #nixos
drakonis1 has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
fragamus_ has joined #nixos
<fragamus_> how can I get this thing to always fall back to building from source: nix-env --fallback -f "<nixpkgs>" -iA haskellPackages.stack_0_1_10_1
proofofkeags has joined #nixos
proofofkeags has quit [Read error: Connection reset by peer]
proofofkeags has joined #nixos
pirboazo has joined #nixos
codygman has quit [Ping timeout: 264 seconds]
<fragamus_> i.e I dont want binaries to be downloaded
magnetophon has quit [Ping timeout: 256 seconds]
pirboazo has left #nixos [#nixos]
<cole-h> --option substitute false
<symphorien> I'm curious why you want that, fragamus_
<fragamus_> because my build is pulling in the wrong version of gitrev
exfalso has quit [Ping timeout: 246 seconds]
<fragamus_> possibly because the version I need is not in that cache
<symphorien> no that should not be possible
<symphorien> I mean, the result should not depend on the content of the cache
<fragamus_> I don't understand it either
<symphorien> what is possible however is that you changed the url for a download, but not its hash
<infinisil> ldlework: Nope
<fragamus_> I am trying to build an ancient version of stack
<symphorien> with fetchurl or the likes
<energizer> fragamus_: try changing the hash to lib.fakeSha256
<fragamus_> all i did was change nixpkgs to 16.03 which I checked out from github
<infinisil> fragamus_: I'm asking again, what made you believe you need that exact stack version to use ghcjs with stack?
magnetophon has joined #nixos
codygman has joined #nixos
<fragamus_> it is the latest version of stack that supported ghcjs and there is a software called ghcjs-commonjs that I want to play with
<infinisil> fragamus_: Where do you see that this is the last version supported by stack?
iqubic has joined #nixos
<iqubic> Alright. At long last I'm running a nixos installation usb on my machine with the weird filesystem.
<fragamus_> i looked at the tags in github for the versions that did not contain the string "ghcjs is no longer supported"
<iqubic> Time to see if I can't figure out what's up with the filesystem. How can I do that?
<energizer> iqubic: why do you think something is weird with your filesystem?
<{^_^}> commercialhaskell/stack#4744 (by snoyberg, 1 year ago, merged): Reduce GHCJS support
<ldlework> Is there any kind of JSON formatting of the current manuals or anything like that?
<infinisil> fragamus_: That PR was merged about a year ago, which is way after the version you're trying to get (0.1.10.1 is almost 5 years old)
<ldlework> I find the docs are very hard to use to discover functions and I'd like a more compact representation.
<infinisil> fragamus_: But never mind that, how about just not using stack? It obviously was never supported very well
<iqubic> When I boot into my system, a ton of kernel modules fail to load. Instead of LightDM starting up, I'm given a tty with a prompt to enter my username and password. Upon doing so, I don't log in, but am instead thrown back to the enter username prompt.
<iqubic> All generations are borked in this way.
<iqubic> And last night, when I was able to use my computer, I was getting read and write errors out the wazoo.
<iqubic> That was before I rebooted.
lsix has quit [Ping timeout: 256 seconds]
<iqubic> So, I think my filesystem is a bit corrupt.
<risson> justanotheruser: systemctl cat unbound
<iqubic> And no, I don't have any backups, today was the day I was going to create a backup system.
<infinisil> justanotheruser: Well it's just a constant which shouldn't ever change, so you could just use the value itself
<justanotheruser> thanks risson
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89839 → jx: 2.1.31 -> 2.1.59 → https://git.io/JfDbb
<justanotheruser> and what if I want to evaluate an expression alone? For example given no context I want to know what the value of $stateDir is within a package
<iqubic> So, yeah. I think I'll need to fix up my filesystem.
<iqubic> But I have no idea how to do so.
<iqubic> I want to retrieve as many files as possible, before doing a fresh install of NixOS.
<{^_^}> [nixpkgs] @berbiche opened pull request #89840 → nixos/manual: s/environent/environment/g in configuration.xml → https://git.io/JfDbN
<iqubic> Even if the number of files I can retrieve turns out to be 0, I want to be sure about that.
<infinisil> justanotheruser: You can't, unless the module exposes it (which this one doesn't)
<iqubic> So, can I just try nixos-enter?
<risson> infinisil: yet
<iqubic> BRB. Have to reboot.
iqubic has quit [Remote host closed the connection]
emacsomancer has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89841 → k9s: 0.19.4 -> 0.20.5 → https://git.io/JfDNv
<{^_^}> [nixpkgs] @karolchmist opened pull request #89842 → i3status-rust: 0.14.0 -> 0.14.1 → https://git.io/JfDNf
drakonis has quit [Ping timeout: 272 seconds]
<justanotheruser> ok thanks
drakonis_ has joined #nixos
doomlist3 has quit [Ping timeout: 272 seconds]
FRidh has quit [Quit: Konversation terminated!]
drakonis1 has joined #nixos
<Ericson2314> how does one one find the gc roots pointing to a thing?
<Ericson2314> so it can be deleted?
<symphorien> nix-store --query --roots
emacsomancer has joined #nixos
<Ericson2314> thanks symphorien !
codygman has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @karolchmist opened pull request #89843 → devilutionx: fix build dependency on SDL2 → https://git.io/JfDNc
iqubic has joined #nixos
codygman has joined #nixos
<iqubic> So, how shall I try and recover my data?
thc202 has quit [Ping timeout: 256 seconds]
<iqubic> Perhaps `nixos-enter` can help me.
<cole-h> Don't forget to mount the disk read-only so you don't cause more damage
<iqubic> How do I mount the disk read only?
<symphorien> -o ro
zrsk[m] has joined #nixos
<iqubic> My corrupted filesystem was running zfs. That might make this hard to do.
<iqubic> Alright... /dev/sda2 is my zpool.
o1lo01ol_ has quit []
proofofkeags has quit [Remote host closed the connection]
<iqubic> I know /dev/sda1 is the boot partition, and /dev/sda3 is a swap partition.
<iqubic> How shall I do this?
<cole-h> I think you should do your own research, so we're not the only ones feeding you information. I don't want to be held responsible if you break your system even more.
<iqubic> Look, at this point I'm 90% sure I'll be doing a completely fresh install of NixOS.
<iqubic> I'm fine breaking my system.
jgeerds has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @jonringer pushed 6 commits to python-unstable: https://git.io/JfDNo
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #89833 → terraform-providers: update → https://git.io/JfD5v
<{^_^}> [nixpkgs] @zimbatm pushed 2 commits to master: https://git.io/JfDN7
<iqubic> Oh Christ almighty: `mount -t zfs -o ro /dev/sda2 /mnt/zpool` is the command I ran. `filesystem 'latitude-tank' cannot be mounted, unable to open the dataset` is the result I got.
<iqubic> I think my system if completely screwed up.
<iqubic> s/if/is/
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89844 → libgen-cli: 1.0.5 -> 1.0.6 → https://git.io/JfDNj
proofofkeags has joined #nixos
<iqubic> Am I screwed here?
<imalsogreg> o/ I'm playing with flakes on a personal hydra instance with a private github repo. Evaluating a jobset fails with `'nix flake info' returned exit code 1: error: unable to download 'https://api.github.com/repos/<secret_org>/<secret_repo>/commits/master': HTTP error 404`. I see from the source code of nix that we can set a `github-access-token` option in nix.conf, and I've done that for both root user and hydra user, and I've restar
<imalsogreg> the systemd services for hydra-* and nix-daemon. I can manually `curl https://api.github.com/.../<secret_repo>?access_token=<mytoken>` and see the json commits list. `nix show-config` for both root and hydra show me my github-access-token. But hydra-evaluator continues to get the 404 error. Anyone see where I am going wrong?
lsix has joined #nixos
aleph9[m] has joined #nixos
sheepfleece has quit [Ping timeout: 240 seconds]
<cransom> you probably need something similar in hydra.conf/the hydra configuration. i haven't done anythying with flakes in hydra as of yet.
stevenxl has quit [Quit: Connection closed for inactivity]
<cole-h> Shouldn't you be getting a 403? Or does GH return 404s for private repos?
<imalsogreg> cole-h: 404's for security
<cole-h> Makes sense.
lsix has quit [Client Quit]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<imalsogreg> cransom: Thanks, I'll take a look at that too. Also looking more carefully at libfetchers/github.cc in nix, I see that access_token gets appended when downloading a tarball, but maybe not when doing this call to the API for commits.
Chiliparrot has joined #nixos
iqubic has quit [Remote host closed the connection]
<benschza> I'm building a Rust package using buildRustPackage, it has an option cargoPatches, which I can't find good docs for. The Rust git repo doesn't have a lock file. My understanding is I should be able to use cargoPatches to create or patch a Cargo.lock file. I get the error "patch: **** Only garbage was found in the patch input." during the build. I might just be misunderstanding diff? Using `diff -N /dev/null Cargo.lock > Cargo.lock.patch`. Any
<benschza> guidance appreciated :)
m0rphism has joined #nixos
Chiliparrot has quit [Ping timeout: 260 seconds]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> Hi! I have an expensive nix shell. To get it warm, I dump it in an Emacs compilation buffer with `nix-shell --run "echo test"`. This kills my machine. I tried `nice -n 10 nix-shell --run "echo test"`, but the nix-shell still uses a niceness of 0 for its tasks. How can I be better?
<{^_^}> [nixpkgs] @mweinelt opened pull request #89845 → pythonPackages.pygments: 2.5.2 -> 2.6.1 → https://git.io/JfDAy
<{^_^}> [nixpkgs] @lelongg opened pull request #89846 → qt5.qtserialbus: init at 5.12 → https://git.io/JfDAb
commandocrypto2 has joined #nixos
commandocrypto1 has quit [Ping timeout: 265 seconds]
<symphorien> selfsymmetric-mu: nice the daemon
<cransom> there used to be an infrequent (but it would happen) issue where the archive zip from github would randomly change sha because their bundling wasn't deterministic. does that still happen?
<selfsymmetric-mu> symphorien: Thank you! Is there a correct way to do that on NixOS?
<{^_^}> #8303 (by peti, 5 years ago, closed): nix.daemonNiceLevel has no effect on nix-daemon
<selfsymmetric-mu> `nix.daemonNiceLevel = 10`. Perfect.
<selfsymmetric-mu> Is bumping daemonIONiceLevel adviced?
<selfsymmetric-mu> *advised?
shibboleth has quit [Quit: shibboleth]
asymptotically has quit [Quit: Leaving]
<fragamus_> nice demon haha
iqubic has joined #nixos
<iqubic> How does one use nixos-enter?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> It doesn't seem to be working for me.
<iqubic> `/run/current-system/sw/bin/nixos-enter: '/mnt' is not a NixOS installation`
<{^_^}> [nixpkgs] @cmacrae opened pull request #89847 → yabai: 3.1.0 -> 3.1.1 → https://git.io/JfDxG
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
ebopp has quit [Quit: leaving]
commandocrypto3 has joined #nixos
<iqubic> Yeah. Getting nixos-enter to work is being a large massive pain.
<cole-h> Didn't you say you can't even mount your system?
commandocrypto2 has quit [Ping timeout: 240 seconds]
<iqubic> cole-h: I think I figured that out.
<iqubic> I can mount `/dev/sda{1-3}` but not `/dev/sda`
__monty__ has quit [Quit: leaving]
<iqubic> `/dev/sda2` was my filesystem and it's zfs and that made it harder to mount, but I've got it figured out now.
<iqubic> s/my/my main/
<{^_^}> [nixpkgs] @adisbladis merged pull request #89697 → pulseaudio-modules-bt: 1.3 -> 1.4 → https://git.io/JfMtV
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfDxK
<iqubic> So, I know what happened, and I know how to fix it.
<iqubic> I just need to enter the system, and run `nix-collect-garbage`
<iqubic> Because my hard drive is so gosh darn full of crap.
<{^_^}> [nixpkgs] @adisbladis opened pull request #89848 → poetry: 1.0.5 -> 1.0.8 → https://git.io/JfDxh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89849 → minio: 2020-05-01T22-19-14Z -> 2020-06-03T22-13-49Z → https://git.io/JfDpT
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89851 → minio-client: 2020-04-25T00-43-23Z -> 2020-05-28T23-43-36Z → https://git.io/JfDp4
agsdheidjd has quit [Ping timeout: 272 seconds]
davidv7 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @robinp opened pull request #89852 → Add snappy dependency to leveldb. → https://git.io/JfDpo
fragamus_ has quit [Quit: Connection closed]
noudle has quit []
fendor has quit [Read error: Connection reset by peer]
<ldlework> I made an org-mode version of the nixpkgs docs if anyone is interested in that, http://ldlework.com/nixpkgs.org
<{^_^}> [nixpkgs] @Mic92 merged pull request #89834 → gotop: 3.5.2 -> 3.5.3 → https://git.io/JfD5S
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfDpP
lilpea has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to nix-static: https://git.io/JfDpD
proofofkeags has quit [Remote host closed the connection]
hyld3 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89853 → moolticute: 0.43.16 -> 0.43.19 → https://git.io/JfDp9
proofofkeags has joined #nixos
eoli3n_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #89505 → release-lib.nix: remove innacurate platform groups → https://git.io/JfXQe
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JfDhY
iqubic has quit [Remote host closed the connection]
jb55 has quit [Remote host closed the connection]
aw has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
otti0815 has quit [Ping timeout: 256 seconds]
aw has joined #nixos
dingenskirchen has quit [Ping timeout: 272 seconds]
fooker has quit [Ping timeout: 246 seconds]
benny_ has joined #nixos
iMatejC has quit [Ping timeout: 260 seconds]
packer_ has joined #nixos
benny has quit [Ping timeout: 244 seconds]
h0m1 has quit [Ping timeout: 272 seconds]
mumuluxi has quit [Read error: Connection reset by peer]
heinrich5991_ has joined #nixos
heinrich5991 has quit [Ping timeout: 260 seconds]
packer has quit [Ping timeout: 260 seconds]
mzan has quit [Ping timeout: 260 seconds]
packer_ is now known as packer
MinceR has quit [Ping timeout: 272 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
mumuluxi has joined #nixos
dingenskirchen has joined #nixos
mzan has joined #nixos
iMatejC has joined #nixos
maddo has quit [Quit: See ya]
heinrich5991_ is now known as heinrich5991
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #88779 → boolector: 3.0.0 -> 3.2.1 → https://git.io/JfaxV
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/JfDhc
MinceR has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to nix-static: https://git.io/JfDhC
otti0815 has joined #nixos
proofofkeags has quit [Remote host closed the connection]
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89854 → nfpm: 1.2.1 -> 1.3.1 → https://git.io/JfDhR
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
proofofkeags has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #88692 → libusb1: Fix for pkgsMusl → https://git.io/Jfa89
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/JfDhg
fooker has joined #nixos
dongcarl has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
is_null has quit [Ping timeout: 260 seconds]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
is_null has joined #nixos
proofofkeags has quit [Remote host closed the connection]
calbrech` has quit [Remote host closed the connection]
calbrech` has joined #nixos
proofofkeags has joined #nixos
mumuluxi_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to nix-static: https://git.io/JfDhb
mumuluxi has quit [Read error: Connection reset by peer]
proofofkeags has quit [Remote host closed the connection]
fooker has quit [Ping timeout: 260 seconds]
is_null has quit [Ping timeout: 264 seconds]
is_null has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<{^_^}> [nixpkgs] @pasqui23 opened pull request #89855 → linux_testing_bcachefs : 5.3.2020.04.04 -> 5.6.2020.06.04 → https://git.io/JfDjL
<{^_^}> [nixpkgs] @matthewbauer merged pull request #70024 → nix: allow static compilation → https://git.io/JeZpn
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/JfDjm
<{^_^}> [nixpkgs] @matthewbauer pushed 0 commits to nix-static: https://git.io/JfDjY
fooker has joined #nixos
cosimone has quit [Quit: Quit.]
proofofkeags has joined #nixos
teto has quit [Quit: WeeChat 2.8]
alp has quit [Ping timeout: 272 seconds]
proofofkeags has quit [Read error: No route to host]
proofofkeags has joined #nixos
pjt_014 has joined #nixos
proofofkeags has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #89847 → yabai: 3.1.0 -> 3.1.1 → https://git.io/JfDxG
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfye2
justanotheruser has quit [Ping timeout: 264 seconds]
tghume has quit [Ping timeout: 256 seconds]
<angerman> Ericson2314: 👍
philr_ has joined #nixos
<{^_^}> [nixpkgs] @cmacrae opened pull request #89856 → yabai: 3.1.1 -> 3.1.2 → https://git.io/Jfyer
<{^_^}> [nixpkgs] @marsam merged pull request #89854 → nfpm: 1.2.1 -> 1.3.1 → https://git.io/JfDhR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfye1
maxdevjs has joined #nixos
kvda has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ has joined #nixos
proofofkeags has joined #nixos
pamplemousse has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @Radvendii opened pull request #89857 → ytalk: init at 3.3.0 → https://git.io/Jfye5
<hpfr[m]> My XBox one controller doesn’t work on NixOS, both wired and via xow with dongle? I couldn’t find any options to set, any ideas?
konobi has quit [Read error: Connection reset by peer]
proofofkeags has quit [Ping timeout: 246 seconds]
konobi has joined #nixos
otti0815 has quit [Ping timeout: 256 seconds]
iMatejC has quit [Ping timeout: 240 seconds]
mzan has quit [Ping timeout: 240 seconds]
iMatejC has joined #nixos
mzan has joined #nixos
dermetfan has quit [Ping timeout: 272 seconds]
otti0815 has joined #nixos
tghume has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89858 → pistol: 0.1.1 -> 0.1.2 → https://git.io/JfyvG
alexherbo2 has quit [Ping timeout: 260 seconds]
<hpfr[m]> I feel like it’s gotta be something with GNOME because everywhere on the internet says it just works but that doesn’t seem right either
orivej has joined #nixos
xelxebar_ has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
xelxebar has joined #nixos
<Ashy> hmm, my nixos desktop seems to have killed grub overnight randomly...
<hpfr[m]> Hmm it works perfectly on i3
<Ashy> it's running nixos unstable and i do have auto updates enabled in my configuration.nix so it likely did run a nixos-rebuild overnight
<Ashy> how do i start diagnosing why it has destroyed the grub config?
<Ashy> i just land in a grub cli
<risson> Ashy: you like to live dangerously
<multun> oh wow
<risson> Maybe start by booting a NixOS iso, re-running a nixos-rebuild (or nixos-install in the ISO actually)
<risson> And see if grub fails
drakonis has joined #nixos
<risson> s/grub/grib-install/
drakonis_ has quit [Read error: Connection reset by peer]
drakonis2 has joined #nixos