gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
leo_ has joined #nixos
<leo_> Anyone has run into troubles setting `mutableUsers = false;`?
<leo_> Any pkg imcompatibility? What about services (unlikely)?
mexisme has joined #nixos
<simpson> leo_: You may find yourself locked out! Double-check that you'll still be able to authenticate as you did before.
kleisli has joined #nixos
jluttine has quit [Ping timeout: 276 seconds]
shibboleth has quit [Remote host closed the connection]
qubasa_ has joined #nixos
mexisme has quit [Ping timeout: 265 seconds]
<leo_> Yeah!
<leo_> Of course. hehe
o1lo01ol1o has joined #nixos
<leo_> I glanced over nixpkgs issues looking for any misfortune. All good. :)
qubasa has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @das-g opened pull request #70426 → cmatrix: set license attribute (gpl3) → https://git.io/JeCJX
<exarkun> How reliable is `fetchSubmodules`? Does it have surprising unpleasant corner cases?
<exarkun> The fetchFromGitHub parameter, I mean
<exarkun> I have an src that sets it to true but sadly I have no submodules in my -source store path.
<{^_^}> [nixpkgs] @santiagoalvarez opened pull request #70427 → pmdk: 1.6.1 -> 1.7 → https://git.io/JeCJD
ee194350 has quit [Ping timeout: 252 seconds]
ee194350 has joined #nixos
freeman42x has quit [Ping timeout: 276 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
Neo-- has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @manveru opened pull request #70428 → dbmate: 1.4.1 -> 1.7.0 → https://git.io/JeCJx
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeCJj
<{^_^}> [nixpkgs] @manveru opened pull request #70429 → di: fix homepage → https://git.io/JeCUJ
<{^_^}> [nixpkgs] @hedning opened pull request #70430 → nixos/system-environment: prepend wrapperDir to PATH → https://git.io/JeCUY
mexisme has joined #nixos
qubasa has joined #nixos
leo_ has quit [Quit: leaving]
dermetfan has quit [Ping timeout: 245 seconds]
<samueldr> exarkun: when used on the fetchFromGitHub parameter it ends up using fetchgit
rsoeldner_ has quit [Ping timeout: 276 seconds]
<samueldr> exarkun: that doesn't answer your question exactly, but might help
<exarkun> I found a way to not care if the submodule gets fetched or not :/
<samueldr> (no more github specific logic, except the special repo/owner stuff)
rsoeldner_ has joined #nixos
qubasa_ has quit [Ping timeout: 276 seconds]
<exarkun> now fighting buildPythonPackage instead :)
mexisme has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
iyzsong has joined #nixos
kleisli has quit [Ping timeout: 268 seconds]
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
rsoeldner_ has quit [Remote host closed the connection]
rsoeldner_ has joined #nixos
rsoeldner_ has quit [Ping timeout: 276 seconds]
t58 has joined #nixos
jluttine has joined #nixos
growpotkin has joined #nixos
jluttine has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @mtrsk opened pull request #70432 → ranger: add video and pdf preview options → https://git.io/JeCUa
endformationage has quit [Ping timeout: 246 seconds]
philr has joined #nixos
leo_ has joined #nixos
<leo_> simpson: I got locked out of my system. xdddd
<hlolli_> with `extraConfig = "return 301 $scheme://www.domain.com$request_uri;";` and `virtualHosts."www.domain.com" = { locations."/express-endpoint" = { proxyPass = "http://127.0.0.1:8081/express-endpoint";` I experience that a post request with json string is turned into a GET request, both via cURL and browser (verbose cURL says literally `* Switch from POST to GET`). With or without `recommendedProxySettings = true;` I can't seem to keep the
<hlolli_> request intact trough the proxyForwarding.
<leo_> Had to `nixos-enter` and recover it.
<leo_> Apparently `disableSuToRoot` and `immutableUsers` are not playing well together.
<hlolli_> btw clever, I solved my problem with node2nix and `npmFlags = "--target_libc=unknown";` in override. Very nice :)
<hlolli_> ah (f-word), recently I had compilation errors with locations."/path" and added a locations."/path/" slash to all my locations, that's what caused this error :(, but after updating my unstable channel, it doesn't complain anymore.
<hlolli_> ah yes, I got it again "Using alias in a prefixed location that doesn't ends with directory separator could lead to path traversal vulnerability." I took this message too seriously, but its meaning was only the alias of totally different location.
o1lo01ol1o has quit [Remote host closed the connection]
HKei has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
hlolli__ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
hlolli_ has quit [Ping timeout: 276 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
jluttine has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
<pbb> Hi, any idea how I can add a command to be executed after a system.build.installBootLoader?
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #70433 → projectm: adopt, Qt{4->5}, {2->3}1.0, patch rpath, clean-up closure → https://git.io/JeCUX
growpotkin has quit [Ping timeout: 240 seconds]
iyzsong has joined #nixos
selfsymmetric-mu has joined #nixos
o1lo01ol1o has joined #nixos
mounty1 has joined #nixos
hmpffff has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
hmpffff_ has quit [Ping timeout: 276 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<provessor[m]> pbb: I'm not sure how to do that but what functionality were you after?
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 264 seconds]
dckc has joined #nixos
<dckc> if I've got https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/ocaml/merlin/default.nix downloaded, is there some nix-eval incantation to ask to build just that package?
xkapastel has quit [Quit: Connection closed for inactivity]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
das_j has quit [Remote host closed the connection]
spacefrogg has joined #nixos
<Shell> ooh
<Shell> ... mav
kleisli has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #70362 → nixos/gnome3: copy gnome-shell override → https://git.io/JecX9
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeCTO
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.09 « nixos/gnome3: copy gnome-shell override »: https://git.io/JeCT3
philr has quit [Quit: WeeChat 2.4]
kleisli_ has joined #nixos
boxscape has quit [Ping timeout: 246 seconds]
kleisli has quit [Ping timeout: 245 seconds]
leo_ has quit [Ping timeout: 268 seconds]
evils has quit [Quit: leaving]
markus1189 has quit [Ping timeout: 276 seconds]
evils has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6b899cf083a (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @hedning opened pull request #70434 → Gdm fixes → https://git.io/JeCTC
orivej has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
t58 has quit [Quit: Night]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
sk8forether has quit [Quit: Connection closed for inactivity]
kvda has joined #nixos
fusion809 has joined #nixos
mounty has quit [Ping timeout: 245 seconds]
mounty has joined #nixos
philr has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
ebzzry has quit [Read error: Connection reset by peer]
ebzzry has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6a35f11361e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<provessor[m]> dckc: `nix-build`?
<dckc> no, nix-build complains about arguments not being supplied
talqu has quit [Remote host closed the connection]
endformationage has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
<notgne2> dckc: `nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'`
<dckc> ah. right. that's the one. did you have that memorized? Is it documented?
<notgne2> `nix-build` will just run the expression as-is (no arguments), whereas stuff in nixpkgs wants to be called with callPackage so it can accept other packages as arguments. `-E` gives it an inline expression instead of a file, then you can just have that expression import and run callPackage on the file you actually want to build
hlolli__ has quit [Quit: Leaving]
<philr> I'm having problems building i3 from nixos-unstable, what's the best way to patch/override/??? the config in nixos/modules/services/x11/window-managers/i3.nix?
<notgne2> it's not documented anywhere that I know of
<notgne2> you can probably get away with `nix-build -E 'import ./default.nix (import <nixpkgs> {})'` or something like that too, but I don't know enough about callPackage to say for sure
Rusty1 has quit [Quit: Konversation terminated!]
drakonis has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #70434 → Gdm fixes → https://git.io/JeCTC
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeCkv
mexisme has quit [Ping timeout: 276 seconds]
o1lo01ol1o has joined #nixos
markus1189 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
iqubic has joined #nixos
ebzzry has quit [Ping timeout: 265 seconds]
philr has quit [Quit: WeeChat 2.4]
leo_ has joined #nixos
<leo_> I think my config is getting solid.
<leo_> Maybe it helps some newbs - like myself.
palo1 has joined #nixos
<leo_> I'll now find a way to pre-deploy overlays-compat (without having to eval the config)
<leo_> And make state.nixops work with pass and git.
leo_ has left #nixos [#nixos]
nexgen has quit [Remote host closed the connection]
palo has quit [Ping timeout: 276 seconds]
palo1 is now known as palo
nexgen has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6a35f11361e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
noogie has quit [Remote host closed the connection]
xkapastel has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.4 - https://znc.in]
hyper_ch has joined #nixos
Zer0xp has joined #nixos
ixxie has joined #nixos
cdepillabout has joined #nixos
<cdepillabout> I always forget, is it recommended to write URLs as strings, or as paths?
<infinisil> cdepillabout: paths are something different than urls
<infinisil> But the string syntax is preferred by most over the url syntax
<infinisil> And there's rfcs#45
<{^_^}> https://github.com/NixOS/rfcs/pull/45 (by 7c6f434c, 22 weeks ago, open): [RFC 0045] Deprecating unquoted URL syntax
<cdepillabout> Oh, I thought that when writing a URL without quotes, it gets interpretted as a path?
<cdepillabout> Okay thanks, I'll stick with quoting URLs!
<jluttine> where is the attribute `version` for `mkDerivation` documented? i'd like to know how to write the version for non-release commits
<infinisil> > https://github.com
<infinisil> cdepillabout: URL syntax is really just a string you don't have to quote
<infinisil> But URLs really refer to paths which can get imported and stuff
<infinisil> > ./.
<{^_^}> /var/lib/nixbot/state/nixpkgs
<infinisil> jluttine: There's something here: https://nixos.org/nixpkgs/manual/#sec-package-naming
<infinisil> "If a package is not a release but a commit from a repository, then the version part of the name must be the date of that (fetched) commit. The date must be in "YYYY-MM-DD" format. Also append "unstable" to the name - e.g., "pkgname-unstable-2014-09-23". "
<infinisil> So version would be "unstable-2014-09-23"
<cdepillabout> infinisil, So in the nix codebase, when a .nix file is parsed and turned into an AST, what type does an unquoted URL become?
<cdepillabout> Does this question even make sense?
<infinisil> Seems to become just a string yeah
<cdepillabout> But an actual path (like ./.) becomes something else? Or a string as well?
<samueldr> > builtins.typeOf a:b/c
<{^_^}> "string"
<samueldr> builtins.typeOf ./.
<samueldr> > builtins.typeOf ./.
<{^_^}> "path"
<samueldr> unquoted urls are really only syntaxic sugar, while paths are a more concrete thing
<cdepillabout> Okay, that makes sense. Thanks samueldr and infinisil! (I had forgotten about builtins.typeOf...)
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
Heirlung has joined #nixos
kleisli_ has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
boxscape has joined #nixos
<pbb> provessor[m]: signing my grub config, kernel and initrd
o1lo01ol1o has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6673ad1996d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
cdepillabout has quit [Quit: Leaving]
Heirlung has joined #nixos
philr has joined #nixos
noudle has joined #nixos
noudle has quit [Client Quit]
mexisme has quit [Ping timeout: 252 seconds]
knupfer has joined #nixos
Zer0xp has quit [Ping timeout: 240 seconds]
marusich has quit [Remote host closed the connection]
magnetophon has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #70438 → ocamlPackages.ocaml-monadic: init at 0.4.1 → https://git.io/JeCkF
inkbottle has quit [Ping timeout: 240 seconds]
inkbottle has joined #nixos
<jluttine> infinisil: thanks!
ris has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #69864 → friture: init at 0.36 → https://git.io/JeZ6S
<{^_^}> [nixpkgs] @Lassulus pushed commit from @laikq to master « friture: init at 0.36 »: https://git.io/JeCIU
dramforever has joined #nixos
dramforever has quit [Client Quit]
jimmyeatworld has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @geistesk opened pull request #70439 → alot: 0.8 -> 0.8.1 → https://git.io/JeCIq
philr has quit [Quit: WeeChat 2.6]
philr has joined #nixos
o1lo01ol1o has joined #nixos
<provessor[m]> pbb: have you seen this
<{^_^}> #53901 (by grahamc, 37 weeks ago, open): WIP: Sign systemd boot EFI images for secure booting.
<provessor[m]> I believe there's an open issue about this on the 19.09 milestone
Okinan has quit [Quit: Konversation terminated!]
<pbb> provessor[m]: yes I've seen this, but I'm not using EFI secure boot
mexisme has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
philr has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @basvandijk opened pull request #70440 → thanos: 0.6.1 -> 0.7.0 → https://git.io/JeCIC
gagbo has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
magnetophon has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
pheoxy has joined #nixos
pheoxy has quit [Remote host closed the connection]
<provessor[m]> pbb: oh yeah didn't realise that. I'm busy atm but maybe tomorrow I could have a look if it could be adapted to grub if that would help
dontobey has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @doronbehar opened pull request #70441 → gotify-server: init at 2.0.8 → https://git.io/JeCI8
endformationage has quit [Ping timeout: 240 seconds]
Zer0xp has joined #nixos
dontobey has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @unode opened pull request #70443 → pysam: 0.15.2 -> 0.15.3 → https://git.io/JeCI0
magnetophon has quit [Ping timeout: 252 seconds]
chloekek has joined #nixos
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #70439 → alot: 0.8 -> 0.8.1 → https://git.io/JeCIq
<{^_^}> [nixpkgs] @teto pushed commit from @geistesk to master « alot: 0.8 -> 0.8.1 »: https://git.io/JeCIz
__monty__ has joined #nixos
toppler has joined #nixos
niso has quit [Ping timeout: 240 seconds]
niso has joined #nixos
Okinan has joined #nixos
<{^_^}> [nixpkgs] @HugoReeves opened pull request #70444 → croc: 6.1.3 -> 6.1.4 → https://git.io/JeCIo
knupfer has quit [Ping timeout: 250 seconds]
niso has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vcunat pushed commit from @mmilata to release-19.03 « libpng12: 1.2.57 -> 1.2.59 »: https://git.io/JeCI1
<{^_^}> [nixpkgs] @vcunat merged pull request #70425 → libpng12: 1.2.57 -> 1.2.59 [19.03] → https://git.io/JeCJO
<{^_^}> [nixpkgs] @basvandijk merged pull request #70440 → thanos: 0.6.1 -> 0.7.0 → https://git.io/JeCIC
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/JeCIM
astralix has joined #nixos
mexisme has quit [Ping timeout: 264 seconds]
alex`` has joined #nixos
fendor has joined #nixos
astralix has quit [Quit: Leaving]
jimmyeatworld has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @taku0 opened pull request #70445 → firefox, firefox-bin: 69.0.1 -> 69.0.2 → https://git.io/JeCIp
komasa has joined #nixos
Astralix9 has joined #nixos
niso has joined #nixos
fendor_ has joined #nixos
fendor_ has quit [Client Quit]
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JeCLI
knupfer has joined #nixos
gagbo has joined #nixos
<Astralix9> Hi all! I'm a recent Nixos convert, thanks to some help I got to get it on my macbook at CCC. Lots to learn but loving Nixos so far.
<arianvp> Hallo!
<arianvp> Nice to hear
l33 has joined #nixos
<l33> Hi astralix9 , i find this to be a great help here. https://logs.nix.samueldr.com/nixos/
<Astralix9> handy resource. thanks!
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
l33 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #70446 → sidequest: 0.3.1 -> 0.7.2 → https://git.io/JeCLn
astrall33 has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JeCLW
<{^_^}> [nixpkgs] @vcunat merged pull request #70286 → libpng12: 1.2.57 -> 1.2.59 → https://git.io/JecYw
Astralix9 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-19.09: https://git.io/JeCL4
<{^_^}> [nixpkgs] @vcunat merged pull request #70423 → libpng12: 1.2.57 -> 1.2.59 [19.09] → https://git.io/JeCJm
<gyroninja> what would cause nix-shell to fail depending on where the shell.nix is?
<gyroninja> I have two identical shell.nix files (same sha256 hash) but one succeeds and one fails
<{^_^}> [nixpkgs] @joachifm opened pull request #70447 → nixos/containers: explicitly load kernel modules for networking → https://git.io/JeCLR
<sphalerite> gyroninja: they might have relative references to files
<gyroninja> oh that is the case
<sphalerite> gyroninja: try grep -F ./ shell.nix
<sphalerite> ah well then :D
<gyroninja> Well I'm running into `error: attribute 'source' missing, at /nix/store/gjrmfwfy6prh59lj785lcw0fawirp79a-nixos-20.03pre194293.2436c27541b/nixos/pkgs/development/ruby-modules/bundled-common/functions.nix:88:14` for a ruby project
toppler has quit [Ping timeout: 250 seconds]
graf_blutwurst has joined #nixos
o1lo01ol1o has joined #nixos
<gyroninja> weird I just ran bundix -l again and the problem went away
<{^_^}> [nixpkgs] @worldofpeace opened pull request #70448 → nixos/lightdm: improve systemd service → https://git.io/JeCLz
graf_blutwurst has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
HKei has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b0453306435 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<wrl> hey, so following up from last night – i'm trying to boot a nixos installer on a brand-new ryzen x570 box, and it's dying at "waiting for device /dev/root to appear"
<wrl> when i go to the interactive shell, i don't have device nodes for the USB stick or the NVME drive i want to install on
<HKei> you mean the bootable flash drive crashes?
<wrl> arch successfully brings these up when I boot a live USB disk
<astrall33> :-(
<MichaelRaskin> I wonder if the stick misses some drivers…
<wrl> with clever's guidance, i've built a minimal ISO with the 5.3.1 kernel
<wrl> it exhibits the same issue
<astrall33> cool.
<astrall33> thats beyond bleeding edge.
<wrl> usb_storage is modprobe'd and working
<wrl> that's the driver that the USB stick at least needs
<wrl> i'm not really sure what else to try here
<{^_^}> [nixpkgs] @worldofpeace pushed to master « nixos/pantheon: add elementary-default-settings for services »: https://git.io/JeCLV
<wrl> well, "working" – don't know
<MichaelRaskin> In what sense it is working?
<wrl> also of note – in the nixos boot, /sys/firmware/efi/efivars is empty
<wrl> with arch, it's not
<MichaelRaskin> dmesg should say something about USB devices turning out to be storage devices
<{^_^}> [nixpkgs] @joachifm opened pull request #70449 → graphene-hardened-malloc: constrain platforms to x64 linux → https://git.io/JeCLr
graf_blutwurst has joined #nixos
<wrl> MichaelRaskin: it does not. when unplugging and replugging the USB stick, i get nothing after "SerialNumber"
iqubic` has joined #nixos
<wrl> it appears that I'm missing the "ums-realtek" module
<wrl> which is for USB realtek SD card readers
<MichaelRaskin> Yeah, at some point I found out some of my USB HDDs need uas
<MichaelRaskin> A similar situation
<wrl> i'm short on USB keys right now so I grabbed this and would prefer to continue using it if at all possible
<wrl> how do i deal with this? I'm able to build my own images and did so in this particular case
<wrl> still new to nix so would need some handholding
<MichaelRaskin> You built a new image changing only the kernel version, right?
<wrl> i did `nix-build '<nixpkgs/nixos/release.nix>' -A iso_minimal_new_kernel.x86_64-linux`
iqubic has quit [Ping timeout: 264 seconds]
<MichaelRaskin> Ah
<{^_^}> [nixpkgs] @joachifm opened pull request #70450 → tor-browser-bundle-bin: use hardened allocator → https://git.io/JeCLP
<wrl> is there an easy way to do this? am i looking at a kernel recompile?
<MichaelRaskin> I don't think so
<astrall33> everything is easys in nixos, when you know how..
<wrl> astrall33: trying to figure it out ;)
<MichaelRaskin> Well, no amount of knowledge would save you from Chromium rebuild being crazy long
<MichaelRaskin> We-ell…
<wrl> there's stuff in /lib/modules but not the stuff that i need
<MichaelRaskin> How clean you want the process to be?
<wrl> are there more modules available if the USB drive is able to be mounted?
<wrl> i'm concerned about the NVME drive not showing up
<wrl> moreso than the sdcard reader issue
<astrall33> boot.initrd.extraKernelModules in configuration.nix
<wrl> MichaelRaskin: i'm interested in learning nix well enough to use it for ops at some point, so "idiomatic nix/nixos" is preferred
<astrall33> not exactly a how to guide..
<MichaelRaskin> The idea is: we build more or less all modules, but initramfs (that has to be in RAM, sometimes on 2GiB RAM systems using external builders) is small and includes only our best guess
<astrall33> idiotmatic!!! you've come to right the palce.
<wrl> alright that makes sense
<wrl> astrall33: ¯\_(ツ)_/¯
ericsagnes has quit [Ping timeout: 246 seconds]
<wrl> how do i take this and change the above nix-build command to use a local version of the file?
<wrl> the magic seems to happen in release.nix here: https://github.com/NixOS/nixpkgs/blob/master/nixos/release.nix#L158-L164
<HKei> anyone working with C++ regularly? I'm looking for git-clang-format, I'd expect it to be provided by clang-tools but I just checked the expression and it only seems to expose a select list of things which doesn't include that particular script
<MichaelRaskin> Well, you probably have a checkout, right?
<wrl> MichaelRaskin: i don't currently but that's not a big problem.
<MichaelRaskin> You have an option of just editing installation-cd-minimal-new-kernel.nix and adding the necessary option there
<HKei> clang-format itself is there, but I need git-clang-format for some of my workflows (e.g. company policy to only format diffs)
<MichaelRaskin> (this would be you using Nix-idiomatic facilities and perfectly fine Nix code, but not perfectly clean in sense of editing the checkout)
toppler has joined #nixos
<wrl> MichaelRaskin: i have a hunch that if I'll need a checkout to change the options in installation-cd-minimal-new-kernel.nix since it's included by the `module` statement/whatever in release.nix
<wrl> i.e. there's not a way to say 'build release.nix but use this specific module i have somewhere outside of the tree'
<wrl> is my understanding correct?
<MichaelRaskin> Well, if only release.nix exported makeIso
<MichaelRaskin> Basically release.nix is (correctly) written to be as much independent from how you call it as possible
mexisme has joined #nixos
<MichaelRaskin> It defines a few release artifacts, including ISO images
<{^_^}> [nixpkgs] @joachifm opened pull request #70451 → Pacman packaging enhancements → https://git.io/JeCLH
toppler has quit [Ping timeout: 250 seconds]
<wrl> MichaelRaskin: alright, so once I have a local checkout, how do I pass that in to nix-build?
<MichaelRaskin> Same command, but /path/to/nixpkgs/nixos/release.nix instead of '<nixpkgs/nixos/release.nix>'
mexisme has quit [Ping timeout: 276 seconds]
<wrl> got it
<wrl> alright and what do i want to add to the included nix file in order to add some kernel modules?
<astrall33> nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
<astrall33> cd nixpkgs/nixos
<{^_^}> [nixpkgs] @joachifm opened pull request #70452 → Tinycc packaging improvements → https://git.io/JeCL7
ericsagnes has joined #nixos
knupfer has quit [Remote host closed the connection]
<wrl> can i just put boot.initrd.extraKernelModules into the included nixos-config file?
cartwright has quit [Remote host closed the connection]
<MichaelRaskin> Yes, that should work
<astrall33> Well, if it does, that's pretty neat.
cartwright has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/76aaffa40c1 (from 54 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<wrl> alright let's give it a soht
<wrl> shot
<{^_^}> [nixpkgs] @worldofpeace opened pull request #70453 → polkit: propagate glib, other cleanups → https://git.io/JeCLx
chris| has quit [Quit: ZNC 1.7.2 - https://znc.in]
<wrl> alright, seems to have built, let's give it a shot
<astrall33> blimey...
chris| has joined #nixos
<MichaelRaskin> wrl: you have an option to check before booting
<MichaelRaskin> You could unpack the initramfs image and check if the extra modules are there
<wrl> there was a line that made me think it did make it in...
<wrl> it listed all the kernel modules it was putting in
<wrl> /nix/store/g99009qa9wy399ks4w22a4lbxc5q8h1l-linux-5.3.2-modules/lib/modules/5.3.2/kernel/drivers/usb/storage/ums-realtek.ko.xz
<wrl> this showed up
<wrl> woooo, root comes up!
<wrl> boot completes successfully
orivej has quit [Ping timeout: 240 seconds]
<gchristensen> woot!
<{^_^}> [nixpkgs] @Ma27 merged pull request #70422 → documize: introduce state directory → https://git.io/JeCfy
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeCtf
NightTrain has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Ma27 pushed commit from @elseym to release-19.09 « documize: introduce state directory »: https://git.io/JeCtJ
chris| has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #70454 → memtest86-efi: 8.0 -> 8.1 → https://git.io/JeCtU
<{^_^}> [nixpkgs] @worldofpeace merged pull request #70377 → timetable: 1.0.8 -> 1.0.9 → https://git.io/JecSH
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeCtk
<haslersn> When booting the nixos installer on my new notebook with i7-10510U, I get a blackscreen after selecting which version to boot (default, copytoram, etc.). Could it be that the installer has a too old kernel or too old drivers?
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Kjuvi to release-19.09 « timetable: 1.0.8 -> 1.0.9 »: https://git.io/JeCtI
AstraAdria4Ari has quit [Quit: Leaving]
chris| has joined #nixos
haslersn[m] has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #70378 → ephemeral: 5.3.0 -> 5.4.0 → https://git.io/JecSx
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeCtm
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Kjuvi to release-19.09 « ephemeral: 5.3.0 -> 5.4.0 »: https://git.io/JeCtY
AstraAdria4Ari has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #46997 → installer: autorun xserver in graphical media → https://git.io/fAQ6X
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JeCt3
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
Zer0xp has quit [Ping timeout: 240 seconds]
AstraAdria4_Ari has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #70424 → git-revise: 0.4.2 -> 0.5.0 → https://git.io/JeCJY
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeCtG
kenshinCH has joined #nixos
toppler has joined #nixos
<haslersn[m]> When trying to boot my nixos ssd or the nixos installer, I get a black screen after choosing the entry in the boot loader. I have a quite new i7-10510U. Could it be that kernel or drivers are too old?
toppler has quit [Ping timeout: 268 seconds]
janneke has quit [Quit: janneke quits Mes'sing]
kenshinCH has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @Ma27 opened pull request #70455 → libcouchbase: fix build → https://git.io/JeCtl
janneke has joined #nixos
<HKei> haslersn[m] I've had an issue like that when using the open source nvidia drivers with a 1440p monitor
<haslersn[m]> There's no dedicated graphics card
<hyperfekt> haslersn[m]: Do you get to the GRUB menu? Or is the black screen before that?
<haslersn[m]> hyperfekt: after it. Both for the installer and my ssd.
<hyperfekt> Oh sorry, just scrolled back. Try the nomodeset option?
magnetophon has joined #nixos
alex`` has quit [Quit: WeeChat 2.6]
<haslersn[m]> @hyperfekt Also blackscreen
<haslersn[m]> hyperfekt: Also blackscreen
<haslersn[m]> Where can I get an installer with newer kernel?
toppler has joined #nixos
<astrall33> what's wrong with the stock kernel?
<astrall33> just out of cursosity?
<HKei> haslersn has issues with X being broken apparently
<haslersn[m]> astrall33: The installer doesn't work for me. I get a black screen after choosing the boot loader entry.
<haslersn[m]> HKei: Why X? I don't even get a tty with the minimal installer.
<haslersn[m]> I don't even get any log output on booting.
<HKei> ah
<HKei> well then it wouldn't be X
<HKei> I thought you meant black screen as in your login manger doesn't work or something like that
<astrall33> what hardware are you on.
toppler has quit [Ping timeout: 276 seconds]
<hyperfekt> haslersn[m]: The way to get a newer installer is to wait for 19.09 which is going to be released very soon (as you can tell by the name :b ) our to install Nix and follow these instructions, while having your channel set to 19.09: https://nixos.org/nixos/manual/index.html#sec-building-cd
mounty1 has quit [Ping timeout: 276 seconds]
cartwright has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @davidtwco opened pull request #70456 → starship: 0.20.1 -> 0.20.2 → https://git.io/JeCto
cartwright has joined #nixos
<tilpner> haslersn[m]: Or you can get an unstable ISO from https://nixos.org/channels/nixos-unstable
<misuzu> haslersn[m]: you can set boot.kernelPackages = pkgs.linuxPackages_latest; in iso.nix and installer should get 5.3 kernel
<astrall33> haslersn[m], can you boot with any other installer? such as arch or ubuntu?
<tilpner> haslersn[m]: Or the nixos-19.09 ISO actually, https://nixos.org/channels/nixos-19.09
<haslersn[m]> hyperfekt: Yes, I'm on NixOS using my old notebook.
<tilpner> ,matrixbridge haslersn[m]
<{^_^}> haslersn[m]: The IRC<->Matrix bridge sends multi-line messages as links: `* Someone sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/... >`. This means that highlights don't work, people have to open your link, and it gets less visibility than multiple single-line messages
boxscape has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #70370 → php: 7.2.22 -> 7.2.23, 7.3.9 -> 7.3.10 → https://git.io/JecM7
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JeCtP
civodul has joined #nixos
<haslersn[m]> tilpner: Which kernel versions do the unstable and 19.09 isos have?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<haslersn[m]> astrall33: I will quickly check ubuntu 18.04
<hyperfekt> tilpner: Oh every channel has a built ISO? Will remember, that's great.
<haslersn[m]> hyperfekt: Yes but it doesn't have the latest kernel option set.
<tilpner> haslersn[m]: Probably longterm, but I can look for a _latest ISO
<tilpner> So 4.19.*
<hyperfekt> haslersn[m]: You'll want to do what misuzu said then. :)
<haslersn[m]> Hmm I'll need 5.* anyways because I was planning to add a swapfile and I use btrfs.
<tilpner> haslersn[m]: That's a 19.09 minimal ISO with some kernel
<tilpner> *some newer kernel
<haslersn[m]> tilpner: Thanks
<misuzu> tilpner: wow
<tilpner> haslersn[m]: Click on the details button for a download link
boxscape has joined #nixos
<tilpner> Or just... click the link <.<
<haslersn[m]> tilpner: ? I just clicked on the iso filename
boxscape has quit [Remote host closed the connection]
ebzzry has joined #nixos
toppler has joined #nixos
<haslersn[m]> Side question: Is `19.09beta` more stable than `unstable`/`20.03pre`?
<haslersn[m]> Or will it just be stable once stabilized (in a few days)?
<tilpner> haslersn[m]: Yes, in the sense that it will change less
<tilpner> haslersn[m]: That ISO should have 5.3.2
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-19.09: https://git.io/JeCt1
o1lo01ol1o has joined #nixos
<haslersn[m]> Ubuntu btw does work. So I can rule out incompatible RAM.
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #70455 → libcouchbase: fix build → https://git.io/JeCtl
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeCtD
<haslersn[m]> The ubuntu 18.04 live stick boots with kernel 5.0.0-23-generic
<jluttine> anyone else using polybar on nixos? i'm not able to get unicode icons to show.. just getting "Dropping unmatched character". i wonder if there's something nixos specific about it, as i've tried to set up the fonts
<tilpner> jluttine: I am, but mine's purely text :c
* tilpner helpful
<jluttine> tilpner: yep, i've been removing those icons thus far, but now i would have wanted to have some.. :/
<haslersn[m]> tilpner: Thanks a lot. The new-kernel installer works.
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<tilpner> jluttine: What font-* did you set?
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Ma27 to release-19.09 « libcouchbase: fix build »: https://git.io/JeCtQ
<jluttine> font-2 = "Siji:pixelsize=10;0";
<jluttine> font-3 = "Iosevka:pixelsize=10;0";
<jluttine> tilpner: ^
<jluttine> and i have: fonts.fonts = with pkgs; [ siji iosevka ];
<jluttine> and i understood that those fonts should be able to show icons..
<{^_^}> [nixpkgs] @unode opened pull request #70457 → init: mpld3 at 0.3 → https://git.io/JeCt7
<{^_^}> [nixpkgs] @unode opened pull request #70458 → init: bbtools at 38.69 → https://git.io/JeCtd
acarrico has quit [Ping timeout: 245 seconds]
ng0 has joined #nixos
<jluttine> or maybe it's nerdfonts that i need..
<jluttine> i guess i continue playing with the font settings..
<tilpner> jluttine: What characters are you trying to display?
<tilpner> Uh oh, that doesn't even render in my FF
<jluttine> yeah, i'm not able to render it on any of my apps.. :)
<jluttine> so maybe i should solve that first
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos
toppler has joined #nixos
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
ris has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #70459 → pgcenter: 0.6.2 -> 0.6.4 → https://git.io/JeCqf
<{^_^}> [nixpkgs] @jabranham opened pull request #70460 → R: Update CRAN and bioconductor packages → https://git.io/JeCqJ
waleee-cl has joined #nixos
alex`` has joined #nixos
<jluttine> uh.. nerdfonts is huge in nixpkgs as it contains all the fonts.. i suppose it's not possible to select only some fonts from that collection.. :)
<{^_^}> [nixpkgs] @teto merged pull request #70456 → starship: 0.20.1 -> 0.20.2 → https://git.io/JeCto
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/JeCqT
<{^_^}> [nixpkgs] @teto merged pull request #70388 → mdcat: init at 0.13.0 → https://git.io/JecH9
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/JeCqI
<{^_^}> [nixpkgs] @Ma27 merged pull request #69655 → libfilezilla: 0.18.1 -> 0.18.2 → https://git.io/JeZsA
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeCqq
nexgen has quit [Quit: Leaving]
<HKei> jluttine: actually I don't think it contains anything by default, you have to say which one you want using `withFont`
jb55 has quit [Remote host closed the connection]
<jluttine> HKei: oh.. but when i install it in my fonts, nixos-rebuild just downloads and downloads.. eventually after like 15min it actually failed because there was outstanding data for curl
jb55 has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed commit from @r-ryantm to release-19.09 « libfilezilla: 0.18.1 -> 0.18.2 »: https://git.io/JeCqO
<tilpner> jluttine, HKei: nerdfonts does have a withFonts argument, but it's only used during installPhase. I don't see how it could fetch less with the current expression
<clever> it would need seperate tar files, for each font
<HKei> Well, the comment just said that it was "huge", so I was assuming they were talking about the install size
<astrall33> who needs fonts! ;-)
<clever> HKei: its also huge, in that you have to download several 100mb (or was it gig?) worth of fonts, before you can extract and keep 1
<tilpner> clever: Noto alone was 900MB, and there are 44 other fonts
<clever> gigs then
<HKei> weird, I don't remember it taking super long when I installed, but that may have been because I was super sleep deprived and not really aware of time at the time
<HKei> also super fast broadband which helps
aveltras has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b0453306435 (from 13 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<clever> HKei: 500mbps fiber here
toppler has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #70461 → prometheus: 2.12.0 -> 2.13.0 → https://git.io/JeCqc
<HKei> but then downloading a couple gigs worth of fonts shouldn't take very long
<clever> ive found that most sites i visit, cant keep up with my modem, lol
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<astrall33> clever's modem is 300/300 baud
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #69921 → qpdf: 8.4.2 -> 9.0.1 → https://git.io/JeZ9O
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeCqC
toppler has quit [Ping timeout: 240 seconds]
alex`` has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #70462 → gnomeExtensions.mpris-indicator-button: init at 2019-09-29 → https://git.io/JeCqW
<{^_^}> [nixpkgs] @Ma27 merged pull request #69957 → signal-cli: 0.6.2 -> 0.6.3 → https://git.io/JeZQb
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeCql
alex`` has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed commit from @r-ryantm to release-19.09 « signal-cli: 0.6.2 -> 0.6.3 »: https://git.io/JeCqB
alex`` has quit [Client Quit]
alex`` has joined #nixos
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeCq0
<{^_^}> [nixpkgs] @marsam merged pull request #70148 → rubocop: 0.74.0 -> 0.75.0 → https://git.io/JengL
wfranzini has joined #nixos
alex`` has quit [Client Quit]
alex`` has joined #nixos
<worldofpeace> What has nix pills done to mislead this pull request https://github.com/NixOS/nixpkgs/pull/70458/files
<clever> worldofpeace: i find even the main nixpkgs docs cause that, the problem is that they show how builder works, but dont point out that its mainly for learning how it works
<{^_^}> [nixpkgs] @abbradar pushed to master « cntk: partially unbreak »: https://git.io/JeCqu
chloekek has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @abbradar pushed to release-19.09 « cntk: partially unbreak »: https://git.io/JeCqz
<worldofpeace> clever: exactly. I'm pretty sure normal programming documentation always does that, points out those lower level details as supplimentary information but focuses on how you should actually be doing things
<jluttine> HKei tilpner: perhaps nixpkgs should have a separate package for each font in nerdfonts. these can be created programmatically as tilpner's gist shows. then one could easily install any subset of the fonts. or what do you think?
<worldofpeace> lol, isn't that the gist I posted last week?
<tilpner> (gist is from worldofpeace)
<worldofpeace> I think the pattern I suggested for this package https://github.com/NixOS/nixpkgs/pull/67836 could work the same for nerdfonts
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> #67836 (by petabyteboy, 4 weeks ago, merged): coreboot-utils: init at 4.10
freeman42x has quit [Remote host closed the connection]
<worldofpeace> and everything is just fetched from https://github.com/ryanoasis/nerd-fonts/releases/download/${version}/${pname}.zip, and we use buildEnv to have the giant nerdfonts package
alex`` has quit [Ping timeout: 268 seconds]
freeman42x has joined #nixos
<clever> worldofpeace: are the fonts grouped by directory within that repo?
alex`` has joined #nixos
<worldofpeace> clever: think so, though I think the releases would be easiest
<clever> ah, so you cant bypass the release/archive tars and download just one font
<clever> you would have to download each file in the font, one per fetchurl
<clever> i think the simplest option, would be to make 3 layers of drvs, the first layer just fetches everything as a zip (plain fetchurl on the release)
<clever> the 2nd layer, is an array of drvs, that unpack 1 font each (always 1 font)
<clever> the 3rd layer is a buildEnv to put it back together
<clever> and the critical part, is that hydra is configured to build everything in the middle layer
<clever> then those partials are in the cache
<{^_^}> [nixpkgs] @marsam opened pull request #70463 → spotifyd: 0.2.16 -> 0.2.18 → https://git.io/JeCqM
<worldofpeace> exactly my thoughts as well. call it day and drop the irc logs in an issue :D irc == solutions
<__monty__> Np, I'm pretty sure I have my logs for the month in an easy text file.
<tilpner> I don't see the advantage over fetching each release archive separately
<clever> tilpner: fetch the entire release in phase 1, then break it up in multiple drvs
<worldofpeace> Well currently we can't build it on hydra, and what if someone just wants one font?
<clever> the key, is for hydra to build those split up ones
<clever> if licensing issues wont let hydra build it, then there is no fix
<tilpner> clever: There is still no advantage
<tilpner> Just fetch each zip from here: https://github.com/ryanoasis/nerd-fonts/releases
<jluttine> what's the benefit of fetching everything in one zip in the first layer instead of one zip per font?
<clever> tilpner: that zip is several gig in size
<tilpner> clever: No, it's not
<clever> jluttine: upstream doesnt provide one zip per font
ris has quit [Ping timeout: 246 seconds]
<jluttine> clever: it does..? in the releases. or am i missing something..
<tilpner> Just 10MB
<tilpner> And works without depending on Hydra/cache.no
<clever> tilpner: oh, there are multiple releases?
<clever> didnt actually look at that page
<tilpner> Yes, that's why I linked it to you
<clever> that sounds like the best option then
<jluttine> :+1:
ris has joined #nixos
<tilpner> Now someone go do it c.c
* tilpner doesn't actually use nerdfonts
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeCq9
<{^_^}> [nixpkgs] @marsam merged pull request #70444 → croc: 6.1.3 -> 6.1.4 → https://git.io/JeCIo
<jluttine> perhaps first someone open an issue describing this idea?
<tilpner> Nah, just send a PR and iterate in review
<tilpner> If you want this to be done anytime soon, at least
<jluttine> ok. i thought that issues are used for organizing who's working on what (by using the assignee). then one knows that who's working on that if anyone and not multiple people simultaneously either.
<jluttine> but perhaps that's a minimal risk for this
<HKei> question about package development: I want to have a self contained package derivation, and a separate one describing a shell environment that has some extra dependencies I need for development but not for actually building the package
<clever> HKei: i usually do that by having shell.nix do an override against default.nix
<HKei> I'd like to not duplicate the packages dependencies in my shell description, but the derivation after callPackage doesn't have buildInputs anymore
<__monty__> HKei: Sounds like what the classic default.nix/shell.nix dichotomy is for.
<clever> HKei: https://github.com/input-output-hk/cardano-sl/blob/parallel-restore/wallet/shell.nix#L34 i just reference whatever drv the default.nix contains, and .overrideAttrs it to add more tools
<clever> HKei: in this example, i'm generating a bash script, that will run whatever cabal produced, with all of the complex args the program needs to work
toppler has joined #nixos
<{^_^}> [nixpkgs] @saschagrunert opened pull request #70464 → runc: v1.0.0-rc8 -> v1.0.0-rc9 → https://git.io/JeCqN
fendor has quit [Quit: Leaving]
toppler has quit [Ping timeout: 240 seconds]
<jluttine> worldofpeace: i added that nerdfont fira code package to fonts.fonts list but `fc-match fira` nor `fc-match fura` doesn't find it. any ideas why? is the installation incorrect somehow?
<jluttine> (that gist, i mean)
<hyperfekt> HKei: You'll want mkShell and its inputsFrom attribute. c:
<{^_^}> [nixpkgs] @worldofpeace opened pull request #70465 → nixos/system-environment: use pam syntax for home variable → https://git.io/JeCqh
<jluttine> also, i just tried to use the same template for Iosevka but it fails to build: "install: missing file operand" :/
<jluttine> perhaps no *.otf in iosevka, need to use something else for that..
<HKei> also how strongly do people feel about the output splitting thing (i.e. [out dev]) for packages? Because while I get these can save a bit of disk space, they've mostly just caused problems for me
<{^_^}> [nixpkgs] @Chiiruno opened pull request #70466 → vlang: Fix dependency issues → https://git.io/JeCmU
ng0 has quit [Quit: Alexa, when is the end of world?]
<HKei> a lot of install scripts are really allergic to the idea that some of their outputs end up in different prefixes than others
<simpson> HKei: Then don't split them. Splitting is good and desirable but not mandatory.
<worldofpeace> jluttine: I can see the font in gnome-font-viewer
<worldofpeace> maybe it just has a weird name
<HKei> yeah, fc-match SauceCodePro gives me FreeMono not the SourceCodePro nerdfont
drgbr_ has quit [Ping timeout: 265 seconds]
chloekek has joined #nixos
<pbb> provessor[m]: That's really nice of you, I was actually looking for a possibility to override the installBootLoader attribute to add my own commands without modifying the grub module in nixpkgs. My setup is probably not interesting for most others, since it only provides a significant security advantage with coreboot.
<pbb> With packages or NixOS module options I'm usually able to add things, but the installBootLoader attribute is neither of those and I don't know how I would override it
toppler has joined #nixos
<__monty__> Sounds like something that *could* be interesting to many. Lowering the barrier to coreboot is a noble cause, imo : )
<clever> pbb: installBootLoader is still a normal nixos option
<clever> pbb: its just flagged as internal, so the docs all claim it doesnt exist
<pbb> Oh, it doesn't appear in the documentation and I can't find the definition though?
<{^_^}> [nixpkgs] @teto merged pull request #70429 → di: fix homepage → https://git.io/JeCUJ
<{^_^}> [nixpkgs] @teto pushed commit from @manveru to master « di: fix homepage »: https://git.io/JeCmq
<pbb> Ah I see
<pbb> But it it's a path to a script, not a string containing many commands, so I can't just add my own stuff and have it appended, right?
<jluttine> worldofpeace: oh yes, it's found with: `fc-match "FuraCode Nerd Font"` :D
<clever> pbb: yeah, you would need to entirely overwrite it with your own script, and then somehow know what the old value was
Astralix9 has joined #nixos
<pbb> If I would use config.system.build.installBootLoader to get the old value, would that result in an infinite recursion?
o1lo01ol1o has joined #nixos
<clever> pbb: yep
<pbb> Sooo is there an override thing that provides the old value for NixOS options?
<jluttine> what's this FuraCode.. is it some trademark issue that they can't use FiraCode
<clever> pbb: not that i know of, you would need to modify the grub module, to insert more things into it
<clever> pbb: or modify top-level.nix to change how it references installBootLoader
<pbb> okay
<pbb> thanks
<pbb> Yep I saw that line
<clever> pbb: the path within installBootLoader, becomes an env var in this derivation
<clever> which then runs systemBuilder
toppler has quit [Ping timeout: 265 seconds]
<clever> pbb: which runs substituteAll on switch-to-configuration
<pbb> Is there any reason installBootLoader can't be a multiline string like the script attribute of systemd services?
<pbb> this would make it possible for users to add their own commands for this phase
<pbb> (without touching nixpkgs>
<clever> pbb: currently, the entire system.build is a single type, of attributes of unspecified type
<clever> pbb: so there are basically no rules on what goes within it, nor how to merge duplicates
<pbb> Ohh
<worldofpeace> jluttine: ah right, that's because it's multiple words
<pbb> so it's not so easy to do that, that's a pity
<clever> pbb: you would have to move installBootLoader out of system.build, and then assign a type to it
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<clever> pbb: it might be simpler, to just add a new setting, install bios
<pbb> actually as __monty__ said, it might be worth to create a "coreboot-grub" bootloader module with signing support
apv has joined #nixos
<clever> that could also work
<pbb> for now I can copy the grub module out of nixpkgs to my configs and disable the one from nixpkgs, so I can make modifications
<clever> pbb: if you change the attr from boot.loader.grub, to boot.loader.corebootgrub, then you can simply boot.loader.grub.enable = false;
<pbb> yes
<clever> and your new module (which can just be in imports) will assume full control
astrall33 has quit [Ping timeout: 276 seconds]
dansho has joined #nixos
<HKei> oh and just a question, just a comment. I don't think I've had less issues using nix than any other C++ package manager I think, the main difference for me was that for every issue I had so far there actually was a reasonable solution
<HKei> so I'm pretty happy, thanks everyone who's contributing
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
<pbb> HKei: that describes it pretty well :P
inkbottle has quit [Client Quit]
inkbottle has joined #nixos
toppler has joined #nixos
fling has joined #nixos
toppler has quit [Remote host closed the connection]
drgbr has joined #nixos
toppler has joined #nixos
Mr_Keyser_Soze has joined #nixos
Mr_Keyser_Soze has quit [Remote host closed the connection]
Astralix9 has quit [Remote host closed the connection]
lord| has quit [Ping timeout: 264 seconds]
<freeman42x> how do I add the equivalent of this: https://github.com/commercialhaskell/stack/issues/2975#issuecomment-340570115 to shell.nix ?
<clever> freeman42x: just add zlib to the buildInputs in your shell.nix file
<freeman42x> clever, why zlib and not the other 2 zlib packages?
lord| has joined #nixos
<clever> freeman42x: the stdenv will get .dev and .out for you automatically
<freeman42x> clever, ok, but then why was it needed to specify them individually in that stack.yaml ?
<clever> freeman42x: it may not be using the stdenv
<{^_^}> [nixpkgs] @suhr opened pull request #70467 → oil: 0.7.pre3 -> 0.7.pre5 → https://git.io/JeCm0
<freeman42x> clever, I see. anyway, I had no buildInputs in the shell.nix, but I added it to executableHaskellDepends = [ base directory text turtle zlib ]; and it built successfully
<freeman42x> clever, is using a shell.nix against the workflow of using haskell.nix?
<clever> freeman42x: haskell.nix provides its own shell files
<zfnmxt> What's the best "attribute 'ghcxxx' missing" work-around for stack on NixOS? Problem is that older ghc versions aren't available on nixpkgs anymore, so stack can't build the project. :C
<freeman42x> clever, I am trying to wrap my head about how to use haskell.nix but it is kinda complicated. I think it could really use a very simple tutorial
<clever> freeman42x: there is also a high chance that cabal/stack is just ignoring the builds haskell.nix provides, causing the issues you have
<clever> freeman42x: this is a shell file i'm using for a haskell.nix project, i then build it with plain old cabal (not the multi-project one)
<__monty__> zfnmxt: An overlay that adds a pinned ghcXXX afaik.
<freeman42x> clever, I do not understand how that shell you mentioned would help me with using haskell.nix
<freeman42x> btw. when I run [nix-shell:/home/neo/Projects/haskell-editor-setup]# kate shell.nix
o1lo01ol1o has joined #nixos
elux has joined #nixos
<freeman42x> I get: QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
<elux> hi there
<freeman42x> any way to get rid of that error?
<clever> freeman42x: what does `id` return?
<zfnmxt> __monty__: I'll look into that. Thanks.
<freeman42x> clever, `uid=0(root) gid=0(root) groups=0(root)`
<clever> freeman42x: why are you root?
<clever> that is what caused that error
<freeman42x> clever, I am root because I need to run some commands as root obviously
<freeman42x> so there is no fix for it?
<elux> im planning to use nixos on my server instances, and as im authoring the nix configs for my instances, id like to run them on my local computer to test them. is it possible to run a configuration.nix on an existing nixos system (my desktop), in a separated isolated area..? if that makes sense
<clever> freeman42x: how did you get root?
<freeman42x> clever, `su` <enter> and then I entered the nix-shell
<clever> freeman42x: try `sudo -i` instead ?
<__monty__> elux: Sounds like a usecase for nixos containers, not sure it's convenient yet though.
<freeman42x> clever, if I do `sudo -i` and `nix-shell` after I get: error: getting status of '/root/default.nix': No such file or directory
dansho has quit [Ping timeout: 276 seconds]
<clever> freeman42x: your working directory changed, you have to cd to the right place
<freeman42x> clever, ah yeah, just noticed, tee hee
<freeman42x> clever, now I am getting: Executing Kate with sudo is not possible due to unfixable security vulnerabilities.
<freeman42x> guess I will just have to keep using `su`
<elux> __monty__: what are nixos containers..?
<clever> freeman42x: thats worse, kate doesnt want to be ran as root for security reasons
<clever> freeman42x: what if you just dont run kate as root? run it seperately from the sudo
<HKei> elux I'd assuming something like docker containers running nixos
<__monty__> freeman42x: If you run kate after su you're running it with these "unfixable security vulnerabilities."
<freeman42x> clever, I need some text editor that runs as root. I used kate until now under `su` and it worked fine.
<clever> freeman42x: why must the text editor run as root?
<freeman42x> __monty__, doh, that is obvious. And I also do not care about them tbh
<freeman42x> but if there is a better editor for running under super user that would be nice
<freeman42x> clever, I need a root editor to be able to edit the configuration.nix
<__monty__> vim/emacs/nano, probably even Gedit.
<infinisil> sudoedit?
<__monty__> Sounds like the right way to call one of those.
<freeman42x> I'll keep using Kate, Gedit does not even have syntax highlighting for Nix by default
<clever> freeman42x: you can use sudoedit with kate
<clever> freeman42x: EDITOR=kate sudoedit configuration.nix
<freeman42x> clever, this is the first time I hear of sudoedit, and I do not know how to use the things you mentioned
<clever> freeman42x: literally just run exactly what i gave above, edit the file, then save&quit
<__monty__> I'm trying to interpret this error: http://ix.io/1XGh Did my remote builder run out of memory or my local host, which shouldn't be touching ghc?
<freeman42x> clever, sorry, I still do not get it
<clever> freeman42x: did you try running that command yet?
<clever> __monty__: i think the remote machine ran out of disk space?
<clever> __monty__: the error includes the string "No space left on device" and it references a path on disk
<freeman42x> clever, haven't since I do not understand which command you mean
<clever> 2019-10-05 11:48:23 < clever> freeman42x: EDITOR=kate sudoedit configuration.nix
<clever> everything after the freeman42x:
<freeman42x> clever, but how does that work? I do not understand. What does EDITOR=... do?
<freeman42x> is EDITOR an executable?
<__monty__> clever: But the remote host has 50+GB available.
<clever> __monty__: is /tmp on a tmpfs?
<{^_^}> [nixpkgs] @Vskilet opened pull request #70469 → matrix-synapse: 1.3.1 -> 1.4.0 → https://git.io/JeCm1
<__monty__> freeman42x: It's an environment variable.
<__monty__> clever: No, everything's on / except some data.
<clever> __monty__: is the remote host nixos or something else?
<__monty__> Arch.
<{^_^}> [nixpkgs] @NeQuissimus pushed 7 commits to master: https://git.io/JeCmD
<clever> __monty__: what does $TMP point to?
<clever> __monty__: df -h $TMP
<__monty__> clever: Ah, those vars are all empty. Guess arch does set up tmpfs by default.
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.03: https://git.io/JeCmS
<clever> __monty__: most likely, the build winds up in /run/user/1000
<freeman42x> clever, so what will happen after I run `EDITOR=kate sudoedit configuration.nix` ? how do I use kate differently?
<freeman42x> clever, nice site clever++
<{^_^}> clever's karma got increased to 209
<clever> freeman42x: sudoedit will use sudo to copy configuration.nix to /tmp, then run kate on that copy, without running kate as root
<clever> freeman42x: when you exit kate, sudoedit will copy it back to configuration.nix
<clever> so the editor never runs as root
<freeman42x> I see... so how do I run kate then when modifying configuration.nix? under su or normal user?
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to release-19.09: https://git.io/JeCmH
orivej has quit [Ping timeout: 240 seconds]
<clever> freeman42x: sudoedit runs kate for you
<clever> freeman42x: just `EDITOR=kate sudoedit configuration.nix` and kate will open, edit the file, save, quit
<freeman42x> clever, oh... so I would need to type all that each time I want to edit the configuration?
<clever> freeman42x: if you set EDITOR in your default config, you can just `sudoedit configuration.nix`
<freeman42x> clever, how do I set EDITOR in the default config?
mexisme has joined #nixos
<clever> freeman42x: refer to the line i just linked
<freeman42x> clever, trust me, if I would have understood how to do it, I would not ask. I re-read all and still do not know how
<{^_^}> [nixpkgs] @worldofpeace merged pull request #70386 → cipher: init at 2.0.0 → https://git.io/JecH4
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeCmQ
<clever> freeman42x: do you see line 70 of vim.nix above?
magnetophon has quit [Ping timeout: 268 seconds]
sphalerite has quit [Quit: rebooting]
<freeman42x> clever, no, sorry. I can't find it
<{^_^}> [nixpkgs] @worldofpeace merged pull request #70465 → nixos/system-environment: use pam syntax for home variable → https://git.io/JeCqh
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeCmN
endformationage has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5f51f818cb5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
sphalerite has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 240 seconds]
<freeman42x> clever, so I need to add `environment.variables.EDITOR = "kate";` in configuration.nix at top level?
<clever> freeman42x: yes
<__monty__> Note that VISUAL and EDITOR aren't really suited to editors that need X or Wayland
<freeman42x> clever, I did that, did a nixos-rebuild switch and when I am running sudoedit configuration.nix it opens it in nano
<clever> freeman42x: you have to re-open your terminal for the change to take effect
doublex has quit [Ping timeout: 240 seconds]
<freeman42x> clever, did, same issue. Do I need to use sudo -i instead of su ?
elux has quit [Quit: leaving]
<clever> freeman42x: you must not use sudo or su when using sudoedit
<clever> freeman42x: you might need to relog as well
<freeman42x> ohhhhhh
<freeman42x> I see
Ariakenom has joined #nixos
<freeman42x> clever, running it as user gives: sudoedit: configuration.nix: editing files in a writable directory is not permitted
<clever> freeman42x: ls -lhd /etc/nixos/
<freeman42x> clever, drwxr-xr-x 2 root root 4.0K Oct 5 16:07 /etc/nixos/
<clever> freeman42x: did you cd into /etc/nixos first?
<freeman42x> no
wfranzini has quit [Remote host closed the connection]
<clever> freeman42x: then your editing ./configuration.nix, not /etc/nixos/configuration.nix
wfranzini has joined #nixos
<clever> give sudoedit the right path to the thing you want to edit
<freeman42x> clever, ok did that, but it still opens it in nano
<freeman42x> clever, should I reboot or something?
<clever> freeman42x: did you fully logout of X, then log back in?
<freeman42x> no, I will try that
freeman42x has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
doublex has joined #nixos
freeman42x has joined #nixos
<freeman42x> clever, ok, it works fine after reboot
<freeman42x> clever, but after editing the configuration as user... how do I run nixos-rebuild switch?
<clever> freeman42x: sudo nixos-rebuild switch
<freeman42x> clever, I see, so it will only ask for password once, nice
<freeman42x> clever, thank you! clever++
<{^_^}> clever's karma got increased to 210
<clever> sudo will remember if it got a password recently, and only ask if it has been too long
<clever> su always asks for a pw
aveltras has quit [Quit: Connection closed for inactivity]
acarrico has joined #nixos
apv has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
fendor has joined #nixos
<freeman42x> clever, the issue with this is that they will not be the last commands so I won't be able to auto-complete them with up arrow like when I was using su
dm9 has joined #nixos
<freeman42x> clever, what is the proper way to use cabal v1-repl together with nix-shell and super user privileges?
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1281668f4a2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<clever> freeman42x: sudo -i, nix-shell on the .env atttribute, `runhaskell Setup.hs repl`
<freeman42x> clever, what if I told you that I deleted the Setup.hs and also that I would like to use cabal v1-repl since that is what I am using inside Atom also?
ixxie has joined #nixos
<{^_^}> [nixpkgs] @unode opened pull request #70472 → kssd: init at 1.0 → https://git.io/JeCYW
<clever> freeman42x: you can also use `cabal repl`, but nix doesnt provide the cabal binary by default, only the Cabal package in ghc-pkg
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/146425a5909 (from 43 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<freeman42x> what is the difference between su and sudo -i ?
<freeman42x> except that sudo -i changes the current folder :(
<sphalerite> freeman42x: the biggest practical difference is that su will ask you for the root password and sudo will ask you for your own
<freeman42x> sphalerite, oh, I'm fine with that, I think
<sphalerite> freeman42x: but `sudo -i` is closer to `su -`
<clever> sudo will also remember if you gave a pw recently, and not ask again
<sphalerite> oh yeah, that too
dansho has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
<freeman42x> the nix-shell here even though colored in green will have SU privileges, right? https://i.imgur.com/zzFiGlk.png
aanderse has quit [Quit: ZNC 1.7.4 - https://znc.in]
iyzsong has quit [Ping timeout: 246 seconds]
aanderse has joined #nixos
<clever> freeman42x: run `id` to see if it has root or not
toppler has quit [Ping timeout: 240 seconds]
<freeman42x> clever, `uid=0(root) gid=0(root) groups=0(root)` I guess this means it has root...
<clever> freeman42x: nix-shell isnt meant to be ran as root very often, so it doesnt take user into account when picking a color
alex`` has quit [Ping timeout: 240 seconds]
hmpffff has quit [Quit: nchrrrr…]
alex`` has joined #nixos
hmpffff has joined #nixos
aveltras has joined #nixos
<__monty__> freeman42x: That's easily resolve using backward search history though, Ctrl-r usualyl. Or consider running a shell like fish which has much nicer access to history.
Okinan has quit [Quit: Konversation terminated!]
<aveltras> is there a way to find all files with a specific directory recursively ? am i supposed to use https://github.com/NixOS/nixpkgs/blob/master/lib/sources.nix for this and if yes, why can't i get the list of files in nix repl when trying it but i get a derivation instead ?
<aveltras> my goal is to obtain a list of directory containing a .cabal file to automatically detect haskell projects root
<freeman42x> clever, __monty__ ideally I would like to never have to touch the configuration.nix through a text editor again. Are there any GUI editors that an install and remove packages at system level?
<__monty__> Might be possible to reconfigure where nix looks for configuration.nix, or its permissions, or import something from $HOME.
<__monty__> No GUI package managers for nix yet afaik.
<__monty__> Once you get used to it you won't miss them though : )
<freeman42x> __monty__, GUIs are mote typesafe than typing string commands
<clever> __monty__: or just add `imports = [ /home/clever/junk.nix ];` to configuration.nix
<clever> and then edit junk.nix
fresheyeball has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5f51f818cb5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<fresheyeball> does anyone know how to make hie vomit ghcmod useful?
<__monty__> clever: Ahah, that's the third option I listed : ) (so at least one of them made sense, score!)
aanderse has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @risicle opened pull request #70473 → pythonPackages.pandas: 0.25.0 -> 0.25.1 → https://git.io/JeCY1
o1lo01ol1o has joined #nixos
<tilpner> __monty__: The other two work too
ris has quit []
aanderse has joined #nixos
ris has joined #nixos
<__monty__> 3 for 3 : o When do I get to claim the clever nick?
toppler has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
aanderse has quit [Client Quit]
<freeman42x> how is that possible? I do not think the GHC version is mentioned anywhere in the Haskell project
<freeman42x> and the project worked with HIE and GHC 865 before, now suddenly it wants 864
toppler has quit [Ping timeout: 276 seconds]
aanderse has joined #nixos
<__monty__> Did you rollback a channel or something?
<{^_^}> [nixpkgs] @timokau opened pull request #70474 → [WIP] sage: 8.9 -> 9.0 → https://git.io/JeCYF
<{^_^}> [nixpkgs] @xzfc opened pull request #70475 → nixos/doc: fix manpage format → https://git.io/JeCYb
aanderse has quit [Client Quit]
<fresheyeball> ok
<fresheyeball> infinisil: hey, so hie recommends Coc for vim, but I don't think nixpkgs has Coc
<fresheyeball> Is there a reason for this? I find it suprising
aanderse has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1a27482a6ce (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
boxscape has joined #nixos
toppler has joined #nixos
Zer0xp has joined #nixos
<fresheyeball> hu
toppler has quit [Ping timeout: 265 seconds]
inkbottle has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
inkbottle has joined #nixos
chrishill has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #70476 → cups-filter: 1.25.0 -> 1.25.6 → https://git.io/JeCOR
<chrishill> Hey guys, I can't get Eclipse to work on my NixOS machine. I get an error message about "no more handles". Here's a full explanation:
<chrishill> I've enabled Java in my configuration.nix (/etc/nixos): `programs.java.enable = true;`
<chrishill> `java` and `javac` are available through the terminal.
psyanticy has joined #nixos
<{^_^}> [nixpkgs] @joachifm opened pull request #70477 → nixos/firejail: build wrapper dir with runCommand → https://git.io/JeCOa
<freeman42x> in the configuration.nix: https://gist.github.com/razvan-flavius-panda/548a4c78c26b42da0c873de3a9bda5e7 is it possible for me to somehow inline the part: all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
<freeman42x> inside the part: (all-hies.selection { selector = p: { inherit (p) ghc865 ghc864; }; })
<wrl> bkchr: o/
<freeman42x> I want to do this since it would simplify my code editing of the configuration.nix
<infinisil> freeman42x: Just substitute the variable with the expression (and add parens around it)
<infinisil> > let x = 10; in x + 20
<{^_^}> 30
<infinisil> > (10) + 20
<{^_^}> 30
<freeman42x> infinisil, like this? ((import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {}).selection { selector = p: { inherit (p) ghc865 ghc864; }; })
<infinisil> Yup
<freeman42x> infinisil, thank you very much infinisil++
<{^_^}> infinisil's karma got increased to 144
<infinisil> Formally this is known as beta reduction/substitution btw
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @joachifm opened pull request #70478 → lkl: 2019-06-20 -> 2019-10-04 → https://git.io/JeCOi
<bkchr> wrl: hey
Neo-- has joined #nixos
<alexarice[m]> Has anyone tried to build a rust program that uses a makefile instead of just running cargo?
nexgen has joined #nixos
Neo-- has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #70479 → perlPackages.libapreq2: add patch for CVE-2019-12412 → https://git.io/JeCOA
<{^_^}> [nixpkgs] @c0bw3b merged pull request #68913 → nsjail: 2.8 -> 2.9 → https://git.io/JeCOx
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeCOp
astrall33 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<fresheyeball> infinisil: do you know how to get output from ghcmod?
<fresheyeball> I am still stuck behind the same error
<infinisil> It should be in stderr
<fresheyeball> how can I see that though?
<infinisil> I guess you could wrap hie with some command to redirect stderr to a file
<{^_^}> [nixpkgs] @joachifm opened pull request #70480 → linuxPackages.blcr: mark as broken → https://git.io/JeC3J
<fresheyeball> holy cow
<inf> Hey all, I'm trying to get an Android SDK built for use with android-studio (for already existing project) but it (studio/gradle when building) keeps complaining I am missing cmake;3.6.4111459 package... https://gist.github.com/184cc2f9ff0cbf2295da6c2e05e0707a seems to build sdk with result/libexec/android-sdk/cmake/3.6.4111459/ properly populated... any suggestions on how to debug this?
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<HKei> one thing I still haven't figured out is how to actually use stdenv.overrideCC without immediately breaking everything
<HKei> pretty much any variation of `overlays = [(super: self: { stdenv = super.stdenv.overrideCC super.stdenv super.clang; })];` seems to cause infinite recursions
<LnL> you don't want that, it changes _all_ packages
<LnL> even if that worked you'd be building stuff for a half a day
<HKei> OK, but then how do I specify that I need to override a packages compiler *and* all of that packages dependencies' compilers?
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @joachifm opened pull request #70481 → pythonPackages.openrazer-daemon: python3 only → https://git.io/JeC34
<clever> HKei: clangStdenv already exists
<{^_^}> [nixpkgs] @joachifm opened pull request #70482 → nixos/hardened: blacklist old filesystems → https://git.io/JeC3R
<LnL> the problem is that all dependencies goes all the way down, including clang itself
<HKei> yes, but if I just do something like `callPackage (myPackage) { stdenv = clangStdenv; }` that only changes the stdenv used for the package itself
bahamas has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JeC3u
<{^_^}> [nixpkgs] @matthewbauer merged pull request #70475 → nixos/doc: fix manpage format → https://git.io/JeCYb
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @xzfc to release-19.09 « nixos/doc: fix manpage format »: https://git.io/JeC3g
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @xzfc to release-19.03 « nixos/doc: fix manpage format »: https://git.io/JeC3a
work_ has joined #nixos
<LnL> there's replaceDependency but I'm not sure if that would work for the stdenv
<clever> and replaceDependency is more about running sed over the binaries, to swap out the path to a single dyn lib
<clever> rather then rebuilding things with a different compiler
<LnL> yeah
<clever> the whole point of replaceDependency is to not rebuild
<fresheyeball> infinisil: I got the std err!
<LnL> are you aware of anything to map a function over buildInputs recursively?
<infinisil> fresheyeball: Neat, what does it say?
<clever> LnL: it wouldnt really be able to deal with things like `buildCommand = "${foo}";`
Zer0xp has quit [Ping timeout: 265 seconds]
<LnL> sure but map (drv: drv.override { stdenv = x; }) would cover 90%
<infinisil> Hm that doesn't tell much more unfortunately
<clever> LnL: pkgsCross might be a simpler solution though
<LnL> hmm interesting
<clever> LnL: and also look into how darwin nixpkgs is clang by default, so you can make a linux pkgs that is fully clanged up
<fresheyeball> infinisil: aww, I feel like I may have hit bedrock then
chrishill has quit [Remote host closed the connection]
<infinisil> fresheyeball: Do you have a reproducible minimal example?
<fresheyeball> infinisil: no
alex`` has quit [Ping timeout: 240 seconds]
ixxie has quit [Ping timeout: 240 seconds]
<HKei> also if I do something like `myPackage = import ./myPackage.nix { stdenv = clangStdenv; }`
<HKei> and then `mkShell { inputsFrom = [myPackage]; }`
<HKei> I won't even have clang on the path
alex`` has joined #nixos
<clever> HKei: you want clangStdenv.mkDerivation, rather then mkShell (which uses plain stdenv)
<{^_^}> [nixpkgs] @marzipankaiser opened pull request #70484 → cups-filters: 1.25.0 -> 1.25.6 → https://git.io/JeC3S
bahamas has quit [Ping timeout: 268 seconds]
bahamas has joined #nixos
<LnL> clever: you're right!
<fresheyeball> infinisil: is there a way I can gettting more explicit info from ghcmod?
<LnL> HKei: nix-build '<nixpkgs>' -A hello --arg crossSystem '{ config = "x86_64-unknown-linux-gnu"; useLLVM = true; }'
astrall33 has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bahamas has quit [Ping timeout: 268 seconds]
erba has joined #nixos
astrall33 has joined #nixos
<LnL> doesn't want to build glibc tho :/
bahamas has joined #nixos
<erba> Hi, has anyone successfully setup a dev environment for android on NixOS? Note, I'm not talking about building with nix but getting the tooling to work.
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<HKei> yeah, it's a bit unfortunate. Looks like to actually make this work I'd need to maintain a parallel nixpkgs... not the end of the world right now I suppose because C++ dependencies aren't very granular, but I'd have hoped there'd be a better way to do it
o1lo01ol1o has joined #nixos
tilpner has quit [Quit: tilpner]
drakonis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
toppler has joined #nixos
<fresheyeball> infinisil: so I tried this on project that is actually public
<fresheyeball> and still no
<fresheyeball> though the error is different
<fresheyeball> I think if I can get it to work on one project, I will have success on others
<fresheyeball> on this one, it fails because its a cabal.project and it can't find its sibilings as deps
<freeman42x> any idea why I would get this flickering when streaming on NixOS? https://www.twitch.tv/freeman42x
toppler has quit [Ping timeout: 265 seconds]
otulp has joined #nixos
bahamas has quit [Read error: Connection reset by peer]
toppler has joined #nixos
chrishill has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/26dfb4f86b4 (from 53 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<ajs124> freeman42x: did you try turning off kwin's compositing?
iqubic` has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<freeman42x> ajs124, how do I do that?
<freeman42x> and what other effects will that have?
<ajs124> you will lose transparency and stuff like wobly windows, if you have that one. just search for compositing in your kde system settings.
<freeman42x> I do sudo cabal v1-repl , but under it I want to run some `apm install` commands as normal user so that the packages are installed for a user
<freeman42x> how can I get out of super user just for those commands?
<{^_^}> [nixpkgs] @flokli opened pull request #70485 → google-cloud-cpp: 0.11.0 -> 0.14.0 → https://git.io/JeCsV
<__monty__> freeman42x: You're doing it wrong. I can't think of any reason to be running cabal as root.
<freeman42x> ajs124, I assume I would need to reboot or relogin or something for it to work, right?
<ajs124> you can just restart it with kwin_x11 --replace
<freeman42x> __monty__, what would be a better option for that then? I need to run GHCI commands as root
freeman42x has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @flokli closed pull request #67769 → google-cloud-cpp: 0.11.0 -> 0.12.0 → https://git.io/fjxHs
freeman42x has joined #nixos
<clever> freeman42x: why do you need ghci as root?
<ajs124> freeman42x‎: you shouldn't have killed that, that was your window manager. you could have backgrounded it or something, though.
psyanticy has quit [Quit: Connection closed for inactivity]
<freeman42x> ok, I think without compositor the glitches are gone now
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/146425a5909 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<freeman42x> clever, I need to run some commands as root inside GHCI
HKei has quit [Remote host closed the connection]
<clever> freeman42x: such as?
<freeman42x> like nixos-rebuild switch for example
<clever> why is ghci running nixos-rebuild??
<freeman42x> clever, it's not hard to figure out some...
<freeman42x> clever, because I need to do that that is why. JK
<{^_^}> [nixpkgs] @worldofpeace merged pull request #70484 → cups-filters: 1.25.0 -> 1.25.6 → https://git.io/JeC3S
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeCsP
<LnL> HKei: try this, won't work for everything but might be good enough https://gist.github.com/LnL7/2313880a96f5dcea7309e0d4d4a76162
<evils> anyone got time to help a noob with a (not necessarily nix specific) packaging issue?
<MichaelRaskin> evils: you are usually better off giving more details
<evils> yea but i'd rather not blindly dump my issue here if there's no one interested :P
<{^_^}> [nixpkgs] @AmandaCameron opened pull request #70486 → vscode: Make it so that it places the .app in $out/Applications on macOS → https://git.io/JeCs9
<evils> i'm trying to package a tool which wants a OUI file to do mac vendor lookup, but i'd rather not include that (relatively large) file in my source
<evils> any solution i can think of doesn't seem to be a good idea for nix
<clever> [clever@amd-nixos:~]$ nix-locate oui.txt
<clever> hwdata.out 3,310,148 r /nix/store/2fw6dcbzzmjl4677k8cjjjjd9ghkripi-hwdata-0.291/data/hwdata/oui.txt
<clever> evils: you can probably just use the path ${hwdata}/data/hwdata/oui.txt
<evils> didn't know about that, isn't portable to non-nix systems though
<clever> lshw.out 3,391,905 x /nix/store/msllr0hg5szkpjks12g7v747dyymqk41-lshw-02.18b/share/lshw/oui.txt
dm9 has quit [Quit: WeeChat 2.6]
<clever> evils: some packages like lshw will install it to /usr/share/lshw/oui.txt, on non-nix machines
leo_ has joined #nixos
freeman42x has quit [Quit: Leaving]
freeman42x has joined #nixos
<clever> evils: only other option is to put it into your source, and install your own copy of it
<evils> for nix, i'd just add hwdata as a dependency?
<leo_> Any way to nixops ssh before nixops deploy?
<clever> evils: you would need to put "${hwdata}/data/hwdata/oui.txt" somewhere in the derivation
<leo_> I want to pre-deploy overlays before nixops deploy.
<evils> clever: using that path alone would ensure hwdata is present?
<clever> evils: yep
<freeman42x> I am running `sudo cabal v1-repl` and inside that repl I need to run some commands under the user which logged in as root. How can I achieve that? I basically need some command to exit sudo back to the previous user and then be able to get back to sudo also
<sphalerite> leo_: you can deploy with --dry-activate, that way it won't actually change the running system (will copy the paths over though)
<clever> freeman42x: your better off not running cabal as root, and just prefixing the right commands with sudo
<sphalerite> leo_: the overlays on the remote end won't affect your deployment though.
<leo_> Yeah.
<leo_> Just saw it.
<leo_> I think what I want is --create-only
<clever> leo_: --create-only will create the hardward in the cloud, but not build anything
<clever> hardware*
<leo_> sphalerite: It worked. hehe
<freeman42x> clever, prefix the commands I would run from Haskell code with sudo?
<leo_> clever: Ops.
<freeman42x> would that prompt the user to enter password?
<clever> freeman42x: yes
<{^_^}> [nixpkgs] @nek0 closed pull request #66421 → nvidia-x11 - apply only patches for the right kernel → https://git.io/fj7aU
<clever> freeman42x: if stdin/stdout go to a terminal
<freeman42x> clever, I see, thank you
<leo_> Yeah, I want to pre-deploy the overlays because otherwise - theoretically - any nix tools used during the deploy would be able to see them
<clever> leo_: "nix tools used during the deploy" ?
<leo_> In the config.
<clever> leo_: nixops builds the config locally, before deploying
<clever> leo_: and it obeys the overlays in the local config only
<leo_> So if I have the <nixpkgs-overlays> correctly set in the machine that's building the config
<leo_> No need to worry?
<clever> leo_: it will ignore that, because nixos never obeys <nixpkgs-overlays>
<clever> leo_: nixos only obeys the nixpkgs.overlays config, within the nixos modules
<leo_> Yeah, but what if a tool is used from within the config.
<clever> leo_: so in your nixops deployment files, you must set nixpkgs.overlays
wfranzini has quit [Remote host closed the connection]
<clever> leo_: when are those tools ran, what are they doing?
<leo_> I did, clever.
wfranzini has joined #nixos
<leo_> clever: Just theorizing.
<leo_> To get to know how it works.
<clever> leo_: when nixops builds the whole thing, its just a single nix-build command
<clever> leo_: so it should obey everything defined in the nix files, and you cant run nix-build from inside a derivation
<leo_> And any other nix command?
<clever> leo_: depends on which machine its being ran on, and in what context
o1lo01ol1o has joined #nixos
<clever> leo_: you could also just put that whole string right in the top-level
<clever> and just do ./dummy.nix, without the import
<leo_> xd
boxscape has quit [Ping timeout: 268 seconds]
<leo_> clever: I think I got it.
<leo_> Buuut
<leo_> After the deploy I still have to deliver the overlays somewhere at the machines
<leo_> Or the tools (e.g nix repl) won't be able to see them.
<clever> leo_: line 13 and 17 of the file i just linked
<leo_> clever: nice
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<freeman42x> clever, not working apparently... instead of prompting me for password I just get error: haskell-editor-setup: /etc/nixos/configuration.nix: openFile: permission denied (Permission denied)
<{^_^}> [nixpkgs] @Ma27 pushed to master « gotify: init add 2.1.1 »: https://git.io/JeCGv
<clever> freeman42x: then you didnt prefix the right thing with sudo
<freeman42x> there is another one a little bit down the file
<clever> freeman42x: that will run nixos-rebuild as root
<freeman42x> I used `cabal v1-run` to run it
<clever> freeman42x: but that wont try to edit the file as root
<freeman42x> yeah, that is what I want... right?
<freeman42x> ah yeah...
tilpner has joined #nixos
<clever> freeman42x: it may be best to just use imports, to point nixos towards a file you can edit
<clever> freeman42x: or just chown configuration.nix
<freeman42x> clever, how do I allow writeFile to be as root also?
slack1256 has quit [Ping timeout: 240 seconds]
<freeman42x> uh, why can't I just run the entire program as root and go down to user level when needed? can linux not do that?
<freeman42x> cause how else can I just elevate writeFile Haskell command to root?
<clever> [root@amd-nixos:~]# env | grep clever
<clever> SUDO_USER=clever
<clever> freeman42x: $SUDO_USER tells you what user ran sudo
<freeman42x> clever, awesome!
<clever> but now you have to lookup that user in /etc/passwd, then lookup his groups in /etc/group
<freeman42x> then I just need to change the user to him, cool
<clever> then setgroups, setgid, and setuid
<clever> and setuid is per-thread
<clever> but glibc emulates it being process wide
aveltras has quit [Quit: Connection closed for inactivity]
<freeman42x> wait what? that sounds much more complicated than I thought it would be...
<clever> so it will take effect at different times in different threads
fresheyeball has quit [Quit: WeeChat 2.4]
<clever> this is why i omited that fact before :P
<clever> have fun!
<freeman42x> clever, wait what? haha xD
<clever> freeman42x: also, there are some special groups that you are in, but /etc/group says you shouldnt be in
<clever> you loose those when dropping back to non-root
<clever> `sudo -u $SUDO_USER foo` can do most of that for you, but only in a child proc, not the current process
<freeman42x> I think that might be fine
<clever> pulseaudio breaks horribly if you dont set those things right
<freeman42x> clever, what is that foo at the end of that command?
<clever> a command
<freeman42x> ah!
iqubic has joined #nixos
ixxie has joined #nixos
<{^_^}> [nixpkgs] @esclear opened pull request #70487 → xflr5: init at 6.47 → https://git.io/JeCGl
<{^_^}> [nixpkgs] @peti merged pull request #70185 → Revert "nixos/desktop-managers/xterm: Disable by default" [19.09] → https://git.io/JenMy
<{^_^}> [nixpkgs] @peti pushed 2 commits to release-19.09: https://git.io/JeCG4
<{^_^}> [nixpkgs] @peti pushed 0 commits to revert-67355-19.09: https://git.io/JeCGR
<evils> clever: if i end up downloading a OUI file myself, is there a way to get that included in the derivation hash?
<{^_^}> [nixpkgs] @worldofpeace opened pull request #70488 → README.md: update links to 19.09 → https://git.io/JeCGz
isHavvy has quit [Read error: Connection reset by peer]
<gentauro> OK, this might sound crazy, but I just realized that the NixOS logo (snowflake) is just small lambdas :o
<gentauro> mindblown :o
<clever> evils: pkgs.fetchurl can be used to download it
<clever> evils: nix will disable the network, so you cant download it yourself
<evils> clever: darn, why?
<clever> evils: ensures that everything you can use, will impact the hash of your drv
<{^_^}> [nixpkgs] @peti merged pull request #70150 → haskellPackages.OpenAL: link with the OpenAL framework on Darwin → https://git.io/Jen2X
<{^_^}> [nixpkgs] @peti pushed commit from @mujx to master « haskellPackages.OpenAL: link with the OpenAL framework on Darwin (#70150) »: https://git.io/JeCG2
<clever> evils: all network is disabled by default, so you must clearly define (in nix) what you want fetched from the network, and defining those details has an impact on the hash
<evils> clever: so can the OUI file be part of that?
<clever> evils: pkgs.fetchurl
Havvy has joined #nixos
<evils> clever: didn't you just say that wouldn't work?
noudle has joined #nixos
<clever> evils: let ouiFile = fetchurl { url = "http://www.example.com/oui.txt"; sha256 = "something"; } in ....
<clever> 2019-10-05 16:42:54 < clever> evils: pkgs.fetchurl can be used to download it
<evils> clever: is the hash variable for fetchurl required?
<clever> evils: yes
<freeman42x> clever, thank you! sudo -u $SUDO_USER cat /home/neo/hie.log worked great. I wish I could give you a gazzillion karma clever++
<{^_^}> clever's karma got increased to 211
<clever> freeman42x: root can use /home/neo/hie.log without having to use sudo
<freeman42x> now I got a fully automated install of Haskell + Atom on NixOS thanks to your help
<evils> fuck me... nothing provides a fixed path for a fixed version for a OUI file xD
<clever> evils: nix gets rid of the entire notion of fixed paths
<{^_^}> [nixpkgs] @dywedir merged pull request #70217 → bcachefs: 2019-10-01 → https://git.io/JenFd
<{^_^}> [nixpkgs] @dywedir pushed 3 commits to master: https://git.io/JeCGw
<clever> fixed paths are evil!
<evils> clever: i mean a source to download it from where i'm guaranteed to get a specific oui file
<{^_^}> [nixpkgs] @peti merged pull request #70257 → update Python packages psycopg2, sqlparse, and pgcli → https://git.io/JecTG
<{^_^}> [nixpkgs] @peti pushed to master « update Python packages psycopg2, sqlparse, and pgcli (#70257) »: https://git.io/JeCGr
<clever> ahh
<clever> $ nix-locate oui | grep update
<clever> aircrack-ng.out 1,988 x /nix/store/k30ahdmy37i59krgg0ql1kzkwinw21qa-aircrack-ng-1.2-rc4/bin/airodump-ng-oui-update
<clever> there is a script in aircrack that fetches a new version
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
<clever> 5 OUI_DOWNLOAD_URL="http://standards-oui.ieee.org/oui.txt"
<evils> yea, arp-scan and wireshark and maybe even nmap have that too
<clever> this url seems pretty official
<evils> yea but it changes
<clever> but, its not versioned, so nix will break every time they update it
<clever> so you need to host a copy somewhere, and fetchurl that copy
<clever> which may be why most projects ship their own copy, in the src
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4cf8a797ea5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<evils> wireshark hosts the output of their script, haven't given up hope to find a version controlled link to it
iqubic has quit [Ping timeout: 264 seconds]
<evils> theirs is probably also the most complete version
_deepfire has joined #nixos
abathur has joined #nixos
<{^_^}> [nixpkgs] @rencire opened pull request #70489 → argbash: init at 2.8.1 → https://git.io/JeCGX
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/26dfb4f86b4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<evils> wouldn't happen to know if i'm allowed to use that in a BSD3 codebase would you?
<clever> no idea
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4cf8a797ea5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<gyroninja> How do I list all of the output paths of a package
<clever> > zlib.outputs
<{^_^}> [ "out" "dev" "static" ]
<gyroninja> Well, I want the path in my nix store
<clever> > zlib.all
<{^_^}> [ <CODE> <CODE> <CODE> ]
<gyroninja> outputPath only gives one
<clever> > map (x: "${x}") zlib.all
<{^_^}> [ <CODE> <CODE> <CODE> ]
<clever> > :p map (x: "${x}") zlib.all
<{^_^}> [ "/nix/store/62ar9xmrlcnlgmwgfi77xz6bq1180vhi-zlib-1.2.11" "/nix/store/jpkpzwzw9jywas1ywgd7k200cpyc8jb1-zlib-1.2.11-dev" "/nix/store/98isrvq5x5d15mxv9ibm5bf3rriaaq6y-zlib-1.2.11-static" ]
<gyroninja> There we go
<clever> gyroninja: you can likely skip that map in most cases, since those will cast to strings for oyu
<gyroninja> I wasn't able to, it just listed 3 paths to the same drv
<clever> gyroninja: can you paste your code?
<gyroninja> well it listed 3 derivations and the repl rendered them as paths
<gyroninja> sqlite.all
mexisme has joined #nixos
<clever> gyroninja: in what context are you using that?
abathur has quit [Ping timeout: 240 seconds]
alex`` has quit [Read error: Connection reset by peer]
<gyroninja> Well I'm trying to install luasql-sqlite3 through luarocks, but it does not pick up sqlite's include path
<clever> gyroninja: are you using nix-shell?
<gyroninja> with import <nixpkgs> {};
<gyroninja> mkShell {
<gyroninja> buildInputs = [ luarocks sqlite ];
<gyroninja> }
<clever> i would expect that to work, how is luarocks searching for sqlite headers?
<gyroninja> It appears to just check a couple traditional locations. /usr/local/include, /usr/include, and /include
<clever> ah, nix will never have headers in those locations
<gyroninja> I guess I could buildFHS or whatever
<clever> if you just blindly #include <sqlite3.h>, gcc should still find it
<clever> dont look for headers, just try to use them
<gyroninja> Well yeah, but I'm not using gcc
<clever> why does luarocks need the header file?
<gyroninja> To compile some C ffi code
<clever> if luarocks is running gcc, then it will find the header
<clever> but if its parsing the file itself, you need to tell it where to look
<clever> it should be under ${sqlite.dev}/include/
<gyroninja> Well it explicitly adds argument for finding the headers and libraries
alex`` has joined #nixos
<{^_^}> [nixpkgs] @Ralith opened pull request #70490 → openxr-loader: fix missing graphics API support → https://git.io/JeCGA
<clever> gyroninja: what happens if you add pkgconfig to the buildInputs?
<gyroninja> nope
<gyroninja> still fails
<clever> youll need to somehow tell luarocks to use ${sqlite.dev}/include/ then
<gyroninja> Yeah, you can set an envioronmental variable
<gyroninja> which is why I wanted to look up the path
<clever> > "${sqlite.dev}/include/"
<{^_^}> "/nix/store/15j6jl2ja8y8rbr5w19j6rnhrz626g1n-sqlite-3.28.0-dev/include/"
<clever> if you put that expression into the shell.nix file, nix will give you the path
<{^_^}> [nixpkgs] @mmahut merged pull request #70393 → pdfcpu: 0.2.4 -> 0.2.5 → https://git.io/JecQM
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeCGh
<clever> gyroninja: and every attr you pass to mkShell becomes an env var
<gyroninja> yeah that's what I tried
<clever> gyroninja: so you can just add FOO = "${sqlite.dev}/include/";
<gyroninja> turns out it's not an env variable
<clever> and then echo $FOO
<gyroninja> Though I do wonder if I can pass one in
zgrep has quit [Quit: It's a quitter's world.]
<{^_^}> [nixpkgs] @mmahut merged pull request #70459 → pgcenter: 0.6.2 -> 0.6.4 → https://git.io/JeCqf
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeCZe
zgrep has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #70427 → pmdk: 1.6.1 -> 1.7 → https://git.io/JeCJD
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeCZT
<{^_^}> [nixpkgs] @mmahut merged pull request #70428 → dbmate: 1.4.1 -> 1.7.0 → https://git.io/JeCJx
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeCZI
<gyroninja> ugh looks like you can only pass the variables in through a config file or as part of the command but not from the environment
<gyroninja> oh well, it's not like this is pure anyways
<clever> gyroninja: and how do you give it a config file?
<{^_^}> [nixpkgs] @mmahut merged pull request #70454 → memtest86-efi: 8.0 -> 8.1 → https://git.io/JeCtU
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeCZ3
<gyroninja> From ~/.luarocks/config.lua I don't know if it's configurable
freeman42xx has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #70443 → pysam: 0.15.2 -> 0.15.3 → https://git.io/JeCI0
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeCZs
<gyroninja> though changing it the luarocks diretory to the project would solve the purity issues
<clever> gyroninja: sounds like you should be using nix-build to build this
<clever> nix-build can run things with a private $HOME easily
<{^_^}> [nixpkgs] @mmahut merged pull request #70394 → onedrive: 2.3.9 -> 2.3.10 → https://git.io/JecQD
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeCZG
<gyroninja> I thought it just build in /homeless
<gyroninja> *built
<clever> it builds in a unique dir under /tmp, that is mapped to /build
<clever> and by default, $HOME=/homeless-shelter (which doesnt exist)
<clever> but you can then just point HOME to any dir you make
freeman42x has quit [Ping timeout: 250 seconds]
<gyroninja> Well the problem with that approach is that I'm not really building anything. I'm just setting up an environment.
<clever> you probably still want nix to build the sqlite+lua thing, and then provide an environment that has a finished copy of it
<gyroninja> Well maybe not, I guess it would get all the dependencies
<gyroninja> yeah
<astrall33> can nixos run node.js ?
<gyroninja> yes
<astrall33> i want to have a play with https://www.katacoda.com/cli
<astrall33> but have no idea how i would install this on nixos?
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @wucke13 opened pull request #70491 → Reliable epson → https://git.io/JeCZW
<{^_^}> [nixpkgs] @mmahut closed pull request #31715 → lib: add isInStore and isPath, slighly change isStorePath → https://git.io/vF1CA
<{^_^}> [nixpkgs] @mmahut closed pull request #35017 → fix error handling and return code → https://git.io/vAnQj
<{^_^}> [nixpkgs] @mmahut closed pull request #35102 → cc-wrapper: Use response files for cc → https://git.io/vA8Ja
<{^_^}> [nixpkgs] @mmahut closed pull request #26075 → [WIP] One way to do other types of services → https://git.io/vHOu3
<clever> astrall33: for the impure way, just `nix-shell -p nodejs` and then continue as usual
<{^_^}> [nixpkgs] @mmahut closed pull request #36669 → [WIP] nix: Replace busybox-sandbox-shell with Bash → https://git.io/vApAk
<{^_^}> [nixpkgs] @mmahut closed pull request #30428 → [WIP] docbook: put DTDs in $out/share/xml instead of $out/xml → https://git.io/vd1SC
raboof has joined #nixos
<{^_^}> [nixpkgs] @mmahut closed pull request #38632 → win-dll-link: Fix to look for DLLs in lib/ → https://git.io/vx7nB
<{^_^}> [nixpkgs] @mmahut closed pull request #33971 → salt: Prefer to load Nix libcrypto → https://git.io/vN4C6
<{^_^}> [nixpkgs] @mmahut closed pull request #36335 → dd-agent: Excluding tracefs from disk checks → https://git.io/vAQBP
mexisme has joined #nixos
noudle has quit []
iqubic has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<astrall33> thanks clever, I'll try that out.
doyougnu has joined #nixos
<evils> clever: is it not possible to give my own script to assemble an OUI file network access?
mexisme has joined #nixos
<clever> evils: you can, but you must declare what the hash of the product will be
<clever> evils: and if the script fails to meet that declaration, the build fails
chloekek has quit [Ping timeout: 268 seconds]
<evils> clever: should be doable, how would i use my script?
<clever> evils: > hello.src.outputHash
<clever> > hello.src.outputHash
<{^_^}> "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"
<clever> > hello.src.outputHashMode
<{^_^}> "flat"
<clever> > hello.src.outputHashAlgo
<{^_^}> "sha256"
<clever> evils: any derivation that has those 3 attributes, gains network access
<clever> the output must have a hash of outputHash, which is of type outputHashAlgo
<clever> if outputHashMode == "flat", then $out must be a single file, and outputHash is the raw hash of that file
<clever> if outputHashMode == "recursive", then $out can be anything (file, directory, symlink), and outputHash is the hash of the output from `nix-store --dump $out`
<clever> in either case, nix will tell you the right hash, if it is wrong
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1326d6432ab (from 87 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<clever> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<evils> ok, but i have no idea how i'd use my script in my default.nix
<{^_^}> [nixpkgs] @abbradar pushed commit from @peterhoeg to staging-next « systemd: use pure debug shell »: https://git.io/JeCZp
<clever> > runCommand "name" { outputHash = "0000000000000000000000000000000000000000000000000000"; outputHashAlgo = "sha256"; outputHashMode = "flat"; buildInputs = [ curl ]; "curl http://example.com > $out"
<{^_^}> error: syntax error, unexpected ')', expecting '.' or '=', at (string):270:1
<clever> > runCommand "name" { outputHash = "0000000000000000000000000000000000000000000000000000"; outputHashAlgo = "sha256"; outputHashMode = "flat"; buildInputs = [ curl ]; } "curl http://example.com > $out"
<{^_^}> "<derivation /nix/store/4xr35gfm8vfrd4cq45lwh558rrh3x9j4-name.drv>"
<clever> evils: that is a fixed-output derivation, that will try to fetch whatever is at example.com, and produces a single file
<clever> > let thing = runCommand "name" { outputHash = "0000000000000000000000000000000000000000000000000000"; outputHashAlgo = "sha256"; outputHashMode = "flat"; buildInputs = [ curl ]; } "curl http://example.com > $out"; in "${thing}"
<{^_^}> "/nix/store/i6lzzvk42b6npj39hkkbkm9fg67y8k4k-name"
<clever> and you can then just shove that into a let block, and get a path back out
<evils> runCommand is what i'd use to call a shell script?
<clever> evils: the string at the end, "curl http://example.com > $out" is a chunk of bash code
<clever> so you can put the shell script right into the nix file
<evils> i'd make the script a separate file because i want this package on openwrt as well...
<erba> Is it possible to set something like android_sdk.accept_license = true; in shell.nix?
<clever> evils: then you can just do "source ${./script.sh}" or similar, maybe write it to create an oui.txt in the current dir, then "source ${./script.sh} ; mv oui.txt $out"
<clever> erba: when you import <nixpkgs>, you can pass it the contents of a config.nix, import <nixpkgs> { config = { android_sdk.accept_license = true; }; }
<{^_^}> [nixpkgs] @illegalprime opened pull request #70492 → sddm: add module option to set users profile picture → https://git.io/JeCnT
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @joachifm opened pull request #70493 → lispPackages.cl-mysql: fix build → https://git.io/JeCnL
<infinisil> I'm using Thunderbird + Enigmail, but when I go to the "Key Management" view and do "Keyserver -> Search for Keys", type in my key id 0x422E9EDAE0157170 which I uploaded to the default keyserver of keys.openpgp.org, it just shows a progress bar without ever progressing
<infinisil> I have no idea what the problem might be, but if somebody else could confirm this happens for them too I'd be grateful
<tilpner> infinisil: I instead get "Could not connect to keyserver at vks://keys.openpgp.org.\n\nThe keyserver reported an error."
<infinisil> tilpner: This happens to me when I search for something like "foo"
<infinisil> Does it happen for you with a search for key ids too?
shibboleth has joined #nixos
<tilpner> Ahh, now I get a progress bar too
<{^_^}> [nixpkgs] @illegalprime opened pull request #70494 → sddm: add a themePackages module option so themes are not installed globally → https://git.io/JeCns
<infinisil> tilpner: Is it also stuck for you?
<tilpner> So far it is
<hpfr[m]> To use my steam controllers I have to chmod 666 /dev/uinput, how do I do this declaratively?
<infinisil> I see, so the problem might indeed be on Nix's side somewhere
omnipotententity has joined #nixos
<tilpner> hpfr[m]: hardware.steam-hardware.enable
<tilpner> hpfr[m]: Or services.udev.extraRules = ...;
<erba> clever: I get: attempt to call something which is not a function but a set (with import <nixpkgs> { config = { android_sdk.accept_license = true; }; };)
<omnipotententity> Hey, dumb question about data files. If you have a package that relies on external datafiles that may or may not change from version to version, and are not compiled, just simply copied into a destination, what's the best way to manage that, is there an example already in nixpkgs?
<clever> erba: more parens!
ixxie has quit [Ping timeout: 240 seconds]
<infinisil> tilpner: I guess I'll try out an older thunderbird
<clever> erba: with (import <nixpkgs> { config = { android_sdk.accept_license = true; }; });
<omnipotententity> My specific case is Geant4, which uses neutron and particle interaction data as part of its calculations.
<omnipotententity> while Geant4 is packaged, the datafiles are not. So I was trying to package them as well.
o1lo01ol1o has joined #nixos
<infinisil> clever: Pretty sure parens shouldn't be needed there
<clever> infinisil: hmmm, yeah, pretty sure ive seen `with import <nixpkgs> {}` work...
<clever> erba: can you pastebin the whole file?
<infinisil> tilpner: Ah! It works in thunderbird from 19.03!
<infinisil> Bisection ahoy!
<erba> clever: It's basically this one: https://github.com/uniphil/nix-for-devs#react-native
<erba> clever: I'm trying to get a android dev environment working on nixos (which works flawlessly for haskell, elm etc btw..)
<clever> erba: can you pastebin the exact file your using, with the sdk changes, and the error from `nix-shell --show-trace` ?
ivan has left #nixos [#nixos]
Okinan has joined #nixos
<clever> sdk = androidenv.androidsdk {
<clever> sdk = androidsdk_9_0 {
<{^_^}> [nixpkgs] @illegalprime opened pull request #70495 → plasma-chili: init at 0.5.5 → https://git.io/JeCn2
<clever> erba: this line you changed is the problem
<clever> erba: androidenv.androidsdk was a function, androidsdk_9_0 is not
o1lo01ol1o has quit [Remote host closed the connection]
<erba> clever: aha
<clever> > androidenv.androidsdk
<{^_^}> attribute 'androidsdk' missing, at (string):269:1
<clever> androidsdk no longer exists
matix has joined #nixos
o1lo01ol1o has joined #nixos
<freeman42xx> for squirrel-sql how do I install the DB specific drivers? like for MS SQL for example
<erba> clever: yeah I'm pretty lost tbh :P I really like NixOS and I'd hate having to drop it on my work machine - but I really need to be able to do some android development.
<clever> erba: what if you just do `sdk = androidsdk_9_0;` and ignore all of those flags?
aaa_ has joined #nixos
iqubic` has joined #nixos
<freeman42xx> maybe what I need is just to install the MS SQL Drivers package for Nix... if that exists
iqubic has quit [Ping timeout: 245 seconds]
<aaa_> hi, I've build nixos for GCE by using create-gce.sh (https://nixos.wiki/wiki/Install_NixOS_on_GCE) and created an instance in GCE, but now I'm unable to SSH into the box. It says "Permission denied (publickey,keyboard-interactive).". How does create-gce.sh setup the SSH keys allowed to login into nixos ?
<aaa_> I'm using origin/nixos-19.09 as base for building the image.
<{^_^}> [nixpkgs] @illegalprime opened pull request #70496 → libphonenumber: 8.9.9 -> 8.10.20 → https://git.io/JeCno
<infinisil> tilpner: Well, unsurprisingly a big thunderbird update is the cause: #67754
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67754 (by taku0, 5 weeks ago, merged): thunderbird, thunderbird-bin: 60.8.0 -> 68.0
iqubic` has quit [Ping timeout: 240 seconds]
iqubic` has joined #nixos
<tilpner> Oh, Fun™
<hpfr[m]> tilpner: udev rules work thanks to hardware.steam-hardware.enable. But the controller then only works within steam, not in games. /dev/uinput is still 600 unless I chmod 666, then it works in games as well as within steam
<tilpner> Just eight major versions that could have broken anything
<freeman42xx> nvm, I managed to download the JDBC drivers from MS as a .jar and added it to squirrel-sql
<tilpner> > sc-controller.meta.description # hpfr[m]
<{^_^}> "User-mode driver and GUI for Steam Controller and other controllers"
<hpfr[m]> I don’t want to use sc-controller haha, I want to use steam’s native handling. I was just wondering if I could make uinput user rw declaratively
chris__ has joined #nixos
<infinisil> tilpner: Yeah, and no error message, no logs, not even anything in strace
<infinisil> Also mozilla probably takes forever to build :/
<infinisil> I haven't tried thunderbird-bin actually, I should do that
__monty__ has quit [Quit: leaving]
<clever> hpfr[m]: hardware.steam-hardware.enable should do exactly that
<aaa_> Is it best to extend create-gce.sh in order to include my own public SSH key into the image?
<tilpner> hpfr[m]: Something like KERNEL=="uinput", SUBSYSTEM=="misc", MODE="0666", GROUP="input", OPTIONS+="static_node=uinput" might do it, but I have no idea how that interacts with the existing rules, and am not exactly a udev expert
<chris__> I've got a fresh nixos VM. I have a minor issue where the PATH does not seem to be set when running commands via ssh. For example ssh root@192.168.0.10 'whoami' - will error with zsh:1: command not found: whoami. Any ideas as to why this is?
<tilpner> clever: They already tried that
freecoder has joined #nixos
<clever> [clever@amd-nixos:~/Downloads]$ nix-build '<nixpkgs>' -A steamPackages.steam
<clever> [clever@amd-nixos:~/Downloads]$ cat result/lib/udev/rules.d/60-steam-input.rules
<clever> KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess"
<clever> need to figure out what that tag is doing, and what makes it special
<erba> clever: Thanks, yeah that works - however android studio still fails to find a lot of dependencies. I guess I'll just create a VM for this
<{^_^}> [nixpkgs] @c0bw3b closed pull request #60634 → spectral: 2019-03-03 -> 603 → https://git.io/fjZB3
<tilpner> chris__: Did you set programs.zsh.enable?
iqubic` has quit [Ping timeout: 268 seconds]
<freecoder> I'm trying to use a different compiler version with Nix on Ubuntu. Following steps on https://nixos.wiki/wiki/C#Use_a_different_compiler_version, it gives the following error - "error: undefined variable 'gcc6Stdenv' at shell.nix:28:24"
iqubic``` has joined #nixos
<freecoder> I'm not really familiar with Nix. Just want to get a package I cloned from github built.
<tilpner> freecoder: paste your shell.nix
<tilpner> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
o1lo01ol1o has quit [Remote host closed the connection]
<tilpner> You likely need to use pkgs.gcc6Stdenv or similar
<chris__> tilpner: That solved it. Thank you :)
<freecoder> tilpner, https://paste.ee/p/VJSr0
<hpfr[m]> tilpner: ironically an issue was opened 7 hours ago, I will comment there https://github.com/NixOS/nixpkgs/issues/70471
<{^_^}> #70471 (by cdepillabout, 6 hours ago, open): nixos hardware.steam-hardware.enable should add the uinput module to kernelModules
Havvy has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
<{^_^}> [nixpkgs] @cko opened pull request #70497 → add some missing descriptions and homepages → https://git.io/JeCnS
<tilpner> freecoder: Your nixpkgs revision is from Mar 2018, gcc6Stdenv did not exist then
<freecoder> how do i update it?
<tilpner> freecoder: Change the rev and sha256 in lines 5 and 6
<clever> ,howoldis
<{^_^}> [nixpkgs] @flokli merged pull request #70463 → spotifyd: 0.2.16 -> 0.2.18 → https://git.io/JeCqM
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JeCnQ
<clever> freecoder: the above site shows the current rev for each channel
<tilpner> freecoder: git ls-remote https://github.com/nixos/nixpkgs-channels nixos-19.09
<tilpner> freecoder: That will get you the current rev of the hopefully-about-to-be-released 19.09
<{^_^}> [nixpkgs] @nyanloutre opened pull request #70498 → molly-guard: 0.6.3 -> 0.7.2 → https://git.io/JeCn7
<tilpner> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<tilpner> ^ then that to get the hash
iqubic``` has quit [Ping timeout: 265 seconds]
chris__ has quit [Quit: Lost terminal]
selfsymmetric-mu has quit [Remote host closed the connection]
<freecoder> tilpner, i did not understand getting the hash part
Zer0xp has joined #nixos
<tilpner> freecoder: Replace the hash with e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 or 0000000000000000000000000000000000000000000000000000
<tilpner> freecoder: Then try to build and copy the proper hash from the error
<freecoder> tilpner, got it
Ariakenom has quit [Read error: Connection reset by peer]
<philipp[m]> Are there any packages despite mesa that determine the `Vulkan Instance Version` as per `vulkaninfo`?
obadz has quit [Quit: WeeChat 2.5]
orivej has quit [Ping timeout: 240 seconds]
<philipp[m]> (with radeon cards while using mesa ofc)
obadz has joined #nixos
growpotkin has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
m0rphism has quit [Ping timeout: 240 seconds]
dansho has quit [Quit: Leaving]
b has joined #nixos
freeman42xx has quit [Ping timeout: 240 seconds]
asymptotically has quit [Quit: Leaving]
erba has quit [Quit: WeeChat 2.4]
matix has quit [Quit: :q!]
o1lo01ol1o has joined #nixos
Rusty1 has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1326d6432ab (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
freecoder has quit [Remote host closed the connection]
freecoder has joined #nixos
o1lo01ol1o has quit [Ping timeout: 276 seconds]
Zer0xp has quit [Ping timeout: 265 seconds]
doyougnu has quit [Quit: WeeChat 2.4]
o1lo01ol1o has joined #nixos
kleisli has joined #nixos
freecoder has quit [Ping timeout: 240 seconds]
freeman42xx has joined #nixos
<mog> is the office hour call available to watch somewhere
drewr has quit [Ping timeout: 264 seconds]
leo_ has quit [Ping timeout: 265 seconds]
chrishill has quit [Quit: Leaving]
shibboleth has quit [Quit: shibboleth]
hiratara has joined #nixos
freeman42xx has quit [Quit: Leaving]
freeman42x has joined #nixos
freeman42xx has joined #nixos
freeman42x has quit [Ping timeout: 240 seconds]
t58 has joined #nixos
<mog> got my 19.09 nixos shirt today looks great. sticker still hasnt shown up
<rizary_> hi.. how do you put nix-shell output into 1 .log file? I want to look into the build process on some library
drakonis has quit [Ping timeout: 250 seconds]
<rizary_> i run `nix-shell > test.log` but it's not how it works >,<
<rizary_> like in some build the error says `Test suite logged to: dist/test/bla-01-tasty.log`
abathur has joined #nixos
<clever> rizary_: `nix-store -l /nix/store/path` shows you the logs
<clever> rizary_: dist/test/bla-01-tasty.log is deleted after the build is done, but `--keep-failed` will keep it, if the build fails
astrall33 has quit [Remote host closed the connection]
<rizary_> clever: thank you, i'll try it first.
hiratara has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @marsam merged pull request #70486 → vscode: Make it so that it places the .app in $out/Applications on macOS → https://git.io/JeCs9
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeCCt
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
aaa_ has quit [Ping timeout: 268 seconds]