<aterius>
When you pin nixpkgs to an older revision, does it always require a build from source? Trying to work around the current libuv bug and building libuv is very long...
ryanartecona has joined #nixos
<lovesegfault>
aterius: Depends whether the output has been evicted from cache yet
<aterius>
lovesegfault: Is there a way to view what has/hasn't been evicted yet?
<clever>
aterius: nix-build --dry-run, on a given nixpkgs rev
<bhipple>
I thought we never evicted anything from the binary caches?
erictapen has quit [Ping timeout: 268 seconds]
<clever>
the main cache.nixos.org is never GC'd
<aterius>
I don't understand then, does that mean if I'm using one of the main channels (latest) that it hasn't been evicted, but if I pick an older rev there are no guarantees?
<{^_^}>
[nixpkgs] @pbek opened pull request #80331 → Update QOwnNotes to 20.2.5 → https://git.io/Jv8M7
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tnks>
when building in Travis, I'm getting this error. Any pointers? error: moving build output '/nix/store/ri8agifxp9797l0kjwpf08dx52da4jln-hlint-plan-to-nix-pkgs' from the sandbox to the Nix store: Permission denied
butterthebuddha has joined #nixos
jboy has quit [Quit: bye]
tsrt^ has quit [Ping timeout: 260 seconds]
jboy has joined #nixos
Acou_Bass has quit [Ping timeout: 240 seconds]
bhipple has quit [Remote host closed the connection]
Acou_Bass has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rusty1 has quit [Quit: Konversation terminated!]
jojojojojo_ has joined #nixos
jojojojojo has quit [Ping timeout: 240 seconds]
butterthebuddha has joined #nixos
butterthebuddha has quit [Client Quit]
<cole-h>
Anybody familiar with home-manager know if it's possible to link something from `~/.nix-profile` declaratively? e.g. I want to link `~/.nix-profile/share/fonts` to `~/.local/share/fonts`, because it contains the aggregate of my font files
<cole-h>
Basically I don't want to have an `xdg.dataFile."fonts/..."` block for every font I'm installing
<evanjs>
FWIW there is also #home-manager
<cole-h>
Oh yeah, I forgot I'm in that one too. Oops.
kleisli has quit [Ping timeout: 265 seconds]
<cole-h>
evanjs++
<{^_^}>
evanjs's karma got increased to 9
turq has joined #nixos
<turq>
I am using nmtui to connect to my wifi router, but when I close my laptop the connection is lost and the wifi password isn't stored. What can I do to persist this information?
b has quit [Ping timeout: 240 seconds]
palo1 has joined #nixos
<LinuxHackerman>
turq: huh, it is supposed to be persistent
jojojojojo_ has quit [Remote host closed the connection]
jojojojojo has joined #nixos
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
<lovesegfault>
turq: See if there's anything in /etc/NetworkManager/system-connections
chimay has joined #nixos
<turq>
lovesegfault: yeah, there's a MY-NETWORK.nwconnection file
domogled has quit [Quit: domogled]
<turq>
I don't see anything about a key or password in there
<turq>
connection section has id, uuid, type, permission, and timestamp
<turq>
wifi block has mac-address-blacklist, mode, seen-bssids, ssid
<turq>
wifi-security has auth-alg, key-mgmt, and psk-flags
jmeredith has quit [Quit: Connection closed for inactivity]
<symphorien>
superbaloo: nix-du used to link to nix-store as a lib (as c++ from rust ffi), and it resulted in neverending undebuggable segfaults. You really can't do ffi from c++. Now nix-du has a C stub library.
gagbo has joined #nixos
<symphorien>
Notably function returning sets cannot be used via ffi. They will corrupt the stack.
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}>
[nixpkgs] @cole-h opened pull request #80333 → fish-foreign-env: update stderr redirection in patch → https://git.io/Jv8Si
<evils>
not sure if this is the best way, but you can nix-instantiate instead of nix-build an attribute to just get the .drv
<colemickens>
Also, random musing, having to rebuild gtksourceview4/fractal/virt-manager for a checkInput (xvfb_run) for gtksourceview4 hurts.
zupo has joined #nixos
<colemickens>
evils: hm, yeah, thanks, I think it just needed to build the drv itself still and builders were taken. or something.
<colemickens>
anyway, got my answer looking at the source. I guess gtksourceview4 uses xvfb_run for testing? Kinda intense.
<evils>
lol, ofc when i try my example with something bigger, it builds it
thc202 has joined #nixos
<infinisil>
colemickens: Why why-depends equivalent for derivations is `nix-store -q --tree /nix/store/...-xxx.drv` and search for the thing it depends on in that output
<infinisil>
Well I guess not entirely
<infinisil>
Why a derivation depends on another comes ultimately from the Nix expressions
sbetrium has quit [Quit: sbetrium]
hyper_ch2 has joined #nixos
cfricke has quit [Quit: WeeChat 2.7]
sbetrium has joined #nixos
<{^_^}>
[nixpkgs] @veprbl merged pull request #79794 → doomseeker: fix build by using qt wrapper hook → https://git.io/JvCm1
<{^_^}>
[nixpkgs] @veprbl pushed commit from @bhipple to master « doomseeker: add qt wrapper, cleanup (#79794) »: https://git.io/Jv87I
hyper_ch2 has quit [Remote host closed the connection]
<evanjs>
How might I get the closure size of my texlive packages closure? tried getting the path of config.mine.tex.texPackages.outPath and running path-info on it but it seems to come out around 20M...
bukkitgerman8 has quit [Quit: Ping timeout (120 seconds)]
<chvp>
yeah, didn't expect that many packages to have a convert file 🙂
<__monty__>
,locate bin convert
<Netsu>
ericnoan: didn't know about nix edit, thanks
<{^_^}>
Found in packages: imagemagick, imagemagick7, imagemagickBig, imagemagick7Big, imagemagick_light, imagemagick7_light, graphicsmagick-imagemagick-compat
<__monty__>
chvp: That's better : )
<chvp>
thx
<{^_^}>
[nixpkgs] @mmilata opened pull request #80353 → libreoffice: wrapper: add hunspell dirs to DICPATH → https://git.io/Jv8xN
drakonis1 has quit [Ping timeout: 246 seconds]
<xavierm02>
Hi. I'm trying to package something, using stdenv.mkDerivation. I run a Makefile from buildPhase, but it does not work because it tries to use /bin/bash. I added bash to buildInputs but it doesn't fix the problem. I remember reading somewhere that there's some way to patch Makefiles to make them use Nix paths but I can't find it. How do I fix this?
<arianvp>
is it possible for cachix to only push things that are not in another cache?
<domenkozar[m]>
soon :)
gxt has joined #nixos
<arianvp>
cool
<arianvp>
that's a great feature :)
<__monty__>
domenkozar[m]: Is there any way to figure out what revisions of what sources a cached artifact has come from?
<domenkozar[m]>
no
<evanjs>
__monty__++
<{^_^}>
__monty__'s karma got increased to 11
<evanjs>
did not know the locate command could do that :o
<domenkozar[m]>
it's pretty hard to solve that
<clever>
__monty__: if you have the .drv that creates that $out, you can work backwards with `nix show-derivation` to get the src
<clever>
__monty__: but if you only have a naked $out, you cant do that
onixie has joined #nixos
<clever>
so it largely depends on if your using the exprs to build or not
cosimone has joined #nixos
<__monty__>
clever: This is to figure out a cached combination of nixpkgs and haskell.nix : ) So far it still eludes me.
<xavierm02>
Nevermind, the makefile has an option to replace the bash calles
<clever>
__monty__: yeah, if you dont know the nixpkgs, your kinda screwed
<{^_^}>
[nixpkgs] @talyz opened pull request #80354 → synergy: Build application bundle on Darwin + other fixes → https://git.io/Jv8ps
<__monty__>
clever: Even with the pin from haskell.nix/ci.nix I seem to still be building tons of stuff.
<{^_^}>
[nixpkgs] @FRidh pushed 149 commits to staging-next: https://git.io/Jv8pc
<b42>
xavierm02: grep for patchShebangs and substituteInPlace in nixpkgs to find examples how to do this
<{^_^}>
[nixpkgs] @FRidh pushed 9 commits to staging-20.03: https://git.io/Jv8pl
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
ryanartecona has joined #nixos
ryanartecona has quit [Client Quit]
mexisme has quit [Ping timeout: 240 seconds]
bukkitgerman8 has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman8 has joined #nixos
<evanjs>
any ideas on how I might re-use kernel build artifacts for a slightly tweaked kernel using nix? I figure my best bet is an impure setup with e.g. ccache or etc? I tried using ccacheStdenv but ran into some issues with it
<{^_^}>
[nixpkgs] @Infinisil merged pull request #80337 → haskell generic-builder: fix Darwin regression for lmdb → https://git.io/Jv8HO
<evanjs>
This would just be for testing, ideally. For production I think it'll be fine just building the kernel twice (once with initrd embedded)
<{^_^}>
[nixpkgs] @edolstra pushed to master « nixos/release-small.nix: List constituents of the 'tested' job by name »: https://git.io/Jv4ec
gm152 has quit [Client Quit]
bhipple has joined #nixos
fusion809 has quit [Remote host closed the connection]
page has joined #nixos
<softinio[m]>
I am using nix + nix-darwin on my macbook as package manager on Catalina ....when I try to build any python package that checks OS version it reports and earlier mac version than catalina .... assume this is due to nix-darwin
<softinio[m]>
anything I can do for the correct macos version being used or is this a limitation
<{^_^}>
[nixpkgs] @veprbl pushed commit from @jakobrs to master « electron: correct casing of MacOS (#80362) »: https://git.io/Jv4ve
<samrose>
This is likely a huge question, but can anyone see anything that hydra does that you could not create an equivelant for in https://drone.io/ ?
<{^_^}>
[nixpkgs] @pacien opened pull request #80364 → riot-web: add config overrides for privacy → https://git.io/Jv4vm
turbo_MaCk has quit [Ping timeout: 260 seconds]
roconnor_ has joined #nixos
<samrose>
niksnut: I am thinking more for building nixos, nixpkgs, caching binaries, creating artifacts like ISO, running nixos tests, publishing channels (in the case of drone it may be to another git repo)
<samrose>
niksnut: but I see your point, any ci could be a candidate
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « rnnoise: 0.0.1 (2017-10-10) -> 2019-04-24 »: https://git.io/Jv4vz
turona has quit [Ping timeout: 272 seconds]
<justan0theruser>
why am I getting "line 2: awk: command not found"? awk is part of stdlib and should be present? Additionally, I'm getting "line 2: acpi: command not found". https://pastebin.com/raw/E6V1UqY4
sbetrium has quit [Ping timeout: 272 seconds]
samrose_ has joined #nixos
<{^_^}>
[nixpkgs] @rnhmjoj opened pull request #80366 → ucs-fonts: generate pcf, otb and split output → https://git.io/Jv4vo
work_ has joined #nixos
samrose has quit [Ping timeout: 272 seconds]
<LnL>
softinio: kind of an incorrect and confusing message, but what's the problem? that's just a warning
turona has joined #nixos
<immae>
justan0theruser: you should indeed add gawk to the list of dependencies
<justan0theruser>
whys that?
<softinio[m]>
LnL:
<immae>
because it’s not in the standard list
Westixy has joined #nixos
<softinio[m]>
* LnL: I don't have message in front of me now will paste when I get a chance but when I do a pip install jep it fails reporting MACOS version to be 10.12 where as real macos version is 10.15 ....was just wondering if this is due to nix or nix-darwin and understand why
<justan0theruser>
if gawk is part of stdenv, shouldn't the script already have it?
<immae>
justan0theruser: Ah I just understood your question, sorry. You’re not building anything here, you’re dependent on what there is on the PATH in your system, which is not stdenv (stdenv correspondas to the PATH for building derivations)
vidbina has quit [Ping timeout: 240 seconds]
<justan0theruser>
ah ok, so stdenv is just part of the `buildPath`, but not implicitly part `path`
<justan0theruser>
thanks!
<immae>
Yes
endformationage has joined #nixos
<Westixy>
Hello, is there a way to get a value from a JSON (in the project) eg: `let version = x.jq ./package.json .version; in stdenv.mkDerivation { version; }` ?
<clever>
Westixy: builtins.fromJSON
roconnor__ has quit [Quit: Konversation terminated!]
<Westixy>
ah thx ^^'
<clever>
Westixy: youll also want builtins.readFile
<dminuoso>
clever: Sad panda. One thing that Haskell got right, is monadic parsers. This fromJSON is such a python breed that doesn't even try and care about parsing the actual structure. :(
<{^_^}>
[nixpkgs] @edolstra pushed to master « nixos/release-combined.nix: List constituents of the 'tested' job by name »: https://git.io/Jv4fI
<LnL>
softinio[m]: not sure, but what you linked looks like a warning and not an error
veske has joined #nixos
veske2 has joined #nixos
<softinio[m]>
LnL: Ok thanks for taking a look ... will dig more .... it stops building the pip package at that point hence digging
<Westixy>
@clever : this would look like that `cnt = builtins.readFile ./packager.json; json = builtins.fromJSON cnt; version = json.version; ...` more or less ?
gspia has quit [Quit: Leaving]
<clever>
Westixy: you can also use () to combine those
orivej has quit [Read error: Connection reset by peer]
<infinisil>
kumikumi: This is related to Nix at all?
orivej has joined #nixos
anohigisavay has joined #nixos
<heath>
is there a Nix consultancy or someone who is willing to mentor me for awhile?
kleisli has quit [Ping timeout: 260 seconds]
<justan0theruser>
I'm trying to notify-send from a systemd service, but it's not working. I think it's because $DBUS_SESSION_BUS_ADDRESS is "" in the service. How can I get an appropriate DBUS_SESSION_BUS_ADDRESS value so the user can recieve the notification
<cole-h>
If the user has that env var set, would `systemctl import-environment` help?
<anohigisavay>
when is the XDG_RUNTIME_DIR environment variable created? i have this setting in .pam_environment which works fine on Arch Linux `SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"`. Now in NixOS for some reason the XDG_RUNTIME_DIR is missing
<justan0theruser>
ah yes, `sudo systemctl set-environment DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS` does the trick
<justan0theruser>
thanks cole-h
<kumikumi>
infinisil: Well, I'm using NixOS
<cole-h>
justan0theruser: You can also just do `systemctl import-environment DBUS_SESSION_BUS_ADDRESS` to only import that one
<justan0theruser>
I'll do that, thanks!
Intensity has joined #nixos
<anohigisavay>
but when i open a terminal i can see that XDG_RUNTIME_DIR is set correctly
drozdziak1 is now known as boomer
<cole-h>
That said, there might be a better way to do that. That's just what came to my mind.
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
boomer is now known as drozdziak1
dingenskirchen has quit [Client Quit]
dingenskirchen has joined #nixos
chris| has joined #nixos
chris| has quit [Changing host]
chris| has joined #nixos
chris| has quit [Changing host]
<asymmetric>
can i call overrideAttrs on an unevaluated function, or do i first have to use callPackage and then chain overrideAttrs?
<anohigisavay>
just want to know what is going on, because i can workaround this with semi-hardcoded /run/user/$UID/gnupg/...
<rnhmjoj>
justan0theruser: i do this to notify myself when some scheduled job is started. environment.DBUS_SESSIONS_BUS_ADDRESS = "unix:path=/run/user/${toString config.users.users.rnhmjoj.uid}/bus"
<rnhmjoj>
this is hardcoded to my username, i don't know any better for a system wide service. if it's a user service you may indeed call import-environment in you session initialisation
chloekek has joined #nixos
anohigisavay has quit [Quit: Konversation terminated!]
justan0theruser has quit [Ping timeout: 246 seconds]
Dandellion has quit [Ping timeout: 246 seconds]
thefloweringash has quit [Ping timeout: 246 seconds]
pkolloch[m] has quit [Ping timeout: 252 seconds]
morgib[m] has quit [Ping timeout: 252 seconds]
GerdFlaig[m] has quit [Ping timeout: 252 seconds]
bachp has quit [Ping timeout: 252 seconds]
worldofpeace has quit [Ping timeout: 252 seconds]
mkg20001 has quit [Ping timeout: 252 seconds]
tokudan[m] has quit [Ping timeout: 252 seconds]
pareidolia has joined #nixos
sehqlr[m] has quit [Ping timeout: 246 seconds]
mupf[m] has quit [Ping timeout: 246 seconds]
test53453535[m] has quit [Ping timeout: 246 seconds]
tyrion-mx has quit [Ping timeout: 246 seconds]
wjjunyor[m] has quit [Ping timeout: 246 seconds]
mudrii[m] has quit [Ping timeout: 246 seconds]
lucasmarcos[m] has quit [Ping timeout: 246 seconds]
babariviere[m] has quit [Ping timeout: 246 seconds]
roberth has quit [Ping timeout: 246 seconds]
vaibhavsagar has quit [Ping timeout: 246 seconds]
flacks_ has quit [Ping timeout: 246 seconds]
petersjt014[m] has quit [Ping timeout: 252 seconds]
dyon[m] has quit [Ping timeout: 252 seconds]
Pasha[m] has quit [Ping timeout: 252 seconds]
grahamc[m] has quit [Ping timeout: 252 seconds]
luc65r[m] has quit [Ping timeout: 252 seconds]
pentadyne[m] has quit [Ping timeout: 252 seconds]
alan[m] has quit [Ping timeout: 252 seconds]
yoho[m]1 has quit [Ping timeout: 252 seconds]
rendeko[m] has quit [Ping timeout: 252 seconds]
kleisli has joined #nixos
aleph- has quit [Ping timeout: 240 seconds]
wedens[m] has quit [Ping timeout: 245 seconds]
ragge[m] has quit [Ping timeout: 246 seconds]
prusnak[m] has quit [Ping timeout: 246 seconds]
sylvie[m] has quit [Ping timeout: 246 seconds]
MarkOtaris has quit [Ping timeout: 246 seconds]
Dave[m]2 has quit [Ping timeout: 252 seconds]
DanP[m] has quit [Ping timeout: 252 seconds]
mica[m] has quit [Ping timeout: 252 seconds]
quidel[m] has quit [Ping timeout: 252 seconds]
spacekitteh[m] has quit [Ping timeout: 252 seconds]
MerlinGttlinger[ has quit [Ping timeout: 252 seconds]
NoblesseOblige24 has quit [Ping timeout: 252 seconds]
layus[m] has quit [Ping timeout: 240 seconds]
Ovsyanka[m] has quit [Ping timeout: 240 seconds]
LinuxHackerman has quit [Ping timeout: 240 seconds]
timokau[m] has quit [Ping timeout: 240 seconds]
jerryaldrichiii_ has joined #nixos
jschievink has quit [Ping timeout: 240 seconds]
alienpirate5 has quit [Ping timeout: 240 seconds]
musicmatze has quit [Ping timeout: 240 seconds]
pheoxy has quit [Ping timeout: 240 seconds]
wakest[m] has quit [Ping timeout: 240 seconds]
Valodim[m] has quit [Ping timeout: 260 seconds]
haslersn has quit [Ping timeout: 260 seconds]
slby[m] has quit [Ping timeout: 248 seconds]
jamiemagee has quit [Ping timeout: 248 seconds]
ma27[m] has quit [Ping timeout: 248 seconds]
boturl4r[m] has quit [Ping timeout: 248 seconds]
marijan[m] has quit [Ping timeout: 248 seconds]
Irenes[m] has quit [Ping timeout: 248 seconds]
bb010g has quit [Ping timeout: 248 seconds]
Nyanloutre[m] has quit [Ping timeout: 248 seconds]
eddyb has quit [Ping timeout: 248 seconds]
maralorn[m] has quit [Ping timeout: 245 seconds]
xavierzwirtz[m] has quit [Ping timeout: 245 seconds]
li_matrix has quit [Ping timeout: 245 seconds]
abbradar[m] has quit [Ping timeout: 245 seconds]
deepchange[m] has quit [Ping timeout: 245 seconds]
pantomath[m] has quit [Ping timeout: 245 seconds]
david-sawatzke[m has quit [Ping timeout: 245 seconds]
webdavis has quit [Ping timeout: 245 seconds]
wak-work has quit [Ping timeout: 245 seconds]
fgaz has quit [Ping timeout: 245 seconds]
wildtrees[m] has quit [Ping timeout: 256 seconds]
softinio[m] has quit [Ping timeout: 256 seconds]
Notkea[m] has quit [Ping timeout: 256 seconds]
grin[m] has quit [Ping timeout: 256 seconds]
gsals[m] has quit [Ping timeout: 256 seconds]
puzzlewolf has quit [Ping timeout: 256 seconds]
arcnmx has quit [Ping timeout: 256 seconds]
florianjacob has quit [Ping timeout: 256 seconds]
kaychaks[m] has quit [Ping timeout: 256 seconds]
jonge[m] has quit [Ping timeout: 256 seconds]
Logan[m] has quit [Ping timeout: 240 seconds]
akapaka[m] has quit [Ping timeout: 240 seconds]
bricewge has quit [Ping timeout: 240 seconds]
dtz has quit [Ping timeout: 240 seconds]
wangoe[m] has quit [Ping timeout: 240 seconds]
devis350[m] has quit [Ping timeout: 260 seconds]
truby has quit [Ping timeout: 260 seconds]
Keith[m] has quit [Ping timeout: 260 seconds]
jbbr[m] has quit [Ping timeout: 260 seconds]
TroelsAgergaardJ has quit [Ping timeout: 260 seconds]
imj[m] has quit [Ping timeout: 260 seconds]
eol[m] has quit [Ping timeout: 260 seconds]
danielrf[m] has quit [Ping timeout: 260 seconds]
killercup[m] has quit [Ping timeout: 260 seconds]
nolan_d has quit [Ping timeout: 260 seconds]
sebass[m] has quit [Ping timeout: 260 seconds]
leons has quit [Ping timeout: 260 seconds]
ongy[m] has quit [Ping timeout: 260 seconds]
aterius has quit [Ping timeout: 260 seconds]
philipp[m] has quit [Ping timeout: 260 seconds]
colemickens has quit [Ping timeout: 260 seconds]
bennofs[m] has quit [Ping timeout: 260 seconds]
hiroshi[m] has quit [Ping timeout: 260 seconds]
siraben has quit [Ping timeout: 260 seconds]
neonfuz2 has quit [Ping timeout: 245 seconds]
WillW has quit [Ping timeout: 245 seconds]
haruko[m] has quit [Ping timeout: 245 seconds]
hr[m] has quit [Ping timeout: 245 seconds]
chatmaster5000[m has quit [Ping timeout: 245 seconds]
M2easy2do[m] has quit [Ping timeout: 245 seconds]
boogiewoogie[m] has quit [Ping timeout: 245 seconds]
rycee has quit [Ping timeout: 245 seconds]
wnklmnn[m] has quit [Ping timeout: 245 seconds]
bohan[m] has quit [Ping timeout: 245 seconds]
tobia_[m] has quit [Ping timeout: 248 seconds]
val2229[m] has quit [Ping timeout: 248 seconds]
pinion[m] has quit [Ping timeout: 248 seconds]
kennykwey[m] has quit [Ping timeout: 248 seconds]
schmittlauch[m] has quit [Ping timeout: 248 seconds]
Minijackson[m] has quit [Ping timeout: 248 seconds]
pinage404[m] has quit [Ping timeout: 248 seconds]
v88m has quit [Read error: Connection reset by peer]
gustavderdrache[ has quit [Ping timeout: 248 seconds]
jtojnar has quit [Ping timeout: 248 seconds]
abbec has quit [Ping timeout: 248 seconds]
emily has quit [Ping timeout: 248 seconds]
MilkManzJourDadd has quit [Ping timeout: 248 seconds]
juhoh has quit [Ping timeout: 265 seconds]
Criena has quit [Ping timeout: 256 seconds]
fabiomen10[m] has quit [Ping timeout: 256 seconds]
pingveno[m] has quit [Ping timeout: 256 seconds]
goibhniu has quit [Ping timeout: 256 seconds]
ngerstle[m] has quit [Ping timeout: 240 seconds]
index-0[m] has quit [Ping timeout: 240 seconds]
emmanuelrosa[m] has quit [Ping timeout: 240 seconds]
quiet_laika[m] has quit [Ping timeout: 240 seconds]
chris| has quit [Ping timeout: 240 seconds]
nilsirl[m] has quit [Ping timeout: 240 seconds]
alexarice[m] has quit [Ping timeout: 240 seconds]
cyberwolf[m] has quit [Ping timeout: 240 seconds]
Victor[m] has quit [Ping timeout: 240 seconds]
Noughtmare[m] has quit [Ping timeout: 240 seconds]
domenkozar[m] has quit [Ping timeout: 240 seconds]
acowley[m] has quit [Ping timeout: 245 seconds]
Zero-ghost[m] has quit [Ping timeout: 245 seconds]
sreybastien[m] has quit [Ping timeout: 245 seconds]
Jarva[m] has quit [Ping timeout: 245 seconds]
the_pumpkin_man[ has quit [Ping timeout: 245 seconds]
psiperator[m] has quit [Ping timeout: 245 seconds]
Leira[m] has quit [Ping timeout: 245 seconds]
aanderse has quit [Ping timeout: 245 seconds]
st3r4g[m] has quit [Ping timeout: 245 seconds]
phittacus has quit [Ping timeout: 245 seconds]
EuAndreh[m] has quit [Ping timeout: 245 seconds]
mt[m] has quit [Ping timeout: 245 seconds]
xavierm02 has quit [Ping timeout: 240 seconds]
tbenst[m] has quit [Ping timeout: 240 seconds]
sputny[m] has quit [Ping timeout: 240 seconds]
Smith[m] has quit [Ping timeout: 240 seconds]
tomberek[m] has quit [Ping timeout: 240 seconds]
atopuzov[m] has quit [Ping timeout: 240 seconds]
notice81cabbage[ has quit [Ping timeout: 240 seconds]
ZerataX has quit [Ping timeout: 240 seconds]
seb314[m] has quit [Ping timeout: 240 seconds]
veleiro has quit [Ping timeout: 240 seconds]
ilya-fedin has quit [Ping timeout: 240 seconds]
dpc has quit [Ping timeout: 240 seconds]
keithy[m] has quit [Ping timeout: 240 seconds]
Ericson2314 has quit [Ping timeout: 240 seconds]
simbergm has quit [Ping timeout: 240 seconds]
blitzclone_ has quit [Ping timeout: 240 seconds]
rnhmjoj has quit [Ping timeout: 260 seconds]
dot-product[m] has quit [Ping timeout: 260 seconds]
bobvanderlinden_ has quit [Ping timeout: 260 seconds]
gotofail[m] has quit [Ping timeout: 260 seconds]
DenisLehmann[m] has quit [Ping timeout: 260 seconds]
ksixty has quit [Ping timeout: 260 seconds]
geemili has quit [Ping timeout: 260 seconds]
rihardsk[m] has quit [Ping timeout: 260 seconds]
shizonic has quit [Ping timeout: 260 seconds]
contrun[m] has quit [Ping timeout: 260 seconds]
p-h[m] has quit [Ping timeout: 248 seconds]
l_inus[m] has quit [Ping timeout: 248 seconds]
hagelslag[m] has quit [Ping timeout: 248 seconds]
chvp has quit [Ping timeout: 248 seconds]
slabity has quit [Ping timeout: 248 seconds]
cornu has quit [Ping timeout: 248 seconds]
snupples[m] has quit [Ping timeout: 248 seconds]
denbrahe[m] has quit [Ping timeout: 248 seconds]
frhun has quit [Ping timeout: 248 seconds]
edwtjo has quit [Ping timeout: 265 seconds]
teuffil[m] has quit [Ping timeout: 256 seconds]
tlater[m] has quit [Ping timeout: 256 seconds]
tek[m] has quit [Ping timeout: 256 seconds]
kraem[m] has quit [Ping timeout: 256 seconds]
joelwallis1[m] has quit [Ping timeout: 256 seconds]
PlayfulCuriosity has quit [Ping timeout: 256 seconds]
thequux[m] has quit [Ping timeout: 256 seconds]
xa0[m] has quit [Ping timeout: 256 seconds]
HailSagan[m] has quit [Ping timeout: 240 seconds]
gcoakes[m] has quit [Ping timeout: 240 seconds]
aleph9[m] has quit [Ping timeout: 240 seconds]
jonreeve[m] has quit [Ping timeout: 240 seconds]
qqlq has quit [Ping timeout: 240 seconds]
cmacrae has joined #nixos
juhoh has joined #nixos
isgy[m] has quit [Ping timeout: 240 seconds]
nrdxp[m] has quit [Ping timeout: 240 seconds]
Gaz[m]1 has quit [Ping timeout: 240 seconds]
Ox4A6F has quit [Ping timeout: 240 seconds]
Guest25150 has quit [Ping timeout: 240 seconds]
anohigisavay has joined #nixos
hoek has quit [Ping timeout: 240 seconds]
pbogdan has joined #nixos
xelxebar_ has quit [Remote host closed the connection]
hoek has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
v88m has joined #nixos
xelxebar has joined #nixos
justan0theruser has joined #nixos
endformationage has joined #nixos
cmacrae has quit [Ping timeout: 265 seconds]
aleph- has joined #nixos
usrlocal has joined #nixos
smatting_ has quit [Ping timeout: 265 seconds]
<mikky>
hi, is there a way to override a systemd service parameter? Like when a service creates it's own service unit file with "User" set to whatever and I want to change just the user?
<mikky>
namely, the davmail service. It is behavin strange and I want to debug it
justan0theruser has quit [Read error: Connection timed out]
hpfr[m] has joined #nixos
v88m has quit [Read error: Connection timed out]
anohigisavay has quit [Read error: Connection timed out]
<{^_^}>
[nixpkgs] @teto pushed commit from @mjlbach to master « luaPackages.luv: 1.30.0-0 -> 1.34.1-1 »: https://git.io/Jv4kT
akapaka[m] has joined #nixos
blitzclone_ has joined #nixos
<cole-h>
mikky: I think you can try `systemctl edit <unit>` (add `--user` if it's a user unit)
wangoe[m] has joined #nixos
Logan[m] has joined #nixos
frhun has joined #nixos
sebass[m] has joined #nixos
wak-work has joined #nixos
l_inus[m] has joined #nixos
snupples[m] has joined #nixos
<mikky>
cole-h: that's a no-go on NixOS
<infinisil>
mikky: You can do `systemd.services.foo.serviceConfig.User = mkForce "newuser"`
joelwallis1[m] has joined #nixos
kraem[m] has joined #nixos
p-h[m] has joined #nixos
LouisDK has joined #nixos
abbradar[m] has joined #nixos
deepchange[m] has joined #nixos
teuffil[m] has joined #nixos
PlayfulCuriosity has joined #nixos
tbenst[m] has joined #nixos
DanP[m] has joined #nixos
tek[m] has joined #nixos
nolan_d has joined #nixos
david-sawatzke[m has joined #nixos
li_matrix has joined #nixos
quiet_laika[m] has joined #nixos
<cole-h>
mikky: ^ That's the better solution. Just curious why my suggestion is a no-go on NixOS? Since you said you wanted it just for debugging I wasn't suggesting it to be permanent.
<cole-h>
(Admittedly, I don't run NixOS yet, so it might be a limitation I'm unfamiliar with)
hagelslag[m] has joined #nixos
slabity has joined #nixos
<{^_^}>
[nixpkgs] @gnidorah opened pull request #80370 → rambox: don't build from sources → https://git.io/Jv4kO
<mikky>
cole-h: the appropriate /etc directories are R/O in Nix
cyberwolf[m] has joined #nixos
quidel[m] has joined #nixos
Noughtmare[m] has joined #nixos
Dave[m]2 has joined #nixos
<cole-h>
Ah, you're right
<mikky>
infinisil: that might work
<cole-h>
Oops.
haslersn has joined #nixos
LouisDK has quit [Remote host closed the connection]
<evanjs>
clever: mmkay I think this is the last thing with my embedded kernel thing (?) but once again it panics on boot, this time when I try to boot into a kernel with initrd embedded in.
bobvanderlinden_ has joined #nixos
cmacrae has quit [Ping timeout: 240 seconds]
<evanjs>
got rdinit and all set though
<clever>
evanjs: when i was building, initrd_source had to point to a bare cpio file, not gzip'd
<mikky>
clever: basically, with DynamicUser systemd is supposed to create a one-off ephemeral user to run the service as. Think of "User=<random>"
<evanjs>
clever: ohhh that might be it
ris has joined #nixos
<mikky>
useful for non-persistent microservices
ixxie has quit [Ping timeout: 272 seconds]
ixxie has joined #nixos
m0rphism has joined #nixos
<evanjs>
clever: were you able to generate/reference the raw cpio declaratively?
<clever>
evanjs: i was doing it all manually
kraem has joined #nixos
boxscape has quit [Remote host closed the connection]
cmacrae has quit [Remote host closed the connection]
cmacrae has joined #nixos
<Orbstheorem>
I'm a happy NixOS user! :)
o1lo01ol1o has quit [Ping timeout: 268 seconds]
NoctisLabs has quit [Ping timeout: 268 seconds]
<evanjs>
clever: ended up setting makeInitrd.compressor to "cat" :P let's see if this works...
Izorkin has quit [Ping timeout: 240 seconds]
Izorkin_ has joined #nixos
Izorkin_ is now known as Izorkin
cmacrae has quit [Ping timeout: 265 seconds]
HugoDaniel has quit [Ping timeout: 268 seconds]
<evanjs>
clever: file /nix/store/7z20b5a6c485z8zaryz7a2sbf6xz31kz-initrd/initrd -> /nix/store/7z20b5a6c485z8zaryz7a2sbf6xz31kz-initrd/initrd: ASCII cpio archive (SVR4 with no CRC)
<evanjs>
:D
<evanjs>
looks like this should work!
kleisli has quit [Ping timeout: 268 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
vidbina has joined #nixos
cosimone has joined #nixos
<{^_^}>
[nixpkgs] @P-E-Meunier opened pull request #80373 → nodePackages.webpack-dev-server: init at 3.10.3 → https://git.io/Jv4Lu
<{^_^}>
[nixpkgs] @benley merged pull request #80354 → synergy: Build application bundle on Darwin + other fixes → https://git.io/Jv8ps
<{^_^}>
[nixpkgs] @benley pushed commit from @talyz to master « synergy: Build application bundle on Darwin + other fixes (#80354) »: https://git.io/Jv4Lw
claudiii has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
simbergm has quit [Quit: killed]
domenkozar[m] has quit [Quit: killed]
goibhniu has quit [Quit: killed]
blitzclone_ has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
wakest[m] has quit [Quit: killed]
wak-work has quit [Quit: killed]
siraben has quit [Quit: killed]
shizonic has quit [Quit: killed]
tokudan[m] has quit [Quit: killed]
jonge[m] has quit [Quit: killed]
keithy[m] has quit [Quit: killed]
kaychaks[m] has quit [Quit: killed]
NoblesseOblige24 has quit [Quit: killed]
Noughtmare[m] has quit [Quit: killed]
frhun has quit [Quit: killed]
pheoxy has quit [Quit: killed]
wangoe[m] has quit [Quit: killed]
mt[m] has quit [Quit: killed]
qqlq has quit [Quit: killed]
philipp[m] has quit [Quit: killed]
Valodim[m] has quit [Quit: killed]
gustavderdrache[ has quit [Quit: killed]
arcnmx has quit [Quit: killed]
ongy[m] has quit [Quit: killed]
abbec has quit [Quit: killed]
haslersn has quit [Quit: killed]
Guest25150 has quit [Quit: killed]
quidel[m] has quit [Quit: killed]
hpfr[m] has quit [Quit: killed]
Dandellion has quit [Quit: killed]
bachp has quit [Quit: killed]
denbrahe[m] has quit [Quit: killed]
MerlinGttlinger[ has quit [Quit: killed]
thequux[m] has quit [Quit: killed]
roberth has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
Victor[m] has quit [Quit: killed]
bricewge has quit [Quit: killed]
dpc has quit [Quit: killed]
webdavis has quit [Quit: killed]
eddyb has quit [Quit: killed]
Nyanloutre[m] has quit [Quit: killed]
aterius has quit [Quit: killed]
seb314[m] has quit [Quit: killed]
schmittlauch[m] has quit [Quit: killed]
alienpirate5 has quit [Quit: killed]
bb010g has quit [Quit: killed]
pinage404[m] has quit [Quit: killed]
musicmatze has quit [Quit: killed]
puzzlewolf has quit [Quit: killed]
deepchange[m] has quit [Quit: killed]
hagelslag[m] has quit [Quit: killed]
Notkea[m] has quit [Quit: killed]
wjjunyor[m] has quit [Quit: killed]
chatmaster5000[m has quit [Quit: killed]
sputny[m] has quit [Quit: killed]
babariviere[m] has quit [Quit: killed]
slby[m] has quit [Quit: killed]
dyon[m] has quit [Quit: killed]
tek[m] has quit [Quit: killed]
HailSagan[m] has quit [Quit: killed]
Leira[m] has quit [Quit: killed]
gotofail[m] has quit [Quit: killed]
pingveno[m] has quit [Quit: killed]
Zero-ghost[m] has quit [Quit: killed]
mica[m] has quit [Quit: killed]
GerdFlaig[m] has quit [Quit: killed]
sreybastien[m] has quit [Quit: killed]
nrdxp[m] has quit [Quit: killed]
hr[m] has quit [Quit: killed]
akapaka[m] has quit [Quit: killed]
acowley[m] has quit [Quit: killed]
Logan[m] has quit [Quit: killed]
devis350[m] has quit [Quit: killed]
ma27[m] has quit [Quit: killed]
atopuzov[m] has quit [Quit: killed]
xavierzwirtz[m] has quit [Quit: killed]
mkg20001 has quit [Quit: killed]
leons has quit [Quit: killed]
phittacus has quit [Quit: killed]
spacekitteh[m] has quit [Quit: killed]
snupples[m] has quit [Quit: killed]
notice81cabbage[ has quit [Quit: killed]
rendeko[m] has quit [Quit: killed]
ZerataX has quit [Quit: killed]
rycee has quit [Quit: killed]
DanP[m] has quit [Quit: killed]
killercup[m] has quit [Quit: killed]
grin[m] has quit [Quit: killed]
Keith[m] has quit [Quit: killed]
imj[m] has quit [Quit: killed]
TroelsAgergaardJ has quit [Quit: killed]
prusnak[m] has quit [Quit: killed]
xa0[m] has quit [Quit: killed]
jamiemagee has quit [Quit: killed]
p-h[m] has quit [Quit: killed]
WillW has quit [Quit: killed]
fabiomen10[m] has quit [Quit: killed]
neonfuz2 has quit [Quit: killed]
morgib[m] has quit [Quit: killed]
lucasmarcos[m] has quit [Quit: killed]
petersjt014[m] has quit [Quit: killed]
eol[m] has quit [Quit: killed]
tomberek[m] has quit [Quit: killed]
gcoakes[m] has quit [Quit: killed]
mupf[m] has quit [Quit: killed]
grahamc[m] has quit [Quit: killed]
chris| has quit [Quit: killed]
mudrii[m] has quit [Quit: killed]
dot-product[m] has quit [Quit: killed]
softinio[m] has quit [Quit: killed]
psiperator[m] has quit [Quit: killed]
rnhmjoj has quit [Quit: killed]
aanderse has quit [Quit: killed]
index-0[m] has quit [Quit: killed]
wedens[m] has quit [Quit: killed]
isgy[m] has quit [Quit: killed]
slabity has quit [Read error: Connection reset by peer]
Gaz[m]1 has quit [Read error: Connection reset by peer]
nilsirl[m] has quit [Read error: Connection reset by peer]
xavierm02 has quit [Quit: killed]
sebass[m] has quit [Quit: killed]
nolan_d has quit [Read error: Connection reset by peer]
maralorn[m] has quit [Quit: killed]
aleph9[m] has quit [Quit: killed]
ragge[m] has quit [Quit: killed]
jbbr[m] has quit [Quit: killed]
tbenst[m] has quit [Quit: killed]
kraem[m] has quit [Quit: killed]
layus[m] has quit [Quit: killed]
M2easy2do[m] has quit [Quit: killed]
LinuxHackerman has quit [Quit: killed]
Jarva[m] has quit [Quit: killed]
marijan[m] has quit [Read error: Connection reset by peer]
pinion[m] has quit [Read error: Connection reset by peer]
veleiro has quit [Read error: Connection reset by peer]
cornu has quit [Read error: Connection reset by peer]
Pasha[m] has quit [Quit: killed]
vaibhavsagar has quit [Quit: killed]
geemili has quit [Read error: Connection reset by peer]
val2229[m] has quit [Quit: killed]
joelwallis1[m] has quit [Quit: killed]
l_inus[m] has quit [Quit: killed]
tyrion-mx has quit [Quit: killed]
boogiewoogie[m] has quit [Quit: killed]
bobvanderlinden_ has quit [Quit: killed]
jonreeve[m] has quit [Quit: killed]
jtojnar has quit [Read error: Connection reset by peer]
li_matrix has quit [Quit: killed]
abbradar[m] has quit [Read error: Connection reset by peer]
Ovsyanka[m] has quit [Quit: killed]
cyberwolf[m] has quit [Quit: killed]
rihardsk[m] has quit [Quit: killed]
worldofpeace has quit [Quit: killed]
jschievink has quit [Quit: killed]
gsals[m] has quit [Quit: killed]
chvp has quit [Quit: killed]
alan[m] has quit [Quit: killed]
pentadyne[m] has quit [Quit: killed]
pantomath[m] has quit [Quit: killed]
truby has quit [Quit: killed]
the_pumpkin_man[ has quit [Quit: killed]
wildtrees[m] has quit [Quit: killed]
kennykwey[m] has quit [Quit: killed]
PlayfulCuriosity has quit [Quit: killed]
Dave[m]2 has quit [Quit: killed]
ksixty has quit [Quit: killed]
quiet_laika[m] has quit [Quit: killed]
sylvie[m] has quit [Quit: killed]
timokau[m] has quit [Quit: killed]
tobia_[m] has quit [Quit: killed]
ilya-fedin has quit [Quit: killed]
boturl4r[m] has quit [Quit: killed]
alexarice[m] has quit [Quit: killed]
Minijackson[m] has quit [Quit: killed]
wnklmnn[m] has quit [Quit: killed]
bohan[m] has quit [Quit: killed]
david-sawatzke[m has quit [Quit: killed]
yoho[m]1 has quit [Quit: killed]
DenisLehmann[m] has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
teuffil[m] has quit [Quit: killed]
test53453535[m] has quit [Quit: killed]
luc65r[m] has quit [Quit: killed]
Irenes[m] has quit [Quit: killed]
pkolloch[m] has quit [Quit: killed]
emmanuelrosa[m] has quit [Quit: killed]
Smith[m] has quit [Quit: killed]
tlater[m] has quit [Quit: killed]
ngerstle[m] has quit [Quit: killed]
sehqlr[m] has quit [Quit: killed]
Criena has quit [Quit: killed]
haruko[m] has quit [Write error: Connection reset by peer]
st3r4g[m] has quit [Write error: Connection reset by peer]
tsrt^ has quit [Max SendQ exceeded]
opthomasprime has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @vcunat pushed to master « efivar: fixup build on i686 »: https://git.io/Jv4tE
<{^_^}>
[nixpkgs] @vcunat pushed to release-20.03 « efivar: fixup build on i686 »: https://git.io/Jv4tg
psyanticy has quit [Quit: Connection closed for inactivity]
la-tiheis has quit [Quit: WeeChat 2.6]
cosimone has quit [Quit: Quit.]
<bhipple>
Do small single-pkgs-rebuild backports go to release-20.03 or staging-20.03? I'm guessing the former?
<gchristensen>
only major rebuilds go to staging
<gchristensen>
significant
mexisme has joined #nixos
<bhipple>
OIC, my backport made it into staging-20.03 not from a direct merge, but from a release-20.03 -> staging-20.03 merge (which makes sense)
<bhipple>
was initially confused
shibboleth has joined #nixos
sbetrium has quit [Quit: sbetrium]
civodul has joined #nixos
sbetrium has joined #nixos
danielrf[m] has joined #nixos
<ToxicFrog>
Oh my god what is happening
<ToxicFrog>
I'm trying to build a Go program (cordless) using vgo2nix
<ToxicFrog>
I have gotten to the point where it loads all the deps and then complains about not being able to find "github.com/google/go-github/v28/github"
<ToxicFrog>
The reference in the source code is to github.com/google/go-github/v29/github
<ToxicFrog>
v28 isn't referenced anywhere
tA_ has joined #nixos
<ToxicFrog>
Or in any of the dependencies or the deps.nix
obadz has quit [Quit: WeeChat 2.7]
<tA_>
if im using nix on a non-nixos system, is there a way for me to use the services.mpd = { }; block? i want to be able to nix-env -if mpd.nix and get the setup going but not sure how to do that on non-nixos using nix
<bhipple>
ToxicFrog: cordless includes a go.sum, which means you can use the much nicer, more modern go infra instead of vgo2nix
smollcato has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
<infinisil>
bhipple: ToxicFrog: Unfortunately I tripped with buildGoModule because it wasn't entirely reproducible. It only failed in CI for some reason
<infinisil>
Because of this I switched to buildGoPackage + vgo2nix, which is much more solid in regards to that
domogled has joined #nixos
smollcato has joined #nixos
<bhipple>
infinisil: Is there an issue open? I'd be curious how to reproduce to see what's going on.
mexisme has joined #nixos
drewr has quit [Ping timeout: 245 seconds]
<manveru>
well, buildGoModule is a huge fixed output derivation for all dependencies... i also get hash mismatches sometimes :|
<manveru>
vgo2nix is mostly having to reimplement go internals, because for some reason the go devs think nobody else would ever want to parse mod files the way they do...
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
fes has joined #nixos
fxbrain has joined #nixos
kloenk has quit [Remote host closed the connection]
<fes>
hi guys. i am trying out your Nixos KDE live iso and it is buttery smoth on my computer. I have never had this smooth experience using Firefox, KDE itself, VLC, etc. How come NixOS is so smooth compared to most other distros? compile flags?
<fes>
it is a shame it is too advanced for me to install and maintain.
zupo has quit [Read error: Connection timed out]
zupo has joined #nixos
<bhipple>
fes: don't be so hard on yourself; it's challenging at first but if you trailblaze forward with an open mind the community is very receptive to helping new users
<bhipple>
As to why it's fast, one reason might be that NixOS tends to run relatively new packages/dependencies/kernels and picks up the latest-and-greatest performance improvements. Another reason might just be that you're running a cleanly installed OS that hasn't had time to accumulate bloatware and cruft :D
<fes>
bhipple: thank you. i noticed something too. i tried to open REAPER that has a precompiled package that I extracted to my Downloads folder and the executable file reaper does not want to open. In the terminal i get bash: ./reaper: No such file or directory when i do ./reaper
drewr has joined #nixos
cosimone has joined #nixos
webyliteral has quit [Remote host closed the connection]
<infinisil>
> reaper.meta.description
<{^_^}>
"Digital audio workstation"
<infinisil>
fes: This reaper? ^^
<fes>
Yes
<infinisil>
Seems like it's packaged for Nix already, so no need to download binaries yourself
niten has quit [Remote host closed the connection]
<fes>
it there a rule that non NixOS packaged files can't be executed or something?
<wild_buffalo>
I'm looking for hints for installing Javascript Npm packages on Nix
kleisli has quit [Ping timeout: 260 seconds]
<infinisil>
fes: Not explicitly, but yes, externally downloaded files need to be packages for Nix to be usable (nicely) on NixOS
<xa0[m]>
where's the source for buildFHSUserEnv?
<fes>
alright. thank you!
<infinisil>
fes: This is because such binaries usually have a lot of implicit dependencies, referencing paths like /lib/libfoo.so, which rightfully don't exist on NixOS for purity sake
<wild_buffalo>
ah nvm
<wild_buffalo>
found the link in the wiki
<wild_buffalo>
idk why I couldn't find it before
<fes>
aha, so that is why.
<xa0[m]>
(i ask because i need to make it use a separate font config
<xa0[m]>
all this in the context of appimage)
knupfer has quit [Ping timeout: 240 seconds]
<infinisil>
The cool thing about this is that once something is packaged for Nix, impurities are eliminated, and everybody can profit from a pretty much forever working Nix package
<cole-h>
xa0[m]: Would `FONTCONFIG_FILE=${pkgs.fontconfig.out}/etc/fonts/fonts.conf` not work?
<cole-h>
(as an env var)
<fes>
thank you for all the great information!
<xa0[m]>
probably would, the problem is it has to be applied to the FHS env, which is why i was asking where the source for that is
<xa0[m]>
so i can figure out how to apply it
<bhipple>
fes: As ininisil says, the sales pitch here is similar to that for statically typed languages: it takes more up-front effort, but once produces is significant more robust and easy to reason about. In NixPkgs case in particular, though, it's very often the case that someone has already done the work to package it, in which case it's just robust for free :)
<benley>
any of y'all actually run Mailman on NixOS? I'm trying to figure out how to use the services.mailman module and not getting very far
<cole-h>
Looks like they come from `python3Packages`
<mdash>
newuser99: the magic is line 3, which brings all names in `python3Packages` into scope.
<cole-h>
^
<mdash>
this is arguably poor style, for this exact reason
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<wild_buffalo>
dingenskirchen infinisil Thanks!
<pie_[bnc]>
is there any way to ignore signatures? e.g. "cannot add path '/nix/store/avr2x43njlq4kyb1a9zgrh6fih5fq4si-glibc-2.27' because it lacks a valid signature"
gustavderdrache has quit [Quit: Leaving.]
<newuser99>
Where does Python3Packages come from? Is default.nix passing all the names from nixpkgs into release.nix, and Python3Packages is one of those names?
<pie_[bnc]>
ok so apparently its fine if you import as a trusteduser or something
AndroUser has joined #nixos
AndroUser has left #nixos ["AndroIRC"]
<evanjs>
So libwebsockets is failing to build with pkgsCross.armv7l-hf-multiplatform.pkgsStatic. ... I am overriding the expression and using 2.4.2.. but it seems 3.2.0 fails as well. Any thoughts on what I can check first?
philr has joined #nixos
<evanjs>
it seems to be getting angry with fPIC stuffs, I think? `crtbeginT.o:(.init_array+0x0): dangerous relocation: unsupported relocation`
<mdash>
newuser99: yes, callPackage will pass it in since it's an arg at the top
<evanjs>
*scrolls up in log* ayep relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
<newuser99>
Thanks mdash
<evanjs>
wait... do I need e.g. pkgsStatic.pkgsCross.armv7l-hf-multiplatform.callPackage, rather than pgsCross.armv7l-hf-multiplatform.pkgsStatic.callPackage?
fenedor has joined #nixos
<iqubic>
How can I test whether or not I have libnotify installed?
Yannik_Sc has quit [Quit: Yannik_Sc]
<evanjs>
generally speaking, if I want to compile an application statically for arm7
fendor has quit [Ping timeout: 268 seconds]
__monty__ has quit [Quit: leaving]
kleisli has joined #nixos
worldofpeace_ has joined #nixos
ambro718 has quit [Read error: Connection reset by peer]
ambro718 has joined #nixos
<{^_^}>
[nixpkgs] @Ma27 pushed commit from @risicle to release-20.03 « pythonPackages.pysaml2: fix tests with fixed & now-expired timestamps »: https://git.io/Jv4Ou
<samueldr>
evanjs: hmm, I would have naïvely assumed it would be the same, but now I don't know
<samueldr>
definitely makes different outputs, looks like putting pkgsStatic first can fetch less from the cache
<evanjs>
samueldr: yeah it looks like they behave differently, but I get further with pkgsCross.armv7l-hf-multiplatform.pkgsStatic. But lws still fails to build with it. Assuming it's a pie/pic thing with the library itself?
chloekek has quit [Ping timeout: 260 seconds]
<samueldr>
at that point I don't know :)
<evanjs>
Like maybe something we don't handle properly. I notice openssl and etc have a "static" flag
<adelbertc>
if i have a single line string in a file how can i read that string into Nix ?
<evanjs>
okay, it looks like "-DLWS_WITH_STATIC=ON" "-DLWS_WITH_SHARED=OFF" is enough to get lws building, but then it's down to my app not being static friendly :D
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vidbina has quit [Ping timeout: 268 seconds]
<evanjs>
regardless, I could make a PR for "-DLWS_WITH_STATIC=ON" "-DLWS_WITH_SHARED=OFF" being added to cmakeFlags if static is true or something
<evanjs>
(for libwebsockets)
<evanjs>
adelbertc: does `lib.readFile file` work for your use case?
<evanjs>
or builtins.readFile *shrugs* either, or
<adelbertc>
evanjs: oo yes thats exactly what i wanted - thank you!
<evanjs>
nix repl is your friend :D tab completion FTW
<iqubic>
Does NixOS install a notification daemon by default?
<iqubic>
I want to test if I have libnotify installed or not.
worldofpeace_ has quit [Quit: worldofpeace_]
<evanjs>
iqubic: could try notify-send and see if anything comes up
<evanjs>
can't remember how I set it up initially, but I think installing the package is enough for libnotify?
<{^_^}>
[nixpkgs] @chkno opened pull request #80381 → llvmPackages_5.compiler-rt: Backport llvm 6.x's ustat fix after glibc… → https://git.io/Jv4ON
<evanjs>
Eh if you have home-manager you can just enable it like that, not sure about the best route on vanilla nixos
<iqubic>
I do have Home-Manager.
<iqubic>
Where do I put that line of code?
<evanjs>
okay so that is one option, e.g. config.home-manager.users.<user>.services.dunst.enable, else I think you can just add whatever notification client to your systemPackages, e.g. pkgs.notify-osd-customizable or etc
<iqubic>
I want to get home-manager to set up dunst for me.
<evanjs>
sounds good. hopefully that's all you will need. `man home-configuration.nix` also lists a bunch of other stuff for customization if you'd like to tweak how dunst looks
<iqubic>
First, I'd just like to verify that dunst works.
<iqubic>
So, how do I get that dunst thing to work?
<evanjs>
infinisil: omg I did not realize you did both platforms x_x
<evanjs>
iqubic: have you rebuilt and tested via `nix run nixpkgs.libnotify -c notify-send "Sample Summary" 'Hello!'`?
<iqubic>
I rebuilt.
<iqubic>
home-manager suggested that I should run the systemctl command.
<evanjs>
yeah do whatever it tells you in that case
<iqubic>
I tried.
<iqubic>
It gave me some output about not being able to connect to the bus. Look at the chat above this.
<evanjs>
oh there it is
<evanjs>
oh haha
<evanjs>
yeah you can't sudo and --user simultaneously
<evanjs>
try removing the sudo
<evanjs>
e.g. systemctl --user start dunst.service
seanparsons has quit [Read error: Connection reset by peer]
<iqubic>
Job for dunst.service failed because the control process exited with error code. See "systemctl --user status dunst.service" and "journalctl --user -xe" for details.