<lovesegfault>
worldofpeace: Can you help me to fix lollypop
<lovesegfault>
Using cmus hurts
syd has joined #nixos
boxscape has quit [Remote host closed the connection]
<day|flip>
learning to used thelounge hurts
<lovesegfault>
day|flip: thelounge?
<day|flip>
been having to much issue with emacs. been very slow buffer. and i like rec. due to load image in gtk
<mq32>
hey, can somebody help out a newbie? i'm writing a derivation for a mono project and want to use nuget. now i can do "inherit mono", but i don't know the right syntax to inherit the nuget package
<day|flip>
so i switch to howl. for the speed. i got nix mode loaded for it. so i had to look for another irc client. one that can pre load image from other site. like imgur ect. it was nice to have on emacs erc
<lovesegfault>
day|flip: I don't know what any of those are
<day|flip>
emacs have two built in irc client. erc is heavier of the two
<day|flip>
howl is a text editor. very light and speedy for gtk3
<{^_^}>
[nixpkgs] @grahamc pushed to master « maintainer-list: add back users unfairly removed due to missing github IDs »: https://git.io/JeFPT
<dansho>
do i need some configuration to be able to mount USB drive (fat32 i guess)? i get these errors using thunar or bashmount: http://dpaste.com/2X0AKCC
<cap_sensitive>
Hi all. Is it possible to import a file when use super.<some_package>.overrideAttrs ?
kvda has joined #nixos
<cap_sensitive>
Currently, I'm trying to do: `neovim = super.neovim.overrideAttrs ./neovim {}`, but nix complains that it got a path, not a set (which sounds reasonable), but is there a way to wrap the input file to be a set?
<Ericson2314>
you can just leave a message or something
<gustavderdrache>
i'm building a small static binary, but for some reason the derivation's output has propagated build inputs that i didn't put there
<gustavderdrache>
and since one of my inputs is openssl, my closure ends up ridiculously huge
<gustavderdrache>
is there a way to predict when nix-support/propagated-build-inputs will appear?
andi- has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 252 seconds]
<{^_^}>
[nixpkgs] @grahamc pushed to master « maintainer-list: cypherpunk2140 is now known as stefan-mihaila (github ID matches) »: https://git.io/JeFPi
<mog>
does anyone here use home-assistant and have their configs up somewhere trying to get started with it, and cant seem to add integrations correctly
<cap_sensitive>
How do I import <nixpkgs/pgs/build-support/trivial-builders.nix> in my overlay so that I can use writeShellScript?
<simpson>
mog: Are you having the problem where enabling integration doesn't work because there's missing Python dependencies? That is the problem I've been having.
kleisli has quit [Ping timeout: 258 seconds]
<newhoggy>
I'm stuck on getting a `nix-build` working where it looks like my `Setup.hs` script is being built with an old version of `Cabal` that doesn't support my cabal file version:
<cap_sensitive>
I just discovered that in the official neovim builder, there's a `wrapper.nix` that has two options: viAlias and vimAlias. How do I enable them in my overlay?
<notgne2>
cap_sensitive: wow I must have missed that yesterday, wrapper.nix is actually what gets exported to pkgs.neovim (and what was being overrided)
<notgne2>
you can just do `neovim = (neovim.override { viAlias = true; vimAlias = true; });`
<cap_sensitive>
notgne2: I think I know what to do now: `super.neovim.override { viAlias = true; }`
<notgne2>
yup
<cap_sensitive>
notgne2: But I still have one more problem: I have a script called `vimdiff` that is a wrapper: `exec nvim -d "$@"`
kvda has joined #nixos
<cap_sensitive>
How to create such a wrapper? Ideally I should use <nixpkgs/pkgs/build-support/trivial-builders.nix>
<cap_sensitive>
Maybe
<notgne2>
you mean you want to make this script available as a package/binary?
<cap_sensitive>
I want the neovim package to generate such script for me
<notgne2>
`vimdiff = pkgs.writeScriptBin "vim-diff" "exec ${pkgs.neovim}/bin/nvim -d \"$@\"";` is how you could make it it's own package
<cap_sensitive>
But can I integrate that to my neovim? Maybe with neovim.overrideAttrs?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cap_sensitive>
But I guess a local package called `neovim-vimdiff` with the content you provided would also suffice
<jakobrs>
"Syntax error near unexpected token 'QT5,'
<clever>
what error is it failing with?
<clever>
try adding pkgconfig to nativeBuildInputs?
wpcarro has joined #nixos
<luc65r[m]>
notgne2: Thanks !
<dicearr>
Hi here, does anyone knows why after setting up mini as my lightdm greeter the cursor over my xmobar/empty desktop changed to a cross? It also happens that a terminal is immediately spawned after login in, if I close this terminal my session is ended... I never had this beahvior with the default greeter...
<jakobrs>
clever: Yeah, that fixed the error
<jakobrs>
thx
<__monty__>
dicearr: That sounds like the xterm "wm".
palo has joined #nixos
<__monty__>
That's what I logged into automatically when I tried out xmonad too.
<srhb>
u1f320: Without any qualifiers for what you want, that's hard to answer. Why not start with stable, the default suggestion from nixos.org ?
<u1f320>
Were comments /* like these */ supported in configuration.nix before? or still?
<u1f320>
srhb, am I to understand that I can upgrade it to unstable should I want to, later on? or even downgrade it if it fails?
<__monty__>
I think nix only support # comments
diego_ has joined #nixos
<u1f320>
__monty__, cool thanks
<__monty__>
Yes, you can.
<lassulus>
nix supports /* and */
<srhb>
No, /* */ is correct for multiline..
<__monty__>
But running unstable requires quite a bit of nix experience imo.
<srhb>
u1f320: Yeah, that's right.
<diego_>
__monty__: You were right, it was xterm.
<diego_>
Thanks!
<__monty__>
diego_: Did you catch my comment about `defaultSession`?
<u1f320>
my archlinux vim doesn't properly highlight those /* multiline comments */
<__monty__>
Unless you don't care about having the xterm session available.
<srhb>
u1f320: Looks like the nix mode we ship for vim does it correctly.
dicearr has quit [Ping timeout: 240 seconds]
<duairc>
When specifying the src for a derivation, obviously I can use fetchgit or fetchFromGitHub to get a git repository, but how do I say that the src is a subdirectory within that repository?
<srhb>
duairc: sourceRoot
<u1f320>
srhb, how do I switch to it? a quick try on an installed unstable, sudo vim ... doesn't highlight them either, only the # comments
<duairc>
I'm not usually a Java person, but I'm trying to package something that's built with maven. Does anyone have any experience with it? I've found build-support/release/maven-build and also build-support/build-maven.nix, but none of them seem to quite work, and tellingly they're not used anywhere inside nixpkgs itself it seems
wpcarro has left #nixos ["ERC (IRC client for Emacs 26.3)"]
troydm has joined #nixos
<cmacrae>
Thank you lassulus! This is really helpful
<u1f320>
Should I be worried about seeing "collision between " lines during `nixos-rebuild switch` ? or are they only informative?
<u1f320>
like: collision between `/nix/store/izkb44dlxg3r4f583g277bdvhj0yvg1q-mount.vboxsf/bin/mount.vboxsf' and `/nix/store/4v5bn4rc2jpvsgxl6p0rrnrk9y22rczm-VirtualBox-GuestAdditions-6.0.14-5.4.5/bin/mount.vboxsf'
<u1f320>
srhb, almost worked, upon starting vim it fetches a bz2 as a gz thus failing to decompress it: curl -L --max-redirs 40 -o '/root/.vim/vim-addons/vim-pi/archive/vim-pi.tar.gz' 'https://bitbucket.org/vimcommunity/vim-pi/get/master.tar.bz2'
<duairc>
notgne2: I guess mavenix is the way, I just was hoping for something I could use inside nix rather than a separate command-line tool
<duairc>
mvnBuild will work for trivial things but when it needs to fetch dependencies it will fail
<u1f320>
To downgrade from unstable to stable is it enough to just change this: system.stateVersion = "20.03" to "19.09" ?
<notgne2>
If it's anything like most languages that'd require the package manager maintainers having the foresight to put hashes in their lockfiles (which some projects just won't have at all anyway)
jjakob has quit [Ping timeout: 260 seconds]
<Yaniel>
u1f320: no
<Yaniel>
to begin with you should not touch stateVersion like, ever
<clever>
,stateVersion
<{^_^}>
Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you want to update the stateVersion option regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value.
jjakob has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
<notgne2>
How I calmed myself down when using node2nix was just telling myself the generated files were just a normal lockfile and not an annoying workaround to a badly designed lockfile I never want to work with
jakobrs has quit [Quit: leaving]
cosimone has quit [Quit: Quit.]
<duairc>
I've been spoilt by callCabal2nix
diego_ has joined #nixos
<u1f320>
thanks Yaniel, clever. Is there a more unstable channel than unstable? like git master maybe?
<Yaniel>
there is nixpkgs-unstable
<Yaniel>
as opposed to nixos-unstable, which gets some tests run on it before it updates
<notgne2>
u1f320: it would take a lot of compiling to use but you can just use the git repo as a channel iirc
<clever>
u1f320: nixpkgs-unstable doesnt have tests ran on it fully, and can brick a nixos machine
<notgne2>
but also, what clever said, don't do it
<u1f320>
oh, I'm not ready for that then xD
<clever>
u1f320: nixos-unstable-small still gets tested, but updates more often, it doesnt wait for things to compile fully
troydm has quit [Ping timeout: 260 seconds]
<Yaniel>
hmm how safe is nixpkgs-unstable if it's only a user channel?
<Yaniel>
i.e. the system/root is using nixos-unstable or whatever
<notgne2>
Oh I do that honestly, nothing can really go wrong besides a package not working
<clever>
Yaniel: should be fine
<Yaniel>
check
<notgne2>
Just when it's your entire system rather than a few bleeding edge compilers it could get annoying when it doesn't work
<Yaniel>
yea
rardiol has joined #nixos
troydm has joined #nixos
<evils>
i'm having trouble with gnupg, fails with no pinentry, anyone know what's up?
<evils>
this is on nixos-unstable
<DigitalKiwi>
what's the exact error
domogled has joined #nixos
u1f320 has quit [Quit: failing hard]
<evils>
DigitalKiwi: it don't work
UndefinedIsNotAF has quit [Ping timeout: 252 seconds]
<evils>
on git tag -s i get `error: gpg failed to sign the data`
<duairc>
Has anyone ever had nix-env -i just get stuck?
<evils>
on gpg2 --clearsign i get `gpg: signing failed: No pinentry`
diego_ has quit [Remote host closed the connection]
<cmacrae>
lassulus: I've been trying to work on your example code (thank you again!) to omit the 'input' part of the sets being passed in, but can't quite work it out. This diff conveys what I want to achieve: https://git.io/JeFHu
<cmacrae>
I think mapAttrsToList is getting upset when I try removing one of the parameters (input) and shuffling stuff along one
<bennofs[m]>
I tried nix copy --from file:///foo/nix/store --to file:///bar/nix/store /foo/nix/store/<whatever> but that said that the path is not in the store
<bennofs[m]>
oh, I need to not use file://, the correct way is using no prefix at all
<bennofs[m]>
now getting error: setting journal mode: database or disk is full (in '/mount/beta/nix/store/nix/var/nix/db/db.sqlite') (probably since the source is read-only?)
<{^_^}>
[nixpkgs] @jtojnar opened pull request #76412 → pangox_compat: drop → https://git.io/JeFdP
reallymemorable has quit [Quit: reallymemorable]
ixxie has joined #nixos
brnzz has quit [Quit: Ping timeout (120 seconds)]
reallymemorable has joined #nixos
brnzz has joined #nixos
mmlb has quit [Ping timeout: 265 seconds]
wpcarro has left #nixos ["ERC (IRC client for Emacs 26.3)"]
shibboleth has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smatting has quit [Ping timeout: 260 seconds]
elux has joined #nixos
dirkx_ has joined #nixos
jmeredith has joined #nixos
Thra11 has joined #nixos
justanotheruser has quit [Ping timeout: 248 seconds]
maralorn[m] has joined #nixos
<dirkx_>
Did a cherrypick and merge on a branch - but for some reason when I open the pull request onto the nixpkg branch - I still / also see the commits that were merged together. Is that a normal github thing ?
<Thra11>
dirkx_: unless you squash the commits, merge will keep all the original commits and add a merge commit.
rauno has joined #nixos
<dirkx_>
Right - so they got nicely squashed in a single commit -- (using Squash or fixup during the cherry pick) -- is there a further squash that needs to be done ?
<dirkx_>
Thrall - yes - agreed - but this started off as a temp, interal thing.
nek0 has joined #nixos
domogled has quit [Quit: domogled]
m0rphism has quit [Ping timeout: 265 seconds]
domogled has joined #nixos
justanotheruser has joined #nixos
<Thra11>
dirkx_: I would try creating copy of your branch (so there's no risk of losing anything), rebase it onto master, then do a `git rebase -i master` and drop, squash and reword stuff until your branch looks like master + 1 commit (or however many commits you actually want). I may have misunderstood your issue though.
<magnetophon>
I'm working on a pkg that was fine when built with an older nixpkgs, but on the latest unstable it gives me: "bad interpreter: %SHPATH%: no such file or directory"
<magnetophon>
The shebang is actually #!%SHPATH%
u1f320 has joined #nixos
<magnetophon>
there is is no string "SHPATH" in the upstream source nor in nixpkgs!
<u1f320>
A dash is inserted splitting the word loadkeys depending on browser(firefox) window size when viewing the manual: "(We even provide neo2 via load-keys de neo!) " but it's copy/pasted correctly(without dash) how odd
<aanderse>
Izorkin please comment in thread if you don't mind
<aanderse>
i will lose track of this problem if only in irc
reallymemorable has joined #nixos
is_null has joined #nixos
<elvishjerricco>
My tinc setup randomly stopped working today. I made a change to my znapzend config, and suddenly tinc went dark. Looking at the logs, restarting the service, and restarting the computer, tinc claims everything is in working order. But obviously it's not
<elvishjerricco>
Nothing seems different after running this command: `for f in /nix/var/nix/profiles/system-*; do diff -r /etc/tinc/aether/ $f/etc/tinc/aether; done`
<elvishjerricco>
Huh. I have two different tinc networks setup, and restarting the other one fixed it... That's concerning
bvdw has quit [Read error: Connection reset by peer]
<runforestrun>
Is there some special iptables rule I need to enable in order for docker containers to be able to access the docker host pc? I can do that in ubuntu/debian without extra configuration (here's a gist with a minimal example https://gist.github.com/alexpeits/595def951093c13f030522de1b5d2a8e)
<simpson>
,ports
<simpson>
Hm, really?
<simpson>
,allowedTCPPorts
<simpson>
runforestrun: Sorry, was hoping that the bot still had a tooltip for this. You need to set networking.firewall.allowedTCPPorts = [ 8080 ]; see https://nixos.org/nixos/manual/index.html#sec-firewall for details.
<evanjs>
Do channels specified via URLs in nixos config always check for updates when I rebuild?
<evanjs>
raw URLs in the config vs nix-channels
<orloge>
I'm trying to setup lorri in my nixos config. When i run nixos-rebuild, it says 'The option `services.lorri' defined in `/etc/nixos/configuration.nix' does not exist.' and i'm not sure why. Any ideas?
<orloge>
Trying to install lorri. I added `services.lorri.enable = true;` in my config but it says `The option `services.lorri' defined in `/etc/nixos/lorri.nix' does not exist.` when i run nixos-rebuild.
<clever>
orloge: you may need to update your channel
<orloge>
clever: i'm pretty new to nixos, im not sure how to update my channel
ambro718 has quit [Quit: Konversation terminated!]
<orloge>
clever: hmm i did and now it's saying `file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)` when i do nixos-rebuild. Something seems broken
<clever>
orloge: what did nix-channel --update print out?
<roxirc>
Is it correct that extraModules cannot be done at vhost level (for web applications) -- commented out lines in https://pastebin.com/YAnNXm03 line 8 and have to be at tld (line 48) ???
takeda has quit [Ping timeout: 258 seconds]
<orloge>
clever: `unpacking channels...` and then nothing else
<clever>
orloge: what about `nix-channel --list` ?
noudle has quit [Remote host closed the connection]
<orloge>
clever: it was empty so i added back the 19.09 channel manually and i updated it. seems to be working now! it's building
<clever>
:)
Shell has joined #nixos
fenedor has quit [Read error: Connection reset by peer]
<orloge>
clever: idk why it wasn't working anymore but thanks for helping me out :)
qyliss has joined #nixos
<roxirc>
that is odd -- a 'nixos-rebuild test' does not pick up the changes just made to /etc/nixos/configuration.nix file -- but reads it just fine (as an error is picked up).
<clever>
roxirc: can you pastebin the entire file?
roxirc is now known as dirkx__
orloge has quit [Remote host closed the connection]
<dirkx__>
clever: removed those - makes no difference. File is read though (testing by putting an nonexistent val into it).
<dirkx__>
Worked about 6-7 times -- but then `suddenly' stopped updating the generated httpd.conf file.
zupo has joined #nixos
<clever>
dirkx__: try `nixos-rebuild build` and then dig the httpd.conf out of the result symlink, perhaps with `nix-store -qR ./result | grep httpd.conf` ?
<dirkx__>
clever: cmd runs fine (same output a for test) - but result does not show an updated httpd.conf (I changed the severAdmin email address to be sure).
<dirkx__>
Is there some state that may hang; or some state reset that one can do ?
reallymemorable has quit [Quit: reallymemorable]
alexherbo2 has joined #nixos
<clever>
dirkx__: nope, its likely an issue with the config your giving it, what did you try changing?
<clever>
dirkx__: what does `nix-store --verify --check-contents` return?
<{^_^}>
[nixpkgs] @Beowulf0 opened pull request #76451 → safeclib: init at 08112019 → https://git.io/JeFh9
vidbina has quit [Ping timeout: 252 seconds]
<Fare>
have emacs packages disappeared? Have they been moved into some separate layer?
elibrokeit has quit [Quit: A random quit message]
afics has quit [Ping timeout: 260 seconds]
elibrokeit has joined #nixos
smatting has joined #nixos
zupo_ has joined #nixos
<MichaelRaskin>
Fare: I thought it is emacsPackages but I don't se Emacs
dansho has joined #nixos
<dirkx__>
clever: I ran it once as a plain apache site, tested it; then introduced a couple of extra modules (mod_timestamp and the mod_ca_simple it needs; along with generating the right x509's). The latter worked - but the LoadModules never appeared in the httpd.conf (did get an error when I put extraModules in the vHost; so moved it to the TLD; then it ran witout fault). Am runing the --verify now.
<dirkx__>
clever: I read that as generating the right LoadModule lines.
<Fare>
dunno what kind of killing and Ctrl-C-ing did it, but eventually nix-build is happy, so I can test my first patch to nixos modules...
<clever>
dirkx__: try `nix repl '<nixpkgs/nixos>'` then try to eval things like config.services.httpd.virtualHosts and see if values come out right
brnzz has quit [Quit: Ping timeout (120 seconds)]
brnzz has joined #nixos
<dirkx__>
Problem is more - that right now a nixos-rebuild <test | rebuild> does no long seem to regenerate the httpd.conf file when I change the ts-demo.nix file (from the pastebin) -- even when I change lines which are in it -- such as ServerAdmin.
<dirkx__>
clever: ah nice - that shows me data that has nicelu picked up the recent changes.
<dirkx__>
But also this error: extraSubservices = «error: The option `services.httpd.extraSubservices' can no longer be used since it's been removed. Most existing subservices have been ported to the NixOS module system. Please update your configuration accordingly.»
<clever>
dirkx__: and check services.httpd.configFile ?
<dirkx__>
lemme chechk why that results link is root owned - and / or if it sould not be nixos owned/makes a difference.
<dirkx__>
hmm -did an 'rm result' of the symlink; followed by a nixos-rebuild test' -- expecting that to recrate the result link. But I guess it did not.
<dirkx__>
Did I just shoot my foot off ?
<clever>
dirkx__: test never makes a result symlink, only build does
<dirkx__>
hmm 'nixos-rebuild build' does not re-create it either ??
bennofs_ has quit [Remote host closed the connection]
shabius has joined #nixos
shabius has quit [Remote host closed the connection]
<dirkx_>
clever: think I found the cause - the console shows me ext4fs errors on ref-counts due to too many inodes or something. And i guess that somehow does not propagate up to a userland non-zero exit code.
<NoctisLabs>
How does one do a kexec fast reboot? I tried running "systemctl kexec" but got "kexec_load failed: Operation not permitted", even as root.
<alienpirate5>
platformio does not build because its dependency, python3.7-tox, is broken