<Netsu>
ok, so at top-level nix expression I would to `mypkg.override { newFlag = valueThatDependOnArgument }` which I got as imported from the overlay
<infinisil>
That however is not possible with what I showed
<Netsu>
so if I would use additional arguments set, it wouldn't join to the original one, is it? So I woldn't able to override it later, right?
mexisme has joined #nixos
<infinisil>
Generally yeah, .override is usually just for the arguments of a single function
<infinisil>
Try to play around with pkgs.callPackage and see how it works
<Netsu>
looks like I need kinda currying =)
<infinisil>
I suggest just defining a new function
<infinisil>
Instead of trying to force .override into taking another argument, which is ugly to do
<infinisil>
As I showed above
<infinisil>
Then use `pkg { newFlag = false; }` to get the customized versionr
mexisme has quit [Ping timeout: 258 seconds]
qubasa has joined #nixos
<Netsu>
infinisil: maybe it would work, if I do something like: `args@{ newFlag ? true, ... }: pkg.override { inherit (args) ... }`
<Netsu>
not a valid nix yet, though..
<Netsu>
and it wouldn't still accept the new flag, doh
<infinisil>
I really can't guess anymore what you're trying to do..
mexisme has joined #nixos
qubasa_ has quit [Ping timeout: 272 seconds]
<infinisil>
If you have a problem, act as if this is an issue tracker and post a way to reproduce the problem, show how far you've gotten
<infinisil>
It's really hard to help otherwise
Netsu35 has joined #nixos
<Netsu35>
infinisil: Maybe your suggestion is most practical for now, thanks. But inconsistent a little.
MmeQuignon has quit [Ping timeout: 248 seconds]
<Netsu35>
infinisil: thank you for help anyway
<infinisil>
Alright np
Netsu has quit [Ping timeout: 260 seconds]
zacts_pi has quit [Quit: WeeChat 2.4]
lstanley has quit [Remote host closed the connection]
slack1256 has joined #nixos
alpounet has joined #nixos
alp has quit [Ping timeout: 252 seconds]
xcthulhu has joined #nixos
___laika has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fji1m
<{^_^}>
[nixpkgs] @Ma27 opened pull request #64463 → nixos/graylog: minor fixes, add test → https://git.io/fji1Y
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fji1l
Netsu has joined #nixos
root has joined #nixos
root has quit [Changing host]
Miyu-chan has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
Netsu35 has quit [Ping timeout: 260 seconds]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
sigmundv has quit [Ping timeout: 245 seconds]
kvda has joined #nixos
<switchy>
there's probably no easy way to search for packages which depend on a certain package, is there? I'm trying to figure out how to make pygtk3 stuff work, which uses typelib files in lib/girepository-1.0. the gtk and gtksource packages put thier typelib files there, but pango doesn't
<Riley>
Is there still any way to get unified GTK and Qt styling? On my Arch box I had qt5ct which seemed to work, and there's documentation about `qt5.qtbase.gtk` in NixOS but that seems to be out of date
<ivan>
0.2 seconds without an index on 4 cores :-)
fionnan has joined #nixos
<switchy>
ah whatever, I did pangoEnv = pkgs.buildEnv { name = "pango"; paths = [ pango.out ]; }; in my config.nix, seems to have worked
hio has quit [Quit: Connection closed for inactivity]
<AnswerGuy>
Okay, then what do I do to rebuild/update the OS after modifying that file? (Yes, I really am that green on NixOS)
<gchristensen>
after editing /etc/nixos/configuration.nix, sudo nixos-rebuild switch
Netsu has joined #nixos
hlolli has quit [Ping timeout: 252 seconds]
<AnswerGuy>
Oh, so "nixos.config" is shorthand for /etc/nixos/configuration.nix ... (in that StackExchange article)?
<gchristensen>
I don't know what nixos.config is
<gchristensen>
ah. the answer says "nixos config", and yeah, by default config lives at /etc/nixos/configuration.nix
<AnswerGuy>
Yeah, from the linked article; looks like the writer was being imprecise or referring to some other configuration alternative.
<gchristensen>
which article?
___laika has joined #nixos
<AnswerGuy>
The one I linked to ... you just commented on it. (article == answer on StackExchange)
<gchristensen>
right. they weren't being imprecise, I think you misread it a bit -- they say "the nixos config" , where you read it to say "the nixos.config" -- the dot makes it seem much more precise, but there is not one
<gchristensen>
(anyway, it doesn't matter, we sorted it :))
<AnswerGuy>
Yeah, might be time for me to get reading glasses. Fonts seem smaller than they used to. Not sure how much of that is modern displays and GUI settings and how much is age. :)
stepcut has quit [Remote host closed the connection]
eyjhb_ has joined #nixos
kipari_ has joined #nixos
raoul has quit [Quit: Ping timeout (120 seconds)]
plp_ has quit [Remote host closed the connection]
selfsymmetric-pa has quit [Ping timeout: 246 seconds]
eyJhb has quit [Remote host closed the connection]
kipari has quit [Ping timeout: 246 seconds]
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
plp_ has joined #nixos
raoul has joined #nixos
zacts_pi has quit [Quit: WeeChat 2.4]
gausby_ has quit [Read error: Connection reset by peer]
gausby_ has joined #nixos
Mister_Magister has quit [Ping timeout: 246 seconds]
teehemkay has quit [Ping timeout: 246 seconds]
teehemkay has joined #nixos
Cheery has quit [Ping timeout: 246 seconds]
Mister_Magister has joined #nixos
Cheery has joined #nixos
Riley has quit [Remote host closed the connection]
<lordcirth__>
Zoom in, it's cheaper :P
<jackdk>
stop using grey-on-grey websites :p
<AnswerGuy>
So I just did a stupid cut-n-paste: nixops create network/network.nix network/network-vbox.nix -d bitcoin-node
<AnswerGuy>
... but I meant to do that as: nixops create network/network.nix network/network-vbox.nix -d bitcoin-node
<AnswerGuy>
... but I meant to do that as: nixops create network/network.nix network/network.nix -d bitcoin-node
<AnswerGuy>
NOT "vbox"
<AnswerGuy>
How do I delete any artifacts created by that -d bitcoin-node?
<AnswerGuy>
(Or roll them back out of existence, or whatever)?
<AnswerGuy>
(In other words how do I get rid of this issue: "state file contains multiple deployments with the same name"
slack1256 has quit [Ping timeout: 245 seconds]
<gchristensen>
nixops
<gchristensen>
oops
<gchristensen>
list the deployments (nixops list I think,) then delete the one you don't want (nixops delete I think)
<AnswerGuy>
Thanks.
hlolli has joined #nixos
ym555 has quit [Ping timeout: 248 seconds]
<AnswerGuy>
hmmm, it complains that one of those "still has resources" (even though I don't have VirtualBox installed, so that deployment failed)
<AnswerGuy>
So, how do I truly nuke that deployment and all associated resources?
Soo_Slow has quit [Remote host closed the connection]
ym555 has joined #nixos
<lordcirth__>
AnswerGuy, you need to 'destroy' before you can delete.
<lordcirth__>
(carefully)
rotaerk has quit [Remote host closed the connection]
hlolli has quit [Remote host closed the connection]
<AnswerGuy>
Yeah this system is just dev for now; I'll nuke the whole system and start from scratch before I go into production.
lopsided98 has quit [Ping timeout: 264 seconds]
<AnswerGuy>
But, thanks for the warning. :)
lopsided98 has joined #nixos
rotaerk has joined #nixos
Riley has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Riley>
Came on earlier but had to disconnect, in light of https://github.com/NixOS/nixpkgs/issues/20017 is there any way to set Qt apps to use my GTK theme? I swear qt5ct worked on Arch, but the gtk2 style plugin doesn't show up for me even with qt styleplugins installed...
<{^_^}>
#20017 (by ambrop72, 2 years ago, open): Cannot make Qt 5 applications look like GTK applications
<day|flip>
networking.wireless.iwd.enable = true; to enable it
<zacts_pi>
nice, thanks
<day|flip>
I only been testing this at home. i have not try thing like coffee shop
markus1189 has quit [Ping timeout: 244 seconds]
<zacts_pi>
ok
<zacts_pi>
worst case scenario I'll just reboot back into what I currently have
<zacts_pi>
s/reboot/rollback/
<Riley>
iwctl has been amazing compared to wpa_cli and networkmanager
<Riley>
At least in my experience
<zacts_pi>
nice
Riley has quit [Remote host closed the connection]
ilikeheaps has joined #nixos
sushi_ has quit [Ping timeout: 258 seconds]
markus1189 has joined #nixos
Drakonis has quit [Quit: WeeChat 2.4]
<selfsymmetric-mu>
I just get `Waiting for IWD to appear...`.
<selfsymmetric-mu>
If I were to switch I'd want to replace `nmcli radio wifi off/on`, `nmcli dev wifi`, and `nmcli radio wifi`.
<zacts_pi>
selfsymmetric-mu: maybe you have to also disable networkmanager?
<zacts_pi>
I'll test it out too in just a bit
<selfsymmetric-mu>
zacts_pi: I removed my `service.network.networkmanager = true` line, so I thought I did.
<selfsymmetric-mu>
Thanks though!
<zacts_pi>
selfsymmetric-mu: I think you'll need networking.wireless.enable = false; and either remove the netowrking.networkmanager.enable = true; line or set it to false first
<zacts_pi>
the main line that needs to be explicitly set is networking.wireless.enable = false; I think
<zacts_pi>
I'll test it out once I'm done with this project I'm working on
<zacts_pi>
(I need my current connection for a bit)
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<elvishjerricco>
Since nixpkgs requires Nix 2.0 now, can't we use fetchGit in order to callPackage the nix expression in a repo without using IFD or recursive Nix?
Miyu-chan has quit [Quit: WeeChat 2.4]
<elvishjerricco>
Same with fetchTarball for tar'ed sources?
zacts_pi has quit [Quit: WeeChat 2.4]
Miyu-chan has joined #nixos
<selfsymmetric-mu>
zacts_pi
<selfsymmetric-mu>
zacts_pi: No dice, sorry. But nmcli was been working for me so that's okay. Thanks anyway though!
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<teto>
does someone know how to control firefox's current working directory. I can't unfold the nixos test logs with firefox because it can't find the js file (relative path). It works fine with qutebrowser
day|flip has quit [Remote host closed the connection]
knupfer has joined #nixos
knupfer has quit [Client Quit]
zacts_pi has joined #nixos
knupfer has joined #nixos
kcalvinalvin has joined #nixos
<zacts_pi>
selfsymmetric-mu: I'm chatting via iwd right now on a home network
<zacts_pi>
it's working for me here
<zacts_pi>
I will test it out on my university network tomorrow
<ajirx>
lj1jhjkkk
<ajirx>
hmm, sorry
m0rphism has joined #nixos
___laika has quit [Quit: WeeChat 2.4]
knupfer has quit [Ping timeout: 250 seconds]
<pie_>
so do i add cnijfilter to my system.printing.drivers or what
<pie_>
ok apparently yes
<pie_>
damn looks like i already added it
<pie_>
im looking at a canon mx515 with no idea what to do with it
<pie_>
hmm something suggests it might be covere dby whatever gutenprint-ppd is
jedai has quit [Ping timeout: 246 seconds]
kiloreux has joined #nixos
adamantium has joined #nixos
<kiloreux>
How can I clean my s3 nix binary cache ?
<kiloreux>
Garbage collect i mean
<kiloreux>
Couldn't find anything about it online
<srhb>
kiloreux: There isn't really any way to do that.
<srhb>
kiloreux: THere are some hacky scripts floating around but none really work well.
rprije has quit [Ping timeout: 245 seconds]
<kiloreux>
Ahh :( . So what would you recommend? Just setting up a new s3 bucket?
palo1 has joined #nixos
<srhb>
kiloreux: THe only way I've found using an S3 bucket pleasant is by never deleting anything.
<srhb>
Like the cache.nixos.org one.
<kiloreux>
Doesn't that slow down things on the downloading endpoint?
<kiloreux>
Or I am just looking in the wrong places.
zacts_pi has quit [Quit: WeeChat 2.4]
<srhb>
What do you mean "downloading endpoint" ?
<srhb>
I don't know if S3 scales poorly with number of objects, but I would be very surprised if it does in any meaningful way.
<srhb>
THen again, most of the internet is shit, so.. :-)
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
<kiloreux>
I mean my machine downloading the objects slowly. (Compared to when the binary cache was smaller)
<srhb>
I doubt it.
<srhb>
You're querying known hashes each time, I expect the lookup time to be extremely small.
<kiloreux>
Thank you very much srhb . It seems I have been looking in the wrong place.
<kiloreux>
You probably saved me lots of time. Thanks.
<{^_^}>
[nixpkgs] @vcunat pushed 4 commits to release-19.03: https://git.io/fjiDM
zacts_pi has joined #nixos
zacts_pi has quit [Client Quit]
zacts_pi has joined #nixos
robstrrr has joined #nixos
<robstrrr>
Good morning, facing a "SSL peer certificate or SSH remote key was not OK (60)" error while running "nixos-rebuild switch" which is unable to download the cache. I have the feeling I'm just facing this issue in the company network - some ideas how to resolve the issue ?
endformationage has quit [Quit: WeeChat 2.5]
<clever>
robstrrr: is the date/time correct?
hyper_ch2 has joined #nixos
orivej has joined #nixos
<robstrrr>
clever, yes it is - I had the same issue yesterday but in a different network it was working. I believe it has to do with the company settings
<clever>
robstrrr: captive portals?
newspecies has joined #nixos
<dminuoso>
Or generally a sneaky/misbehaving/buggy DNS resolver?
<robstrrr>
clever, should be no restriction. Everything else works
Arahael has joined #nixos
<robstrrr>
dminuoso, how could I verify this ?
<dminuoso>
robstrrr: Do you see the hostname in question?
<clever>
robstrrr: what IP does `dig` return, both inside and outside the network?
clacke_movim has left #nixos [#nixos]
<dminuoso>
robstrrr: I would honestly also use wireshark.
<robstrrr>
dminuoso, the complete message is: "warning: unable to download 'https://cache.nixos.org/.....narinfo': SSL peer certificate or SSH remote key was not OK (60) retrying"
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso>
robstrrr: Compare `dig cache.nixos.org` with `host cache.nixos.org`
alpounet has quit [Ping timeout: 252 seconds]
kvda has joined #nixos
<dminuoso>
Or `dig A cache.nixos.org +short` if you prefer
<dminuoso>
All answers should give you a single A record with `151.101.14.217`
<robstrrr>
dminuoso, unfortunatly dig is not avail. and installing it right now not possible due to this error. - host cache.nixos.org did not list this ip (similiar ones like : 151.101.66.217)
Yakulu has left #nixos ["Disconnected: Received SIGTERM"]
<dminuoso>
robstrrr: Wait until `dig` is available.
<robstrrr>
dminuoso, thanks for the help
<dminuoso>
(`host` uses your system resolver afaik, so its subject to any potential caching going on in there)
Yakulu has joined #nixos
robstrrr has quit [Remote host closed the connection]
<dminuoso>
Oh interesting, `host` is actually quite similar to `dig`.
<dminuoso>
Seems I was wrong.
hyper_ch2 has quit [Remote host closed the connection]
kiloreux has quit [Remote host closed the connection]
inquisitiv3 has joined #nixos
clacke_movim has joined #nixos
adamantium has quit [Remote host closed the connection]
hamishmack has quit [Remote host closed the connection]
Thra11 has joined #nixos
bakakuna has joined #nixos
wfranzini has joined #nixos
inquisitiv3 has quit [Ping timeout: 248 seconds]
adamantium has quit [Remote host closed the connection]
ym555 has quit [Ping timeout: 246 seconds]
cfricke has joined #nixos
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
cfricke has quit [Client Quit]
cfricke has joined #nixos
<elvishjerricco>
Tried to bootstrap nixos with `nix build --substituters "" --store /foo -f "<nixpkgs/nixos>" --arg configuration '{}' vm`, but I got `error: moving build output '/nix/store/kjqdwl76vp9wclcxpw2xmh0z73rq95py-documentation-highlighter' from the sandbox to the Nix store: Permission denied`
<teto>
regarding the nixos tests, I have a few questions about the networking part. So it relies on VDE. Can VMs access the outside world ? must they be configured statically or can there be dhcp ? I am running some nixos tests with networkmanager and I wonder about bad interactions with the default config. Some interfaces can't get a dhcp answer .(I was surprised to see no tests for networkmanager either)
abbiya has joined #nixos
domogled has quit [Ping timeout: 244 seconds]
Tucky has joined #nixos
Thra11 has quit [Quit: WeeChat 1.9.1]
asheshambasta has joined #nixos
<{^_^}>
[nixpkgs] @uri-canva opened pull request #64467 → jetbrains.idea-community: add darwin support → https://git.io/fjiyP
<asheshambasta>
Anyone here using clipmenu on nixos? I'm running clipmenud as a `spawnOnce` from within xmonad; and I've got services.clipmenu.enable = true ; in my nix config; but it seems that clipmenu is issuing errors in the background (and nothing I copy shows up in my clipboard): ```Jul 09 09:18:46 quasar-nixos-tr xsession[1967]: rm: cannot remove '/run/user/1000/clipmenu.5.ashesh//903472502 36': No such file or directory
<asheshambasta>
```
<asheshambasta>
AFAICS, clipmenu works correctly right after a boot, but stops working after a suspend.
<abbiya>
i am trying to install docker using nix on ubuntu
<abbiya>
how do i start dockerd as systemd service ?
Jackneill has joined #nixos
<abbiya>
i saw the dockerd service def is available in .nix-profile
<musicmatze>
you cannot install system services with nix on non-nixos systems afaik
clacke_movim has left #nixos [#nixos]
veske has joined #nixos
<abbiya>
oh
clacke_movim has joined #nixos
<dminuoso>
abbiya: There are multiple things attached to `nix`. There is nix the package manager using nixpkgs, and nixos which is effectively nix modules plus some other bits.
<abbiya>
yes
<abbiya>
i am on ubuntu
<dminuoso>
abbiya: nix derivation/nixpkgs/nix the package manager all relate to things inside /nix/store, which is basically a way to talk about packages in isolation. nix modules are a way to talk about the system/filesystem/services/kernel
<dminuoso>
abbiya: So if you hvae nix on ubuntu, you just have access to the first part.
<abbiya>
okay
<dminuoso>
Since what you have, is nix the package manager.
<etu>
abbiya: you can define your own service files for systemd on ubuntu to run services from things you installed in the nix store though
<etu>
But that's a manual step for each service
<abbiya>
i just want to run dockerd as systemd service
<abbiya>
docker.service is there is ~/.nix-profile/etc/systemd/system
<abbiya>
yeah
<abbiya>
but the definition has wrong paths to dockerd
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjiSV
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjiSo
rfold has joined #nixos
___laika has joined #nixos
sigmundv has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed 23 commits to staging-19.03: https://git.io/fjiSX
inquisitiv3 has quit [Ping timeout: 244 seconds]
FRidh has joined #nixos
clacke_movim has left #nixos [#nixos]
<Taneb>
If I were to make a PR adding some vim plugins to nixpkgs, would it be better if I make one PR with all of them, or a PR for each, which would tread on each other's toes a bit
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FRidh>
Taneb: one PR, though possibly a commit per plugin
<Taneb>
FRidh: :)
clacke_movim has joined #nixos
thc202 has joined #nixos
andreas31 has joined #nixos
andreas303 has quit [Remote host closed the connection]
andreas31 has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 252 seconds]
andreas31 has joined #nixos
newspecies has quit [Ping timeout: 258 seconds]
hyper_ch2 has quit [Remote host closed the connection]
vdemeester_ has quit [Quit: vdemeester_]
vdemeester_ has joined #nixos
___laika has quit [Ping timeout: 246 seconds]
zacts_pi has joined #nixos
<boeg>
Is it possible to set up a nix env so that things doesn't "bleed through"? Like I'd like to have a project specific environment where I'm sure nothing but what I have defined in my default.nix is available. If I install python and pip, I'm sure that I'm using those to defined, and that installing a module with pip makes it contained inside the environment and doesn't bleed through to the global environment?
cfricke has quit [Quit: WeeChat 2.5]
<{^_^}>
[nixpkgs] @Ma27 merged pull request #63911 → nixos/release-notes: fix bad merge of cargo-vendor entry and formatting → https://git.io/fjoPm
<yorick>
so I'm packaging alertmanager and I have a non-overridable config file with secrets in it. the current way is to write it to a nix store and then run a user-specified sed over it in a prestart. is there a better way?
<yorick>
at least it could be substituteAll nowadays
ok2` has joined #nixos
inquisitiv3 has quit [Ping timeout: 246 seconds]
shabius_ has joined #nixos
ok2 has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
shabius has quit [Ping timeout: 268 seconds]
<immae>
boeg: you cannot ensure that in a reasonnable "usable" environment: a program can always hardcode a "/usr/bin/foo" or "/home/your_user/.local/lib" string and that means it will bleed out of it’s confinment. During builds (with nix-build) you have a very restricted environment (a sandbox) because no user interacts with it, but not in other situations
shabius has joined #nixos
turbo_MaCk has joined #nixos
veske has joined #nixos
shabius_ has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<immae>
boeg: you can start a nix shell that is "pure" and contains a very limited environment though, but you still have a HOME=/home/your_user and nothing prevents you from adding /usr/bin to your PATH or other actions that will end up with a non completely isolated shell
mexisme has joined #nixos
o1lo01ol1o has joined #nixos
alp__ has joined #nixos
veske has quit [Client Quit]
clacke_movim has joined #nixos
<boeg>
immae: hmm, okay, makes sense, thanks
<Miyu-chan>
I swear.
<Miyu-chan>
Why does systemd have a JavaScript dependency lmao
alpounet has quit [Ping timeout: 276 seconds]
<dminuoso>
Miyu-chan: It does what?
<qyliss^work>
polkit
<qyliss^work>
polkit rules are written in JavaScript
<sauyon>
how do I stop these stupid "can't set locale" errors from showing up?"'
ThatDocsLady has joined #nixos
kcalvinalvin has quit [Ping timeout: 260 seconds]
rprije has joined #nixos
helaoban has joined #nixos
eyjhb_ is now known as eyJhb
<sauyon>
that may have been rather aggressive for no real reason...
helaoban has left #nixos [#nixos]
<danderson>
generally, I think the "can't set locale" errors happen when (surprise) locales aren't configured. Unfortunately I don't know how to fix that on nixos :/
<sauyon>
Haha, that's not surprising, yeah. I think the problem is I'm on Arch. I've tried installing the nixos locale packages (`nix search -u locale` doesn't show anything though, random other problem...) but that didn't seem to work :/
<danderson>
in general, on a non-nixos system, you'd have to edit /etc/locale.conf to set `lang=en_US.UTF-8` (or whatever locale you want), uncomment desired "available" locales in /etc/locale.gen, then run `locale-gen` to update stuff
seshachalamm has joined #nixos
<danderson>
oh, you're running nix on another OS
<danderson>
well, the thing I said above is exactly what I had to do on my arch system
<danderson>
but I'd expect other things to be complaining if the systemwide locales aren't configured...
<seshachalamm>
i am using nix on ubuntu
<sauyon>
yeah, my /usr/bin/locale has no issues
<sauyon>
so I really don't know what the problem is :(
vdemeester_ has joined #nixos
<seshachalamm>
and apt does not seem to know anything about things that i installed from nix
rfold has quit [Ping timeout: 246 seconds]
Serus has joined #nixos
seshachalamm is now known as abbiya
<danderson>
sauyon: what operations make nix complain?
<sauyon>
well, that's not really surprising, is it xP
<sauyon>
man, pretty much
<sauyon>
er, the command `man` :P
<danderson>
hm
gratto has joined #nixos
atlas_ has joined #nixos
<sauyon>
it doesn't seem to search my system locale path
<sauyon>
this way I can learn nix without it being a serious blocker to productivity when stuff doesn't work because of arcane stdlib hacks in the c compilers :P
<clever>
atlas_: as long as you can write to /nix/ and have a linux or darwin kernel, nix will work
<clever>
android is even an option if you root it or use namespacing
<sauyon>
I thought you could set the nix store location these days
<Miyu-chan>
Uh, what is that undocumented function that builds a list again?
___laika has quit [Ping timeout: 246 seconds]
<clever>
you can change the directory, but not all packages support that, and changing it also causes a rebuild
<sauyon>
I *think* my friend has nix working on department machines, though not sure what hacks he's used :P
<Miyu-chan>
genericClosure?
<manveru>
Miyu-chan: like buildEnv?
<clever>
Miyu-chan: genericClosure takes a list of things, and a function from thing->[things], and will recursively call it on each thing, without causing infinite recursion
<clever>
Miyu-chan: the module framework uses genericClosure to go thru the imports = [ ./thing.nix ]; recursively, while allowing cycles to exist
<Miyu-chan>
Yeah, I think I need genericClosure to get a graph f propagatedBuildInputs, right?
<clever>
and it will dedup along the way, so if 2 things both imports thing.nix, you only get thing.nix listed once
<Miyu-chan>
Rather, to flatten.
___laika has joined #nixos
<clever>
Miyu-chan: propagated inputs exist mostly after the build is done, so you cant fully read them from nix
<clever>
Miyu-chan: id be in favor, `lib.fix (self: with self; { ... })` is basically identical
<Miyu-chan>
clever: Exactly!
<clever>
Miyu-chan: and opens up the option of making it more maintainable
<Miyu-chan>
clever: Did you see my comamnd for using a new Elixir and Erlang version?
<clever>
yorick: looks like it depends on glibc and llvm at runtime, `nix why-depends /nix/store/x4b7fc747s95nwynbkjdnshsrw85vxwg-unit-graphiteWeb.service /nix/store/y7nq2bjlfvmf9dhf8gfbr32qbrg3zyb4-llvm-7.0.1-lib`
<clever>
yorick: i'm guessing llvm is for gpu reasons, but does this even need opengl?
<clever>
yorick: ah, line 5 is python2.7-graphite-web, line 6 is saying which file inside graphite web, and a sub-section of that file, that depends on cairo
<clever>
yorick: i think this is the exact same cairo issue Miyu-chan just had
<clever>
Miyu-chan: this variant, will then reduce the closure size, change the nixpkgs rev, and add opencl
<jgt>
I'm trying to override a haskell package with a custom version, and I am ending up with two versions of that package (and a bunch of others) when I do ghc-pkg list
<clever>
Taneb: was trying to test some opencl stuff, but couldnt get it to work
<jgt>
how do I make sure I only get one version of each package?
<Miyu-chan>
I should make this a squashfs sooooon, but not today.
<clever>
Miyu-chan: use my rescue-boot.nix as an example, the gist is a variant with reduced closure size
<immae>
hello there, I have a module in which I want to provide a PATH=/run/wrappers/bin, do I have a lib function to give that /run/wrappers/bin without hardcoding it?
<clever>
immae: there appears to be a config.security.wrapperDir option, that controls where all of the setuid wrappers go
<clever>
immae: it is flagged as internal, so the docs hide it, and the description says not to change it, but i guess reading it will perfectly solve your question
<{^_^}>
[nixpkgs] @vcunat opened pull request #64500 → mesa: fixup darwin build → https://git.io/fjidv
<teto>
the behavior of nix-collect-garbage on a full disk is weird. it seems to work, but ends with "error: committing transaction: database or disk is full (in '/nix/var/nix/db/db.sqlite')". It seems after several attempts, it freed enough things to update the db
ashesham` has quit [Ping timeout: 252 seconds]
vdemeester_ has joined #nixos
lsyoyom has joined #nixos
oida has joined #nixos
vdemeester_ has quit [Client Quit]
stepcut has joined #nixos
lstanley has quit [Ping timeout: 248 seconds]
<clever>
teto: it helps to use --max-freed
<clever>
teto: the problem, is that it will move things to /nix/store/trash, while updating sqlite, which can fail due to lack of space
<clever>
teto: and it wont regain space until the very end, when it deletes /nix/store/trash
v88m has quit [Ping timeout: 272 seconds]
<clever>
but --max-freed 100m, will make that "very end" come much sooner, and then you can increase it slowly until you have enough space for a real full-gc
<aswanson>
anyone have good experiences using nix withing MS WSL, specifically the ubuntu flavor? I'm attempting to install nix and running into permissions errors when the install script starts moving stuff into the nix store
<KarelWDingeldey[>
Hi there, does someone have an example configuration for IPSec with swanctl and PSK at hand?
v88m has joined #nixos
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
q3k1 is now known as q3k
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
___laika has quit [Ping timeout: 246 seconds]
deech has quit [Ping timeout: 246 seconds]
<yorick>
KarelWDingeldey[: oh no
<{^_^}>
[nixpkgs] @MrMebelMan opened pull request #64518 → django: Init at 2.0.2 → https://git.io/fjiFV
<yorick>
KarelWDingeldey[: hm, easiest is not doing PSK :P
slack1256 has joined #nixos
<yorick>
KarelWDingeldey[: but I think you have to services.strongswan-swanctl.swanctl.secrets.ike
<KarelWDingeldey[>
Really? I thought that's the easiest way to go since I just have to exchange a plain text string.
<KarelWDingeldey[>
I tried that, but somehow I'm stuck. An example would help a lot.
<yorick>
KarelWDingeldey[: if there's any humanly possible way, use wireguard
<{^_^}>
[nixpkgs] @vcunat pushed commit from @matthewbauer to staging-next « mesa: fix darwin and use meson auto features (PR #63912) »: https://git.io/fjiF9
<yorick>
KarelWDingeldey[: the configuration is easy and it works all the time, unlike strongswan
<{^_^}>
[nixpkgs] @vcunat closed pull request #63912 → Mesa Darwin support → https://git.io/fjoX9
<yorick>
KarelWDingeldey[: the people who made the nixos strongswan module are using wireguard now
<KarelWDingeldey[>
yorick: OpnSense doesn't support it yet. If I fail with StrongSwan, I will just wait for WireGuard to appear on the stage.
<{^_^}>
[nixpkgs] @MrMebelMan opened pull request #64520 → django-maintenance-mode: init at 0.13.1 → https://git.io/fjiF5
<Miyu-chan>
Is there a way to install both grub and efi-boot?
stepcut has quit [Ping timeout: 244 seconds]
<Miyu-chan>
TL;DR. Use GRUB when EFI is unavailable.
<tobiasBora>
I'd like to package picos for nixos (a python library), but I'm not sure to know what is the best way to package it. python2nix from proger seems super easy to use, but pypi2nix from nix-community seems more recent
<FRidh>
you're probably better of writing the expression yourself
stepcut_ has quit [Remote host closed the connection]
<clever>
Miyu-chan: you can configure grub to do both efi and legacy at the same time
<clever>
Miyu-chan: if you set boot.loader.device = "/dev/sda"; then it will do a legacy install into the (protective) MBR, and require a bios boot partition (1mb, not formated, not mounted) if on gpt
<clever>
oops, insert a grub. into that option
<{^_^}>
[nixpkgs] @MrMebelMan opened pull request #64527 → dj-static: init at 0.0.6 → https://git.io/fjiNG
<clever>
Miyu-chan: if you set boot.loader.grub.efiSupport = true; and /boot is fat32, then it will also do an efi install at the same time
<clever>
but efi can fail if the efi vars arent mounted, so
<clever>
boot.loader.grub.efiInstallAsRemovable = true; will work around that
<ajs124>
Assuming I would want to put /nix and /tmp on a different filesystem from the rest of my / and assuming I also wouldn't want to use a filesystem for /nix and /tmp which supports subvolumes, could I mount it somewhere and bind mount two folders to /nix and /tmp or would that break everything?
<clever>
ajs124: linux doesnt understand atomic moves between bindmounts of the same fs, so it will force `mv` to copy things, causing minor performance costs
<clever>
ajs124: but it shouldnt break anything
<ajs124>
clever: copy_file_range does, though.
<ajs124>
ok. I was worried because of the mount namespace magic the nix daemon does.
<clever>
what syscall is it using?
<ajs124>
the nix daemon? no idea
sigmundv has quit [Ping timeout: 272 seconds]
jedai has quit [Read error: Connection reset by peer]
fusion809 has quit [Remote host closed the connection]
__monty__ has quit [Ping timeout: 245 seconds]
nefix has joined #nixos
<clever>
ajs124: copy_file_range
<nefix>
Hello! I'm trying to build DRBD 9. The thing is that I'm not sure how to build the kernel module
<gchristensen>
drbd, now that is name I've not heard in a long time
xorAxAx has quit [Ping timeout: 268 seconds]
<nefix>
It's really useful! I'm trying to convince my organization to use NixOS in order to make reproducible builds of the servers and easily grow with more servers without having to configure the whole thing again
peel has joined #nixos
sigmundv has joined #nixos
<tobiasBora>
Hum, everytime I believe I understand nix I still run into troubles ^^
<sauyon>
sounds like nix to me
__monty__ has joined #nixos
<tobiasBora>
I have the following error "called without required argument 'buildPythonPackage'" when I try to build the following default.nix file https://paste.debian.net/1090934/
<tobiasBora>
(inspired by existing files)
<tobiasBora>
the command I'm using to build is nix-build -E "with import <nixpkgs> {}; callPackage ./default.nix {}"
<tdeo>
python3Packages.callPackage will probably work
sauyon[m] has joined #nixos
markus1189 has quit [Ping timeout: 248 seconds]
<tdeo>
unrelated, but you can use lib.fakeSha256 for a hash you don't know yet, because an empty string will cause an error
<tobiasBora>
tdeo: indeed it seems to fix the issue. But why in all-packages.nix there is no "python3Package." prefix, for example in picoc = callPackage ../development/interpreters/picoc {};?
shabius has joined #nixos
<tobiasBora>
tdeo: great tips, thanks!
<tdeo>
in python-packages.nix there is a `callPackage = pkgs.newScope self;`
___laika has quit [Ping timeout: 272 seconds]
<tobiasBora>
tdeo: hum, I'm not sure to follow, how is python-package.nix called?
<nefix>
Anyone has an idea of how can I build DRBD 9
veske has joined #nixos
<tdeo>
most (all? dunno) python packages are not in all-packages.nix, and rather in python-packages.nix
<nefix>
ajs124: Thanks!!! But how can I specify which linux version does it use? I'm using latest linux, but it compiles using linux 4.19
<ajs124>
good question. other packages use kernel instead of linux, but that didn't compile for me, if I just use callPackage. It probably works if you call it though linuxPackages somehow, idk.
THFKA4_ is now known as THFKA4
THFKA4 has quit [Changing host]
THFKA4 has joined #nixos
<nefix>
ajs124: I haven't fully understood you :s
acarrico has joined #nixos
<__monty__>
Should I be doing a single-user install of nix if I want to use nix-darwin and home-manager?
<nefix>
ajs124: Also, how can the kernel module be included in my kernel?
<ajs124>
nefix: I'm on it, I haven't packaged a kernel module before, but I think I got it.
<tdeo>
nefix: you likely need to add this to an overlay in your nixos configuration file, and replace the uses of `linux` with `kernel`
<aswanson>
aveltras: I'm using one on a vps that I can successfully connect to, I think the only nix-specific thing I did was enable `services.weechat.enable`, after that I just tweaked the knobs from within weechat per weechat's documentation
<nefix>
tdeo: And if I want to add this to the nixpkgs? How would the user install DRBD?
<ajs124>
with this, you can build it like any kernel module
<nefix>
<3
<ajs124>
hm. I'm not sure if it actually works, though. the result symlink is empty.
<aswanson>
aveltras: that instruction looks a bit verbose compared to weechat's own docs: https://weechat.org/files/doc/stable/weechat_user.en.html#relay_ssl; as long as you have openssl installed and usable there shouldn't be much other nix specific stuff in your way
<tobiasBora>
hum, in python-packages.nix, there is no alphabetic order in packages name ? ^^ I can put picos more or less anywhere ?
<aveltras>
aswanson: i managed to set the cert properly this time (just had to replace the openssl.cnf with the full path to the nix store) but connection seems to timeout
<aswanson>
aveltras: I mean, mine is even more barebones, just the one service enabling line, but I only use the relay for myself. After weechat was enabled I had to tweak some weechat settings
<ajs124>
nefix: looks like nixpkgs actually already has drbd 8.4
<nefix>
Yeah, but this version is really outdated. Not just within the version 8, but the version 9 changes a lot of stuff
<aswanson>
aveltras: I set relay.network.ssl_cert_key="%h/ssl/relay.pem", the relay password, and relay.port.ssl.irc wiithin weechat
<nefix>
ajs124: ^
<aveltras>
aswanson: i guess i missed sth :)
trevorriles has quit [Read error: Connection reset by peer]
Okinan has quit [Quit: Konversation terminated!]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Xyliton has joined #nixos
<Xyliton>
Hello! I just installed a new GPU and now I only get output on a single screen. What are the steps I should take to get nixos to correctly set both screens up when starting?
<tdeo>
do you have the driver for the new gpu in `services.xserver.videoDrivers`?
najibpuchong has joined #nixos
ddellacosta has joined #nixos
<{^_^}>
[nixpkgs] @tobiasBora opened pull request #64529 → picos: init at 1.2.0 → https://git.io/fjixY
<Xyliton>
Yes, both the new and old one used the nvidia driver
endformationage has joined #nixos
markus1189 has joined #nixos
<Xyliton>
I can make both screens work until the next restart using nvidia-settings
<najibpuchong>
Hi, I am trying to install firefox with flash plugin by adding .config/nixpkgs/config.nix : 'firefox = {enableAdobeFlash = true;};' and set nix-channel to 'https://nixos.org/channels/nixos-unstabled'.
mexisme has joined #nixos
Xyliton has quit [Remote host closed the connection]
<risson>
infinisil: When I try to build it says the option value is not of type path
Ariakenom has joined #nixos
<risson>
Ah shit I have to use nullOr path I guess
<aveltras>
aswanson: turns out the problem was google compute engine not authorizing connections on port 9001 without adding a specific rule in their firewall
<aswanson>
aveltras: glad you figured it out!
<aveltras>
aswanson: do you have the weechat configuration done imperatively then or do you put it all in a nix file ?
erasmas has joined #nixos
veske has joined #nixos
shabius has quit [Ping timeout: 252 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
ilikeheaps has joined #nixos
noudle has joined #nixos
knupfer has quit [Ping timeout: 272 seconds]
<infinisil>
risson: Ah yup, glad you figured it out
Neo-- has quit [Ping timeout: 248 seconds]
<eacameron>
If I try to open the "Displays" window, it opens for a split second and immediately crashes.
<eacameron>
Goes away...
<eacameron>
I'm on 19.03
<eacameron>
I'm on a laptop and for some reason it suddenly decided that my second screen would be at some bizarrely low resolution. It used to look fine until...today. But I can't open the options to change it!
<eacameron>
I just updating my channel to see if that helps. No go.
zacts has joined #nixos
<eacameron>
Well using `xrandr` manually works anyway
<eacameron>
But it's super frustrating that the display manager window doesn't work
<zacts>
manveru: hey, I saw your comment about rake. I will test a new build in just a bit. I'm just waking up for my day. I don't see you on #rubinius though, but I saw you on Gitter.
wfranzini has quit [Remote host closed the connection]
<risson>
infinisil: thanks a lot :D
zacts has quit [Client Quit]
sigmundv has quit [Ping timeout: 245 seconds]
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
shabius has joined #nixos
shabius has quit [Read error: Connection reset by peer]
Thra11 has joined #nixos
selfsymmetric-pa has joined #nixos
shabius has joined #nixos
lsyoyom has quit [Ping timeout: 246 seconds]
___laika has quit [Ping timeout: 268 seconds]
nefix has quit [Remote host closed the connection]
<aswanson>
aveltras: imperatively. based on options available in `man configuration.nix` there don't seem to be options built in nixpkgs for declarative config for weechat
nefix has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
stepcut_ has joined #nixos
o1lo01ol1o has joined #nixos
stepcut has quit [Ping timeout: 258 seconds]
peel has quit [Quit: Connection closed for inactivity]
<eraserhd>
aha! I have a derivation which is using an RSA private key, which gets copied into the store, which makes it world readable, which prevents SSH from reading it. Is there an easy way to work around this?
<Miyu-chan>
You could always copy it to pwd.
buckley310 has quit [Remote host closed the connection]
domogled has joined #nixos
___laika has joined #nixos
<eraserhd>
That could work. It might be easier in this case to just not copy it into the store. OTOH, there seems to be a bit of discussion of this, and maybe I can figure out the right way?
<clever>
eraserhd: "ssh -i ${toString ./id_rsa}"
<clever>
this is one of the few cases where using toString on a path is the answer, that will give the absolute path to the file, without copying
<clever>
and assumes the file will remain at that path in the future
<{^_^}>
[nixpkgs] @megheaiulian opened pull request #64532 → [lxd] add criu to path → https://git.io/fjihr
ddellacosta has quit [Ping timeout: 272 seconds]
<eraserhd>
clever: isn't that exactly the same as ${./id_rsa}, which is the thing that copies the path into the store?
<clever>
eraserhd: nope
<clever>
${./id_rsa} will copy it to the store, and translate into /nix/store/hash-id_rsa
<eraserhd>
huh, ok
<clever>
but ${toString ./id_rsa} wont copy, and turns into /home/clever/something/id_rsa
<clever>
that mistake is what often breaks things, when new users try to toString all the things
<clever>
and if the sandbox isnt on, it still works, so they dont notice
<Miyu-chan>
I guess in a way, moving forward, it'd be nice to have module system first-class in Nix.
<Miyu-chan>
But at the same time, I really like how simple Nix is, and how you can implement a module system from the start.
o1lo01ol1o has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<yorick>
Miyu-chan: flakes got implemented in a nix branch somewhere
<Miyu-chan>
OTOH, the second md seems to be pushing for `rec` configurations?
<Miyu-chan>
"but in fact it's already widely in use, see e.g. perl-packages.nix or python-packages.nix where most dependencies are obtained from the surrounding rec set. include"
<wucke13>
yorick: That brings me right back into the emergency mode
<wucke13>
I want to start leave the emergency mode dispite the error which caused it still being there
<clever>
wucke13: what is the error?
<wucke13>
clever: To be clear, I'm not asking on how to resolve the error, but on how to dismiss it, but to answer your question: A mount couldn't be done as a filesystem became unavailable
<clever>
wucke13: ah, i would just fudge /etc/fstab to make systemd not care about it
<clever>
you can replace the fstab symlink with a normal file, that has the same contents, then edit that file
<clever>
nixos will turn it back into a symlink next time it boots (or you rebuild switch)
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<wucke13>
thanks for the hint with the symlink. Thats handy, though doesn't answer my question. For now, that'll do fine, but I'm curious wether there is really no way to dismiss on systemd deps failing causing an emergency
<wucke13>
Like, there for sure should be a way to override the emergency mode comming up.
andreas31 has quit [Remote host closed the connection]
<cx405>
hello guys! Anyone knows how to install java into steam-run? I have GOG game that uses java and it complains about its absence. The wiki entry also means its unsupported, but I know its possible, just dont know how. :(
<{^_^}>
[nixpkgs] @twhitehead opened pull request #64539 → gl2ps: init at 1.4.0 → https://git.io/fjPew
<Thra11>
Is adding "nixpkgs-overlays=/etc/nixos/overlays/" to NIX_PATH (by appending to nix.nixPath in configuration.nix) enough to use an overlay in /etc/nixos/configuration.nix?
Ariakenom has joined #nixos
andreas303 has joined #nixos
andreas303 has quit [Client Quit]
andreas303 has joined #nixos
<clever>
Thra11: nixos-rebuild only obeys the overlays in nixpkgs.overlays
dansho has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
zacts has joined #nixos
ashesham` has quit [Remote host closed the connection]
<nefix>
How can I create a loop device through the NixOS configuration?
<__monty__>
Does anyone recommend setting buildCores to anything other than 1?
<yorick>
__monty__: oh yes, I have it at 0 and it causes relatively few problems and speeds up some big builds massively
<yorick>
__monty__: builds where it causes problems have enabelParallelBuilding=false in nixpkgs
<__monty__>
Alright, here's to living on the edge : )
<cx405>
hello guys! Anyone knows how to install java into steam-run? I have GOG game that uses java and it complains about its absence. The wiki entry also means its unsupported, but I know its possible, just dont know how. :(
<{^_^}>
[nixpkgs] @ambrop72 opened pull request #64540 → strip setup hook: Strip using --strip-unneeded instead of --strip-debug. → https://git.io/fjPeD
ambro718 has joined #nixos
stepcut has quit [Ping timeout: 272 seconds]
stepcut has joined #nixos
wildtrees has quit [Quit: Leaving]
<exarkun>
is there a thing people do for packages that need X in their test suite? xvfb? it seems to me expected that a thing being `nix-build`ed wouldn't be able to use any X server I might happen to have running
<scott>
my nixos-unstable upgrade right now is manually compiling a ton of KDE stuff - is there a way i could figure out why it's not able to find it in binary cache?
o1lo01ol1o has quit [Remote host closed the connection]
<ajs124>
scott: you can look on hydra.nixos.org, if it failed to compile there or if it is still compiling
o1lo01ol1o has joined #nixos
FireFly has quit [Quit: Goodbye]
FireFly has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<eacameron>
I'm trying to write a module that will let me define the postgresql initial script in multiple places and have them all get merged (why this isn't the default now beats me...), however, when I try to specify this option in multiple places I get the error `The option `services.pgAggregatedInitScript' in `<unknown-file>' is already declared in `<unknown-file>'.` ^
<cransom>
eacameron: i can't say 100%, but i think the type for pgAggregated needs to be a list of lines in order to be merged. i don't think it concatenates strings.
<eacameron>
types.lines says it's merge rule is to combine them with \n
<Thra11>
I have network.wireless.enable = true; and I've set a network. How can I debug why it isn't working? There's no mention of wpa or wlan in the journal. The wpa_supplicant service status is inactive.
<selfsymmetric-pa>
Hi Thra11: I personally also set `networking.networkmanager.enable = true` and then `nmcli` sorted out all my usecases.
knupfer has joined #nixos
<gchristensen>
is anyone familiar with using .mobileconfig files on NixOS for a Cisco VPN?
<Thra11>
selfsymmetric-pa: Yes. I saw that was an option in the manual.
hmpffff has joined #nixos
<eacameron>
Does merging only work when the module is actually imported from a file or something?
<eacameron>
I'm not importing it from a file, I'm just defining it in a `let` and then using it in `imports`
<lordcirth>
MmeQuignon, perhaps home-manager is what you want?
<MmeQuignon>
I do not know that, is that a tool ?
ambro718 has quit [Quit: Konversation terminated!]
Soo_Slow has quit [Remote host closed the connection]
<Thra11>
The manual says that setting `networking.wireless.enable = true;` will start wpa_supplicant, but I can see absolutely no sign of it even having tried to start it.
o1lo01ol1o has quit [Ping timeout: 272 seconds]
lsyoyom has joined #nixos
shibboleth has quit [Remote host closed the connection]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
MmeQuignon has quit [Quit: WeeChat 2.4]
stites has joined #nixos
waleee-cl has joined #nixos
<nefix>
clever: When I try creating the loop device, it breaks the whole system :(
<{^_^}>
[nixpkgs] @dtzWill opened pull request #64544 → victor-mono: init at 1.2.1 → https://git.io/fjPfM
xorAxAx has joined #nixos
knupfer has quit [Quit: knupfer]
o1lo01ol1o has joined #nixos
shabius has joined #nixos
heath has quit [Quit: Lost terminal]
knupfer has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
bakakuna has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
rfold has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @rvolosatovs opened pull request #64545 → nodePackages.dockerfile-language-server-nodejs: init at 0.0.21 → https://git.io/fjPfd
bakakuna has quit [Ping timeout: 272 seconds]
<alexarice[m]>
exarkun: I think there are still qtbase 5.12 problems
<alexarice[m]>
not sure if that is the cause
mexisme has quit [Ping timeout: 246 seconds]
<exarkun>
hm hm yea maybe so
<exarkun>
I just ran qutebrowser, a pyqt5-using app, and it complains at startup "16:58:22 WARNING: Combining PyQt 5.11.3 with Qt 5.12.0 is unsupported! Ensure all versions are newer than 5.12 to avoid potential issues.", though it doesn't crash like this other app
<Thra11>
selfsymmetric-pa: Seems neworkmanager isn't an option on this platform (armv6l-linux), as it depends on some rust code :(
wfranzini has joined #nixos
hmpffff has joined #nixos
bakakuna has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
noudle has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
turbo_MaCk has quit [Ping timeout: 246 seconds]
npmccallum has quit [Quit: npmccallum]
Ariakenom has quit [Quit: Leaving]
Jackneill has quit [Remote host closed the connection]
<fresheyeball>
petercommand: however you want to reference it
<samueldr>
there is an eval for nixos-unstable that should have it currently building, so once it's built 5.2 will be available once the nixos-unstable channel updates
<petercommand>
fresheyeball: um, yeah, that's what I did
<fresheyeball>
samueldr: why does that matter?
<fresheyeball>
petercommand: what error did you get?
is_null has joined #nixos
<samueldr>
if they want to use the one from the channel, like it looks like they are trying
<samueldr>
(it's possible that it will need to build locally first, and since you're importing it from a revision that might not have been tested, results may vary [though unlikely to break spectacularly])
<fresheyeball>
then you can do like this
<fresheyeball>
nix-env -f "<nix-master>" -i thang
<petercommand>
well, I only need the linux kernel :D
<fresheyeball>
petercommand: :)
<fresheyeball>
how can I have /usr/share/dict/words ?
<samueldr>
,locate dict/words
<{^_^}>
Found in packages: netbsd.dict
<samueldr>
,locate
<{^_^}>
Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<fresheyeball>
funky
<fresheyeball>
let me try that and see if my editor stops bleeding all over the floor
<fresheyeball>
I was using nix search to no avail
<fresheyeball>
samueldr: my system is not finding it
<samueldr>
it won't give /usr/share/dict/words, but it will be available at that equivalent store path
<nefix>
I'm trying to override a module. I've written it, but when I import it to my configuration through the `imports`, it says that is already defined. How can I really override it?
ericsagnes has joined #nixos
rprije has joined #nixos
teej has quit [Quit: Connection closed for inactivity]
<infinisil>
nefix: That's very unspecific. If you have an error, post the error
<nefix>
infinisil: error: The option `services.drbd.enable' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/network-filesystems/drbd.nix' is already declared in `/home/nefix/dev/isard-cube/modules/drbd.nix'.
<nefix>
infinisil: and how can I add a custom package to `pkgs`?
<infinisil>
That would be using overlays
<infinisil>
,overlays
<{^_^}>
infinisil: Did you mean overlay?
<{^_^}>
Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<nefix>
But it doesn't exist
deech has quit [Ping timeout: 246 seconds]
<nefix>
Oh, nvm
<infinisil>
Again, you need to be specific with your problem reports. Nobody can help you otherwise
selfsymmetric-mu has quit [Remote host closed the connection]
nDuff has quit [Quit: zzz]
<cx405>
ok... actually steam-run already includes java, if you add "programs.java.enable=true". However, it turns out message about missing java is because of error in openjdk itself, = java aint missing. if path contains non-latin, it fails, so game script thinks its missing...