sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
jluttine has quit [Ping timeout: 272 seconds]
asheshambasta_m has quit [Ping timeout: 257 seconds]
asheshambasta_m has joined #nixos
Ariakenom has quit [Quit: Leaving]
stphrolland has quit [Ping timeout: 256 seconds]
mexisme has quit [Ping timeout: 248 seconds]
asheshambasta_m has quit [Ping timeout: 272 seconds]
qubasa_ has joined #nixos
Glider_IRC_ has joined #nixos
qubasa has quit [Ping timeout: 245 seconds]
asheshambasta_m has joined #nixos
Glider_IRC has quit [Ping timeout: 248 seconds]
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 272 seconds]
circ-user-dLdoV has quit [Remote host closed the connection]
asheshambasta_m1 has quit [Ping timeout: 245 seconds]
horner has quit [Quit: zzZzZzZzZZZzzz…]
kvda has joined #nixos
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj00z
mexisme has joined #nixos
o1lo01ol1o has joined #nixos
Myhlamaeus has quit [Quit: WeeChat 2.4]
silver has quit [Read error: Connection reset by peer]
asheshambasta_m has joined #nixos
<nh2> clever: "legacy on GPT needs another (unformatted) partition" - I do that that 1 MB partition at the front, which I needed for Hetzner as they support only non-UEFI boot but I wanted to use GPT, is that what you have in mind?
<clever> nh2: you need a 1mb bios boot partition, at any offset, not formatted, not mounted
ambro718 has quit [Ping timeout: 258 seconds]
<nh2> clever: yes, I have that. Can I pass something to `nixos-generate-config` so that it uses it somehow, or do I need to modify the generated file (e.g. setting the grub part you mentioned)?
asheshambasta_m has quit [Ping timeout: 272 seconds]
mexisme has quit [Ping timeout: 246 seconds]
Rusty1 has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/89e6170b755 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
dfordivam has quit [Ping timeout: 244 seconds]
mexisme has joined #nixos
dfordivam has joined #nixos
<clever> nh2: youll just need to edit the generated config
swerlk has quit [Ping timeout: 258 seconds]
swerlk has joined #nixos
Lears has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
[Leary] has quit [Ping timeout: 244 seconds]
ris has quit [Ping timeout: 248 seconds]
polmaan has quit [Ping timeout: 244 seconds]
polmaan has joined #nixos
ddellacosta has joined #nixos
horner has joined #nixos
<samueldr> grub will detect the bios boot partition itself
jb55 has quit [Ping timeout: 246 seconds]
asheshambasta_m has joined #nixos
MmeQuignon has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62157 → nixos/syncthing: run init only if a devices or folders are set → https://git.io/fjR7a
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj00S
<clever> samueldr: yeah, once you set boot.loader.grub.device = "/dev/sda";, it will scan sda's partition table, and find the bios boot on its own
<clever> nh2: ^^
<nh2> clever samueldr: yes, that works. I just have to make myself a little script now that "undoes" what nixos-generate-config has done (enabling the systemd stuff) and put my grub.devices in
<clever> nh2: the bootloader stuff is in configuration.nix, but you mainly care about hardware-configuration.nix
<clever> nh2: so i just replace all of configuration.nix with a static file
asheshambasta_m has quit [Ping timeout: 248 seconds]
hellrazo1 has joined #nixos
infinii has joined #nixos
<nh2> clever: yes that makes sense. Might as well stick my pubkey in there and enable SSH
hellrazor has quit [Ping timeout: 258 seconds]
<clever> nh2: you may also be able to just use justdoit, as-is
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #62203 → matrix-synapse: 0.95.5 -> 0.95.5.1 → https://git.io/fj0fM
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fj00Q
hamishmack has joined #nixos
<nh2> clever: OK trying that now
abathur has joined #nixos
ddellacosta has quit [Ping timeout: 244 seconds]
justan0theruser has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ng0_ has joined #nixos
drakonis_ has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
ng0 has quit [Ping timeout: 256 seconds]
jb55 has joined #nixos
asheshambasta_m has joined #nixos
kvda has joined #nixos
asheshambasta_m has quit [Ping timeout: 246 seconds]
sb0 has joined #nixos
<nh2> clever: hmm, it did kexec, but I can't SSH there (perhaps no internet), and with the IPMI virtual monitor I see the expected `root@kexec`, but I can't type as I usually can with the virtual keyboard (nothing happens)
selfsymmetric-pa has quit [Remote host closed the connection]
<clever> nh2: does dhcp work on that machine?
asheshambasta_m has joined #nixos
asheshambasta_m has quit [Ping timeout: 248 seconds]
asheshambasta_m has joined #nixos
anderslundstedt has joined #nixos
xantoz has joined #nixos
<nh2> clever: I think so, at least `dhclient -r` kills current leases on the rescue system and that immediately disconnects me
slack1256 has quit [Ping timeout: 258 seconds]
asheshambasta_m has quit [Ping timeout: 246 seconds]
<nh2> clever: also maybe something is wrong with that serial console config, that this remote console can't talk to it
orivej has quit [Ping timeout: 248 seconds]
shachaf has joined #nixos
shachaf has left #nixos [#nixos]
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
mexisme has joined #nixos
asheshambasta_m has joined #nixos
Anton-Latukha has quit [Remote host closed the connection]
hellrazor has joined #nixos
mexisme_ has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hellrazo1 has quit [Ping timeout: 258 seconds]
mexisme has quit [Read error: Connection reset by peer]
asheshambasta_m has quit [Ping timeout: 272 seconds]
xelxebar_ has joined #nixos
xelxebar has quit [Ping timeout: 256 seconds]
<clever> nh2: thats possible, maybe baud rate stuff
<clever> nh2: ive mainly used the kexec via ssh, and its configured to reboot itself at the end of the hour, to restore the old OS
ffl^ has quit []
oida has quit [Ping timeout: 256 seconds]
xelxebar_ has quit [Ping timeout: 256 seconds]
<infinisil> Question: Is there *any* reason not to just use `pkgs:` instead of `{ stdenv, fetchurl, whatever }`?
shah^ has joined #nixos
<infinisil> Assuming you don't need things like `enableFoo ? true` or so
<infinisil> Just dependencies
<infinisil> Because I sure don't see any disadvantage
<clever> infinisil: i think its partially a performance cost
asheshambasta_m has joined #nixos
<infinisil> clever: How so?
asheshambasta_m has quit [Ping timeout: 248 seconds]
<clever> infinisil: the size of the pkgs attrset, and the number of attributes it contains
<clever> infinisil: and the lookup cost within that
<infinisil> clever: It needs to do the lookup anyways to determine whether the attributes are available anyways
<infinisil> And also, it would be nicer to separate dependency args from other options
kvda has joined #nixos
obadz has quit [Ping timeout: 258 seconds]
obadz has joined #nixos
softinio has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #62237 → openimageio2: init at 2.0.8 → https://git.io/fj0Ex
asheshambasta_m has joined #nixos
asheshambasta_m has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #62232 → pythonPackages.curio: patch tests → https://git.io/fj0B3
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj0uv
schjetne has joined #nixos
dansho has quit [Quit: Leaving]
justan0theruser is now known as justanotheruser
schjetne has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @delroth opened pull request #62238 → nixos/malloc: apply allocator settings to systemd units → https://git.io/fj0uL
<{^_^}> [nixpkgs] @marsam merged pull request #62200 → nodejs-10_x: 10.15.3 -> 10.16.0 → https://git.io/fj0fs
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj0uq
<clever> infinisil: callPackage has to do it once, and then create a smaller lookup table, so each reference within your pkg is faster
<{^_^}> [nixpkgs] @worldofpeace merged pull request #62184 → libcanberra: add patch to stop crashing on wayland → https://git.io/fj0vt
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj0uG
asheshambasta_m has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #62031 → libcanberra: fix crashes with wayland → https://git.io/fjBQt
drakonis has joined #nixos
asheshambasta_m has quit [Ping timeout: 272 seconds]
Supersonic has quit [Ping timeout: 250 seconds]
drakonis_ has quit [Ping timeout: 252 seconds]
toppler`` has quit [Ping timeout: 272 seconds]
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
Supersonic has joined #nixos
horner has quit [Quit: zzZzZzZzZZZzzz…]
toppler`` has joined #nixos
Yaniel has quit [Ping timeout: 252 seconds]
asheshambasta_m has joined #nixos
asheshambasta_m has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
asheshambasta_m has joined #nixos
buffet_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
asheshambasta_m1 has joined #nixos
buffet has quit [Ping timeout: 272 seconds]
asheshambasta_m has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4b428d8c091 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
asheshambasta_m has joined #nixos
asheshambasta_m1 has quit [Read error: Connection reset by peer]
softinio has quit [Remote host closed the connection]
asheshambasta_m has quit [Ping timeout: 246 seconds]
asheshambasta_m has joined #nixos
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 246 seconds]
xelxebar has joined #nixos
asheshambasta_m1 has quit [Ping timeout: 258 seconds]
oida has joined #nixos
asheshambasta_m has joined #nixos
asheshambasta_m has quit [Ping timeout: 268 seconds]
asheshambasta_m has joined #nixos
o1lo01ol1o has joined #nixos
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
hamishmack has left #nixos ["Textual IRC Client: www.textualapp.com"]
hamishmack has joined #nixos
asheshambasta_m has joined #nixos
asheshambasta_m1 has quit [Ping timeout: 244 seconds]
endformationage has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #62239 → gscan2pdf: 2.3.0 -> 2.5.3 → https://git.io/fj0uy
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #62240 → libertinus: 6.8 -> 6.9 → https://git.io/fj0u9
<{^_^}> [nixpkgs] @dtzWill opened pull request #62241 → national-park-typeface: init at 206464 → https://git.io/fj0uQ
<{^_^}> [nixpkgs] @dtzWill opened pull request #62242 → yubioath-desktop: 4.3.4 -> 4.3.6 → https://git.io/fj0u5
abathur has quit [Ping timeout: 245 seconds]
asheshambasta_m has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asheshambasta_m1 has quit [Ping timeout: 268 seconds]
xelxebar has quit [Quit: ZNC 1.7.2+deb2~bpo9+1 - https://znc.in]
asheshambasta_m has quit [Read error: Connection reset by peer]
asheshambasta_m1 has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
asheshambasta_m1 has quit [Read error: Connection reset by peer]
kvda has joined #nixos
asheshambasta_m has joined #nixos
xelxebar has joined #nixos
mnoronha has joined #nixos
asheshambasta_m1 has joined #nixos
<mnoronha> My new tmux sessions don't source my bashrc automatically. Is this issue likely to be caused by nix?
<mnoronha> Setting the default shell in tmux's configuration explicitly isn't enough to fix it
wfranzini has quit [Remote host closed the connection]
<mnoronha> Ah, it was just a problem with my bash_profile
asheshambasta_m has quit [Ping timeout: 248 seconds]
asheshambasta_m1 has quit [Ping timeout: 246 seconds]
mnoronha has quit [Quit: Page closed]
mexisme_ has quit [Ping timeout: 268 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asheshambasta_m has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #62221 → nodePackages: regenerate → https://git.io/fj0Gg
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fj0zU
palo1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 248 seconds]
asheshambasta_m has joined #nixos
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
ng0_ has quit [Quit: Alexa, when is the end of world?]
mexisme_ has joined #nixos
kvda has joined #nixos
asheshambasta_m has quit [Ping timeout: 258 seconds]
asheshambasta_m has joined #nixos
kvda has quit [Client Quit]
fresheyeball has quit [Quit: WeeChat 2.4]
<v0|d> clever: so, default clangStdenv employs libstdc++, not libc++ right? I believe, it also employs libgcc not compiler-rt by llvm. um.
<v0|d> clever: on linux btw.
softinio has joined #nixos
softinio has quit [Client Quit]
asheshambasta_m has quit [Ping timeout: 246 seconds]
asheshambasta_m has joined #nixos
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 248 seconds]
Yaniel has joined #nixos
asheshambasta_m1 has quit [Client Quit]
orivej has joined #nixos
kvda has joined #nixos
asheshambasta_m has joined #nixos
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Read error: Connection reset by peer]
asheshambasta_m1 has quit [Client Quit]
asheshambasta_m has joined #nixos
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Read error: Connection reset by peer]
mnoronha has joined #nixos
<mnoronha> I'm having trouble getting pytorchWithCuda working in a shell. Is there anyone around that has experience with this?
<mnoronha> When I dropped into a shell for the first time, it built pytorch from source but without cuda support
hellrazor has quit [Quit: WeeChat 2.4]
asheshambasta_m1 has quit [Ping timeout: 244 seconds]
asheshambasta_m has joined #nixos
<clever> v0|d: dont remember, i dont really use clang much
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 268 seconds]
<clacke_movim> infinisil: I see one disadvantage with calling pkgs directly. I just refactored a package I'm developing to have its local additions to pkgs in a Scope. If local expressions gets global attrs via callPackage it Just Works, if they try to query pkgs, they will fail.
<clacke_movim> So callPackage keeps you more composable
asheshambasta_m1 has quit [Ping timeout: 245 seconds]
asheshambasta_m has joined #nixos
rauno has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
mnoronha has quit [Ping timeout: 256 seconds]
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 268 seconds]
asheshambasta_m1 has quit [Read error: Connection reset by peer]
asheshambasta_m has joined #nixos
domogled has joined #nixos
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Read error: Connection reset by peer]
revtintin has joined #nixos
asheshambasta_m has joined #nixos
asheshambasta_m1 has quit [Read error: Connection reset by peer]
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 258 seconds]
asheshambasta_m has joined #nixos
asheshambasta_m1 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #62204 → quaternion: 0.0.9.4 -> 0.0.9.4c → https://git.io/fj0Jq
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/fj0zp
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #62242 → yubioath-desktop: 4.3.4 -> 4.3.6 → https://git.io/fj0u5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fj0ge
<{^_^}> [nixpkgs] @Mic92 merged pull request #62229 → tahoe-lafs: Fix build → https://git.io/fj0lJ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fj0gv
<{^_^}> [nixpkgs] @Mic92 merged pull request #62222 → zfsUnstable: 0.8.0-rc5 -> 0.8.0 [19.03 backport] → https://git.io/fj0Zu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-19.03: https://git.io/fj0gf
<{^_^}> [nixpkgs] @Mic92 merged pull request #62193 → setroot: 2.0.1 -> 2.0.2 → https://git.io/fj0vP
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fj0gJ
<{^_^}> [nixpkgs] @Mic92 merged pull request #62190 → fonttools: 3.41.0 -> 3.42.0 → https://git.io/fj0v8
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fj0gT
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 258 seconds]
thc202 has joined #nixos
wfranzini has joined #nixos
asheshambasta_m1 has quit [Ping timeout: 248 seconds]
asheshambasta_m has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to python-unstable: https://git.io/fj0gl
<{^_^}> [nixpkgs] @FRidh opened pull request #62245 → Python package set → https://git.io/fj0g4
asheshambasta_m has quit [Ping timeout: 258 seconds]
asheshambasta_m has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #62233 → python3Packages.cython: 0.29.7 -> 0.29.9 → https://git.io/fj0Rm
asheshambasta_m has quit [Ping timeout: 245 seconds]
asheshambasta_m has joined #nixos
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 257 seconds]
Rovanion has quit [Ping timeout: 246 seconds]
ottidmes has joined #nixos
bahamas has joined #nixos
asheshambasta_m1 has quit [Ping timeout: 258 seconds]
asheshambasta_m has joined #nixos
hoijui has joined #nixos
asheshambasta_m has quit [Ping timeout: 248 seconds]
leotaku has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #62149 → hcxtools: init at 5.1.4 → https://git.io/fjR9Z
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fj0gy
jackdk has quit [Ping timeout: 268 seconds]
Rovanion has joined #nixos
freeman42x has joined #nixos
asheshambasta_m has joined #nixos
FRidh has joined #nixos
asheshambasta_m has quit [Ping timeout: 245 seconds]
asheshambasta_m has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « btrfs-progs: hack to make it build on i686-linux »: https://git.io/fj0gQ
<bahamas> when using the angle brackets syntax, does the path have to refer to a file that will contain a nix expression?
<bahamas> I'm reading this pill https://nixos.org/nixos/nix-pills/nix-search-paths.html for context
<andi-> bahamas: no, you can do <nixpkgs/README.md>
<andi-> > <nixpkgs/README.md>
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo/README.md
<bahamas> andi-: so what does <path> actually do?
rfold has joined #nixos
<bahamas> after it checks that the file exists
<andi-> it uses one of the few searchpaths. E.g. `nixpkgs` is one of the search paths. It means `<nixpkgs/$foo>` will look for $foo in the searchpath nixpkgs
gagbo has joined #nixos
<andi-> echo $NIX_PATH in your shell
<symphorien> bahamas: it evaluates to a path
<bahamas> path is a nix type, right?
<andi-> > <nixos-config>
<{^_^}> /nix/store/a2h7mqdfdb1zv9rfpnmfys2c1jdgblim-configuration.nix
<andi-> yes
asheshambasta_m has quit [Ping timeout: 248 seconds]
<symphorien> You can import it, or use it in src = in mkDerivation, or ...
<bahamas> aha. right. thanks!
asheshambasta_m has joined #nixos
astrofog has joined #nixos
leotaku has quit [Quit: ZNC 1.7.2 - https://znc.in]
asheshambasta_m has quit [Ping timeout: 258 seconds]
leotaku has joined #nixos
<bahamas> does the empty set default to whatever is defined in $NIXPKGS_CONFIG? for example, when doing import <nixpkgs> { };
rauno has quit [Ping timeout: 264 seconds]
asheshambasta_m has joined #nixos
<symphorien> Not it is just an empty set
<symphorien> The function you get by importing <nixpkgs> has only optional arguments
asheshambasta_m1 has joined #nixos
asheshambasta_m has quit [Ping timeout: 259 seconds]
<bahamas> symphorien: ah, and one of the arguments has as a default the config in NIXPKGS_CONFIG?
<symphorien> Yes
<bahamas> symphorien: so you pass the empty set when you call a function, because the function has arguments but they all have defaults?
<symphorien> Yes
<symphorien> > let f { x ? 1 }: x+ 1; in f {}
<{^_^}> error: syntax error, unexpected '{', expecting '.' or '=', at (string):254:7
asheshambasta_m1 has quit [Read error: Connection reset by peer]
asheshambasta_m has joined #nixos
<symphorien> > let f = { x ? 1 }: x+ 1; in f {}
<{^_^}> 2
<bahamas> thanks!
srl295 has quit [Quit: Connection closed for inactivity]
asheshambasta_m has quit [Client Quit]
freeman42x has quit [Ping timeout: 258 seconds]
asheshambasta_m has joined #nixos
asheshambasta_m has quit [Ping timeout: 272 seconds]
sobol has quit [Ping timeout: 248 seconds]
sobol_ has joined #nixos
Makaveli7 has joined #nixos
asheshambasta_m has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Shoubit has joined #nixos
asheshambasta_m has quit [Ping timeout: 258 seconds]
cf6b88f is now known as cizra
peterhoeg[m] has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/50d5d73e22b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3d7950bebd4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #61116 → gitAndTools.gitstatus: init at 20190506 → https://git.io/fjcw6
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fj02n
hoijui has quit [Ping timeout: 248 seconds]
<ploupiboulba[m]> my disk changed uuid because of a migration between qemu and vmware. Thus nixos can't boot since it can't find the drive. I have added boot1devices on startup the problem is I don't see any disk (fdisk -l is empty) even if lsmod lists the ext4 module (via a CD rom, I know the drive is still there as an et4)
asheshambasta_m has joined #nixos
asheshambasta_m has quit [Ping timeout: 245 seconds]
ricekrispie has joined #nixos
<bahamas> where can I see `allowUnfree` in one of my project's nix file? nix recommends that I put it in nixpkgs/config.nix, but I want to version control this
<bahamas> set, not see
<{^_^}> [nixpkgs] @Ma27 merged pull request #62199 → dedup: 1.0 -> 2.0 → https://git.io/fj0fO
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fj02l
ricekrispie2 has quit [Ping timeout: 244 seconds]
<rfold> bahamas: how do you import nixpkgs?
<bahamas> rfold: I think I found a way. let config = { allowUnfree = true; }; import nixpkgs { inherit config; }
<rfold> Yes, that is what I as to suggest.
<bahamas> rfold: I'm curious which function actually checks `allowUnfree`. do you know?
<bahamas> I mean, can you only pass it through config?
astrofog has quit [Remote host closed the connection]
asheshambasta_m has joined #nixos
<rfold> I do not know. I think you can also pass it by environment variable.
asheshambasta_m has quit [Read error: Connection reset by peer]
asheshambasta_m has joined #nixos
<bahamas> rfold: aha. thanks!
Ariakenom has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #62246 → datadog-agent: fix sha256 sum → https://git.io/fj02z
asheshambasta_m has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @bachp opened pull request #62247 → plex: 1.15.4.994 -> 1.15.6.1079 → https://git.io/fj02a
<clacke_movim> bahamas: you can see 40 lines down that you don't have to grant full allowFree, there is also a narrower predicate function you can supply
toppler`` has quit [Ping timeout: 272 seconds]
rauno has quit [Ping timeout: 248 seconds]
<clacke_movim> But yeah, this function is run by the staging mechanism, before the nixpkgs function returns, so there is no other place to supply the config parameter or the allowUnfree attr than at the time of the nixpkgs call.
asheshambasta_m has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #62218 → rofi-pass: refactor add new optional dependency pass-otp → https://git.io/fj0so
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fj02i
toppler`` has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #62238 → nixos/malloc: apply allocator settings to systemd units → https://git.io/fj0uL
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fj02y
evax has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #59519 → mautrix-telegram: patch away alembic dependency → https://git.io/fjmPx
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fj02H
<bahamas> clacke_movim: is there any problem if I just use allowUnfree?
<clacke_movim> bahamas: up to you :-)
arjen-jonathan has joined #nixos
<clacke_movim> Maybe you would like to make sure you don't accidentally pull something in
<bahamas> clacke_movim: I'm only using nix channels. do they have unfree packages?
<clacke_movim> They do!
<bahamas> ok. I think I'll leave it for now and deal with it later, if necessary
<bahamas> I have another issue now. how does nix decide what derivations to build? more specifically, I'm trying to build a Haskell package. nix tries to build ghc-8.2.2, which is the version I want. but it also wants to build base-4.11.1.0, which doesn't match the ghc version. how can I find out where the base version comes from?
Jackneilll has joined #nixos
<{^_^}> [nixpkgs] @sifmelcara opened pull request #62248 → solc: 0.5.8 -> 0.5.9 → https://git.io/fj02x
Jackneill has quit [Read error: Connection reset by peer]
m0rphism has joined #nixos
fendor has joined #nixos
knupfer has joined #nixos
rauno has joined #nixos
__monty__ has joined #nixos
Shoubit has quit [Remote host closed the connection]
Shoubit has joined #nixos
fusion809 has joined #nixos
rfold has quit [Quit: WeeChat 2.4]
asheshambasta_m has quit [Quit: Leaving.]
horner has joined #nixos
ilmu has joined #nixos
rfold has joined #nixos
<srhb> bahamas: Normally it's entirely tied to the compiler, so you may be doing something funky.
<srhb> bahamas: Like overriding the compiler, say.
Jackneilll has quit [Read error: Connection reset by peer]
revtintin has quit [Quit: WeeChat 2.4]
rtjure has joined #nixos
<bahamas> srhb: yes, I am overriding the compiler
knupfer has quit [Ping timeout: 248 seconds]
Jackneill has joined #nixos
<bahamas> srhb: these are the relevant files: https://bpaste.net/show/bcfcc7312e22 they were generated with `styx`, a tool that should make it easier to work with haskell and nix
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @jluttine opened pull request #62249 → pythonPackages.salmon-mail: 3.1.0 -> 3.1.1 → https://git.io/fj0a9
Izorkin has joined #nixos
<symphorien> ,tell stphrolland see https://github.com/NixOS/nixpkgs/pull/40746/files as an example of wrapping a compiler.
<{^_^}> symphorien: I'll pass that on to stphrolland
<{^_^}> [nixpkgs] @jluttine closed pull request #62117 → pythonPackages.salmon-mail: fix build → https://git.io/fjRRL
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « gnome3.gnome-todo: fixup parallel building »: https://git.io/fj0aQ
jluttine has joined #nixos
<genesis> not bad but from zim user, have some issue.
<ottidmes> I am trying to install hnix by pinning a specific version (the one in nixpkgs is broken), when doing so it complains about attribute ghc963 missing (which is correct, its now ghc964). I expected callPackage of the haskell package set to supply the compiler attribute as well, but it does not seem to. How can I get the current default compiler name (the one used by haskellPackages)?
Jackneill has quit [Remote host closed the connection]
gxt has quit [Quit: WeeChat 2.4]
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
Jackneill has joined #nixos
Izorkin has joined #nixos
<ottidmes> (meant ghc863/ghc864)
horner has quit [Quit: zzZzZzZzZZZzzz…]
<{^_^}> [nixpkgs] @vcunat pushed to master « gnome3.gnome-todo: more explanation for the parent commit »: https://git.io/fj0ap
Jackneill has quit [Remote host closed the connection]
bahamas has quit [Ping timeout: 272 seconds]
Jackneill has joined #nixos
MmeQuignon has joined #nixos
ym555 has joined #nixos
HangoverGenius has joined #nixos
ym555 has quit [Client Quit]
rauno has quit [Ping timeout: 246 seconds]
<v0|d> clever: .k
<noonien> hello folks
<noonien> i'm having some issues with rendering utf-8, i get a lot of missing characters in the browser, and other apps
<noonien> i'm pretty sure this is not supposed to happen, am i doing something wrong?
<noonien> i'm running i3 with no DE
<__monty__> ottidmes: I think ghc865's the current one.
<__monty__> > haskell.compiler
<{^_^}> { ghc822 = <CODE>; ghc822Binary = <CODE>; ghc844 = <CODE>; ghc863Binary = <CODE>; ghc864 = <CODE>; ghc865 = <CODE>; ghc881 = <CODE>; ghcHEAD = <CODE>; ghcjs = <CODE>; ghcjs84 = <CODE>; ghcjs86 = <CODE...
<__monty__> Oh, 864's still available.
ilmu has quit [Ping timeout: 252 seconds]
hoijui has joined #nixos
Copenhagen_Bram has quit [Read error: Connection reset by peer]
rtjure has quit [Quit: rtjure]
Copenhagen_Bram has joined #nixos
<alexarice[m]> noonien: you're probably don't have a utf font installed
<noonien> i have utf fonts, however, they seem to be missing some common characters, i believe that is the problem
<alexarice[m]> I guess you could try to work out which exact characters are missing, install a font that definitely has them and see if that fixes it
<noonien> yeah, that seems to be working, i'm missing an emoji font apparently, can't seem to find a decent one
rauno has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #62250 → ccls: 0.20190301 -> 0.20190314.1 → https://git.io/fj0VX
<Mic92> noonien: emojione maybe?
Shoubit has quit [Ping timeout: 246 seconds]
sb0 has quit [Quit: Leaving]
rfold has quit [Quit: WeeChat 2.4]
jackdk has joined #nixos
iyzsong has joined #nixos
Shoubit has joined #nixos
<srhb> Hm, I get an error when trying to use passff: PassFF failed to execute the host app. passff-host is in my profile, but I notice that passff.py isn't on my $PATH (it's in $out/share/passff-host/passff.py for some reason) -- anyone using this that know what's up?
<srhb> I don't know that the PATH issue is relevant, fwiw.
<pbb> Is anyone at Gulaschprogrammiernacht?
mexisme_ has quit [Ping timeout: 258 seconds]
Lears has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #62251 → gpxsee: 7.1 -> 7.8 → https://git.io/fj0Vh
[Leary] has quit [Ping timeout: 246 seconds]
lejonet has quit [Ping timeout: 272 seconds]
horner has joined #nixos
yorick has quit [Quit: nixos-rebuild]
alex`` has quit [Ping timeout: 248 seconds]
alex`` has joined #nixos
simukis_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ThatDocsLady has joined #nixos
weedloser has joined #nixos
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
init_6 has joined #nixos
simukis_ has joined #nixos
yorick has joined #nixos
MmeQuignon has quit [Ping timeout: 246 seconds]
simukis_ has quit [Read error: Connection reset by peer]
arahael1 is now known as Arahael
simukis_ has joined #nixos
<laas> is there any way to find out what commit of nixpkgs my nixos-unstable channel is on?
<ottidmes> laas: the is a function in lib that shows this, let me check
<tilpner> lib.version
<laas> thanks
ilmu has joined #nixos
AluisioASG has joined #nixos
<ottidmes> laas: nix eval '(with import <nixpkgs/lib/trivial.nix> { lib = import <nixpkgs/lib>; }; revisionWithDefault "test")'
hoijui has quit [Ping timeout: 264 seconds]
linarcx has joined #nixos
Jackneill has quit [Ping timeout: 245 seconds]
mnoronha has joined #nixos
<mnoronha> I'm confused by the sandboxed builds. Are there any good docs I can find?
<mnoronha> I'm wondering if I can use a sandboxed build with `nix-shell` in particualr
drakonis_ has joined #nixos
shabius_ has quit [Ping timeout: 258 seconds]
shabius has joined #nixos
drakonis has quit [Ping timeout: 268 seconds]
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
<Philonous> I'm using pkgs.haskell.packages.ghcjs.developPackage for working on a miso project, however, build fails because some dependencies need docTest which doesn't build with ghcjs. How can I disable tests for _all_ dependencies (using overrides, I would guess?) or is there another way to fix this problem ?
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #62250 → ccls: 0.20190301 -> 0.20190314.1 → https://git.io/fj0VX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fj0wX
ThatDocsLady has quit [Ping timeout: 244 seconds]
MmeQuignon has joined #nixos
mnoronha has quit [Quit: Page closed]
<Philonous> Also, what's the difference between haskellPackages and haskell.packages ?
<{^_^}> [nixpkgs] @nyanloutre opened pull request #62253 → riot-{web,desktop}: 1.1.0 -> 1.2.0 → https://git.io/fj0w9
<Izorkin> How to fix this error - server# [ 18.541901] audit: type=1326 audit(1559218141.693:32): auid=4294967295 uid=498 gid=65534 ses=4294967295 subj==unconfined pid=795 comm="sshd" exe="/nix/store/bcnhzyllllhww9k8c9p3wv2rrxd03lhs-openssh-7.9p1/bin/sshd" sig=31 arch=c000003e syscall=10 compat=0 ip=0x7e7c1da124b7 code=0x0
<Izorkin> Runnig server fith hardened profiles.
Glider_IRC__ has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2892 → Replace `type` with `command -v` in install script → https://git.io/fjBFb
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fj0wb
Glider_IRC_ has quit [Ping timeout: 272 seconds]
goibhniu1 has joined #nixos
gagbo has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #62254 → flow: 0.99.0 -> 0.99.1 → https://git.io/fj0rk
weedloser has quit [Ping timeout: 246 seconds]
lejonet has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #62256 → dune: 1.9.2 -> 1.10.0 → https://git.io/fj0rY
<siraben> Running "locale -k LC_TIME" shows that the current date format is d_fmt="%m/%d/%Y", how do I change this to d_fmt="%Y-%d-%m" ?
<siraben> Is there a way to do this declaratively?
<{^_^}> [nixpkgs] @oxij opened pull request #62257 → firefoxPackages.tor-browser: 8.0.9 -> 8.5.0 → https://git.io/fj0rZ
<{^_^}> [nixpkgs] @abbradar closed pull request #40186 → [WIP] Fix taffybar → https://git.io/vpiOs
<{^_^}> [nixpkgs] @abbradar pushed to master « murmur service: log to journald by default »: https://git.io/fj0rC
<{^_^}> [nixpkgs] @abbradar merged pull request #38775 → murmur service: log to journald by default → https://git.io/vxNiK
bahamas has joined #nixos
<{^_^}> [nixpkgs] @abbradar closed pull request #37151 → splix: move to DRVs over PPDs → https://git.io/vxqRX
cmacrae has joined #nixos
rauno has quit [Ping timeout: 258 seconds]
<cmacrae> Hey peeps o/ Okay, feel like I'm going crazy... I've added an entry to /etc/hosts by way of networking.extraHosts. It's there in /etc/hosts correctly, yet when I try and test it with a ping... it fails to "resolve" the address
<cmacrae> I'm using network-manager
<cmacrae> Any thoughts?
<{^_^}> [nixpkgs] @abbradar closed pull request #38858 → [WIP] Update wxGTK and use GTK3 version → https://git.io/vxxjq
<cmacrae> I don't have the network-manager dnsmasq service enabled
JosW has joined #nixos
<{^_^}> [nixpkgs] @abbradar merged pull request #61740 → Support nested user chrootenv environments → https://git.io/fj8NP
<{^_^}> [nixpkgs] @abbradar pushed 4 commits to master: https://git.io/fj0r5
npmccallum has quit [Quit: npmccallum]
rfold has joined #nixos
HangoverGenius has quit [Ping timeout: 268 seconds]
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Shoubit has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
hoijui has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
hoijui has quit [Remote host closed the connection]
drakonis_ has joined #nixos
jb55 has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos
<delroth> that's an issue with the allocator used by default in the hardened profile, I've tested Scudo and jemalloc and they work fine with that PR you linked
<delroth> joachifm seems to be set on keeping it and getting Graphene allocator issues fixed upstream, I personally think it's a dangerous default that has already burned multiple people
drakonis_ has quit [Ping timeout: 272 seconds]
<drakonis> ah, nested chrootenvs got merged, this is nice.
<Izorkin> delroth: thanks, with environment.memoryAllocator.provider = "jemalloc"; - worked
<delroth> use scudo :-)
zgrep has quit [Ping timeout: 252 seconds]
<delroth> it's another hardened allocator which attempts to make heap based overflows exploitation harder -- it does less than the Graphene allocator, but has much better compat and much less performance overhead
zgrep has joined #nixos
<Izorkin> delroth: better than jemmaloc? where you can read about it
<delroth> well, there is no "better" in this case, they have different goals
<delroth> jemalloc is a performance oriented allocator, which claims to do better than glibc's malloc in some situations
<delroth> scudo is a hardening/security oriented allocator aiming at making exploitation harder while keeping performance overhead to a minimum
<delroth> if you don't care you can also just set it to "libc" which is the default value in non-hardened
<{^_^}> [nixpkgs] @marsam opened pull request #62258 → flexget: fix build → https://git.io/fj0ou
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
mkoenig_ has quit [Ping timeout: 244 seconds]
mkoenig has joined #nixos
<Izorkin> delroth: ok, thanks
schjetne has joined #nixos
jb55 has joined #nixos
endformationage has joined #nixos
init_6 has quit []
<fendor> how does wine on nixos work? trying it on nixos for the first time, so I actually just dont know how to use wine
<fendor> e.g. in combination with gog?
<fendor> alright, worked quite simple
<fendor> but alt tabbing does not work :(
hmpffff has joined #nixos
ckoparkar has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #62257 → firefoxPackages.tor-browser: 8.0.9 -> 8.5.0 → https://git.io/fj0rZ
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fj0oN
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<{^_^}> [cabal2nix] @peti merged pull request #420 → Section relates better to cabal2nix → https://git.io/fj0RN
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fj0Kt
Soo_Slow has quit [Remote host closed the connection]
buffet_ is now known as buffet
Shoubit has joined #nixos
toppler`` has quit [Ping timeout: 258 seconds]
toppler`` has joined #nixos
ilmu1 has joined #nixos
<Baughn> https://github.com/Mic92/nixos-shell <- Ooh, this is neat.
<Baughn> "Spawns a headless qemu virtual machines based on a vm.nix nixos module in the current working directory."
<Baughn> Mic92: I am _definitely_ making use of this. Thanks!
<Baughn> Does it require NixOS on the host side?
npmccallum has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
ilmu has quit [Ping timeout: 257 seconds]
ilmu1 is now known as ilmu
<{^_^}> [nixpkgs] @marsam merged pull request #62246 → datadog-agent: fix sha256 sum → https://git.io/fj02z
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj0Kx
FRidh has quit [Quit: Konversation terminated!]
<ottidmes> I am trying to workaround a broken Haskell package on NixOS, but when I try a newer version it still complains about the old version being marked broken. I tried: (trace hnix.name hnix) and it traces hnix-0.6.1 and gives error: Package ‘hnix-0.5.2’ in ... is marked broken. If I remove it, my config builds, so its not some old reference to the older hnix that causes the problem. At least its not directly
<ottidmes> referenced as such in my config
<Mic92> Baughn: no, but you want /dev/kvm to be readable by your user.
<Mic92> which is the case in NixOS
<Baughn> Pretty standard, then.
<Baughn> Hmm.
<Baughn> On starting the same (entirely empty configuration) VM twice, it hung on 'started d-bus system message bus' the second time.
<Shoubit> Is launching a server/servers in `shellHook` a bad idea? Is there a better place?
<Shoubit> (dependency)
<Baughn> ..can't reproduce. Odd.
<pie_> ottidmes, no idea but im making a wild guess that youre not doing a uhh ?deep override?
<pie_> ottidmes, i mean how are you overriding it
<pie_> (i.e. just overriding that one usage, as opposed to using an overlay style override or whatever=
<bahamas> ottidmes: when I had an issue with a package marked broken, I fixed it by using a different channel
<hodapp> hrm. anyone else using KiCad on NixOS? do symbol/footprint libraries require manual installation?
linarcx has quit [Quit: WeeChat 2.4]
<bahamas> more like went around than fixed it
weedloser has joined #nixos
<pie_> hodapp, i used it...a while ago so i cant remember what that means i think yes?
<pie_> hodapp, i think those libraries are a separate git repo arent they?
<hodapp> yeah... I am just trying to figure out why, when I import a schematic, it's complaining it can't even find GND
<pie_> hodapp, though i guess it could be neat / convenient if they were included
<pie_> hodapp, are you sure thats not a problem with the schematic?
<hodapp> I added all the github ones to the global libraries, and I see GND in the symbol editor
<pie_> i mean are you sure this is a missing files problem
schjetne has quit [Ping timeout: 248 seconds]
<pie_> and not "this message means something about the circuitry"
<bahamas> speaking of building Haskell packages. I'm trying to build one with an older compiler "ghc822". the problem is that nix tries to build a newer version of base. is there anything else I need to override to prevent this?
<pie_> hodapp, there is a kicad channel btw
Esa_ has joined #nixos
<hodapp> I am just going to see if someone else on hand has Altium and can convert the schematics for me since altium2kicad may have issues
<pie_> bahamas, easiest thing is probably to use a tree pinned to an older nixpkgs...of course that means a bunch of stuff will be outdated
<pie_> but maybe someone else has better ideas
<hodapp> but it puzzled me that it was able to handle common things like +3.3V and +5V fine, but couldn't match GND with GND
<pie_> hodapp, hm ok sounds like you have a clue, so i dunno *shrug*
<bahamas> pie_: I'm doing that already
<pie_> hodapp, there used to be problems with loading 3d models but i think (?) that got fixed
<johnw> does anyone know how to run rustup in a nix-shell? I get "error: no default toolchain configured"
<pie_> and is orthogonal
niksnut has quit [Quit: Lost terminal]
* pie_ runs off again
<bahamas> this is how my shell.nix looks like https://bpaste.net/show/82f5e4bb8936
<ottidmes> pie_: I made sure it was deeply overriden, which is reflected in the fact that hnix.name does report my change (and I have other packages that have been added that can be seen and have succesfully been installed)
<pie_> ottidmes, oh ok, thats good at least
o1lo01ol1o has quit [Ping timeout: 272 seconds]
<ottidmes> bahamas: I am now trying to use callCabal2nix, because I think its default.nix pins too much, if that does not work, I will just go the same route as you, and pin some nixpkgs for which it did work
<pie_> bahamas, not sure but this might help clean that up a little https://github.com/NixOS/nixpkgs/blob/0ced576a9e83f14a12e5ebf728d5f36ec93af0e6/lib/attrsets.nix#L424
<__monty__> bahamas: And you pin an old nixpkgs in nixpkgs.nix? I looks like you're trying to compile a more recent version of the package, which'll have a constraint on base that's not compatible with the one that comes with ghc822. You can try `doJailBreak` on the package but you should really look for a version of the package that's compatible with ghc822.
<pie_> damn tho 0_o not regretting not having used the haskell infra yet
<pie_> seems like a mess
<pie_> or just hard
<arianvp> It's not the greatest imo. But still nice
<arianvp> I've been eye-balling the haskell.nix project for quite a while, which is a redesign of Haskell infra
<ottidmes> bahamas: in case it helps, this is an overlay I am using for Haskell: https://gist.github.com/msteen/acd44d7a30fbdadc0f129ecac8586219
<pie_> arianvp, yeah i hang around but just havent had time to play with haskell in months :(
<hodapp> mleh, it's been years since I've done much in Haskell
<pie_> hodapp, what have you been using
<bahamas> __monty__: yes, I pinned an old nixpkgs. when you say I'm trying to compile a more recent version of the package, which package are you referring to?
schjetne has joined #nixos
<__monty__> bahamas: The one you're trying to build with ghc822.
<hodapp> pie_: mostly Go, Python, and C++.
<pie_> ouch
<pie_> :p
<pie_> hodapp, more or less headaches?
* hodapp shrugs
<hodapp> could really use some pattern matching and algebraic data types
<bahamas> __monty__: in my package's cabal file base is set to 4.10.*. none of the nix files have a version specified for base
<bahamas> __monty__: but I tried something else. I entered nix repl and did :l ./nixpkgs.nix. then I got this
<bahamas> nix-repl> haskell.packages.ghc822.base-noprelude
<bahamas> «derivation /nix/store/w4rxlnpbjpcknrl66pb7q9sgc9c0bm8a-base-noprelude-4.11.1.0.drv»
<bahamas> does that mean that the ghc822. will try to build 4.11.1.0 by default?
<__monty__> Ah, yes, ghc822 will build the version of base it comes with and apparently it comes with 4.11.1.0.
<bahamas> ottidmes: I don't know what overlays are, but I'll read up on that. thanks!
<bahamas> __monty__: so this page is wrong? https://wiki.haskell.org/Base_package
<__monty__> Hmm, that's suspicious. That base seems to belong to ghc842.
<bahamas> __monty__: here's my error https://bpaste.net/show/3442aa3d14c3
<bahamas> so it can't find base 4.11.1.0, which I assume it's because ghc822 doesn't come with that version
<bahamas> but at the same time ghc822.base-noprelude references that version
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59076 → nixos/printing: fix CUPS `SetEnv` directive placement → https://git.io/fjLHX
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj06B
<__monty__> Yes, that makes sense. Because the wiki page said it comes with 4.10.1.0, so next step is to override sparkle with `doJailbreak sparkle`.
<__monty__> > haskell.packages.ghc822.base-noprelude
<{^_^}> "<derivation /nix/store/yq1n86zqiihfp2diafp8y53imq3992d8-base-noprelude-4.12.0.0.drv>"
<__monty__> Curious.
<__monty__> > haskell.packages.ghc865.base-noprelude
<{^_^}> "<derivation /nix/store/1ia62ixzy3szi6a7x4lz8ahk71a4sdl6-base-noprelude-4.12.0.0.drv>"
<bahamas> __monty__: do I use `doJailBreak` like here https://github.com/Gabriel439/haskell-nix/blob/master/project4/README.md?
<__monty__> Yes.
<Baughn> Mic92: Useful indeed. That being said, I do _not_ think the default caching policy should be 'loose'.
<bahamas> __monty__: it's still trying base 4.11.1.0
mexisme_ has joined #nixos
<__monty__> Same error? Then the constraint on base might be in a conditional clause. doJailbreak doesn't touch those.
<Mic92> Baughn: how does it bite?
<Baughn> Mic92: Edited a file outside the VM. The edit did not show up inside it.
<bahamas> __monty__: where would the conditional clause be?
<gchristensen> Mic92: what do you think about the idea behind https://github.com/grahamc/nixpkgs/commit/4470e9cc08d8e3534341eda7304fb3ebc997b0e5
cmacrae has left #nixos ["ERC (IRC client for Emacs 26.2)"]
<Mic92> gchristensen: yes. This is also how I implemented it in networkd. I am just worried that it potentially could create quite a lot of units, which is a bit slow when sandboxing is enabled (one build per file).
<__monty__> bahamas: In sparkle's cabal file.
<gchristensen> Mic92: dunno... :)
<gchristensen> Mic92: okay, I'll rebase on master and send a PR
dontdieych has quit [Read error: Connection reset by peer]
mexisme_ has quit [Ping timeout: 272 seconds]
<bahamas> __monty__: the only references to base in sparkle.cabal, are these
<bahamas> 41: base,
<bahamas> 74: base >=4.10.1.0 && <5,
<bahamas> 95: base >= 4.8 && < 5,
<__monty__> Hmm, then where's the base == 4.11.1.0 constraint from your error coming from?
<Mic92> gchristensen: I am a bit biased to just use networkd in NixOS instead of maintaining script hackery for wireguard :)
<Mic92> Interestingly Jason liked the NixOS module though.
<gchristensen> yea
<Mic92> It scales well even with 10000s of peers.
<gchristensen> I would like for networkd to be the default
<bahamas> __monty__: I don't know. grepping the entire project, doesn't yield any results for "4\.11"
<gchristensen> the existing module works fine as long as you don't regularly change peers, and they all come up properly :)
<__monty__> bahamas: Can you post the error again, the paste 404s.
<gchristensen> since it tears everything down every time a peeris changed, it is not nice for anything resembling a dynamic deployment
<Mic92> that make sense.
mnoronha has joined #nixos
<{^_^}> [nix] @ln-nl opened pull request #2905 → release-common: fix build with `config.allowAliases = false` → https://git.io/fj06V
<Mic92> I think there should be a faster way in nix to create plain text files, which does not require a full-blown build environment.
<Mic92> That would make NixOS upgrades faster.
<mnoronha> Can someone help me understand sandboxed environments? I'm a bit confused by the docs
<__monty__> bahamas: Hmm, so the constraint's from base-noprelude-4.11.0.0, that's sensible I guess but I don't know why it's trying to build that.
<Mic92> mnoronha: if you want the full story, you can watch my NixCon talk about it.
<mnoronha> Mic92: Is it on youtube?
<Mic92> mnoronha: yes.
<mnoronha> Mic92: Great, I'll go check it out :)
<gchristensen> Mic92: does writeTextFile do complicated setup?
<gchristensen> oops not that one. isn't there a builtin for this
<__monty__> > haskell.packages.ghc822.base-noprelude # bahamas, this is weird though, why would a GHC's package set include packages that are too new to be built with the GHC?
<{^_^}> "<derivation /nix/store/yq1n86zqiihfp2diafp8y53imq3992d8-base-noprelude-4.12.0.0.drv>"
<bahamas> __monty__: good question. where would that be specified?
<Mic92> gchristensen: no, it is implemented with runCommand.
<Mic92> builtins.toFile could be used I thin
<Mic92> think
<gchristensen> Mic92: yeah, toFile. looks like that might be much faster
<Mic92> gchristensen: but maybe not, because it can be executable.
<Mic92> but as a workaround, we could check in the function for the flag.
<gchristensen> right
drakonis_ has joined #nixos
<bahamas> does anyone know what specifies the version of the derivation printed above by the {^_^} bot?
<Mic92> > lib.version
<{^_^}> "19.09pre-git"
zgrep has quit [Ping timeout: 264 seconds]
<__monty__> I'm not sure why that package is not in the configuration-ghc-x.y.z.nix overrides per GHC version.
fendor has quit [Ping timeout: 244 seconds]
drakonis1 has joined #nixos
<__monty__> It's clearly closely tied to base.
<Mic92> > builtins.readFile .git/refs/heads/master
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs/.git/refs/heads/master' is forbidden in restricted mode
<Mic92> interesting
zgrep has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
<bahamas> __monty__: so this is an issue with nixpkgs? what can I do?
<mnoronha> Mic92: You say sandboxing is enabled by default on nixos > 18.09. Does that mean my issue here isn't related to sandboxing: https://github.com/NixOS/nixpkgs/pull/60002 ?
<{^_^}> #60002 (by andersk, 5 weeks ago, merged): pytorch: Move cudatoolkit to nativeBuildInputs
<mnoronha> I'm running nixos 19.03
<__monty__> But for now, bahamas, add to your overrides `base-noprelude = haskellPackagesOld.callHackage "base-noprelude" "4.10.1.0" {};
drakonis1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « vivaldi: 2.5.1525.46-1 -> 2.5.1525.48-1 »: https://git.io/fj06H
drakonis has joined #nixos
<Mic92> mnoronha: cuda is not build by hydra due to licensing. So issues could slip through
<pie_> Mic92, damn that sucks
drakonis_ has quit [Ping timeout: 250 seconds]
<Mic92> mnoronha: yes, you should have sandbox enabled then.
drakonis_ has joined #nixos
<mnoronha> Hm okay. Do you know if I can expect it to build and run within a nix-shell at all?
drakonis has quit [Read error: Connection reset by peer]
thc202 has quit [Read error: Connection reset by peer]
<bahamas> __monty__: thank you. that worked. I also had to use lib.dontHaddock to bypass an error
<__monty__> 👍
<pie_> mnoronha, define run
<pie_> ah sorry misread, nevermind
<mnoronha> pie_: I just want an environment where pytorch with cuda is available
o1lo01ol1o has joined #nixos
<mnoronha> pie_: Right now, it builds without cuda, using this config: https://github.com/NixOS/nixpkgs/pull/60002#issuecomment-497214891
<pie_> mnoronha, you should write a post or tutorial or something if you get it working, i think people have asked about this before
<pie_> (or see if there's any posts already)
<mnoronha> pie_: Yea for sure, as soon as I feel a bit more confident I know what's going on :)
<pie_> mnoronha, you miiiiight find some information by searching in the channel logs as well (worth a shot at least)
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 248 seconds]
thc202 has joined #nixos
<{^_^}> [nixpkgs] @minijackson opened pull request #62259 → vimPlugins.gruvbox: change to gruvbox-community's fork → https://git.io/fj0iI
ricekrispie2 has joined #nixos
ricekrispie has quit [Ping timeout: 245 seconds]
<bahamas> I have this derivation https://bpaste.net/show/9a286c4ee5ab for the package I'm trying to build. the problem occurs, because `gradle` is not available while building a dependency of `jvm-streaming` during the setup phase. how can I make `gradle` available at that time?
<{^_^}> [nixpkgs] @bricewge opened pull request #62260 → yubikey-manager: add zsh completion and manual → https://git.io/fj0i8
<pie_> bahamas, can you add it to the dependency?
knupfer has joined #nixos
<bahamas> pie_: if you mean to add it to setupHaskellDepends, I tried that but the error didn't go away
<pie_> bahamas, i mean the dependency that is missing the gradle dependency
<pie_> i dont know anything about this haskell stuff, but in general with nix i think thats what would be done, and then the jvm-thingy would need to get the overridden thing as its input
<pie_> which is usually solved by either manually overriding it, or by overriding it in the corresponding overla
<pie_> idk what your level of expertise is, does that make sense?
erasmas has joined #nixos
<mnoronha> pie_: It might be too early to say for sure, but I think I'm in the process of building it with cuda :)
<{^_^}> [nixpkgs] @bricewge opened pull request #62261 → yubikey-manager-gui: revert part of 2e359d9 → https://git.io/fj0iE
<pie_> congrats \o/
<pie_> good luck and i wish you minimal hair loss :p
wfranzini has quit [Remote host closed the connection]
<bahamas> pie_: I'm assuming you mean I should override the default derivation for jvm-batching and add that it should depend on gradle, right?
<pie_> bahamas, you said it was something that depends on jvm-batching that is having the problem?
<pie_> but yeah thats bsaically what i meant
<pie_> (there might be a case where propagatedBuildInputs is justified but im not sure)
civodul has joined #nixos
<bahamas> pie_: jvm-streaming depends on jvm-batching and the latter fails to build, because it can't find gradle
<pie_> right, so add it to it i think
<bahamas> pie_: do you know how I can see the source of a derivation?
<pie_> well you should be able to find it by searching for its name, but if youre using the repl (there's also a way with nix eval that I cant remember offhand) unsafeGetAttrPos *might* help
<pie_> probably best off just using grep
arjen-jonathan has quit [Ping timeout: 250 seconds]
<pie_> at least, thats what i would try
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/198afad520d (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #62262 → lib/make-ext4: bump fudge factor to 96 MiB → https://git.io/fj0ir
<bahamas> pie_: thanks. I'll continue tomorrow. have a good day/evening
Anton-Latukha has joined #nixos
<pie_> bahamas, o/
bobvanderlinden_ has joined #nixos
alp has quit [Remote host closed the connection]
fendor has joined #nixos
alp has joined #nixos
bahamas has quit [Quit: leaving]
<yorick> adisbladis: I'm seeing vgo2nix deadlock on ipfs, sadly
<yorick> it just does a whole bunch of "finished fetching" then stops existing
<adisbladis> Hmm I have a feeling what that might be
fendor_ has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
fasd has joined #nixos
gagbo has joined #nixos
das_j has quit [Quit: "Bye!";]
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
Izorkin has joined #nixos
<{^_^}> adisbladis/vgo2nix#16 (by kalbasit, 12 weeks ago, open): vgo2nix hangs if the repository has more than a hundred dependency
das_j has joined #nixos
<adisbladis> yorick: Yes. I believe so.
alex`` has quit [Quit: WeeChat 2.4]
<rfold> Is there an APT package that does a multi-user Nix install?
alex`` has joined #nixos
<simpson> That is a fascinating concept! I'm not sure; I know that some .deb packages are generated, but I don't think that there's any that interact with Debian's service subsystem.
<adisbladis> rfold: I don't know when it becomes usable or if it already is: https://ftp-master.debian.org/new/nix_2.2.1-2.html
<rfold> adisbladis: Thanks, I'll take a look.
<adisbladis> yorick: I pushed a fix
alex`` has quit [Ping timeout: 258 seconds]
mkaito has quit [Quit: ZNC 1.7.2 - https://znc.in]
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
<mnoronha> Oh man, it (building pytorch from source) reported using cuda through like 90% of the build output, and then when running the tests was like "CUDA not available, skipping tests" :(
<mnoronha> jk that was a lie, it works!
<mnoronha> ah the emotional rollercoaster :p
<yorick> adisbladis: thanks, I'm giving up on ipfs for now
ddellacosta has joined #nixos
fendor_ has quit [Ping timeout: 248 seconds]
alex`` has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
shibboleth has joined #nixos
mnoronha has quit [Ping timeout: 256 seconds]
Thra11 has joined #nixos
linarcx has joined #nixos
mkaito has quit [Quit: ZNC 1.7.2 - https://znc.in]
Shoubit has quit [Ping timeout: 248 seconds]
tokudan has quit [Quit: ZNC 1.7.2 - https://znc.in]
ottidmes has quit [Quit: WeeChat 2.4]
Neo-- has joined #nixos
tokudan has joined #nixos
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has quit [Client Quit]
freeman42x has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
judson has joined #nixos
ddellacosta has quit [Ping timeout: 248 seconds]
thc202 has joined #nixos
<Baughn> Dunno.
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/50d5d73e22b (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<gchristensen> they're not in nixpkgs.config, they're in nixos.config
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
weedloser has quit [Quit: Leaving]
asheshambasta_m has joined #nixos
Thra11 has quit [Ping timeout: 272 seconds]
<Izorkin> delroth: found new errors - https://pastebin.com/wpF1XzAU
<Izorkin> error in nginx and dovecot
niksnut has joined #nixos
circ-user-xzBp7 has joined #nixos
circ-user-xzBp7 is now known as Leira
Leira is now known as Le1r3
Le1r3 is now known as L31ra
knupfer has joined #nixos
alex`` has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/38fdc9f8f84 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
Izorkin has joined #nixos
alex`` has joined #nixos
schjetne has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
ckoparkar has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
zertox has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
toppler`` has quit [Ping timeout: 244 seconds]
blumenkranz has joined #nixos
<blumenkranz> Hello. Has anyone managed to get SDDM to work with sway?
<blumenkranz> It's not detecting the session for me
toppler`` has joined #nixos
schjetne has joined #nixos
zertox has quit []
scott is now known as riot_scott
PLPD-Bot has quit [Ping timeout: 272 seconds]
alex`` has quit [Ping timeout: 245 seconds]
riot_scott has quit [Killed (wolfe.freenode.net (Nickname regained by services))]
zertox has joined #nixos
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
Guest84315 has joined #nixos
Guest84315 is now known as scott
scott has quit [Changing host]
scott has joined #nixos
scott has joined #nixos
mkaito has quit [Quit: ZNC 1.7.2 - https://znc.in]
rfold has quit [Ping timeout: 248 seconds]
MmeQuignon has quit [Ping timeout: 248 seconds]
alex`` has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<wucke13> Has any one over here used OMSA (Dell Open Management Server Administrator software) on NixOS? I would be glad to hear your story!
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
Izorkin has joined #nixos
ris has joined #nixos
zeta_0 has joined #nixos
blumenkranz has quit [Quit: WeeChat 2.4]
filedesless has joined #nixos
rfold has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.4]
Diagon has joined #nixos
<{^_^}> [nixpkgs] @benley merged pull request #62260 → yubikey-manager: add zsh completion and manual → https://git.io/fj0i8
<{^_^}> [nixpkgs] @benley pushed commit from @bricewge to master « yubikey-manager: add zsh completion and manual (#62260) »: https://git.io/fj01G
mexisme_ has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
qitta[m] has joined #nixos
dansho has joined #nixos
qoy has joined #nixos
horner has quit [Quit: zzZzZzZzZZZzzz…]
<matthewbauer> blumenkranz: i think this will make it possible: https://github.com/NixOS/nixpkgs/pull/56988
<{^_^}> #56988 (by bkchr, 12 weeks ago, open): Plasma5: Use upstream xsession/wayland-session files
<matthewbauer> hopefully we can include it in 19.09
<matthewbauer> but it sounds like there is some breakage
scott has quit [Quit: Updating details, brb]
scott has joined #nixos
qoy has quit [Read error: Connection reset by peer]
qoy has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61423 → nixos/desktop-managers: let them work when 'services.xserver.enable = false' → https://git.io/fjW8u
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fj01u
qitta[m] has left #nixos ["User left"]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #61716 → nixos/all-firmware.nix: only include firware for the host platform → https://git.io/fj8Db
nD5Xjz has quit [Ping timeout: 248 seconds]
nD5Xjz has joined #nixos
freeman42x has joined #nixos
mkaito has quit [Quit: ZNC 1.7.2 - https://znc.in]
npmccallum has quit [Remote host closed the connection]
qoy has quit [Read error: Connection reset by peer]
scott is now known as riot_scott
riot_scott is now known as scott
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
shibboleth has quit [Remote host closed the connection]
sobol_ has quit [Quit: leaving]
<filedesless> hello
<filedesless> anyone got a working offlineimap setup with libkeepass?
qubasa_ has quit [Ping timeout: 268 seconds]
qubasa has joined #nixos
qoy has joined #nixos
qoy has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Izorkin opened pull request #62263 → unit: 1.8.0 -> 1.9.0 → https://git.io/fj01w
sheeldotme has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2c074fc6c8d (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #61104 → nixos/plasma5: Remove phonon-backend-gstreamer pinned to Qt 5.6 → https://git.io/fjczr
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj01d
ckoparkar has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #62264 → thefuck: 3.28 -> 3.29 → https://git.io/fj0Mv
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @Yarny0 to release-19.03 « nixos/printing: fix CUPS `SetEnv` directive placement »: https://git.io/fj0MT
wfranzini has joined #nixos
qoy has joined #nixos
qoy has quit [Read error: Connection reset by peer]
goibhniu1 has quit [Ping timeout: 272 seconds]
horner has joined #nixos
<gchristensen> anyone want a yak to shave? :D
<manveru> don't tempt me :D
<gchristensen> sounds promising, I'll give it a go
sheeldotme has quit [Read error: Connection reset by peer]
<gchristensen> I use nixos containers inside a machine I deploy with nixops. that machine uses bindMounts to mount files from the host in to the container: https://github.com/grahamc/network/blob/master/ogden/default.nix#L183-L188 those keys are provided by nixops send-keys: https://github.com/grahamc/network/blob/master/ogden/default.nix#L241 if I want to add a new bind-mounted key, I have to reboot the whole server
drakonis has quit [Read error: Connection reset by peer]
<manveru> while that sounds tempting, i only have an hour left today... so not gonna even try it
o1lo01ol1o has quit [Remote host closed the connection]
Jetien_ has joined #nixos
o1lo01ol1o has joined #nixos
qoy has joined #nixos
qoy has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
nckx is now known as god
<filedesless> weird flex but okay
god is now known as nckx
Thra11 has joined #nixos
ambro718 has joined #nixos
Jetien_ has quit [Ping timeout: 246 seconds]
mitch-1002 has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
<mitch-1002> Hey, I'm new to Nix (NixOS), and I'm trying to install some Haskell packages.
<filedesless> o/
<mitch-1002> I'm currently having an issue with the Chart package; I think Nix has lens at version 4.18, which is compatible with Chart 1.9.1, but not with Chart 1.9
troydm has joined #nixos
<mitch-1002> From looking at the pkgs/development/haskell-modules/hackage-packages.nix file, it seems Chart should be 1.9.1, but it keeps trying to build 1.9 which fails because of the wrong version of lens.
<mitch-1002> Does anyone know how I can pin a different version of Chart (and possibly why it's not already building 1.9.1)?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
troydm has quit [Client Quit]
Soo_Slow has joined #nixos
roslavets has joined #nixos
fenedor has joined #nixos
<roslavets> Hi, I'm looking for some help with the buildGoModule function, I don't understand how to generate the modSha256 parameter
troydm has joined #nixos
roslavets has quit [Client Quit]
roslavets has joined #nixos
<roslavets> anybody?
fendor has quit [Ping timeout: 246 seconds]
MmeQuignon has joined #nixos
schjetne has quit [Ping timeout: 258 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
rfold has quit [Quit: WeeChat 2.4]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<{^_^}> [nixpkgs] @mmlb opened pull request #62265 → Update packet python → https://git.io/fj0MH
<{^_^}> [nixpkgs] @yrashk opened pull request #62266 → urweb: 20180616 -> 20190217 → https://git.io/fj0MF
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/aa440d87866 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
roslavets has quit [Quit: Page closed]
L31ra has quit [Remote host closed the connection]
<manveru> oh, he's gone :(
<manveru> damn kids these days
troydm has joined #nixos
qoy has joined #nixos
qoy has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Ma27 merged pull request #62264 → thefuck: 3.28 -> 3.29 → https://git.io/fj0Mv
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fj0Dv
<mitch-1002> Anyone got any ideas about how to pick a certain version of a Haskell package?
<clever> mitch-1002: haskellPackages.callHackage
<mitch-1002> @clever Thanks; do you know how I can call that from my default.nix generated by cabal2nix?
<clever> mitch-1002: can you gist that file?
<clever> mitch-1002: yeah, that will be loaded by callPackage in another file, that other file is where you want callHackage
<mitch-1002> Oh right, yeah, I'm calling it from another file. I'll try to call it from there.
<clever> then you can just nix-build -A ray-tracer
<clever> 183 callHackageDirect = {pkg, ver, sha256}@args:
<clever> and this variant exists, if the version you want isnt in all-cabal-hashes
acarrico has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @0x4A6F opened pull request #62267 → routinator: init at v0.3.3 → https://git.io/fj0Dc
<mitch-1002> I'm getting "error: undefined variable 'haskellPackages'"
<mitch-1002> I assume I need to import something, but not sure where/how exactly
<filedesless> I assume that would be pkgs.haskellPackages?
<mitch-1002> clever: I've found haskellPackages (pkgs.haskellPackages), but it's saying "attempt to call something which is not a function but a set" on that line
<mitch-1002> filedesless: Yep, thanks. Just figured it out :P
mac10688 has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
jackdk has quit [Ping timeout: 246 seconds]
<mitch-1002> Ok, not sure what I changed, but it's working now, thanks. It's not finding the right version of the package for some reason, but hopefully I can figure it out from here.
__monty__ has quit [Quit: leaving]
ambro718 has quit [Ping timeout: 245 seconds]
<clever> mitch-1002: you probably want callHackageDirect instead
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/55df3fe5f3f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<clever> it takes a set containing a pkg, ver, and sha256
<clever> followed by the normal callpackage empty-set
<clever> so, callHackageDirect { pkg="foo"; ver="foo"; sha256="foo"; } {};
mac10688 has quit [Quit: WeeChat 1.9.1]
schjetne has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
iceychris[m] has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<fasd> will nixos-rebuild --upgrade update my nixpkgs?
Soo_Slow has quit [Remote host closed the connection]
fenedor has quit [Quit: Leaving]
shah^ has quit []
<clever> fasd: yes
<fasd> so if I put services.nixos.autoUpgrade or whetever in configuration.nix, will I never need to worry about updating stuff?
<fasd> including local packages?
<colemickens> Hi. It feels like a long time since nixos-unstable has been really far behind. Just wanted to say thank you for that!
vs^ has joined #nixos
<colemickens> Hi. It feels like a long time since nixos-unstable has been really far behind. Just wanted to say thank you for that!
<colemickens> Oh god, Matrix might be messing up :S
<clever> fasd: i try to avoid autoUpgrade, it tends to waste disk space and make things update when your not expecting, causing random changes/breakage
<fasd> ah, ok. thanks
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
alp has quit [Remote host closed the connection]
schjetne has quit [Ping timeout: 248 seconds]
fionnan has quit [Ping timeout: 248 seconds]
jackdk has joined #nixos
Ariakenom has quit [Quit: Leaving]
qoy has joined #nixos
qoy has quit [Client Quit]
mnoronha has joined #nixos
<{^_^}> [nixpkgs] @dasJ opened pull request #62269 → nixos/bird: Fix reload → https://git.io/fj0y0
Wharncliffe has joined #nixos
<mnoronha> I know this is unlikely, but is there anyone around who's familiar with pytorch configuration?
erasmas has quit [Quit: leaving]
<mnoronha> I got it to build with cuda support earlier today, but I get a segfault whenever I try to `loss.backwards` on the gpu
<mnoronha> fwiw, I did build a old version, 1.0.0
ddellacosta has joined #nixos
mnoronha has quit [Ping timeout: 256 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
o1lo01ol1o has joined #nixos
Supersonic has quit [Ping timeout: 252 seconds]
thc202 has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
m0rphism has quit [Ping timeout: 244 seconds]
dftxbs3e has quit [Quit: Leaving.]
ddellacosta has quit [Ping timeout: 248 seconds]
Supersonic has joined #nixos
hmpffff has quit [Quit: nchrrrr…]