<{^_^}>
[nixpkgs] @ivan opened pull request #63398 → sqlite: disable parallel building → https://git.io/fjaH5
<codedmart>
monokrome: Sorry what is the problem? You have an ecrypted root or boot?
amf has joined #nixos
<codedmart>
colemickens: I have a lot of work to do to try and get sway setup. Just an intial start nothing is scaled at all. Oddly I got back to where gnome and xmonad work other then the cursor until I start lxappearance. Then the cursor is as it should be.
<codedmart>
Still not sure why :|.
<amf>
the manual (in the texlive section) says to use `texlive.combine { ... }`, however, i don't understand where that goes. in configuration.nix?
<colemickens>
Did you apply the fix I keep linking?
<colemickens>
Sway does not try to guess a scale factor, no.
<colemickens>
But "sway output * scale 2" should get you going.
mexisme_ has joined #nixos
<codedmart>
No but that fix is what caused my gnome session to be wrong. Took me a minute to figure that out.
{^_^} has quit [Read error: Connection reset by peer]
{^_^} has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adamanti` has joined #nixos
linarcx has joined #nixos
adamantium has quit [Read error: Connection reset by peer]
jgt1 has joined #nixos
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
jgt1 has quit [Ping timeout: 248 seconds]
kvaster has quit [Read error: Connection reset by peer]
kvaster_ has joined #nixos
<{^_^}>
[nixpkgs] @talkara opened pull request #63415 → pythonPackages.robotframework-sshlibrary: init at 3.3.0 → https://git.io/fja5R
nuh^ has joined #nixos
<tommyangelo>
what does "the unique option systemd.services.myservice.serviceConfig.ExecStartPre is defined multiple times" actually mean? It's only defined once afaik
fuzzy_id has joined #nixos
<fuzzy_id>
is there a tool to zip together all dependencies of a derivation?
<etu>
Don't know how well it works, cause I haven't tried it :)
<jackdk>
this will put them all into a dir, and presumably you can copy in the other direction also: nix-build '<nixpkgs>' -A hello && nix copy --to file://hello ./result
<NYXT>
Is it possible to use services.* from the unstable channel? I'm setting up Plex and overriding the unstable channel's package to use the Plex Pass version. That package has changed a bunch since 19.03 and the services.plex.enable is creating a unit file that is incorrect. Ideally I'd like only the services.plex options to be sourced from the unstable channel.
veske has quit [Ping timeout: 245 seconds]
<clever>
NYXT: you want to use disabledModules to remove the current plex module, and then use imports to add in the new one
<Unode>
Hi everyone, when working with older nixpkgs versions (often not that old) I frequently run into the curse of broken links, non existing URLs and non-matching hashes. These are all upstream issues and non-trivial problems but is there anything I can do that would help me address this issue?
<Unode>
For instance, with R bioconductor packages it's currently very hard to have a working commit if building from source.
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
asheshambasta_m has joined #nixos
kaliumxyz has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed 51 commits to staging-next: https://git.io/fjab5
<{^_^}>
[nixpkgs] @FRidh opened pull request #63423 → Staging next → https://git.io/fjabd
ajirx has joined #nixos
ajirx has quit [Remote host closed the connection]
troydm has quit [Ping timeout: 268 seconds]
gratto has joined #nixos
<{^_^}>
[nixpkgs] @jtojnar merged pull request #63393 → ffado: prevent build tools from leaking into closure → https://git.io/fjaHZ
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Matthieu_ has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
vidbina has quit [Ping timeout: 248 seconds]
meck has quit [Quit: WeeChat 2.5]
meck has joined #nixos
troydm has joined #nixos
Yakulu has joined #nixos
Yakulu has left #nixos [#nixos]
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Ping timeout: 252 seconds]
civodul has joined #nixos
boogiewoogie has joined #nixos
ericsagnes has quit [Ping timeout: 250 seconds]
asheshambasta_m has quit [Quit: Leaving.]
psyanticy has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
karetsu has joined #nixos
tobiasBora has joined #nixos
<tobiasBora>
Hello,
<karetsu>
hi
<tobiasBora>
I don't know why, but since my last update, every time I run "nixos-rebuild switch", I'm disconnected from the internet (I'm using NetworkManager networking.networkmanager.enable = true;), and I need to disconnect/reconnect to make it work
<karetsu>
is that not the correct behaviour - I thought nixos-rebuild restarts services?
<tobiasBora>
karetsu: well for sure before the update is was not the case. So it looks like a regression for me
<karetsu>
damn
<tobiasBora>
if services are restarted, they should also reconnect I guess after the restart
<karetsu>
can't help personally sorry, I'm wired
<tobiasBora>
karetsu: me too
<tobiasBora>
but I wanted to enable network manager to be able to connect to various vpn's
ericsagnes has joined #nixos
<jtojnar>
for me, it reconnects when nixos-rebuild switch restarts it
fendor has joined #nixos
<karetsu>
have you got the previous to roll back to in order to see what changed?
<etu>
It wipes the nameserver options in resolv.conf
<etu>
tobiasBora, karetsu, jtojnar ^
<karetsu>
etu: damn, ty
kaliumxyz has quit [Ping timeout: 245 seconds]
<karetsu>
trying to get i3 set up, but I'm getting "no built-in support for X" where X is internal/pulseaudio and internal/i3 - what have I done wrong? Is this the i3blocks path thing in the wiki?
<{^_^}>
[nixpkgs] @vcunat pushed to master « treewide: fixup evaluation of updater scripts »: https://git.io/fjaAz
<karetsu>
manveru: if I have a ~/.config/nixpkgs/overlays/foo.nix how would I then include these in the build for that? I'm too new to nix >_<
<karetsu>
would it just be an include?
<Miyu-saki>
Oh RIP. Apparently, somewhere along the way I accidentally made it so that my ystem have 2 versions of NVidia drivers. collision between `/nix/store/iasanmxvvykshj7c1xpsfl4rxk6vvshb-nvidia-x11-390.116-4.19.48-bin/bin/nvidia-debugdump' and `/nix/store/8i8s0k05jkb59wn2ai6bbsz1sxq5a0g9-nvidia-x11-418.74-4.19.48-bin/bin/nvidia-debugdump'
<Miyu-saki>
Anyone have any idea on how to fix this?
toppler has quit [Ping timeout: 245 seconds]
<manveru>
karetsu: well, i don't know how you set it up, i'm using it via home-manager
<tobiasBora>
etu: I'm not sure what's the easiest way to test it? I was thinking to do "nixos-rebuild -I nixpkgs=https://github.com/talyz/nixpkgs.git test", but not sure how to specify the branch "networkmanager"
srid63908 has joined #nixos
<tobiasBora>
or can I test directly the usual nixpkgs + a specific PR?
<aanderse>
etu: unsure about that gitea update at the moment :S i haven't had time to dig in. i wondered if a tmpfiles issue, but appears not to be as another module using tmpfiles worked fine :\
<tobiasBora>
etu: ok, I just wanted to know if I could avoid to manually git clone/git fetch pull request/...
<tobiasBora>
(I saw some tools like nox/nix-review, but maybe it's only for nixkgs)
<etu>
tobiasBora: Those work better on packages and not so much on services
<rndd[m]>
i mean, i include it in main config, but ir rise infinite loop... i think. dont have my laptop right now
ajirx has quit [Remote host closed the connection]
lord| has joined #nixos
<codedmart>
colemickens: Finally had time to bring over my i3 config. A few things that I am not sure if you know. I used `output` to get the scale right. Gnome-terminal won't open, but in terminator font's are crisp and nice. In firefox/google-chrome fonts are rather blurry.
orivej has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #nixos
<Shoubit>
rndd[m], you may just have to install firmwareLinuxNonfree as I see /lib/firmware/rtlwifi/rtl8723defw.bin in there -- is that what you're looking for?
alexherbo2 has quit [Client Quit]
<andi->
codedmart: try using the Firefox-Wayland attribute
alex`` has joined #nixos
<codedmart>
andi-: What about chrome?
<andi->
codedmart: no idea, not using it
<rndd[m]>
Shoubit: oh, maybe......... didn't know about it. Will try. But really wanna find out how to write nix scripts
<romildo>
Are there any special guidelines for specifying dependencies when packaging OCaml modules? What should go into nativeBuildInputs, buildInputs, and propagatedBuildInputs?
<joepie91[m]>
tobiasBora: either way, bandwidth probably won't be the issue anyway :)
<joepie91[m]>
bandwidth is cheap
<joepie91[m]>
storage is a bigger issue, usually
<gchristensen>
they're both expensive tbh :P
<clever>
joepie91[m]: i think i heard it was at 80tb?
<gchristensen>
off by 100
<clever>
lol
<gchristensen>
:)
<etu>
nixpkgs seems to grow fast, and with big rebuilds that happen, yeah...
<gchristensen>
and it has never been garbage collected since early 2010's
alp has quit [Ping timeout: 258 seconds]
<etu>
oh wow
<joepie91[m]>
gchristensen: how much network traffic are we talking per month?
<joepie91[m]>
gchristensen: the 3.5 TB is out of the S3 bucket, or out from fastly to users?
<gchristensen>
out of fastly
metastance has joined #nixos
<joepie91[m]>
ah
<joepie91[m]>
that's not that much though
<joepie91[m]>
3.5 * 30 = 105 TB per month, at typical market rate of $1/TB/month (assuming no overhead) would be a bit over a hundred dollars in traffic costs
<joepie91[m]>
105TB off AWS is expensive though :P
<joepie91[m]>
but that's an AWS thing...
metastance has quit [Client Quit]
<gchristensen>
I think often bandwidth is billed at your 95% percentile
<joepie91[m]>
I would've expected it to be higher tbh
* gchristensen
shrugs
<joepie91[m]>
well, that depends - 95th percentile is common for colo and direct transit, but not for rented servers / VPSes / storage servers
<joepie91[m]>
for those you generally pay per TB monthly commitment
<tobiasBora>
gchristensen: oh it's never garbadge collected? So it means I can still use the case for super old software ^^
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<joepie91[m]>
where the upfront cost usually lies at about $0.50 - $1.50 per TB, and the overage cost (if they have an overage payment model) is usually around $3 - $4 per TB
<joepie91[m]>
if you're doing 95th percentile then you're probably separately paying for the bandwidth and the traffic anyway
<joepie91[m]>
I think $0.50 - $1 per mbps bandwidth and about $0.50 per TB of traffic is market rate now? haven't checked up on that lately
<joepie91[m]>
or, if you want to go super cheap, HE will charge you like $0.15 for both lol
<gchristensen>
the point is not to go cheap, but to go for fast and local to ensure 404s are issued fast
<joepie91[m]>
but you probably don't want that performance-wise
Makaveli7 has quit [Quit: WeeChat 2.5]
<joepie91[m]>
sure, I get that, I'm just providing my supporting numbers for my claim of storage usually being the problem and not bandwidth :D
<karetsu>
does anybody know how I would set a custom e.g. polybar configuration in a custom overlay? I'm unsure how to get access or set the config for services.polybar.config via the self:super: mechanism in overlays
<Ankhers>
Does anyone have an example project where they have nix files that build the project for whatever language and also pull in things like postgres or anything else?
<Ankhers>
Specifically for development in this case.
Matthieu_ has quit [Ping timeout: 268 seconds]
Synthetica has joined #nixos
gspia has joined #nixos
Matthieu_ has joined #nixos
<Synthetica>
What is the recommended place to store "free-form" variables that you want accessible in multiple files that are imported through `imports = [...]`? Do you just store them via a package override?
amf has quit [Quit: WeeChat 2.5]
chagra has quit [Ping timeout: 245 seconds]
troydm has quit [Ping timeout: 248 seconds]
cmacrae has joined #nixos
<infinisil>
Synthetica: I'd define an option for that, a readonly option
<infinisil>
Synthetica: You can even go something general like `options.variables = mkOption { type = types.attrsOf types.unspecified; default = {}; };`,
<Synthetica>
infinisil: That could work, it should error when I try to write multiple values to the same variable right?
<infinisil>
But I'd probably use single options for everything you need if it's not too many
anton has joined #nixos
<Synthetica>
It's currently 2, but I think it will be more in the future
<infinisil>
Synthetica: If you want to use the general thing, you could probably make it error on multiple assignments with `types.attrsOf (types.uniq types.unspecified)`
<infinisil>
With the single options, you can use `mkOption { readOnly = true; }`
<cransom>
hrm. bringing my hydra machine from 18.09 (nix 2.1) up to 19.03/nix 2.2. after, i get some failing builds that might be due to sandboxing as i do some impure things (but, sandboxing is off everywhere), but more flagrantly, `hydra-queue-runner[17311]: error: opening lock file '/nix/var/nix/db/big-lock': Permission denied`. there's a new one for me.
o1lo01ol1o has quit [Remote host closed the connection]
<gchristensen>
andi-: all files
<gchristensen>
feels quite low
<{^_^}>
[nixpkgs] @zimbatm pushed to master « minio: only publish the main binary »: https://git.io/fjVeX
<andi->
Yeah
troydm has joined #nixos
<aveltras>
anyone using "chrome-gnome-shell" to install gnome extensions with the latest nixos-unstable ? The extensions.gnome.org doesn't to agree with me on the fact that chrome-gnome-shell is installed
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hmpffff has quit [Read error: Connection reset by peer]
hmpffff has joined #nixos
Neo-- has quit [Remote host closed the connection]
drakonis has joined #nixos
Neo-- has joined #nixos
hmpffff has quit [Read error: Connection reset by peer]
<aveltras>
in fact, the "true" way to install extensions on nixos if there aren't in the channel is to use the "software" app
hmpffff has joined #nixos
<Ankhers>
If I want to reference a file in nixpkgs, how would I do that? I'm currently trying `pkgs.callPackage <nixpkgs>/.../foo.nix {};`
resonyze has quit [Quit: WeeChat 2.6-dev]
<infinisil>
Ankhers: <nixpkgs/../foo.nix>
<Ankhers>
infinisil: Thanks!
johanot has quit [Quit: WeeChat 2.4]
<clever>
Ankhers: the difference, is that <nixpkgs>/.../foo.nix (or a variant of it), will search for <nixpkgs> in $NIX_PATH (even if its empty), while <nixpkgs/../foo.nix> will search for a version of nixpkgs that definitely has a foo.nix
<Ankhers>
clever: Makes sense. Thanks!
<andi->
the amount of files corresponds with the size and amount of those that I have on my smaller binary cache.. so not really unreasonable
chagra has quit [Ping timeout: 268 seconds]
hyper_ch2 has quit [Quit: Page closed]
alp has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
Tucky has quit [Quit: WeeChat 2.5]
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 244 seconds]
boogiewoogie has quit [Remote host closed the connection]
<NickHu>
Is anyone able to build taffybar at the moment?
domogled has quit [Read error: Connection reset by peer]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<NickHu>
Actually, it seems like a lot of its dependencies are broken (as of version a1dd419c1ffacea87eba066a2bb332e03cb68f66)
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 268 seconds]
<Ankhers>
How do I specify a different attribute name in a inherit call? Normally you would just do `inherit erlang`, but what if I want to use a different version of Erlang?
v88m has joined #nixos
<Ankhers>
So what if I wanted to pass in `erlangR21` instead of just `erlang`?
<clever>
Ankhers: just use normal attrs then, erlang = erlangR21;
<Ankhers>
clever: I didn't try actually running it because emacs said it was a syntax error. Thanks!
resonyze has joined #nixos
gxt has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @fpletz pushed 2 commits to release-19.03: https://git.io/fjVvg
fusion809 has quit [Read error: Connection reset by peer]
scott has quit [Ping timeout: 248 seconds]
{^_^} has quit [Read error: Connection reset by peer]
{^_^} has joined #nixos
aristid has quit [Ping timeout: 248 seconds]
davidtwco has joined #nixos
aristid has joined #nixos
jgt has quit [Ping timeout: 248 seconds]
scott has joined #nixos
fusion809_ is now known as fusion809
englishm has joined #nixos
resonyze has quit [Quit: WeeChat 2.5]
jasongro` has quit [Quit: ERC (IRC client for Emacs 26.2)]
pie__ has quit [Ping timeout: 272 seconds]
resonyze has joined #nixos
<drakonis>
"Warning: the new NixOS configuration has an ‘init’ that is incompatible with the current configuration. The new configuration won't take effect until you reboot the system."
<samueldr>
*never* use nixpkgs-unstable on a nixos system to build the system, nixos-unstable is tested, nixpkgs-unstable isn't
<Synthetica>
Is there already a trivial builder that exports a Nix expression to a JSON file? I seem to remember such a thing, but i can't find it now
stepcut has joined #nixos
<Synthetica>
Like the opposite of `lib.importJSON`
<samueldr>
additionally, nixos-unstable is more likely to update faster than nixpkgs-unstable since nixpkgs-unstable has to wait for Darwin stuff to build
<drakonis>
i'm using the repository, not the channels
<clever>
Synthetica: builtins.toFile "name?" (builtins.toJSON foo) or pkgs.writeText
<drakonis>
seems like a crazy choice though
<samueldr>
drakonis: the nixpkgs-channels repository? same meaning for the branches
<{^_^}>
[nixpkgs] @FRidh pushed commit from @r-ryantm to master « ponyc: 0.28.0 -> 0.28.1 »: https://git.io/fjVfS
sigmundv has quit [Ping timeout: 245 seconds]
<lfish>
hello, I tried updating nixos from 18.09 to 19.03 yesterday, but with the update nixos stops recognizing the wi-fi board. rfkill and ifconfig find none. Any idea what might be cuasing that? I'm on a lenovo v310 15isk
lord| has quit [Read error: Connection reset by peer]
<karetsu>
how do nix-channels work? I think I've messed up with home-manager and now I have some things left in the store which are from the home-manager channel and I can't get rid of them and they are clashing :/
<clever>
karetsu: nix-channel --list, nix-channel --add, nix-channel --remove, and every user has his own set of channels, you typically inherit from root's
<karetsu>
is it that home-manager doesn't support a `nix-env -e <something>`?
<karetsu>
the instructions are to install from the home-manager channel, great, but its put things in /nix/store that I can't get rid of and they are clashing
jgt1 has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
rfold has joined #nixos
<DigitalKiwi>
what's the difference between inotify-tools and inotifyTools?
<DigitalKiwi>
(and in general when I see this pattern)
<immae>
DigitalKiwi: it’s an alias
<immae>
you can look at pkgs/top-level/aliases.nix
<codedmart>
So if I know the path of something I want to run when I start xmonad for instance `xsetroot -xcf /nix/store/ahz6yxdy0axrrl50994az7mhdr0dhyjr-adwaita-icon-theme-3.30.1/share/icons/Adwaita/cursors/left_ptr 48`. What is the appropriate way to do this. Obviously using that path is wrong since it can change.
<karetsu>
is that not the same as setting a cursor_name and doing xsetroot -cursor_name left_ptr &
<clever>
DigitalKiwi: it was renamed back in 2015, and an alias was left behind for anybody that didnt get the memo
<DigitalKiwi>
oh ok
ambro718 has joined #nixos
<codedmart>
karetsu: I don't know :).
<DigitalKiwi>
thanks, i've always seen them and wondered why there are duplicates
<DigitalKiwi>
might the aliases be removed at some point?
<LnL>
funny that the name convention has kind of transitioned back to the original name :)
<karetsu>
codedmart: I have xcursor.theme in my .Xresources and that xsetroot in my .xprofile and I have 0 issues with cursors
<karetsu>
although I use Vanilla-DMZ
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<karetsu>
how do I find out what has added something to /nix/store? I have a /nix/store/yhxz0xblzjqixmf00y3x58bg4cjkv45d-home-manager that I can't find the cause of
fendor has quit [Remote host closed the connection]
<eddyb>
ugh I think I managed to get `gcc` tests to work (by adding `expect` and `dejagnu` as dependencies), except for lots of tests failing with this: `/nix/store/2dfjlvp38xzkyylwpavnh61azi0d168b-binutils-2.31.1/bin/ld: cannot find crt1.o: No such file or directory`
<eddyb>
I'm guessing the `build.sh` used to build `gcc` doesn't get used for `make check` from `doCheck=true`?
<jtojnar>
aveltras: how did you install it?
ubert has quit [Remote host closed the connection]
<hodapp>
qyliss: what makes this one particularly, as far as I can see, is that it uses autotools/configure/some custom bootstrap.sh script just in order to build the build tool, and then runs the build tool
<qyliss>
that doesn't sound that bad?
<hodapp>
and this build tool then downloads probably quite a lot of stuff on its own
<qyliss>
ohh
<qyliss>
right
resonyze has quit [Quit: WeeChat 2.6-dev]
<qyliss>
can you download all that stuff with Nix, and just put it in the right place?
asheshambasta_m has joined #nixos
<hodapp>
I don't know...
<qyliss>
that's usually how we handle that sort of thing
<hodapp>
I guess I could do two separate derivations, with the first just building the build tool
<qyliss>
yeah!
<hodapp>
and the second can fetch all it wants to, prior to the build step (assuming I can separate out the actual actual actual build step)
<qyliss>
Non-fixed-output derivations can't do networking
<hodapp>
hmmmmm
<eddyb>
so... `doCheck=true` has been broken for a while for the `gcc` package :/
<eddyb>
or I'm doing it wrong
<hodapp>
it'd be awesome if I were wrong about how crosstool-NG works
<qyliss>
have you checked if there's anything already using crosstool/NG?
<hodapp>
didn't see anything in nixpkgs
<hodapp>
"If you call ct-ng --help you will get help for make(2). This is because ct-ng is in fact a make(2) script. There is no clean workaround for this." hmmmmm
<{^_^}>
#39463 (by oxij, 1 year ago, merged): tree-wide: disable `doCheck` and `doInstallCheck` where it fails
<hodapp>
qyliss: but perhaps if I dig into crosstool-ng docs, there is a way to do what you describe and pre-fetch things... but I definitely don't like how this sort of hard-codes dependencies
<qyliss>
Nix has to hard-code dependencies
<qyliss>
that's sort of the point
dm9 has joined #nixos
<qyliss>
dependencies have to be specified upfront, with checksums
<hodapp>
what I mean is, perhaps there is a way I could parse the URLs out of the git repo itself rather than copying all of them manually
<hodapp>
even if this may require some manual fixing when updates occur
<qyliss>
the usual way to do this is to write a script and put it in your package's directory
<hodapp>
write a script to do what?
<qyliss>
pull out the URLs and checksum them
<qyliss>
and then generate Nix code or JSON for them
<hodapp>
can you point to an example of this in nixpkgs?
<typetetris>
If I start a nix-shell with `nix-shell -p gmp` for example, the programs in there can't find `libgmp.so` with `dlopen`. I have to explicitly set `LD_LIBRARY_PATH` in the shell for it to work. Please suggest a more convenient way to do that. I hope there is one.
vmandela has quit [Quit: Leaving]
inquisitiv3 has joined #nixos
kaliumxyz has quit [Ping timeout: 248 seconds]
asheshambasta_m has quit [Quit: Leaving.]
talqu has quit [Ping timeout: 272 seconds]
dm9 has quit [Quit: WeeChat 2.5]
<inquisitiv3>
I want to see what key combinations there are for switching between keyboard layouts. When I run `$(nix-build --no-out-link '<nixpkgs>' -A xorg.xkeyboardconfig)/etc/X11/xkb/rules/base.lst` as described on our wiki I get a permission error. When I run the command with `sudo` I get an error message saying the file doesn't exist.
<inquisitiv3>
Or more correctly "command not found"
<philipp[m]>
I have a container on my nixos-19.03 machine, where I want a newer version of `python3.pkgs.service-identity`. I tried using `nixpkg.config.packageOverrides` and overwrote the version and the sha256 of the package but that gives me weird errors in a completely different part of the evaluation, I think.
<philipp[m]>
Is there a good way to do this properly?
Ariakenom has quit [Quit: Leaving]
<clever>
2019-06-18 05:03:41 < clever> NYXT: you want to use disabledModules to remove the current plex module, and then use imports to add in the new one
<clever>
philipp[m]: youll also need a packageOverrides as well, to change the package the module is using
<philipp[m]>
Fortunately my modules has a `pkg` switch, so I can just use that, I guess.
<clever>
that also works
<mac10688>
Yesterday I was trying to find the postgresql package but I found on the nixos package page when i type postgresql it comes back with results where postgresql is in the description. How do I specify just the attribute name?
<clever>
mac10688: i just tab-complete under nix repl '<nixpkgs>'
civodul has joined #nixos
<mac10688>
hmm, i just tried nix-env -qa postgresql again and it seems to give me back results now, but it wasn't last night
<mac10688>
how do you get to nix repl '<nixpkgs>'?
<qyliss>
you run that in a shell
<mac10688>
ok, i need to figure out this shell thing sooner than later
<mac10688>
ahh nix-env is nix-shell
<mac10688>
no
<qyliss>
so, like, literally, in your bash or whatever, run nix repl '<nixpkgs>'
<andi->
clever: seems like you only did reverse and forward dns generators. Will try to comeup with someone myself
<clever>
andi-: if you can do it in c, you can also use IFD to cheat like i did
<andi->
clever: Can use IFD. Might also just use (s)ipcalc
tilpner has quit [Quit: WeeChat 2.4]
tilpner has joined #nixos
GiGa has joined #nixos
GiGa has joined #nixos
GiGa has quit [Changing host]
<m1cr0man>
Hiya. What's the correct way to import a file and brings its variables into scope? I was thinking `inherit (import ./common.nix);`
<tilpner>
m1cr0man: with (import ./common.nix);
<andi->
m1cr0man: with (import ./file.nix)
<m1cr0man>
ah ok. And will that work inside the let..in syntax too?
<zachk>
can I install nix on ubuntu on windows? the curling and running shell script doesnt seem to be working for me, this doesnt work: curl https://nixos.org/nix/install | sh
<tilpner>
m1cr0man: Actually the parentheses are unnecessary: with import ./common.nix;
<tilpner>
m1cr0man: No, you need to put it before the let
<m1cr0man>
ah grand! Thanks a mil :D
<tilpner>
Or inside an expression inside the let-in
<clever>
mac10688: in a let block, i would do `let stuff = import ./common.nix; things = stuff.things; in things` for ex
kvaster_ has quit [Remote host closed the connection]
<clever>
or `with import ./common.nix; let stuff= things; in stuff`
<{^_^}>
[nixpkgs] @bjornfor pushed commit from @r-ryantm to master « shutter: 0.94.2 -> 0.94.3 »: https://git.io/fjVLf
jgt1 has quit [Ping timeout: 252 seconds]
<kraem>
systemd-timesyncd fails on startup (and nixos rebuild) with (code=exited, status=238/STATE_DIRECTORY) - found this https://github.com/NixOS/nixpkgs/issues/31540 but the fix did not work - anyone seen this?
<{^_^}>
#31540 (by MrSorcus, 1 year ago, open): Failed to start Network Time Synchronization.
GiGa has quit [Quit: Leaving]
fusion809 has quit [Remote host closed the connection]
<kraem>
i'm not sure how the file structure is supposed as i'm not that good with systemd to begin with but line 2 of the log i pasted states that the path is not a dir which it is not indeed: https://bpaste.net/show/9b8d6276618c
<kraem>
*supposed to be
<ottidmes>
kraem: I actually ran into that problem today too, my server was half a minute off, causing two-step auth to fail for my password manager. When I manually started it, it worked though, i.e.: systemctl start systemd-timesyncd.service
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjVLR
<dramforever>
It's interesting to see that when people first see Nix and see 'reproducible', they tend to assume that package management is done imperatively, and a .nix file is a 'trace file' that others can replay to reproduce the same environment
dramforever has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjVL6
grahamc[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
devlinzed[m] has quit [Quit: Idle kick: User has been idle for 30+ days.]
<ottidmes>
m1cr0man: not quite sure what you mean, do you mean like ${name} in a file? you could do that by having a file containing something like the following nix code: vars: with vars; '' multi line string with ${name} ''
<ottidmes>
m1cr0man: then you can import that string like so: import /path/to/file.nix { name = "something"; }
<kraem>
ottidmes: alright - thanks anyway :)
pointfourone has quit [Quit: Leaving]
<m1cr0man>
ottidmes, See it's not a nix script. For example I have a DNS resource definition in a file called "m1cr0man.com.rr". I'm using it in nix with bind.zones."m1cr0man.com".file = ./m1cr0man.com.rr. I want to reference a variable in that file.
<ottidmes>
m1cr0man: well then you got to generate that file with Nix, like so: bind.zones."m1cr0man.com".file = pkgs.writeText "m1cr0man.com.rr" (import ./m1cr0man.com.rr.nix vars)
<zachk>
I am trying to install nix on ubuntu on windows, I get this error /tmp/nix-binary-tarball-unpack.sQY0ystwBe/unpack/nix-2.2.2-x86_64-linux/install: unable to install Nix into your default profile , any ideas?
<m1cr0man>
ottidmes, Hm ok, that'll do fine. I can add double quotes at the start and end of my file quite happily. Thanks :)
offlinehacker has quit [Quit: Idle kick: User has been idle for 30+ days.]
jgt1 has joined #nixos
bobvanderlinden_ has quit [Quit: Idle kick: User has been idle for 30+ days.]
cybrian has joined #nixos
oida has quit [Remote host closed the connection]
lovesegfault has joined #nixos
jgt1 has quit [Ping timeout: 252 seconds]
<kalbasit>
,locate bin pgrep
<{^_^}>
Found in packages: toybox, busybox, procps-ng
<kalbasit>
risson: ^^
kubaracek has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
<kalbasit>
risson: I usually /msg it to avoid spamming everyone here :)
<kraem>
ottidmes: thank you again - did read the one about /var/lib/private having wrong permissions but mine didn't - instead found this: https://bbs.archlinux.org/viewtopic.php?id=245916 and removed the symlink as suggested = systemd-timesyncd.service up and running
aszlig has joined #nixos
ricekrispie has quit [Quit: YEET]
ricekrispie has joined #nixos
ilmu has quit [Ping timeout: 272 seconds]
<kubaracek>
Hi. Has anyone here managed to setup oslogin on GCE? Having troubles for hours :(
<ottidmes>
kraem: nice!
__monty__ has quit [Quit: leaving]
cjpbirkbeck has quit [Quit: Quitting now.]
hamishmack has joined #nixos
endformationage has joined #nixos
cjpbirkbeck has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
ksbrar[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30+ days."]
andi- has quit [Remote host closed the connection]
<ottidmes>
jtojnar: maybe you can use some tools that can help you filter a graphviz graph, or you could do some shell tricks with nix-store --query --tree to get the route to the dependency you are interested in, thats all I can think of
jtojnar has quit [Read error: Connection reset by peer]
jgt1 has quit [Ping timeout: 258 seconds]
<aleph->
Stupid question, is there a way to get my laptop to not suspend/hibernate when I shut my lid? Already setting services.logind.lidSwitch = "ignore"; and doing a rebuild to no effect.
<{^_^}>
[nixpkgs] @alyssais opened pull request #63482 → CODEOWNERS: add myself for lib/licenses.nix → https://git.io/fjVq4
AmandaC has joined #nixos
lovesegfault has quit [Ping timeout: 245 seconds]
ddellacosta has quit [Ping timeout: 244 seconds]
<AmandaC>
I'm getting `error: infinite recursion encountered, at undefined position` when I try and `import` an overlay I'm making for myself, anybody have any ideas for what could cause that? The repo I'm making is at https://gitlab.darkdna.net/amanda/nixpkgs and I'm adding it to my configuration.nix with `nixpkgs.overlays = [ import /path/to/that/repo/default.nix ]`
<AmandaC>
Er, no that's def. not it, because I was getting the error with an earlier version of the package.
rprije has joined #nixos
<samueldr>
right, I never quite remember whether to prefer using `self` or `super` inside the overlay, but know that some cases of infinite recursions are fixed by using one instead of the other
<AmandaC>
I can't find many simple examples of overlays to compare against, either, unless my google-fu is lacking more than I thought
<zachk>
ottidmes, seems adding stuff to disable some of the sql lite and shutting off the sandbox works, thank you :)
<AmandaC>
going to duck back out though now, because if I stay in channels this large I tend to get 3am private messages from people who don't understand that IRC isn't a dating app
AmandaC has left #nixos [#nixos]
<samueldr>
:(
zachk has quit [Remote host closed the connection]
Soo_Slow has quit [Remote host closed the connection]