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]
<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]
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]
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]
<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
<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
<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.
<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?
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
<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]
<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.
<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]
<{^_^}>
[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
<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
<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"
<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
<__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
<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
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
<{^_^}>
[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?
<{^_^}>
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 ?
<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]
<{^_^}>
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.
<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
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]
<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
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]
<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
<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