<vifon>
Hello. I'm trying to install a package with custom flags. I figured the easiest way would be to copy the .nix file and install a modified one. I have it as default.nix in cwd. This is how I'm trying to build it: nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<vifon>
The result: error: anonymous function at …/default.nix:1:1 called without required argument 'mkDerivation', at /nix/store/…
<vifon>
Any hints?
<clever>
vifon: is it a haskell package?
<vifon>
No, it's cantata, from KDE Plasma.
<clever>
vifon: you have to use the right callPackage when loading it, look at where that file was being referenced in nixpkgs
<vifon>
But indeed, most of the results I managed to duck were for Haskell.
<sid`>
You need to do stdenv.mkDerivation
<clever>
sid`: the problem will likely just move to another dep
<zeta_0>
euank: thanks, i was looking at that earlier, but i want to use this java lsp, because it's more generic when it comes to build tools and is self contained, so being able to package it would be nice !
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JUlLH
<euank>
zeta_0: What do you mean by 'this java lsp'? The one linked in that issue had a pom.xml, which is why I thought it used maven as its build system
<euank>
Right, and the root of that repo has a pom.xml. It's built using maven
<euank>
What build systems it supports is a different question than how you compile it, and for adding it to nixpkgs, how you compile it is the more important immeidate concern
o1lo01ol1o has joined #nixos
<zeta_0>
euank: so if i understand correctly, i need to use mvn2nix to translate that pom.xml file to nix, and then from there i can install/build the Eclipse JDT Language Server ?
o1lo01ol1o has quit [Remote host closed the connection]
<euank>
zeta_0: that's one possible approach, yeah! There's multiple other approaches too though
o1lo01ol1o has joined #nixos
samhza has quit [Remote host closed the connection]
<euank>
There's a second mvn2nix project (confusing I know), you could use a fixed-derivation-output (but, well, that almost certainly wouldn't make it upstream), you could avoid compiling it by downloading a precompiled jar and just using that
samhza has joined #nixos
<zeta_0>
euank: uhh, i think it would be easier for me to simply translate it directly to nix using mvn2nix, and then go from there.
<zeta_0>
once i have the translated nix code then i can go from there.
<zeta_0>
i'll let you guys know if i run into anymore issues !
<{^_^}>
[nixpkgs] @worldofpeace pushed to release-20.09 « gnome-3: freeze for 20.09 »: https://git.io/JUltA
moet has joined #nixos
orivej has joined #nixos
<moet>
i'm packaging something that calls `hostname` in its tests.. since that program isn't available, i was thinking 1) i could make it available or 2) i could inject a stub using `preCheck` that returns a constant .. the stub could be "mkdir b; export PATH="$PATH:b"; echo "echo fakehost" > b/hostname; chmod +x b/hostname" but this seems kind of ugly.. any other ideas?
<clever>
moet: nix already censors out the hostname within the sandbox
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
alp has quit [Ping timeout: 272 seconds]
thc202 has quit [Ping timeout: 244 seconds]
czer00 has quit [Read error: Connection reset by peer]
<zeta_0>
i can't seem to get mvn2working, when i run: `nix run -f https://github.com/fzakaria/mvn2nix/archive/master.tar.gz --command mvn2nix > mvn2nix-lock.json` it returns the error: `Failed to execute goals [[package]]. Exit code: 1`
<zeta_0>
euank: ^
philr has joined #nixos
<zeta_0>
have any of you gotten mvn2nix working ?
sigmundv has quit [Ping timeout: 256 seconds]
steve-chavez has quit [Ping timeout: 240 seconds]
ToxicFrog has quit [Remote host closed the connection]
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
sid` has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
ToxicFrog has joined #nixos
proofofkeags has joined #nixos
xd1le has quit [Ping timeout: 260 seconds]
<siraben>
This error occurs when I do sudo nixos-rebuild switch, http://ix.io/2xgx
<siraben>
What could be causing
<siraben>
subprocess.CalledProcessError: Command '['/nix/store/kmlzasz1lbkigpirk4vwyg14g206wq18-systemd-246/bin/bootctl', '--path=/boot', 'status']' returned non-zero exit status 1.
<clever>
siraben: systemd-boot has lost its mind, ive seen it before a few weeks ago, only solution i know is to switch to grub (it still supports efi)
<clever>
est31: you must first boot via efi, to be able to configure an efi bootloader properly
<est31>
yeah that's where my problems start
<clever>
siraben: then you need to check the journal with something like `journalctl -f -u pulseaudio --user` maybe
<est31>
never were able to boot off a live usb stick with efi
<siraben>
Ah found out why
<siraben>
Sep 12 09:25:30 siraben-nixos pulseaudio[1640]: E: [pulseaudio] core-util.c: Failed to create secure directory (/home/siraben/.config/pulse): Too many levels of symbolic links
<est31>
already hard enough to get it to boot from sticks without efi
sigmundv_ has quit [Ping timeout: 260 seconds]
knerten1 has joined #nixos
<clever>
est31: how did you put the nixos image onto the usb?
<est31>
dd?
<clever>
that should be fine
<est31>
wasnt tho
<est31>
cant remember what the particular problem was
<est31>
but I didnt get it to boot from efi
<est31>
last time I tried to do it was months ago, note that
<est31>
also the other distros I use on my computer dont work either
<est31>
different mobo manufacturers
<est31>
different distros
<est31>
different usb sticks
<est31>
same me
<est31>
same problem :(
lordcirth has joined #nixos
<est31>
my computers*
<simpson>
No worries. There's a lot of foundational aspects to EFI that are different from BIOS. The disks have to be differently formatted, the bootloaders are compiled and behave in totally different ways, and the configuration options are very different.
knerten2 has quit [Ping timeout: 240 seconds]
<est31>
yeah
<est31>
usually when I install linux on new hardware I dont want to spend hours troubleshooting why efi doesnt work, I want to install linux on it
<est31>
and my new laptop boots really fast thanks to ssd
<est31>
maybe also thanks to nix os
<simpson>
Also, EFI implementations can be flaky. My prior is that less than half of EFI implementations work! At least not without careful massaging.
<est31>
only computer I have nix os on atm
* simpson
has a server which only can EFI boot from a warm start, not a cold start
<est31>
I guess it's a bit like ipv6
<est31>
works sometimes, but not always
<est31>
only some isps offer it
<est31>
and only some websites support it
<simpson>
IPv6 is so reliable compared to EFI that it's funny. Like, you could get an address and send as many packets as you like! If only you could boot~
<clever>
ipv6 randomly breaks for me
proofofkeags has quit [Ping timeout: 258 seconds]
<est31>
ipv6 ping to google is 1 ms slower to me than ipv4 ping
<{^_^}>
[nixpkgs] @KAction opened pull request #97823 → perfect-hash: init at 0.4.1 → https://git.io/JUlOk
<est31>
and my isp has 4 over 6
<est31>
aka cgnat
<clever>
est31: ~25ms slower, since i have to bounce off an american tunnel
<est31>
ouchy
<clever>
30ms v4, 55ms v6
<clever>
55ms is still pretty quick
pjt_tmp has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
xd1le has quit [Read error: Connection reset by peer]
<matthuszagh>
i'm getting a "creating pipe: too many open files" error when attempting to rebuild my nixos configuration. has anyone encountered this? i'm not sure how to get around it. i'm using flakes, if that's relevant and running `sudo nixos-rebuild switch --flake .`
steve-chavez has joined #nixos
<cole-h>
matthuszagh: Check `ulimit -a` for your fd limit.
<matthuszagh>
cole-h: thanks. is there a nixos way to declaratively set that, or I have to do it through ulimit?
jojosch|Johannes has quit [Ping timeout: 244 seconds]
benmkw[m] has quit [Ping timeout: 240 seconds]
jackdk has joined #nixos
yvesf[m] has quit [Ping timeout: 244 seconds]
tbenst[m]1 has joined #nixos
JohannesArnold[4 has joined #nixos
Jake[m] has joined #nixos
chvp has joined #nixos
Ke has quit [Ping timeout: 240 seconds]
johnburnham[m] has quit [Ping timeout: 240 seconds]
jluttine[m] has quit [Ping timeout: 240 seconds]
li_matrix has quit [Ping timeout: 244 seconds]
heatm1s3r has joined #nixos
kozowu has joined #nixos
joshmeredith has joined #nixos
alp has joined #nixos
l_inus[m] has quit [Ping timeout: 244 seconds]
abcrawf has quit [Ping timeout: 240 seconds]
alj[m] has joined #nixos
mitsuhiko has joined #nixos
schlumpp[m] has quit [Ping timeout: 244 seconds]
pheoxy has quit [Ping timeout: 244 seconds]
feffe[m] has quit [Ping timeout: 240 seconds]
bohan[m] has quit [Ping timeout: 240 seconds]
Hirmes[m] has joined #nixos
worldofpeace has quit [Ping timeout: 244 seconds]
chrismatheson has quit [Ping timeout: 240 seconds]
jt35[m] has quit [Ping timeout: 240 seconds]
pointfree has joined #nixos
SpaghettiCthulhu has quit [Ping timeout: 240 seconds]
ntnkwmkmnw[m] has quit [Ping timeout: 240 seconds]
sebass[m] has joined #nixos
alexherbo2[m] has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @vcunat pushed 54 commits to staging-next: https://git.io/JUlWq
siraben has quit [Ping timeout: 240 seconds]
rotaerk has joined #nixos
danielrf[m] has joined #nixos
jojosch|Johannes has joined #nixos
wak-work has joined #nixos
kraem has quit [Ping timeout: 240 seconds]
ZerataX has quit [Ping timeout: 244 seconds]
puzzlewolf has quit [Ping timeout: 244 seconds]
aflatter[m] has quit [Ping timeout: 244 seconds]
yoctocell[m] has quit [Ping timeout: 244 seconds]
yvesf[m] has joined #nixos
cptrbn has joined #nixos
mkg20001 has joined #nixos
georg[m] has quit [Ping timeout: 244 seconds]
peter0576[m] has quit [Ping timeout: 240 seconds]
hpfr has joined #nixos
benmkw[m] has joined #nixos
rnhmjoj has quit [Ping timeout: 244 seconds]
thefloweringash has quit [Ping timeout: 244 seconds]
onewayonelife[m] has quit [Ping timeout: 244 seconds]
Notkea[m] has quit [Ping timeout: 244 seconds]
Dandellion has quit [Ping timeout: 240 seconds]
abcrawf has joined #nixos
tristan[m] has joined #nixos
timokau[m] has quit [Ping timeout: 240 seconds]
Ke has joined #nixos
jluttine[m] has joined #nixos
danielrf[m] has quit [Ping timeout: 240 seconds]
Hayden[m] has quit [Ping timeout: 244 seconds]
surf76[m] has quit [Ping timeout: 244 seconds]
stites[m] has quit [Ping timeout: 244 seconds]
fgaz has quit [Ping timeout: 244 seconds]
ptotter[m] has joined #nixos
ramses[m] has quit [Ping timeout: 240 seconds]
hacker01[m] has joined #nixos
noneucat has quit [Ping timeout: 240 seconds]
duckonomy1 has joined #nixos
sonercirit[m] has joined #nixos
hazel[m] has joined #nixos
snackoverflow[m] has joined #nixos
jlv1 has joined #nixos
yisraeldov has joined #nixos
jt35[m] has joined #nixos
<cptrbn>
I'm trying to add a binary cache to an arm7 (pi). Whats the correct way? Adding to /etc/nix/nix.conf isn't allowed
emily has quit [Ping timeout: 240 seconds]
njha[m] has quit [Ping timeout: 240 seconds]
jschievink has quit [Ping timeout: 240 seconds]
lycium[m] has quit [Ping timeout: 240 seconds]
li_matrix has joined #nixos
alexherbo2[m] has joined #nixos
puzzlewolf has joined #nixos
axx has joined #nixos
alaskacanyon[m] has joined #nixos
mindtree[m] has joined #nixos
pheoxy has joined #nixos
eoli3n_ has quit [Ping timeout: 240 seconds]
siraben has joined #nixos
arcnmx has quit [Ping timeout: 240 seconds]
aflatter[m] has joined #nixos
dywedir[m] has joined #nixos
ntnkwmkmnw[m]1 has joined #nixos
<marble_visions>
hi all, what's the best way to create a nixpkgs cache mirror? usually what i do with centos is i rsync parts of the repo on an external hdd, and this can later be used elsewhere to install packages from
<DigitalKiwi>
you can fiddle with the cache location to make it hold more i think it stores it in /tmp by default so (depending on configuration) isn't persistent
<DigitalKiwi>
after reboot
da39a3ee5e6b4b0d has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lord| has quit [Read error: Connection reset by peer]
cptrbn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
da39a3ee5e6b4b0d has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has quit [Remote host closed the connection]
alp has joined #nixos
sphalerite has quit [Quit: WeeChat 2.6]
alp_ has joined #nixos
cptrbn has joined #nixos
LeshaInc has quit [Read error: Connection reset by peer]
alp__ has joined #nixos
hiro99 has joined #nixos
alp has quit [Ping timeout: 240 seconds]
LeshaInc has joined #nixos
knupfer has joined #nixos
knupfer1 has joined #nixos
alp_ has quit [Ping timeout: 244 seconds]
alp has joined #nixos
maxdevjs has quit [Ping timeout: 272 seconds]
sphalerite has joined #nixos
alp__ has quit [Ping timeout: 244 seconds]
knupfer has quit [Ping timeout: 244 seconds]
knupfer1 is now known as knupfer
alp has quit [Remote host closed the connection]
maxdevjs has joined #nixos
user____ has quit [Ping timeout: 258 seconds]
knupfer has quit [Ping timeout: 244 seconds]
mariatsji has joined #nixos
mariatsji has quit [Read error: Connection reset by peer]
maxdevjs has quit [Ping timeout: 240 seconds]
<marble_visions>
all, a question about system-wide/user-specific nix profiles.. i see in /nix/var/nix/profiles i've got system and per-user... am i right to think that the system profiles only get updated by nixos-* commands, and per-user profiles get updated by nix-env?
<marble_visions>
and that is how nix differentiates between my root user profile, and the system-wide profile?
sangoma has joined #nixos
arjen-jonathan has joined #nixos
mariatsji has joined #nixos
<marble_visions>
and if that's the case, how do you do a `nix-env -u` on the system profile?
Guest39002 is now known as prusnak
<symphorien[m]>
nixos-rebuild switch --upgrade
prusnak is now known as Guest89309
CyberManifest has quit [Quit: Leaving...]
sjn[m] has quit [Quit: Idle for 30+ days]
etokarev[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
uzr[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
schlumpp[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
<{^_^}>
[nixpkgs] @ehmry pushed commit from @sikmir to master « trojita: enable localization »: https://git.io/JUl4s
sangoma has quit [Ping timeout: 256 seconds]
<Raito_Bezarius>
pheoxy: depends on your usecase
<pheoxy>
Raito_Bezarius: all my data will be hosted on a zfs pool and virtual machines on unused space that root wont be using in vg pools?
<Raito_Bezarius>
pheoxy: are you using LVM and ZFS (because you're mentioning vg pools)?
<Raito_Bezarius>
pheoxy: but that does not answer really the question, regarding your usecase anyway
<Raito_Bezarius>
is it a desktop, a server, are you planning to store a lot of data in /home, a lot of data in /srv, etc.
<pheoxy>
not quite sure yet. I have 6 HDD with zfs pool, 2 ssds using one for zfs l2arc? and one for possible vg’s for vm’s but that still leaves me with a 500gb nvme ssd with only nixos / partion on it
<Raito_Bezarius>
the 500G ssd is only for /nix ?
<Raito_Bezarius>
I think it looks like good enough
<pheoxy>
yeh
<Raito_Bezarius>
you can always put some 100G for /home and 20G for /srv
<pheoxy>
but its got over 400gb free
<pheoxy>
not being used
<Raito_Bezarius>
the /nix should grow up quickly I believe
<Raito_Bezarius>
if you're using NixOS frequently
<Raito_Bezarius>
and you dont garbage collect
<pheoxy>
I’ve got all my data mounted to /srv folders from zfs pool
<Raito_Bezarius>
(or if you set up the machine as a cache server, etc.)
<pheoxy>
cache server would be handy I guess as I’m constantly rebuilding nix in vm’s trying to get my configs just right atm
<pheoxy>
but after that...
<pheoxy>
just thinking I could be using the free space on my nvme more efficiently
<Raito_Bezarius>
having spare free space is always useful
<Raito_Bezarius>
you don't have to always fill it of data
<lukego>
How does one setup x11vnc on NixOS? I have a NixOS machine with GPU and OpenGL etc setup but alas I suddenly need to run it headless via my laptop and I'm wondering what to change in configuration.nix.
<Raito_Bezarius>
if you didn't have any L2ARC, maybe, it'd have made sense… but in that case, I feel it's quite Pareto-optimal
<Raito_Bezarius>
you need to monitor and see how your workloads perform then adjust
<pheoxy>
well just thinking it would be nice to use part of the free space for vm’s like windows 10 vfio stuff mainly
mariatsji has quit [Remote host closed the connection]
<pheoxy>
just use it to host the os
<Raito_Bezarius>
check first if the IO performance is fine
<Raito_Bezarius>
on the ZFS pool
<sphalerite>
pheoxy: any reason not to use a zfs pool on the nvme ssd? That way you don't need to decide on the size of the different pieces.
mariatsji has joined #nixos
<pheoxy>
sphalerite: good point. using ext4 at the moment
<pheoxy>
any con’s for zfs on nvme speed wise?
<pheoxy>
it would be nice just automating zfs sends from it guess
<pheoxy>
also is there any benefit to passing through the audio pci for gpus when using vfio?
<{^_^}>
[nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/JUl4b
<sphalerite>
pheoxy: I haven't done any benchmarks, but have been using ZFS-on-NVMe on my laptops for 3 years now and am very happy with it :)
hiro99 has quit [Remote host closed the connection]
hiro99 has joined #nixos
<sphalerite>
pheoxy: as for passing through the audio, yes, there will be less overhead from emulating a sound card, so it will save a bit of CPU power. Not sure if it's a significant amount though.
<Raito_Bezarius>
the emulation code itself could be not absolutely stable
raghavsood has quit [Remote host closed the connection]
marsh has quit [Ping timeout: 272 seconds]
mmohammadi98126 has joined #nixos
<siddv>
Hey! I'm trying to write a derivation in which I modify the source in prePatch. I'm getting errors where the $src is read-only. Is there a way around this?
<siddv>
To be specific, I'm trying to add a line of code to a file in the source
mariatsji has joined #nixos
<symphorien[m]>
$src is copied in .
<symphorien[m]>
modify the files in .
<siddv>
Thank you!
zakame has joined #nixos
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
mariatsji has quit [Remote host closed the connection]
<CptCaptain>
I'm having troubles with a derivation that does not build. I don't know which derivation depends on that package, as I have not added it explicitely
<CptCaptain>
is there a way to find out which derivation depends on that failing derivation?
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
mariatsji has quit [Read error: Connection reset by peer]
patrickod has quit [Ping timeout: 272 seconds]
mariatsji has joined #nixos
kalbasit has quit [Ping timeout: 272 seconds]
mariatsji has quit [Read error: Connection reset by peer]
MarkRBM has quit [Ping timeout: 272 seconds]
HeN has quit [Ping timeout: 272 seconds]
kalbasit has joined #nixos
MarkRBM has joined #nixos
mankyKitty has quit [Ping timeout: 272 seconds]
bgupta has quit [Ping timeout: 272 seconds]
mankyKitty has joined #nixos
patrickod has joined #nixos
sgraf has quit [Ping timeout: 272 seconds]
pittma has quit [Ping timeout: 272 seconds]
HeN has joined #nixos
evck_ has quit [Ping timeout: 272 seconds]
elvishjerricco has quit [Ping timeout: 272 seconds]
pittma has joined #nixos
aristid has quit [Ping timeout: 272 seconds]
sgraf has joined #nixos
bgupta has joined #nixos
elvishjerricco has joined #nixos
orivej has joined #nixos
murmr has quit [Ping timeout: 272 seconds]
sethetter__ has quit [Ping timeout: 272 seconds]
aristid has joined #nixos
evck_ has joined #nixos
vdemeester has quit [Ping timeout: 272 seconds]
buggymcbugfix has quit [Ping timeout: 272 seconds]
murmr has joined #nixos
sethetter__ has joined #nixos
buggymcbugfix has joined #nixos
vdemeester has joined #nixos
<gleber>
Is anyone using kubenix successfully? I'd love to give it a try, but struggling to get it going. It seem to be incompatible with nixpkgs-unstable, nixos-20.03 and nixos-20.09 :(
marsh has quit [Remote host closed the connection]
<Taneb>
So, what's up with gnome3 on unstable rn
siddv has quit [Ping timeout: 240 seconds]
turbo_MaCk has joined #nixos
turbo_MaCk has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<edcragg>
i'm having issues with fonts, some apps are just rendering squares rather than text
<aleph->
Hmm, anyone have experience with packaging php applications? Trying to get some simple printf style output and I'm kinda wondering if the staticness of nix is futzing with it at all
<aleph->
Curious if it might be stopping me from `file_put_contents()` to /tmp/ somehow
<damjan>
aleph-: many php apps assume the directory where the app is installed is writable
<aleph->
damjan: Might be it, I've just opened an issue. Maybe the devs can help me with this super small fix I need :p
<aleph->
Err, devs on the package I'm using
<damjan>
which one?
<damjan>
I just finished packing up tinytinyrss with uwsgi+php as a systemd portable service image
alp has quit [Ping timeout: 240 seconds]
dermetfan has quit [Ping timeout: 240 seconds]
<damjan>
I can't say it was easy peasy
FloNix has joined #nixos
<FloNix>
hi!
<FloNix>
The nixos documentation fpr kubernetes says that there is no kubernetes HA cluster possible at the moment. Is there anyone here who has a HA cluster running with nixos?
hiro99 has joined #nixos
<aleph->
damjan: rss-bridge.
<aleph->
It's already packaged, I just need a tweak for it
_ris has joined #nixos
ris has quit [Ping timeout: 244 seconds]
hiro99 has quit [Remote host closed the connection]
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}>
[hydra] @andir opened pull request #808 → ldap: only try the LDAP realm when it is configured → https://git.io/JUl6N
jumper149 has quit [Quit: WeeChat 2.9]
knupfer has joined #nixos
knupfer has quit [Ping timeout: 244 seconds]
endformationage has joined #nixos
alp has joined #nixos
sangoma has joined #nixos
dermetfan has joined #nixos
mallox has quit [Ping timeout: 244 seconds]
mmohammadi98124 has joined #nixos
mmohammadi9812 has quit [Ping timeout: 260 seconds]
mmohammadi98124 is now known as mmohammadi9812
mariatsji has joined #nixos
knupfer has joined #nixos
fresheyeball has joined #nixos
_ris is now known as ris
<immae>
Can I add something to a python derivation so that, when used in a nix-shell (like a regular mkShell { buildInputs = [ (python.withPackages(p: [ p.myDerivation ]) ]; }), it adds things to the NIX_LDFLAGS?
<immae>
(propagatedBuildInputs does the job when I use it directly in the buildInputs of mkShell, but not when I call it from withPackages)
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ManiacOfMadness has quit [Ping timeout: 244 seconds]
mariatsji has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @doronbehar opened pull request #97856 → buildGoModule: support -ldflags directly → https://git.io/JUlP4
marsh has quit [Remote host closed the connection]
domogled has quit [Remote host closed the connection]
cosimone has joined #nixos
<NieDzejkob>
oh, apparently "export NIX_PATH="nixos-config=...:$NIX_PATH" actually works. I guess it didn't before due to some env weirdness
knupfer has joined #nixos
<sreybastien[m]>
i'm not sure, but i think there is a problem on "unstable" with pinentry and gnupg, `gpgconf --check-programs ` return an error on path `gpgconf: error running '/nix/store/yvnd02rbdsin2waamh9kb94klipajbhi-gnupg-2.2.20/bin/pinentry': probably not installed` and when i try to install it using system.packages of `configuration.nix`, that don't solve the problem because path differs.
<NieDzejkob>
try restarting your gpg-agent with gpgconf --reload gpg-agent
<NieDzejkob>
I guess you've just upgraded?
<sreybastien[m]>
yep, upgraded and rebooted
<sreybastien[m]>
* yep, upgraded (nixos-rebuild switch --upgrade) and rebooted
mmohammadi9812 has joined #nixos
<sreybastien[m]>
need to open a bug report NieDzejkob ?
__monty__ has quit [Quit: leaving]
<NieDzejkob>
did this work before?
justanotheruser has joined #nixos
<sreybastien[m]>
no, this is the first time i test encrypt/decrypt using FWD agent by gpg
<sreybastien[m]>
so i don't know :)
aborsu has joined #nixos
aborsu has quit [Remote host closed the connection]
<NieDzejkob>
could you find and paste the config file that nix generates for gpg-agent?
<betaboon>
is it possible that `builtins.fetchGit` requires `git` to be in `systemPackages` ?
tsrt^ has quit []
saschagrunert has quit [Remote host closed the connection]
freezeboy has joined #nixos
eoli3n_ has quit [Remote host closed the connection]
<freezeboy>
Hello, I'm trying to package cockpit from fedora/rhel guys and I am currently stuck with problems with the docbook dtd/xsl checks while building the doc, there are quite a lot of documents, do you know if there is a nice way to deal with it ?
<sreybastien[m]>
NieDzejkob: Where i could find that ? `gpgconf --list-options gpg-agent` list the option, but my gpg-agent.conf is empty
ransom has joined #nixos
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
ardumont has quit [Ping timeout: 260 seconds]
<NieDzejkob>
sreybastien[m]: dunnoh, try looking with something with gpg in the name in /etc?
<betaboon>
genevino: do you have some nix-configuration that you could share? XD
joesventek has quit [Quit: Quit]
omnipotententity has quit [Ping timeout: 244 seconds]
<genevino>
betaboon: unfortunately not, no. i just used whatever i was able to find in the nixos options index.
joesventek has joined #nixos
<genevino>
betaboon: it didn't work with pulseaudio sink so i kindof reverted that change.
<genevino>
betaboon: in fact, i use jack to make beats with renoise, and the whole patchelf stuff is pretty awkward on nixos if you run a registered version of renoise, so i just ended up rebooting into my artix ssd.
<{^_^}>
[nixpkgs] @doronbehar opened pull request #97865 → gotify-cli: Add version and commit to ldflags → https://git.io/JUlH3
<betaboon>
genevino: i tried with `services.jack.jackd.enable = true;` and trying to play a mp3 with `mocp` but jack doesnt seem to succeed to start
nikivi has joined #nixos
<genevino>
betaboon: did you add your user to the "jackaudio" group?
<freezeboy>
betaboon have you checked the logs ? is there a pulseaudio service running ?
<betaboon>
genevino: yes i did
Alex[m]8 has joined #nixos
<betaboon>
freezeboy: nope no pulseaudio running
<genevino>
betaboon: well you somewhat need to use the "pkgs.pulseaudioFull" package to get jack support with it from what i understand so far.
nikivi has quit [Client Quit]
nikivi has joined #nixos
<betaboon>
genevino: the wiki says that jack can run with or without pulseaudio, i am trying to go without pulseaudio atm
<genevino>
betaboon: i'm not sure if mocp has jack output by default or if mpv would have it. i would normally strive to achieve pulseaudio going into jack.
<genevino>
betaboon: well you need an application that can speak jack then. :)
<betaboon>
genevino: mocp states it checks jack, then alsa
omnipotententity has joined #nixos
omnipotententity has joined #nixos
omnipotententity has quit [Changing host]
<genevino>
betaboon: well i'm not sure if you need to run "jackd" manually in your session or if it gets started as a service somehow.
<betaboon>
genevino: I'm trying to run all that on a system without xserver as well :/
<{^_^}>
[nixpkgs] @nyanloutre opened pull request #97867 → home-assistant: remove unnecessary protobof version pin → https://git.io/JUlHz
<{^_^}>
[nixpkgs] @dpercy opened pull request #97868 → fac-build: init at 0.5.3 → https://git.io/JUlH2
RoboFlex13 has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
krasnij has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #nixos
krasnij has joined #nixos
<freezeboy>
is anyone using the fwupd service ?
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
spudly has quit [Ping timeout: 240 seconds]
spudly- is now known as spudly
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
<NieDzejkob>
I added 'export NIX_PATH="nixos-config=$HOME/.dotfiles/nixos/configuration.nix:$NIX_PATH"' to my bashrc and now nix-env -qa is complaining: warning: name collision in input Nix expressions, skipping '/home/kuba/.nix-defexpr/channels_root/nixos'
<freezeboy>
if you print NIX_PATH, don't you have two nixos-config ?
justanotheruser has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<NieDzejkob>
hmm, yeah. Though if I remove it manually, the error still appears
bran has joined #nixos
work_ has joined #nixos
<NieDzejkob>
huh, I commented out the NIX_PATH line, started a new terminal, confirmed the value is the default one (nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels), and the warning is still shown
<bran>
Hello
<freezeboy>
NieDzejkob very strange ...
<freezeboy>
@bran hello
<NieDzejkob>
How do I even begin debugging this?
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
cptrbn has joined #nixos
<freezeboy>
no idea
<hexa->
what's the most convenient way to concat a variable to a path
<hexa->
like ./secrets/${config.networking.hostName}/foo
<NieDzejkob>
heh, looks like that happened when I ran nixos-rebuild as non-root by accident. Fixed with nix-channel --remove nixos && nix-channel --update
janneke has quit [Remote host closed the connection]