<dstzd>
is there any priority in the hydra jobsets system? how does it decide which job is next?
ris has quit [Ping timeout: 240 seconds]
servo has joined #nixos
<servo>
HELLO ALL MEMEBERS
<{^_^}>
[nixos-homepage] @samueldr pushed to redesign-learn « site-styles: misc. fixes for learn page »: https://git.io/JT6yj
teto has quit [Ping timeout: 272 seconds]
meatcar has quit [Quit: bye bye.]
<samueldr>
dstzd: there is a system of "scheduling shares", not sure how it _works_, but the important jobsets are given more shares so their build are prioritized
<samueldr>
but AFAIK you can't have priority one over anything else
m0rphism has quit [Ping timeout: 260 seconds]
kreyren has quit [Remote host closed the connection]
<simpson>
Cadey: In general, determine the group which owns the device node, and then add your user to that group. I'm afraid I don't know what `ttyACM` might be, and I don't appear to have one on my current machine, so I'm not sure how to be more specific.
<Cadey>
apparently it's dialout
m3thos has joined #nixos
<simpson>
Oh, a modem, that makes sense. So yeah, get the group from `ls` or etc., and then `usermod -a` or etc. to add your user to the group.
<simpson>
You can then `newgrp` as your user if you don't want to log out and back into X.
aswanson_ has quit [Quit: WeeChat 2.7.1]
h0m1 has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @jonringer merged pull request #101736 → [20.09] treewide: mark broken for 20.09 → https://git.io/JToHF
<{^_^}>
[nixpkgs] @jonringer pushed 4 commits to release-20.09: https://git.io/JT67l
h0m1 has joined #nixos
aswanson_ has joined #nixos
<samueldr>
Cadey: that's why my user is in the dialout group
<samueldr>
that's AFAIUI the most common way distros handle giving out rights to serial devices
<samueldr>
I guess with udev you could do the funky attributes for whoever is "at the console", or however they call it
<danderson>
(this is to burn correct git commit and version info into the built binary - the repo has a helper script to do it, but it relies on the git repo being present - but I can just make the build logic get that info from the derivation itself)
<danderson>
oh, neat
dbmikus has joined #nixos
adelbertc has joined #nixos
<danderson>
hmm. Flakes-enabled nix is giving me a hash mismatch when building my shell.nix, but the hash format doesn't match what I'm expecting to see... So I can't correct it
servo has quit [Remote host closed the connection]
<omasanori[m]>
clever: Thank you! so stupid I was...
<tnks>
A Haskell question: In `pkgs/development/haskell-modules/lib.nix` we have `enableLibraryProfiling` and `enableExecutableProfiling`, but these seem to turn on profiling for just one package. I've always been under the impression that profiling needs to be enabled for all dependencies. The official Nixpkgs manual still says to override `mkDerivation` which would definitely make this a global change. But then is there any
<tnks>
purpose to `enableLibraryProfiling` on a single packge?
<energizer>
why would /nix/store/4q1yswjjylfzvj4949plyh8c1x38zz9r-nixos-manpages.drv take a long time (5+ minutes now)
<emily>
my path with nix-darwin + fish is `/usr/local/bin /usr/bin /bin /usr/sbin /sbin /Library/Apple/usr/bin /Users/emily/.nix-profile/bin /etc/profiles/per-user/emily/bin /run/current-system/sw/bin /nix/var/nix/profiles/default/bin`. is it expected that all the Nix stuff comes after the system paths (so it's a pain to override outdated system tools like bash)?
<emily>
or is something broken in my setup (...and if so how should I go about finding out what)
cortexman has quit [Remote host closed the connection]
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
<jdnixx-M1>
i'm gonna try this one again:
<jdnixx-M1>
anyone have any ideas why I keep getting this. I'm trying to include a callPackage ./klogg { } inside my configuration.nix's environment.systemPackages
lopsided98 has joined #nixos
<jdnixx-M1>
`error: anonymous function at /etc/nixos/klogg/default.nix:1:1 called without required argument 'mkDerivation'`
<jdnixx-M1>
I'm pretty sure its a scope problem? But i have no idea how to fix it. Do I have to put "mkDerivation" somewhere in configuration.nix where it calls it?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zeorin has joined #nixos
zupo has joined #nixos
dadada_ has joined #nixos
<zeorin>
Hey all, I'm trying to update my 20.03 system and it's failing with `error: cannot download tor-browser-linux64-10.0_en-US.tar.xz from any mirror`
<zeorin>
This is after updating channels.
hmpffff has joined #nixos
<zeorin>
Is there a way to update _the rest of my system_, everything but this package, without editing my `configuration.nix`? Like a `--i-know-its-not-reproducible-but-update-all-non-failing-packages` flag?
striker2 has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
striker2 has quit [Quit: WeeChat 2.9]
DaExodia[m] has joined #nixos
cransom has quit [Ping timeout: 240 seconds]
nixuser_ has joined #nixos
<srhb>
zeorin: In general, no. It's all or nothing.
cransom has joined #nixos
<{^_^}>
[nixpkgs] @vbgl pushed commit from @cheriimoya to release-20.09 « Update matio: 1.5.17 -> 1.5.18 »: https://git.io/JTi3P
copy has joined #nixos
cfricke has joined #nixos
noogie has quit [Ping timeout: 246 seconds]
<bqv>
Hmm. Nix 2.3.8 is fine on pkgsStatic
cfricke has quit [Client Quit]
<bqv>
but not nixUnstable
Guest81010 has joined #nixos
<Guest81010>
Done
Guest81010 has quit [Remote host closed the connection]
aaabbbbbbbbbb has joined #nixos
<{^_^}>
[nixpkgs] @vbgl opened pull request #101825 → ocamlPackages.mirage-block: init at 2.0.1 → https://git.io/JTis8
strikerlulu has joined #nixos
marc2 has quit [Quit: WeeChat 2.8]
copy has quit [Ping timeout: 260 seconds]
strikerlulu has quit [Remote host closed the connection]
dbmikus has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
copy has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @timstott opened pull request #101832 → _1password-gui: add timstott as maintainer → https://git.io/JTi89
<worldofpeace>
sss2: I see from that log that u didn't actually use startx. I would also recommend using that module since it's the supported way in nixos
<worldofpeace>
cole-h: it really would just be wrong not to 😸
alp has joined #nixos
<sss2>
worldofpeace, i am new to nixos, is here any guide or something like it ?, what i need is just start x server from user via startx or xinit
<sss2>
so i do not need X server automatically started during boot
<sss2>
as i understand, if i use services.xserver.displayManager.startx.enable in configuration.nix, i do not need to install xorg-server and drivers in user env ?
domogled has joined #nixos
la-jesystani has quit [Ping timeout: 265 seconds]
hoijui has joined #nixos
hmpffff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hmpffff has joined #nixos
<{^_^}>
[nixpkgs] @wamserma opened pull request #101833 → stdenv/check-meta: add hint to NIXPKGS_ALLOW_* for unfree/broken/… → https://git.io/JTi4P
<supersandro2000>
I have a python module which a namespaced module. After building it is missing the __init__.py and does not work with other modules. Any advice how to fix that?
<{^_^}>
[nixpkgs] @vcunat pushed commit from @Mic92 to release-20.03 « Merge #101611: firefox-bin: 81.0.2 -> 82.0 »: https://git.io/JTizO
dbmikus has quit [Ping timeout: 272 seconds]
hoijui has quit [Quit: Leaving]
<{^_^}>
[nix] @puckipedia opened pull request #4191 → libstore/filetransfer: set CURLOPT_ACCEPT_ENCODING → https://git.io/JTizQ
<drag0nius>
what exactly does this mean? error: build of '/nix/store/cwyfj6b7vqpr3iq39bhdhm2p52ff2xrn-nixos-system-nixos-20.09beta1411.95d26c9a9f2.drv' failed
<{^_^}>
[hydra] @edolstra pushed to master « Remove dead link »: https://git.io/JTi64
<eyJhb>
If I want to patch a single file, how would I go about that? E.g by seed or a .patch file. I cannot just use mkDerivation and then src = path/to/file.a as far as I can tell
<drag0nius>
ok, i think this is the reason: builder for '/nix/store/0kgbkmkvgqcaxq7311sq4ky3xpipc9sf-python3.9-pyflakes-2.2.0.drv' failed with exit code 1
sb0_ has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @aanderse merged pull request #100413 → pkgs/mariadb: Fix when running without aliases → https://git.io/JTtpH
<eyJhb>
whald_: I have to do some hackery, so it seems like the best solution is to not patch it in the main derivation, as it changes how arguments needs to be passed
<eyJhb>
Luckily this is a project for myself, so :p
victorbjelkholm_ is now known as victorbjelkholm
<whald_>
eyJhb, you can always use the patched version exclusively in the derivation that depends on that changed behaviour, without affecting anyone else
<supersandro2000>
drag0nius: yeah tests fare failing
<CRTified[m]>
Hi, it would be great if someone could merge PR #99378 as it solves some problems I've had with cross-compiling for a raspberry pi 0 :)
<supersandro2000>
either cherry-pick, use master or wait for a release
<eyJhb>
whald_: Currently I am just making a shell, that will do this
<eyJhb>
Is there any good way, to make such patches except in a mkDerivation?
fendor has quit [Ping timeout: 272 seconds]
<whald_>
eyJhb, whoever needs that patched derivation likely pulls it in using (native)buildInputs, there is likely something like "buildInputs = [ foo ]", right?
<eyJhb>
whald_: purely for myself, and I am making a shell.nix, which uses the patched version
cfricke has quit [Ping timeout: 256 seconds]
<eyJhb>
So it literally just adds the patched bin to $PATH in a shell
<whald_>
eyJhb, that's fine, but you still have that dependency, right?
<eyJhb>
My thought was more of doing it as, let scriptRunInet = mkDerivation { ... }; in mkShell { shellHook = '' PATH=${scriptRunInet}/bin/run_inet:$PATH ''; }
<eyJhb>
If that makes sense
<whald_>
and at that place you can have a fooPatched = foo.overrideAttrs (old: old // patches = [ ./my-patch.diff ]), and then depend on fooPatched. you'll have it in your shell but nobody else sees it.
pr06lefs has quit [Remote host closed the connection]
<eyJhb>
So "rebuild" foo, with my patch applied to it?
<whald_>
eyJhb, yes, that's how it works
<whald_>
eyJhb, (at least if i got the syntax right...) ;-)
<eyJhb>
Hmm.. Lets try
<drag0nius>
supersandro2000: could you elaborate? how would i go about pinning commit version of pyflakes?
<eyJhb>
Hate making patches whald_ , they always go wrong
<supersandro2000>
drag0nius: I would just change it in the derivation but you could also do an overlay
<supersandro2000>
there should be an example somewhere
<whald_>
eyJhb, but with nix at least they always fail in the same way...
<{^_^}>
[nixpkgs] @primeos pushed to master « wshowkeys: Fix the license »: https://git.io/JTiSq
cfricke has joined #nixos
<eyJhb>
,escape ${@:2}
<{^_^}>
Escape this in '' strings with: ''${@:2}
<{^_^}>
Escape this in " strings with: \${@:2}
<whald_>
eyJhb, it should be "fooPatched = foo.overrideAttrs (old: old // { patches = [ ./my-patch.diff ] })". my bad.
<eyJhb>
whald_: building now, lets see what happens ;)
<eyJhb>
And your correction was just in time, as I got the error
<{^_^}>
[nixpkgs] @mmilata opened pull request #101847 → python3Packages.trezor: make udev rules dependency linux-only → https://git.io/JTi9K
<supersandro2000>
whald_: wait wait wait stop
<whald_>
eyJhb, and because we don't know if foo now (or later) has patches itself it would be a nice touch to even extend it to "foo.overrideAttrs (old: old // { patches = old.patches + [ ./my-patch.diff ] })", appending the new patch to any which may be present in the foo we're modifying.
<supersandro2000>
pip is still used so no
zakame has quit [Quit: WeeChat 2.9]
<whald_>
supersandro2000, pip?
<supersandro2000>
pip dependency resolution is random
<eyJhb>
whald_++
<{^_^}>
whald_'s karma got increased to 1
<eyJhb>
That is true, I will do that
<eyJhb>
Backup nick whald_ , or actually first karma?
<whald_>
eyJhb, whald would be to proper nick, seems my client got disconnected at some point. but anyway, first karma. :-)
<eyJhb>
Congrats on that! And thanks for the help ;)
<eyJhb>
Now I can hate my life while doing simulations.
<drag0nius>
looks like ipython is the one requiring pyflakes
karantan has joined #nixos
<karantan>
any particular reason why is "nixos-rebuild swtich" sending some output to stderr? e.g. if I do "nixos-rebuild switch 2> error.txt" I get the following things in error.txt:
gustavderdrache has joined #nixos
<karantan>
"building Nix...", "building the system configuration...", "updating GRUB 2 menu...", ...
<karantan>
the build is overall successfull
<Yaniel>
stderr is often used for progress reporting
<karantan>
yes, in case of an error
<V>
no, normally as well
<karantan>
:o
<karantan>
why? why not put info log to stdout
<V>
so you can split stuff into two streams
<karantan>
I guess warnings could be put to stdin but I don't understand why would you put info to error/stderr log
<niksnut>
karantan: stdout is not intended for log messages
sangoma has quit [Ping timeout: 240 seconds]
<karantan>
"Stderr, also known as standard error, is the default file descriptor where a process can write error messages.". Am I missing something?
<karantan>
"In bash, standard error can be redirected on the command line. Redirecting stderr can be useful if you need to capture any error messages to a separate log file, or hide the error messages entirely."
<niksnut>
if we wrote log messages to stdout, then operations like outpath=$(nix-build ...) wouldn't work anymore
<averell>
if is set security.acme.server to staging to test something, and then back, will i keep my previous certs? (or run into rate-limits regenerating them all?)
tsmanner has joined #nixos
kirc2 has joined #nixos
<tsmanner>
Hello! I am toying around with using nix to compile some C++ code. It works great with the latest version of gcc from nixpkgs, but if I backlevel the compiler package (to pkgs.gcc8, for example) I am unable to link object files compiled that way, it can't find libc, libm, or libgcc_s. With NIX_DEBUG=1, I see what look to me like the right -L and
<tsmanner>
-rpath values for that gcc version, but the link fails with `ld: cannot find -l*`
kirc2 has quit [Quit: kirc2]
erasmas has joined #nixos
supersandro2000 has quit [Ping timeout: 246 seconds]
supersandro2000 has joined #nixos
aasg has quit [Quit: killed]
<averell>
how are you starting your dev env? some nix-shell? or just installing gcc via nix-env?
aasg has joined #nixos
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<tsmanner>
averell I'm using `nix-build` with a `default.nix` file and `stdenv.mkDerivation` to invoke `${pkgs.gcc8}` as part of that derivation's buildCommand. There are 3 derivations, two of them build source using `-r` to produce relocatable objects (as `.o` files), the results of which are then referenced as the sources for the third `${pkgs.gcc8}`
<tsmanner>
invocation, which tries to link them into an executable
<tsmanner>
currently running in WSL, but I was having the same problem when I tried something similar on my NixOS box as well
whald_ has quit [Remote host closed the connection]
philr has quit [Ping timeout: 246 seconds]
domogled1 has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
domogled1 is now known as domogled
<averell>
maybe all you need is switch to gcc8Stdenv.mkDerivation or similar. you could paste your derivation somewhere, or look through nixpkgs for something to copy.
sangoma has quit [Quit: WeeChat 2.9]
hnOsmium0001 has joined #nixos
<tsmanner>
I didn't have any luck with the gccXStdenv either, it had the same missing libs. It's some R&D for our devops at $dayjob, where we have some code still being compiled with pre-ABI change gcc 4.8, which doesn't have an stdenv. I'll keep digging though
<averell>
i suggest starting with a shell.nix where you can inspect each step
<SenoraRaton>
I'm trying to get my new NixOS install working on my raspberry pi 4. When I try and add/update my vpn provider it tells me "mullvads.2020.05 .... is refusing to evaluate"
<SenoraRaton>
So I can't get x265 to build either. It tells me its dependencies can't be built
<SenoraRaton>
The only dependency for x265 is cmake I believe
civodul has joined #nixos
pinpox is now known as yawe
yawe is now known as pinpox
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
<{^_^}>
[nixpkgs] @jdelStrother opened pull request #101861 → Generate autocompletion database for awscli2 → https://git.io/JTPsi
pinpox is now known as yawe
yawe is now known as pinpox
<worldofpeace>
SenoraRaton: share the log in a pastebin?
<pumpy>
how do we use options with * in them like xsession.windowManager.i3.config.bars.*.mode? anyone that uses it can share snippet from their config or? pls
<tsmanner>
Does anyone here know how to ask nix to produce a cross compiled version of the binaryTarball that is consumed by nix's install.sh?
cfricke has quit [Quit: WeeChat 2.9]
lsix has quit [Quit: WeeChat 2.9]
pstew has joined #nixos
<pumpy>
how do i get the rdp client to take all keyboard input? triggering client i3 commands triggers host i3 commands :) asking here first because i dont know where in the stack the problem should be fixed
pstew has quit [Remote host closed the connection]
cole-h has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @Preisschild opened pull request #101865 → jsonnet-bundler: init at 0.4.0 → https://git.io/JTPzd
<{^_^}>
[nixos-homepage] @jonringer pushed 3 commits to release-20.09: https://git.io/JTPgP
<nh2[m]>
in a derivation, can I get the value of the `$out` shell variable also as a nix variable? I want to splice it into a generated file (pkgconfig in my case) with `writeText`
bvdw has quit [Remote host closed the connection]
bvdw has joined #nixos
<cole-h>
Do you want `$out` as a Nix variable in the same derivation? Or is this after the derivation has been built?
noudle has joined #nixos
<cole-h>
If it's in the same derivation, you'll probably have to use `${placeholder "out"}`, and if it's after being built, just `${pkg.out}` might work.
bvdw has quit [Remote host closed the connection]
bvdw has joined #nixos
<samueldr>
cole-h: placeholder "out" isn't specific to a given derivation
<samueldr>
>> Return a placeholder string for the specified output that will be substituted by the corresponding output path at build time. Typical outputs would be "out", "bin" or "dev".
<pumpy>
anyone have freerdp problem ctrl alt enter works to toggle full screen but keyboard grab doesn't!?
bvdw has quit [Remote host closed the connection]
bvdw has joined #nixos
cosimone has joined #nixos
berberman_ has quit [Ping timeout: 240 seconds]
berberman has joined #nixos
bvdw has quit [Remote host closed the connection]
dbmikus has joined #nixos
<nh2[m]>
cole-h samueldr hmm, `placeholder "out"` sounds like what I want, but it'll take on the path of the `writeText` derivation, not the derivation whose store path I want to build into the pkgconfig file
<samueldr>
yeah, AFAIK that's not a thing you can really do
<{^_^}>
[nixpkgs] @luc65r opened pull request #101868 → fasmg: init at j27m → https://git.io/JTP2V
<samueldr>
other than you yourself handling it
<cole-h>
Why do you need the $out in the first place, though? Could this not be avoided by, e.g. copying or symlinking the `writeText` output into the pkg-config derivation where you want it to be?
<nh2[m]>
samueldr: well usually .pc files get generated by the build system (autoconf, cmake, meson etc) based on the `--prefix=$out` we pass. So that way the store path ends up in the `prefix=` line of the `.pc` file. But what I'm packaging doesn't have a proper build system that can do that, and I want to find the most ergonomic/clear way to write wone.
<cole-h>
Yeah, that's what I was going to suggest (not exactly, but similar to that)
<samueldr>
(as long as the pc file content doesn't use shell stuff like $ ${} ``)
<samueldr>
or yes, if you want them to be used
<samueldr>
e.g. $out
<lordcirth>
Anyone running ZNC? I'm trying to configure it but it's throwing a type error: services.znc.config.User.lordcirth.Network.freenode.Chan.Pass.password.Hash in /nix/... is not of type `null or attribute set of znc values ...
<cole-h>
And if it does, you could just `writeText` it, add `@out@`, and then `substituteInPlace file { out = placeholder "out"; };` inside the main drv
<samueldr>
yes
<samueldr>
in fact it's probably preferable than to heredoc
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jabster28 has quit [Ping timeout: 272 seconds]
<nh2[m]>
samueldr: cole-h thanks, that now did the trick. personally I don't know whether I like `substituteInPlace` or 'heredoc' less, but both work so I'm happy
<cole-h>
I prefer substituteInPlace only because it's Nix :P
<samueldr>
heredocs are more likely to bite you on the behind
<samueldr>
but they can be mighty convenient
<samueldr>
whilst subistituteInPlace and a distinct derivation is extremely trivial to understanding, but harder to be extremely flexible
<Henson>
I've got an issue with a program that has been wrapped and the wrapper has been wrapped. I'm trying to control the name of executable that appears in top or a ps listing, as starting the outermost script goes down 2 levels of wrapProgram to end up with a name in top that isn't at all what is called to start the program.
orivej has quit [Ping timeout: 265 seconds]
<Henson>
I've tried using the argv0 argument to wrapProgram and makeWrapper, but it doesn't seem to be helping.
<{^_^}>
[nixos-search] @worldofpeace merged pull request #212 → point to release prefix for 20.09 channel → https://git.io/JT4NI
<{^_^}>
[nixos-search] @worldofpeace pushed commit from @garbas to master « point to release prefix for 20.09 channel (#212) »: https://git.io/JTPVd
<{^_^}>
[nixos-search] @worldofpeace pushed 0 commits to release-20.09: https://git.io/JTPVF
malook has joined #nixos
mexisme has joined #nixos
mexisme has quit [Client Quit]
lunik1 has quit [Quit: :x]
alp has joined #nixos
lunik1 has joined #nixos
gnidorah has quit [Quit: Connection closed for inactivity]
<lordcirth>
nh2[m], thanks. Thing is, I'm just passing a "string", following the example, so I don't understand why that wouldn't match oneOf [ int bool str]
cosimone has quit [Remote host closed the connection]
<ryantm>
jonringer++ worldofpeace++
<{^_^}>
jonringer's karma got increased to 10
<{^_^}>
worldofpeace's karma got increased to 249
<nh2[m]>
lordcirth: From your message above it doesn't look like you're passing a string. You wrote `services.znc.config.User.lordcirth.Network.freenode.Chan.Pass.password.Hash`. That's shorthand syntax for `services.znc.config = { User = {...}; }` so you are effectively passing an attrset and that needs to conform to that type
<{^_^}>
[nixpkgs] @wamserma opened pull request #101871 → doc: 20.09 release notes: remove duplicate service list entry → https://git.io/JTPrk
mmohammadi9812 has quit [Read error: Connection reset by peer]
<lordcirth>
nh2[m], right, it is a deeply nested attrset, but the final Hash is a string, and the error is on Hash, not above it
mmohammadi9812 has joined #nixos
<worldofpeace>
ryantm: claps or 1's are also acceptable
<{^_^}>
[nixos-search] @turboMaCk pushed to turboMaCk/percent-encode-query « interpret + as space »: https://git.io/JTPKx
ManiacOfMadness has joined #nixos
<_deepfire>
Is kodi (media server) supported well by NixOS? Does anybody use it on rpi?
nuncanada has quit [Read error: Connection reset by peer]
<evalexpr>
congrats on the release :)
<danderson>
There doesn't seem to be a NixOS module for kodi, so you'd have to make one to get it running. There's a nixpkgs package though, so the software is there at least.
<danderson>
and yes, congrats on 20.09!!
<danderson>
topic needs an update :)
<jdnixx[m]>
anyone have any ideas why I keep getting this. I'm trying to include a callPackage ./klogg { } inside my configuration.nix's environment.systemPackages
grin[m] is now known as [[usergrin]][m]
<jdnixx[m]>
`error: anonymous function at /etc/nixos/klogg/default.nix:1:1 called without required argument 'mkDerivation'`
<jdnixx[m]>
I'm pretty sure its a scope problem? But i have no idea how to fix it. Do I have to put "mkDerivation" somewhere in configuration.nix where it calls it?
<{^_^}>
[nixpkgs] @ehmry pushed commit from @hyperfekt to master « nym: 0.7.0 -> 0.8.1 »: https://git.io/JTPX1
tokudan has joined #nixos
<infinisil>
lordcirth: znc's config files look like `<Network freenode>\n...\n</Network>`, and the equivalent in Nix is `Network.freenode = ...`
<infinisil>
So whenever you have an attribute set like `{ Network = ...; }`, the `...` in there needs to be another attribute set so these sections can work
<infinisil>
And the type of the ZNC config reflects that
<tpw_rules>
how should i file an issue for a package that doesn't work correctly?
<{^_^}>
[nixpkgs] @jonringer pushed to master « python2Packages.pc-ble-driver: disable for python2 »: https://git.io/JTPXd
<crazazy[m]>
jdnixx: yeah thats what I means
<crazazy[m]>
meant*
<{^_^}>
[nixos-search] @turboMaCk pushed to turboMaCk/avoid-fragment-hack « simplifi »: https://git.io/JTP1J
<crazazy[m]>
Don't know how common it is in other places, but in my circles people tend to say s/words/otherwords as a means of saying you can simply replace "words" with "otherwords", as if you're performing a sed command
<jdnixx[m]>
ooooh lol gotcha
<jdnixx[m]>
well thanks but it didn't seem to work, it started saying `anonymous function at /etc/nixos/klogg/default.nix:1:1 called without required argument 'sources', at /nix/store/h71khrayi8k5rqw35skkmvs9kba9rwh5-nixos-20.03.3178.a26e92a67d8/nixos/lib/customisation.nix:69:16`
<jdnixx[m]>
I'm not sure where `sources` is supposed to come from
exco_ has quit [Remote host closed the connection]
exco has joined #nixos
nschoe has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @wamserma opened pull request #101880 → doc: 20.09 release notes: remove duplicate service list entry [backport] → https://git.io/JTPDO
knupfer1 has joined #nixos
knupfer1 is now known as knupfer
knupfer has quit [Read error: Connection reset by peer]
exco has quit [Ping timeout: 272 seconds]
fadenb has quit [Quit: killed]
samhza has quit [Remote host closed the connection]
samhza has joined #nixos
<flip[m]>
I'm trying to package my first app (Go) and i seem to get it to build correctly, but the application is not installed into PATH after nix-build or in a nix-shell.
<flip[m]>
Any clues what i might be missing?
mmohammadi9812 has quit [Remote host closed the connection]
bennofs1 has joined #nixos
<flip[m]>
I have to build it with nix-build -E 'with import <nixpkgs> {}; callPackage ./package.nix {}' if that could be relevant
jmsb has joined #nixos
mmohammadi9812 has joined #nixos
<jmsb>
hello all--i am trying to use steam-run on a build script and am getting the error: rlwrap: relocation error: /lib64/libc.so.6: symbol _dl_fatal_printf, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference and I am not sure what the best next steps are for debugging
<jmsb>
a similar error occurs when i try to use buildFHSUserEnv
mmohammadi9812 has quit [Quit: Quit]
__monty__ has quit [Quit: leaving]
gustavderdrache has quit [Quit: Leaving.]
mmohammadi9812 has joined #nixos
konobi has quit [Quit: konobi]
mmohammadi9812 has quit [Client Quit]
Rusty1 has quit [Quit: Konversation terminated!]
mmohammadi9812 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<{^_^}>
[release-wiki] @worldofpeace pushed 2 commits to master: https://git.io/JTPSD
<duairc>
However, because /nix/store is a different mount, the move step isn't a simple rename, it has to actually copy the file first before deleting it. Is there any way to exploit the fact that / and /nix/store are "really" the same volume to make the speed up the mv operation?
<flip[m]>
@duairc if it's really the same partition can't you just mount root directly
Rusty1 has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
hmpffff has quit [Client Quit]
<NobbZ[m]>
Hi! Can someone quickly help me out?
<NobbZ[m]>
With nix-prefetch-github how can I turn off fetchSubmodules? The printed JSON blob always has set it to true, regardless if I pass --fetch-submodules or not.
<nbathum>
NobbZ[m]: Are you using it to check a local checkout (nix-prefetch-github-directory)? or reach out to github?
<NobbZ[m]>
Using `--nix` does also have `fetchSubmodules = true`
tmciver has quit [Ping timeout: 264 seconds]
justanotheruser has joined #nixos
<NobbZ[m]>
Also the generated expression does use `<nixpkgs>`
tmciver has joined #nixos
<NobbZ[m]>
It actually creates a "fetch-expression", I would prefer if it just would create the attrset to be used as arg, such that I still can add a `name` attribute
emacsomancer has quit [Read error: Connection reset by peer]
<{^_^}>
seppeljordan/nix-prefetch-github#37 (by SuperSandro2000, 1 minute ago, open): Fetch submodules flag is always on
seku has joined #nixos
MmeQuignon has quit [Ping timeout: 272 seconds]
nuncanada has joined #nixos
phaebz has quit [Remote host closed the connection]
emacsomancer has joined #nixos
ransom has joined #nixos
gustavderdrache has joined #nixos
<dstzd>
trying to dry-activate from 20.03 to 20.09 and failing... "nix-build: symbol lookup error: /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/librt.so.1: undefined symbol: __clock_nanosleep, version GLIBC_PRIVATE" any ideas?
<supersandro2000>
dstzd: WSL?
<dstzd>
nope bare metal
<Raito_Bezarius>
I rebuilt a NixOS config and got broken Kitty/Alacritty with the error "EGL: failed to init EGL: EGL is not or could not be init"
<supersandro2000>
mmm, Ubuntu recently broke nanosleep on WSL for at least a few months
<Raito_Bezarius>
at the same time I have "failed to open i965, swrast" from libEGL warning
<supersandro2000>
broke basically everything
<Raito_Bezarius>
is it known?
<dstzd>
two separate similar x86_64 systems.
<pumpy>
ya alacritty is buggy
justanotheruser has quit [Ping timeout: 260 seconds]
<jdnixx[m]>
oh and then just change that back after it's installed on the other drive
<cole-h>
?
<cole-h>
You probably want to use `nix-channel`
<jdnixx[m]>
well I mean wouldn't it just be as simple as changing those vars, `nixos-install` right from here in my current install (copying over configuration.nix & everything) and then change them back so current system doesn't start thinking it's on 20.09 all of a sudden?