00:04
ahmed_elgabri has joined #nixos
00:05
<
{^_^} >
[release-wiki] @dependabot[bot] pushed to dependabot/github_actions/actions/checkout-2.3.4 « chore(deps): bump actions/checkout from 2 to 2.3.4 »:
https://git.io/JsJPn
00:05
<
{^_^} >
[release-wiki] @dependabot[bot] pushed to dependabot/github_actions/cachix/install-nix-action-13 « chore(deps): bump cachix/install-nix-action from 12 to 13 »:
https://git.io/JsJPC
00:08
ahmed_elgabri has quit [Ping timeout: 250 seconds]
00:09
exondation has quit [Ping timeout: 260 seconds]
00:13
stree has quit [Ping timeout: 240 seconds]
00:14
<
eacameron >
Is there a way to determine if I'm in a nix-shell from env vars or something?
00:15
<
qyliss >
IN_NIX_SHELL, I think
00:16
<
eacameron >
qyliss: Awesome!
00:16
<
qyliss >
env | grep -i nix ;)
00:18
bennofs__ has joined #nixos
00:18
<
eacameron >
qyliss: You can try to teach me to fish but I will still use bash
00:19
ddellacosta has joined #nixos
00:21
bennofs_ has quit [Ping timeout: 268 seconds]
00:23
<
judson_ >
Trying to build a custom install image, following directions from the 20.09 manual. I get + nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
00:23
<
judson_ >
error: attribute 'system' in selection path 'config.system.build.isoImage' not found
00:23
<
judson_ >
Something about NIXPATH maybe?
00:24
<
qyliss >
judson_: are you in the nixos directory?
00:24
ddellacosta has quit [Ping timeout: 240 seconds]
00:24
<
judson_ >
Root of the repo. nixos/ is running now...
00:25
<
judson_ >
Yep. It's right there in the docs/
00:26
stree has joined #nixos
00:26
<
cole-h >
Yeah, you need to build nixpkgs/nixos/default.nix, not nixpkgs/default.nix
00:31
ahmed_elgabri has joined #nixos
00:32
proofofkeags has quit [Ping timeout: 240 seconds]
00:34
griff_ has joined #nixos
00:34
diamondburned has quit [Read error: Connection reset by peer]
00:35
diamondburned has joined #nixos
00:36
ahmed_elgabri has quit [Ping timeout: 240 seconds]
00:37
cole-h has quit [Ping timeout: 265 seconds]
00:46
stree has quit [Quit: Caught exception]
00:46
stree has joined #nixos
00:49
ahmed_elgabri has joined #nixos
00:50
hyiltiz has quit [Ping timeout: 240 seconds]
00:50
hyiltiz has joined #nixos
00:51
r31415 has joined #nixos
00:52
r31415 has quit [Client Quit]
00:54
ahmed_elgabri has quit [Ping timeout: 250 seconds]
00:56
abathur has joined #nixos
00:57
DarkiJah has joined #nixos
01:00
dicajo has joined #nixos
01:02
DarkiJah has quit [Remote host closed the connection]
01:13
griff_ has quit [Quit: griff_]
01:14
hyiltiz has quit [Ping timeout: 240 seconds]
01:18
berberman_ has joined #nixos
01:19
berberman has quit [Ping timeout: 276 seconds]
01:20
griff_ has joined #nixos
01:20
hyiltiz has joined #nixos
01:20
hyiltiz has quit [Changing host]
01:20
hyiltiz has joined #nixos
01:21
dicajo has left #nixos ["WeeChat 2.3"]
01:23
rajivr has joined #nixos
01:26
stevenroose has quit [Ping timeout: 245 seconds]
01:28
jgt_ has joined #nixos
01:30
<
danderson >
am I missing some way for `nixos-rebuild build` to give me a derivation name for the top-level system? The build logic I was using broke with some recent nix unstable change, so I have to re-figure out how to apply my configs :)
01:31
tomberek has quit [Ping timeout: 240 seconds]
01:32
stevenroose has joined #nixos
01:33
xkapastel has quit [Quit: Connection closed for inactivity]
01:33
hyiltiz has quit [Ping timeout: 265 seconds]
01:33
jgt_ has quit [Ping timeout: 268 seconds]
01:38
hyiltiz has joined #nixos
01:42
hyiltiz has quit [Ping timeout: 240 seconds]
01:42
hyiltiz has joined #nixos
01:44
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:46
xcmw has joined #nixos
01:49
hyiltiz has quit [Ping timeout: 240 seconds]
01:51
orivej has joined #nixos
01:51
apache8080 has joined #nixos
01:52
h0m1 has quit [Ping timeout: 250 seconds]
01:54
h0m1 has joined #nixos
01:58
hyiltiz has joined #nixos
01:58
hyiltiz has joined #nixos
02:01
melg8 has quit [Quit: Connection closed]
02:01
ddellacosta has joined #nixos
02:04
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:04
griff_ has quit [Quit: griff_]
02:06
puck has quit [Ping timeout: 246 seconds]
02:07
dweller has quit [Ping timeout: 246 seconds]
02:07
puck has joined #nixos
02:07
dweller has joined #nixos
02:07
davidv7_ has joined #nixos
02:07
VideoGameEnjoyer has quit [Remote host closed the connection]
02:07
`slikts has joined #nixos
02:10
MysteriousSilver has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
02:10
apache8080 has quit [Ping timeout: 240 seconds]
02:11
DarkiJah has joined #nixos
02:11
DarkiJah has quit [Excess Flood]
02:11
justan0theruser has joined #nixos
02:12
justanotheruser has quit [Ping timeout: 250 seconds]
02:14
griff_ has joined #nixos
02:14
griff_ has quit [Client Quit]
02:14
ddellac__ has joined #nixos
02:20
ddellac__ has quit [Ping timeout: 265 seconds]
02:27
apache8080 has joined #nixos
02:33
DarkiJah has joined #nixos
02:33
DarkiJah has quit [Excess Flood]
02:34
rprije has joined #nixos
02:35
DarkiJah has joined #nixos
02:38
DarkiJah has joined #nixos
02:38
DarkiJah has quit [Excess Flood]
02:42
xcmw has joined #nixos
02:43
griff_ has joined #nixos
02:50
ahmed_elgabri has joined #nixos
02:51
theDon has quit [Ping timeout: 252 seconds]
02:52
ddellacosta has quit [Remote host closed the connection]
02:52
ddellacosta has joined #nixos
02:53
theDon has joined #nixos
02:53
fresheyeball has joined #nixos
02:55
stree has quit [Ping timeout: 265 seconds]
02:55
ahmed_elgabri has quit [Ping timeout: 245 seconds]
02:56
ManiacOfMadness has quit [Ping timeout: 260 seconds]
02:58
DarkiJah has joined #nixos
03:02
AlpineLlama has joined #nixos
03:02
ddellacosta has quit [Remote host closed the connection]
03:07
apache8080 has quit [Ping timeout: 260 seconds]
03:07
stree has joined #nixos
03:15
fresheyeball has quit [Quit: WeeChat 2.9]
03:20
Jackneill has quit [Remote host closed the connection]
03:26
ddellacosta has joined #nixos
03:34
cjb has joined #nixos
03:34
Ashy has joined #nixos
03:35
Ashy has left #nixos [#nixos]
03:39
Supersonic112 has joined #nixos
03:40
<
evils >
why am i getting a permission denied error when trying to build a binary in a subdirectory? (the target is dir/binary, error is "ld: cannot open output file")
03:41
Supersonic has quit [Ping timeout: 252 seconds]
03:41
Supersonic112 is now known as Supersonic
03:53
justanotheruser has joined #nixos
03:55
justan0theruser has quit [Ping timeout: 250 seconds]
03:56
ddellacosta has quit [Remote host closed the connection]
03:56
ddellacosta has joined #nixos
03:58
marusich has joined #nixos
03:59
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:09
ddellacosta has quit [Remote host closed the connection]
04:12
jonringer has quit [Remote host closed the connection]
04:14
jonringer has joined #nixos
04:16
domogled has quit [Ping timeout: 260 seconds]
04:17
domogled has joined #nixos
04:17
cjb has quit [Quit: rcirc on GNU Emacs 28.0.50]
04:23
ddellacosta has joined #nixos
04:24
ddellaco_ has joined #nixos
04:24
waleee-cl has quit [Quit: Connection closed for inactivity]
04:28
ddellacosta has quit [Ping timeout: 260 seconds]
04:28
ddellaco_ has quit [Ping timeout: 252 seconds]
04:30
_virkony_ has joined #nixos
04:33
virkony has quit [Ping timeout: 240 seconds]
04:44
apache8080 has joined #nixos
04:51
domogled has quit [Remote host closed the connection]
04:51
ahmed_elgabri has joined #nixos
04:53
_virkony_ has quit [Ping timeout: 250 seconds]
04:53
_virkony_ has joined #nixos
04:55
ddellacosta has joined #nixos
04:56
ahmed_elgabri has quit [Ping timeout: 260 seconds]
04:58
eacameron has quit [Quit: Connection closed for inactivity]
05:00
ddellacosta has quit [Ping timeout: 265 seconds]
05:10
cantstanya has quit [Remote host closed the connection]
05:10
griff_ has quit [Quit: griff_]
05:13
yjftsjthsd has quit [Ping timeout: 252 seconds]
05:13
cantstanya has joined #nixos
05:13
zakame has quit [Ping timeout: 240 seconds]
05:15
stree has quit [Ping timeout: 252 seconds]
05:16
zakame has joined #nixos
05:19
apache8080 has quit [Ping timeout: 252 seconds]
05:19
berberman has joined #nixos
05:22
palo1 has joined #nixos
05:24
rtjure has quit [Ping timeout: 246 seconds]
05:25
palo has quit [Ping timeout: 240 seconds]
05:25
palo1 is now known as palo
05:27
ddellacosta has joined #nixos
05:28
stree has joined #nixos
05:30
endformationage has quit [Quit: WeeChat 2.9]
05:31
ddellacosta has quit [Ping timeout: 252 seconds]
05:41
griff_ has joined #nixos
05:53
sangoma has joined #nixos
05:55
eXadeci has joined #nixos
05:55
justanotheruser has quit [Ping timeout: 260 seconds]
05:57
mounty has quit [Ping timeout: 260 seconds]
05:58
cole-h has joined #nixos
06:07
johannes_ has joined #nixos
06:07
ddellacosta has joined #nixos
06:08
dschrempf has joined #nixos
06:11
mallox has joined #nixos
06:12
ddellacosta has quit [Ping timeout: 240 seconds]
06:18
jgt_ has joined #nixos
06:20
cr4y1 has joined #nixos
06:21
dminuoso has quit [Changing host]
06:21
dminuoso has joined #nixos
06:25
dschrempf has quit [Remote host closed the connection]
06:25
dschrempf has joined #nixos
06:30
<
evils >
huh, undocumented feature? i accidentally typed `nix-shell -A hello --check` now it's building `bash` i think
06:32
apache8080 has joined #nixos
06:34
saschagrunert has joined #nixos
06:40
vidbina has joined #nixos
06:42
<
thibm >
evils: it's documented in the nix-store manpage
06:45
<
evils >
thibm: that seems to be for nix-store --realise, or nix-build -A hello --check, which is what i intended to type
06:45
ddellacosta has joined #nixos
06:47
respawn_ has joined #nixos
06:49
ddellacosta has quit [Ping timeout: 240 seconds]
06:51
griff_ has quit [Quit: griff_]
06:51
apache8080 has quit [Ping timeout: 265 seconds]
06:52
ahmed_elgabri has joined #nixos
06:56
thc202 has joined #nixos
06:56
Jackneill has joined #nixos
06:57
respawn_ has quit [Remote host closed the connection]
06:57
Lord_of_Life has quit [Read error: Connection reset by peer]
06:57
griff_ has joined #nixos
06:58
respawn_ has joined #nixos
07:01
ahmed_elgabri has quit [Quit: WeeChat 3.1]
07:01
ahmedelgabri has joined #nixos
07:01
Diagon has joined #nixos
07:02
Lord_of_Life has joined #nixos
07:04
<
thibm >
evils: both nix-build and nix-shell essentially does nix-store -r operations + other stuffs so it makes sense to me. I agree that it could be better documented though.
07:06
apache8080 has joined #nixos
07:09
respawn_ has quit [Remote host closed the connection]
07:09
cole-h has quit [Ping timeout: 260 seconds]
07:09
respawn_ has joined #nixos
07:10
<
Reventlov >
I'm on unstable, the build for pdfpc seems broken, am I the only one ?
07:16
orivej has quit [Ping timeout: 252 seconds]
07:17
turlando has joined #nixos
07:17
nschoe has joined #nixos
07:18
ddellacosta has joined #nixos
07:21
abstrn has quit [Remote host closed the connection]
07:22
ddellacosta has quit [Ping timeout: 246 seconds]
07:22
jonringer has quit [Ping timeout: 245 seconds]
07:23
DarkiJah has quit [Remote host closed the connection]
07:24
abstrn has joined #nixos
07:24
exondation has joined #nixos
07:27
Cyrinux330138 has quit [Quit: bye]
07:32
cfricke has joined #nixos
07:36
Cyrinux330138 has joined #nixos
07:36
stree has quit [Ping timeout: 252 seconds]
07:37
tomberek has joined #nixos
07:37
nicoo has quit [Remote host closed the connection]
07:38
jrm2 has joined #nixos
07:38
jrm has quit [Ping timeout: 246 seconds]
07:38
jrm2 is now known as jrm
07:40
fendor has joined #nixos
07:40
nicoo has joined #nixos
07:42
apache8080 has quit [Ping timeout: 252 seconds]
07:42
DarkiJah has joined #nixos
07:42
DarkiJah has quit [Excess Flood]
07:47
hiro99 has quit [Remote host closed the connection]
07:49
stree has joined #nixos
07:49
<
evils >
thibm: yea i wasn't sure if it's just a side-effect of shared implementation, or if it's following the pattern; though as checking the shell of an attribute doesn't make a lot of sense to me, so i could have guessed it's the former
07:50
ddellacosta has joined #nixos
07:55
respawn_ has quit [Quit: Leaving]
07:55
ddellacosta has quit [Ping timeout: 260 seconds]
08:01
evanjs has quit [Read error: Connection reset by peer]
08:03
evanjs has joined #nixos
08:05
ram19890 has joined #nixos
08:10
m0rphism has joined #nixos
08:11
DarkiJah has joined #nixos
08:11
DarkiJah has quit [Excess Flood]
08:12
alexherbo2 has joined #nixos
08:13
DarkiJah has joined #nixos
08:13
DarkiJah has quit [Excess Flood]
08:15
DarkiJah has joined #nixos
08:15
DarkiJah has quit [Excess Flood]
08:16
DarkiJah has joined #nixos
08:16
DarkiJah has quit [Excess Flood]
08:17
griff_ has quit [Quit: griff_]
08:17
sphalerite has quit [Quit: WeeChat 2.9]
08:18
sphalerite has joined #nixos
08:18
DarkiJah has joined #nixos
08:18
DarkiJah has quit [Excess Flood]
08:23
DarkiJah has joined #nixos
08:23
DarkiJah has quit [Excess Flood]
08:24
amk has quit [Read error: Connection reset by peer]
08:24
amk has joined #nixos
08:26
meh` has joined #nixos
08:28
ddellacosta has joined #nixos
08:28
ddellaco_ has joined #nixos
08:29
DarkiJah has joined #nixos
08:32
ddellacosta has quit [Ping timeout: 240 seconds]
08:32
ddellaco_ has quit [Ping timeout: 252 seconds]
08:35
<
dupon1 >
Still trying to packaging an application, patchELF is almost done but it's missing 2 libraries but those are bundled in the deb file (and other bundled libraries are used during the patchelf step). Do you have an idea why those two libraries do a whim?
08:36
exondation has quit [Ping timeout: 260 seconds]
08:37
exondation has joined #nixos
08:37
<
legendofmiracles >
I think i'm overlooking something, but what's the flag to wrap a program with `wrapProgram`, so that the original command is the argument of the command?
08:40
Gohla has quit [Quit: Bye.]
08:40
Gohla has joined #nixos
08:42
beertoagunfight has joined #nixos
08:44
rtjure has joined #nixos
08:45
civodul has joined #nixos
08:46
avaq has joined #nixos
08:49
Diagon has quit [Quit: Leaving]
08:51
philipp has quit [Remote host closed the connection]
08:52
<
thibm >
legendofmiracles: can you elaborate?
08:52
philipp has joined #nixos
08:54
<
legendofmiracles >
e.g. launche the program automatically with `time` as a wrapper command
08:54
<
legendofmiracles >
* e.g. launch the program automatically with `time` as a wrapper command
08:57
sss3 has quit [Quit: WeeChat 3.1]
08:59
<
evils >
legendofmiracles: that's the default behaviour
09:00
nly has joined #nixos
09:00
<
evils >
or no, i misunderstood
09:00
<
thibm >
legendofmiracles: you can try --argv0 time, but that does not seem to work
09:00
<
pennae >
legendofmiracles: you want to turn eg `program a1 a2` into `wrapper program a1 a2`?
09:00
lsix has joined #nixos
09:00
<
evils >
they want it to end with `exec time program`
09:00
<
legendofmiracles >
yes
09:01
<
legendofmiracles >
that's my example, yup
09:01
<
qyliss >
that's not really what wrapProgram is for
09:01
<
thibm >
legendofmiracles: nm, I just understand what --argv0 does, it's not what you want
09:01
<
evils >
legendofmiracles: btw, you can copy the wrapper, chmod it, edit it
09:01
<
evils >
if it's for a one off
09:01
Cyrinux3301386 has joined #nixos
09:01
<
legendofmiracles >
qyliss: is there something i can use? If i had to write it manually it wouldn't be bad
09:01
<
legendofmiracles >
* qyliss: is there something i can use? If i had to write it manually it wouldn't be terrible
09:01
<
qyliss >
it's not a very common use case, so I think you'll have to write it manually
09:02
<
legendofmiracles >
alright, thank you
09:02
<
nly >
error: attribute 'local-zone' at configuration.nix:144:11 already defined at configuration.nix:143:11
09:02
<
qyliss >
nly: can you show us your configuration?
09:03
<
pennae >
nly: if you have `.local-zone.a = 1; .local-zone.b = 2;` turn it into `.local-zone = { a = 1; b = 2; }`
09:03
ddellacosta has joined #nixos
09:04
Cyrinux330138 has quit [Ping timeout: 240 seconds]
09:04
Cyrinux3301386 is now known as Cyrinux330138
09:06
<
pennae >
oh unbound! that's different. assign it only once as an array of strings
09:06
<
thibm >
pennae: that should not be necessary
09:06
<
pennae >
thibm: if you mean our first suggestion, yeah. just remembered that too ^^'
09:07
<
pennae >
nly: unbound allows repeated keys but nix doesn't, so the nix module represents repeated keys as arrays instead
09:08
<
nly >
ok, that makes sense :)
09:08
<
pennae >
we only started using nix a month or so ago, still forget some basic things sometimes
09:08
ddellacosta has quit [Ping timeout: 246 seconds]
09:09
gulplante has joined #nixos
09:20
abrar has quit [Quit: WeeChat 2.9]
09:20
<
dupon1 >
How do I do when a bundled deb library isn't used for the patchelf step in a Nix package?
09:22
abrar has joined #nixos
09:28
nly has left #nixos ["ERC (IRC client for Emacs 27.1)"]
09:30
<
legendofmiracles >
qyliss: I now have this:
09:30
<
legendofmiracles >
```nix
09:30
<
qyliss >
,paste legendofmiracles
09:31
<
legendofmiracles >
this, sorry i'm quite new to irc/matrix
09:31
<
legendofmiracles >
does that look alright?
09:33
<
qyliss >
legendofmiracles: almost! You need to pass "$@" if you want arguments forwarded.
09:33
<
qyliss >
you might also want to use a heredoc instead of a multi-line string
09:33
<
legendofmiracles >
should i use runtimeShell instead of bash?
09:33
<
qyliss >
yes that too
09:37
respawn_ has joined #nixos
09:38
Synthetica has joined #nixos
09:42
DarkiJah has quit [Ping timeout: 240 seconds]
09:43
fuiltilt has quit [Quit: WeeChat 2.9]
09:43
ddellacosta has joined #nixos
09:44
zeta_0 has joined #nixos
09:45
rtjure has quit [Ping timeout: 265 seconds]
09:46
<
zeta_0 >
hello there, with one of my rebuilds I think I messed up my user by setting the uid and createHome options, so now whenever I try to login to my user, it loops me back to my user login and I can't sign in? Even after removing those changes, this issue has not gone away?
09:48
<
zeta_0 >
also, how do I manually go back to previous generations in the terminal? I have nixos on my pi, so be I reboot no generations show up on loadup.
09:48
ddellacosta has quit [Ping timeout: 268 seconds]
09:48
meh` has quit [Ping timeout: 260 seconds]
09:50
<
thibm >
legendofmiracles: you may want to hide the wrapped program: $out/bin/.steam-tui-unwrapped like makeWrapper does to avoid polluting users' environments
09:53
<
thibm >
zeta_0: you can do `nixos-rebuild boot --rollback` to reboot to the previous generation
09:57
<
legendofmiracles >
thibm: will do
09:57
<
legendofmiracles >
thanks a lot
09:57
stree has quit [Ping timeout: 246 seconds]
09:58
<
zeta_0 >
thibm: thanks, but how do I roll back to a particular generation?
09:59
<
thibm >
zeta_0: you can use `nix-env --list-generations --profile /nix/var/nix/profiles/system` to see the generations
10:00
<
zeta_0 >
thibm: thanks, I'll keep rolling back a generation until I reach a point where that boot looping goes away(hopefully!)
10:01
<
{^_^} >
thibm's karma got increased to 14
10:01
rtjure has joined #nixos
10:01
<
thibm >
zeta_0: and then `nix-env --profile /nix/var/nix/profiles/system --switch-generation $n`, and then `/nix/var/nix/profiles/system/bin/switch-to-configuration boot`
10:02
<
thibm >
or do several rollbacks (but that can only go backwards)
10:03
<
thibm >
zeta_0: however, with your issue, if you broke your machin's "state" (the home directory), rolling back to previous generation may not fix it. But you can try
10:05
meh` has joined #nixos
10:05
<
zeta_0 >
thibm: ok, I'll keep rolling back, if that does not fix the login loop issue, then that means that the machines state is broken.
10:06
<
zeta_0 >
thibm: because, I can log into root, but my not my user(login loop).
10:07
respawn_ has quit [Quit: Leaving]
10:08
jgt_ has quit [Ping timeout: 240 seconds]
10:10
stree has joined #nixos
10:12
<
zeta_0 >
thibm: it looks like the state is messed up, is there an easy way to fix this issue? should I create a new user to fix it?
10:12
jgt_ has joined #nixos
10:14
<
zeta_0 >
thibm: nevermind, another rollback did the trick, the login loop went away, so I can now login as my user.
10:14
isHavvy has quit [Ping timeout: 245 seconds]
10:14
Havvy has joined #nixos
10:15
<
zeta_0 >
use-cases like this make nixos really shine, on other os's, if I got into this loop login issue, I'd be screwed and would have to do a fresh install.
10:16
<
shla >
how it is decided what gets merged into nixos-20.09? is there a process for that?
10:19
<
zeta_0 >
so rolling back to generation 11 fixed the issue, how do I delete the rest of the generations after generation 11?
10:20
<
shla >
nix-collect-garbage?
10:21
ddellacosta has joined #nixos
10:21
<
zeta_0 >
ya, I guess I could just delete all the other generations, I just need to be sure my current generation works.
10:24
eXadeci has quit [Quit: Connection closed for inactivity]
10:25
ddellacosta has quit [Ping timeout: 252 seconds]
10:26
<
zeta_0 >
I think setting either createHome, description or uid jacked up my nixos machines state earlier, why is that?
10:29
<
zeta_0 >
ok, I think I am going to have to do a garbage-collect, doing a rebuild switch messes up the state again(login loop comes back).
10:30
ddellaco_ has joined #nixos
10:34
exondation has quit [Ping timeout: 250 seconds]
10:34
rtjure has quit [Ping timeout: 268 seconds]
10:35
exondation has joined #nixos
10:36
ddellaco_ has quit [Ping timeout: 265 seconds]
10:40
__monty__ has joined #nixos
10:52
MysteriousSilver has joined #nixos
10:55
ddellacosta has joined #nixos
10:59
ddellacosta has quit [Ping timeout: 240 seconds]
11:01
exondation has quit [Ping timeout: 260 seconds]
11:02
exondation has joined #nixos
11:04
sangoma has quit [Ping timeout: 268 seconds]
11:06
marusich has quit [Quit: Leaving]
11:10
eta has joined #nixos
11:13
bpye has joined #nixos
11:14
seku has joined #nixos
11:21
rprije has quit [Quit: Leaving]
11:24
MysteriousSilver has quit [Ping timeout: 250 seconds]
11:26
ddellacosta has joined #nixos
11:31
devhell has joined #nixos
11:31
ddellacosta has quit [Ping timeout: 252 seconds]
11:32
<
devhell >
isn't setting networking.search = [ "mydomain.local" ]; supposed to set "search mydomain.local" in the resolv.conf?
11:40
jmeredith has quit [Quit: Connection closed for inactivity]
11:45
rsa has joined #nixos
11:46
respawn_ has joined #nixos
11:47
<
rsa >
are there anybody happy to do package requests in this channel?
11:49
mvnetbiz_ has quit [Changing host]
11:49
mvnetbiz_ has joined #nixos
11:49
<
{^_^} >
[nixpkgs] @maralorn pushed to haskell-updates « hackage2nix: maralorn maintains more packages »:
https://git.io/JsTFz
11:54
melg8 has joined #nixos
11:56
<
thibm >
devhell: yes (indirectly through the network-setup systemd service)
11:59
goibhniu has joined #nixos
12:05
exondation has quit [Ping timeout: 276 seconds]
12:06
exondation has joined #nixos
12:06
ddellacosta has joined #nixos
12:07
Unhammer has joined #nixos
12:08
<
Unhammer >
hey, I upgraded libgcc or something on Ubuntu 20.04 and now I'm getting
12:08
<
Unhammer >
$ nix-shell
12:08
<
Unhammer >
bash: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
12:08
<
Unhammer >
is this a common thing?
12:10
<
Unhammer >
tried upgrading to nix 2.3.10, didn't help
12:11
<
Unhammer >
maybe I should just remove it all and reinstall …
12:11
ddellacosta has quit [Ping timeout: 252 seconds]
12:14
<
devhell >
thibm: hmmm, so the entry should be added to /etc/resolv.conf? There is no entry though. I'm wondering if that has something to do with useNetworkd = true;, but I can't test right now.
12:17
berberman has quit [Ping timeout: 260 seconds]
12:18
berberman has joined #nixos
12:19
stree has quit [Ping timeout: 268 seconds]
12:19
<
thibm >
devhell: I incorrectly assumed that you had useNetworkd = false. You can look at the implementations in nixos/modules/tasks/network-interfaces-{scripted,systemd}.nix
12:19
<
devhell >
thibm: cheers
12:19
orivej has joined #nixos
12:20
<
thibm >
networking.search does not seems to be handled correclty in the systemd implementation on a first glance
12:22
dev_mohe has joined #nixos
12:23
<
devhell >
thibm: thank you, I was surprised because networking.resolvconf stuff (under which I wrongly presumed 'search' could be added) works, regardless of useNetworkd it seems. However, there doesn't seem to be a way to add a search domain there.
12:25
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
12:26
MMM23 has joined #nixos
12:26
dev_mohe has quit [Client Quit]
12:29
MMM23 has quit [Remote host closed the connection]
12:32
stree has joined #nixos
12:32
ddellaco_ has joined #nixos
12:33
gxt has quit [Remote host closed the connection]
12:34
gxt has joined #nixos
12:36
xcmw has joined #nixos
12:37
<
gchristensen >
is there a fancy gnome gui app for configuring printing?
12:38
ddellaco_ has quit [Ping timeout: 260 seconds]
12:38
<
dutchie >
system-config-printer?
12:40
ddellacosta has joined #nixos
12:41
xkapastel has joined #nixos
12:41
exondation has quit [Ping timeout: 260 seconds]
12:42
exondation has joined #nixos
12:45
ddellacosta has quit [Ping timeout: 252 seconds]
12:45
Lord_of_Life_ has joined #nixos
12:45
griff_ has joined #nixos
12:46
Lord_of_Life has quit [Ping timeout: 260 seconds]
12:46
Lord_of_Life_ is now known as Lord_of_Life
12:47
<
maralorn >
Can someone confirm, that preferLocalBuild = true does prevent nix from using available binary substitutes for a package?
12:47
Unhammer has left #nixos ["ERC (IRC client for Emacs) with WeeChat"]
12:48
<
maralorn >
But that documentation is not clear on that point and there is also `allowSubstitutes` which seems orthogonal.
12:49
<
immae >
maralorn: As far as I know it doesn’t prevent that. Its function is to say "build it locally rather than asking to a remote build node", it says nothing about binary cache
12:50
<
immae >
(i.e. if a binary cache already has it then it will not build it locally and will just fetch the derivation)
12:56
orivej has quit [Ping timeout: 260 seconds]
12:57
c-dinkel has joined #nixos
12:57
<
c-dinkel >
Hey everyone :-)
12:57
<
c-dinkel >
nixos-generators generally preferred over make-disk-image?
12:59
<
immae >
c-dinkel: I have boiler plates that builds different types of VMs (with a dummy systemd service) with a single "make" command, are you interested?
12:59
<
immae >
(different types = "a fully standalone VM", "a light VM with /nix shared"
13:00
<
c-dinkel >
I absolutely am! We want to build a fully standalone VM.
13:00
vidbina has quit [Ping timeout: 246 seconds]
13:01
<
immae >
(there is also the docker image version)
13:01
<
c-dinkel >
thanks :-)
13:01
<
immae >
you’re welcome!
13:02
<
pennae >
light vm with shared /nix -- how does yours differ from what nixos-rebuild build-vm does?
13:02
orivej has joined #nixos
13:02
chenin has joined #nixos
13:02
vidbina has joined #nixos
13:02
<
immae >
pennae: it probably does not
13:03
<
immae >
It’s a personnal repository that I used to make test and understand how things worked
13:03
<
immae >
I’m not claiming adding any value except easiness to understand how things work
13:04
rtjure has joined #nixos
13:04
<
pennae >
totally fair! also just interested in learning things :3
13:08
MysteriousSilver has joined #nixos
13:10
chenin has left #nixos [#nixos]
13:11
<
immae >
pennae: feel free to clone the repo then ;)
13:12
<
pennae >
have already learned a few things :D
13:12
zupo has joined #nixos
13:16
ddellacosta has joined #nixos
13:20
HenrikK has joined #nixos
13:21
ddellacosta has quit [Ping timeout: 260 seconds]
13:29
ddellaco_ has joined #nixos
13:33
andreas303 has quit [Remote host closed the connection]
13:33
MysteriousSilver has quit [Ping timeout: 276 seconds]
13:34
c-dinkel has quit [Quit: Connection closed]
13:34
andreas303 has joined #nixos
13:38
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:41
MysteriousSilver has joined #nixos
13:42
HenrikK has joined #nixos
13:43
<
MysteriousSilver >
Hi! Running `nix-env -u` for the first time, waited a long time yet no output from terminal. Is this normal?
13:45
gustavderdrache has joined #nixos
13:47
seku has quit [Ping timeout: 252 seconds]
13:47
saschagrunert has quit [Remote host closed the connection]
13:47
<
MysteriousSilver >
okay `-v` gives me information of whats happening
13:49
respawn_ has quit [Quit: Leaving]
13:50
konobi has quit [Remote host closed the connection]
13:51
ddellaco_ has quit [Remote host closed the connection]
13:54
ddellaco_ has joined #nixos
13:55
seku has joined #nixos
13:57
ddellac__ has joined #nixos
13:58
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:58
odiug has joined #nixos
13:58
jonringer has joined #nixos
14:00
safe has joined #nixos
14:00
bahamas has joined #nixos
14:01
orivej has quit [Ping timeout: 265 seconds]
14:02
ddellac__ has quit [Ping timeout: 265 seconds]
14:02
<
MysteriousSilver >
what does the `nix-env -u` command do? Download the entire nixpkgs?
14:02
konobi has joined #nixos
14:03
shibboleth has joined #nixos
14:04
<
clever >
MysteriousSilver: parse the nixpkgs you already have, and search for every package in `nix-env -q`, then install them all as upgrades
14:05
growpotkin has joined #nixos
14:06
<
numkem >
clever: would you happen to know if there is a way to pass more variables to a configuration.nix?
14:06
<
clever >
numkem: for example?
14:08
<
clever >
numkem: the way nixops does it, is to basically add another configuration.nix file
14:08
<
clever >
other_file.nix should then have `imports = [ ./configuration.nix ];` to merge with the main one, and then just set options as normal
14:08
<
clever >
and have nix build other_file.nix instead
14:09
<
clever >
numkem: ah, thats not a true nixos configuration.nix, but lines 30-57 are the body of one
14:10
<
clever >
numkem: you can just add another file to the imports on 32, and then auto-generate that file however you want
14:11
<
numkem >
clever: I wanted to avoid generating an actual file, was wondering if I could just pass that to nix-instanciate
14:11
<
clever >
numkem: you can also just pass an entire configuration.nix via --arg, and shove it into imports
14:11
<
clever >
--arg configuration '{ lib, pkgs, ... }: { .... }'
14:12
<
numkem >
clever: so I could pass --arg 'node { ip = "..."; }' ?
14:12
<
clever >
move the quote over a bit, and yep
14:13
<
numkem >
ha yes, interesting, I'll check that out, would that mean that inside the file I've showed you node would be defined?
14:13
<
clever >
you can then add `node ? {},` to the args at the top
14:13
<
clever >
and add node to imports
14:14
<
numkem >
as "imports = [ node ];" for example?
14:14
<
numkem >
very interesting, alright thank you! clever++
14:14
<
{^_^} >
clever's karma got increased to 580
14:14
mkaito has joined #nixos
14:14
mkaito has quit [Changing host]
14:14
mkaito has joined #nixos
14:15
zupo has joined #nixos
14:21
<
clever >
numkem: in that case, you need to wrap it there
14:21
<
clever >
numkem: real_configuration = { imports = [ node configuration ]; }
14:21
<
clever >
hmmm, but line 16 would wrap differently
14:21
waleee-cl has joined #nixos
14:22
<
numkem >
hermetic here means when you want to use a pinned nixpkgs
14:27
<
numkem >
clever: would it be possible to pass node on line 11?
14:28
<
numkem >
clever: well line 12 but through that call
14:30
<
clever >
numkem: since your using --expr, i'm not sure if --arg would evne work,
*tries*
14:30
<
clever >
$ nix-instantiate --eval --expr '{a?"default"}: a' --strict
14:30
<
clever >
$ nix-instantiate --eval --expr '{a?"default"}: a' --strict --argstr a foo
14:30
<
clever >
if you supply an arg, it works, but if you omit, it fails
14:32
<
numkem >
the default isn't taken, in my case it would be an empty attrset no matter what
14:34
dschrempf has quit [Ping timeout: 246 seconds]
14:35
<
numkem >
that's stil a good step forward, nix-instancitate is still sort of black magic ot me
14:35
rtjure has quit [Read error: Connection reset by peer]
14:37
jmeredith has joined #nixos
14:37
ddellac__ has joined #nixos
14:37
rubm has quit [Ping timeout: 246 seconds]
14:37
kraftnix[m] has joined #nixos
14:38
tru_tru has joined #nixos
14:40
stree has quit [Ping timeout: 240 seconds]
14:41
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:42
ddellac__ has quit [Ping timeout: 240 seconds]
14:45
vidbina has quit [Ping timeout: 268 seconds]
14:45
nerdypepper has joined #nixos
14:49
jgt_ has quit [Ping timeout: 260 seconds]
14:53
stree has joined #nixos
14:54
Heirlung has quit [Ping timeout: 246 seconds]
14:54
HenrikK has joined #nixos
14:55
Heirlung has joined #nixos
14:58
johannes_ has quit [Ping timeout: 265 seconds]
14:58
ddellac__ has joined #nixos
15:01
ddellaco_ has quit [Ping timeout: 260 seconds]
15:01
zie has joined #nixos
15:06
zupo_ has joined #nixos
15:07
zupo has quit [Ping timeout: 240 seconds]
15:10
cr4y1 has quit [Read error: Connection reset by peer]
15:11
ddellac__ has quit [Remote host closed the connection]
15:12
MysteriousSilver has quit [Ping timeout: 250 seconds]
15:12
noudle has joined #nixos
15:12
ddellacosta has joined #nixos
15:12
ddellaco_ has joined #nixos
15:15
shibboleth has quit [Quit: shibboleth]
15:16
snowflake_ has quit [Ping timeout: 240 seconds]
15:17
ddellacosta has quit [Ping timeout: 240 seconds]
15:17
jgt_ has joined #nixos
15:18
snowflake has joined #nixos
15:18
avaq has quit [Ping timeout: 260 seconds]
15:20
bahamas has quit [Quit: leaving]
15:20
endformationage has joined #nixos
15:24
jgt_ has quit [Ping timeout: 252 seconds]
15:25
MichaelRaskin has quit [Read error: No route to host]
15:26
JX7P has left #nixos ["Leaving"]
15:31
ddellaco_ has quit [Ping timeout: 246 seconds]
15:31
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:32
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:32
ddellaco_ has joined #nixos
15:32
rj has joined #nixos
15:32
mkaito has quit [Quit: WeeChat 3.1]
15:36
oxalica1 has joined #nixos
15:37
oxalica has quit [Ping timeout: 245 seconds]
15:37
oxalica1 is now known as oxalica
15:39
rembo10 has joined #nixos
15:42
rj has quit [Remote host closed the connection]
15:42
rj has joined #nixos
15:46
ddellacosta has joined #nixos
15:47
MichaelRaskin has joined #nixos
15:48
erasmas has joined #nixos
15:50
ddellacosta has quit [Ping timeout: 240 seconds]
15:52
oxalica has quit [Ping timeout: 276 seconds]
15:54
jgt_ has joined #nixos
16:00
anser78[m] has quit [Quit: Idle for 30+ days]
16:00
Jackneill has quit [Remote host closed the connection]
16:01
is_null has joined #nixos
16:01
rj has quit [Ping timeout: 240 seconds]
16:04
MidAutumnHotaru has quit [Ping timeout: 240 seconds]
16:05
john2gb0 has joined #nixos
16:09
rj has joined #nixos
16:11
cfricke has quit [Ping timeout: 245 seconds]
16:11
gulplante has quit [Quit: Leaving]
16:12
ahmedelgabri has quit [Ping timeout: 276 seconds]
16:14
<
misuzu >
i've got an issue with docker and nat enabled on latest nixos-unstable - error: The unique option `boot.kernel.sysctl.net.ipv4.conf.all.forwarding' is defined multiple times
16:14
<
misuzu >
could somebody try adding networking.nat.enable = true; and virtualisation.docker.enable = true; to configuration with latest nixos-unstable to reproduce?
16:14
jgt_ has quit [Quit: WeeChat 2.9]
16:16
hyper_ch4 has quit [Read error: Connection reset by peer]
16:16
jefferai has quit [Ping timeout: 246 seconds]
16:17
Cyrinux330138 has quit [Read error: Connection reset by peer]
16:17
Cyrinux3301386 has joined #nixos
16:17
ddellacosta has joined #nixos
16:18
jefferai has joined #nixos
16:21
lordcirth_ has joined #nixos
16:21
jmercouris has left #nixos ["Exit."]
16:22
ddellacosta has quit [Ping timeout: 268 seconds]
16:23
eacameron has joined #nixos
16:24
lordcirth has quit [Ping timeout: 250 seconds]
16:25
justanotheruser has joined #nixos
16:25
ahmedelgabri has joined #nixos
16:27
wnklmnn has joined #nixos
16:28
ddellacosta has joined #nixos
16:30
dev_mohe has joined #nixos
16:31
ddellaco_ has quit [Ping timeout: 250 seconds]
16:32
nschoe has quit [Ping timeout: 260 seconds]
16:32
tru_tru has quit [Read error: Connection reset by peer]
16:32
nschoe has joined #nixos
16:33
<
radvendii >
if i have a program that needs runtime access to certain command line utilities (cat, perl), should I use `wrapProgram --prefix PATH ${makeBinPath [ coreutils perl ]}`, or is there a better way to do it?
16:34
fresheyeball has joined #nixos
16:34
ahmed_elgabri has joined #nixos
16:35
ahmedelgabri has quit [Ping timeout: 250 seconds]
16:37
nschoe has quit [Ping timeout: 265 seconds]
16:38
ahmedelgabri has joined #nixos
16:39
tru_tru has joined #nixos
16:40
<
{^_^} >
[nixpkgs] @sternenseemann pushed to haskell-updates « haskellPackages.futhark: pin to 0.19.4 for compat with versions »:
https://git.io/JsIe3
16:40
ahmed_elgabri has quit [Ping timeout: 260 seconds]
16:41
dev_mohe has quit [Quit: dev_mohe]
16:43
turlando has quit [Ping timeout: 252 seconds]
16:44
ddellacosta has quit [Ping timeout: 252 seconds]
16:44
zupo has joined #nixos
16:46
ddellacosta has joined #nixos
16:46
rj has quit [Ping timeout: 240 seconds]
16:47
vidbina has joined #nixos
16:47
<
qyliss >
radvendii: that's right!
16:49
rj has joined #nixos
16:49
ddellac__ has joined #nixos
16:49
turlando has joined #nixos
16:49
<
SumnerEvans[m] >
options and then one which migrates to the YAML generator. What do you think?
16:54
ddellac__ has quit [Ping timeout: 252 seconds]
16:56
sangoma has joined #nixos
16:57
leotaku has quit [Read error: No route to host]
16:57
leotaku has joined #nixos
16:59
cz3 is now known as sizzy
16:59
sizzy is now known as cz3
17:01
stree has quit [Ping timeout: 252 seconds]
17:02
turlando has quit [Ping timeout: 240 seconds]
17:04
<
radvendii >
qyliss: thanks for confirmation, wanted to make sure i was doing the idiomatic thing
17:05
<
{^_^} >
[rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »:
https://git.io/JsIUQ
17:14
stree has joined #nixos
17:14
cole-h has joined #nixos
17:15
Noisytoot has joined #nixos
17:16
ddellac__ has joined #nixos
17:18
ddellacosta has quit [Ping timeout: 260 seconds]
17:19
fresheyeball has quit [Quit: WeeChat 2.9]
17:19
alexherbo2 has quit [Read error: Connection reset by peer]
17:19
alexherbo20 has joined #nixos
17:21
ddellacosta has joined #nixos
17:22
orivej has joined #nixos
17:23
malbx has joined #nixos
17:25
rubm has joined #nixos
17:25
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:25
ddellacosta has quit [Ping timeout: 252 seconds]
17:29
rj has quit [Ping timeout: 240 seconds]
17:31
beertoagunfight has quit [Remote host closed the connection]
17:32
beertoagunfight has joined #nixos
17:37
beertoagunfight has quit [Remote host closed the connection]
17:37
beertoagunfight has joined #nixos
17:37
<
winterqt >
apolgies for the probably dumb question
17:38
<
dotlambda >
winterqt: It fails to build on macOS
17:38
<
dotlambda >
as you can see in ofborg's checks
17:39
alexherbo20 has quit [Ping timeout: 252 seconds]
17:39
<
winterqt >
i did not look at those, my apologies.
17:40
<
dotlambda >
winterqt: You can alternatively mark it as broken on Darwin. But if someone wants to use it there they can just fix it and set platforms to unix.
17:40
rj has joined #nixos
17:40
<
winterqt >
Why don't I see an ofborg report for libtorrent-jesec on darwin?
17:40
<
winterqt >
thats marked as unix too..
17:41
<
cole-h >
darwin builds only happen when a trusted user tells ofborg to build something
17:41
<
dotlambda >
I think ofborg only builds Darwin for trusted users (cause of the lack of sandbox)
17:41
vikanezrimaya has quit [Quit: Connection closed]
17:41
<
winterqt >
nvm you only specified rtorrent-jesec to be built
17:41
<
winterqt >
ah, understood
17:41
<
dotlambda >
cause that depends on libtorrent-jesec
17:42
<
dotlambda >
so no need to specify it on top
17:42
alexherbo2 has joined #nixos
17:43
ahmed_elgabri has joined #nixos
17:43
waleee-cl has quit [Quit: Connection closed for inactivity]
17:44
<
winterqt >
and with that final push.. should be good to merge once tests pass, dotlambda.
17:45
ahmedelgabri has quit [Ping timeout: 260 seconds]
17:45
melg8 has quit [Quit: Connection closed]
17:46
kiltzman has quit [Ping timeout: 252 seconds]
17:47
<
dotlambda >
winterqt: sorry you had to revise so often
17:47
<
winterqt >
all good, thank you very much for your help, really appreciate it
17:48
alexherbo2 has quit [Ping timeout: 265 seconds]
17:50
kiltzman has joined #nixos
17:55
beertoagunfight has quit [Ping timeout: 246 seconds]
17:56
devhell has quit [Quit: zzz]
17:57
ddellacosta has joined #nixos
18:01
alexherbo2 has joined #nixos
18:02
ddellacosta has quit [Ping timeout: 240 seconds]
18:03
<
pennae >
may we request a review of #121888?
18:05
ahmed_elgabri has quit [Ping timeout: 250 seconds]
18:07
qyliss has quit [Quit: bye]
18:12
qyliss has joined #nixos
18:14
rj has quit [Ping timeout: 240 seconds]
18:16
sophrosyne97 has joined #nixos
18:21
respawn_ has joined #nixos
18:21
respawn_ has quit [Remote host closed the connection]
18:30
rajivr has quit [Quit: Connection closed for inactivity]
18:31
jaeckel has quit [Changing host]
18:31
jaeckel has joined #nixos
18:32
rj has joined #nixos
18:33
sophrosyne97 has quit [Killed (kornbluth.freenode.net (Nickname regained by services))]
18:34
sophrosy- has joined #nixos
18:35
meh` has quit [Ping timeout: 240 seconds]
18:37
tomberek has quit [Quit: Connection closed]
18:37
ddellacosta has joined #nixos
18:39
turlando has joined #nixos
18:41
HenrikK has joined #nixos
18:42
ddellacosta has quit [Ping timeout: 252 seconds]
18:51
beertoagunfight has joined #nixos
18:52
<
radvendii >
is there a way to use overlays with nixosSystem?
18:52
<
radvendii >
(i'm trying to convert my system config to flakes)
18:53
<
mica[m] >
radvendii: flakes and overlays can be used together
18:53
<
radvendii >
how? i've been looking at the source code and i can't even figure out where the packages get passed to the modules
18:54
<
mica[m] >
Flakes define the source of your packages, overlays override package options
18:55
<
mica[m] >
You should be able to define a flake for nixos/nixpkg, then keep your overlays defined in configuration.nix
18:55
<
radvendii >
i'm trying to replace my configuration.nix with a flake.nix
18:57
shibboleth has joined #nixos
18:59
rj has quit [Ping timeout: 240 seconds]
19:00
kolaente_ has joined #nixos
19:05
zupo has joined #nixos
19:06
<
kolaente_ >
Is there a way I could specify the go version for buildGoModule?
19:06
<
cole-h >
You can use the versioned buildGoModule
19:06
<
cole-h >
e.g. buildGo114Module I think
19:07
<
cole-h >
> buildGo115Module
19:07
<
{^_^} >
{ __functionArgs = <CODE>; __functor = <CODE>; override = <CODE>; }
19:07
<
cole-h >
> buildGo114Module
19:07
<
{^_^} >
{ __functionArgs = <CODE>; __functor = <CODE>; override = <CODE>; }
19:10
sophrosyne97 has joined #nixos
19:13
<
kolaente_ >
cole-h: Ah I did not know these exist
19:14
<
kolaente_ >
there does not seem to be one for 1.16 though
19:14
<
cole-h >
> buildGo116Module
19:14
<
{^_^} >
{ __functionArgs = <CODE>; __functor = <CODE>; override = <CODE>; }
19:14
<
cole-h >
There is, but you might be on an older Nixpkgs.
19:14
<
drozdziak1 >
Is it possible to use absolute symlinks in nix derivations? On what occasions might they break? I must fool a poorly written program that doesn't canonicalize paths after dereferencing a symlink
19:15
<
kolaente_ >
cole-h: Hmm I think so
19:15
<
kolaente_ >
I'm on stable which does not have 1.16 yet I think?
19:15
<
cole-h >
drozdziak1: how do you mean "absolute symlinks"
19:15
<
cole-h >
kolaente_: stable, meaning 20.09? Yeah, that won't have it. Go 1.16 was released in February of this year.
19:15
<
drozdziak1 >
cole-h so that `readlink <link>` does not point at `../../../something` but `/nix/store/weprpoweirjwpeoitgjgpoewijfgpoij-something`
19:16
ddellacosta has joined #nixos
19:16
<
kolaente_ >
cole-h it has 1.16 though, but not in "go" but in "go_1_16"
19:16
<
cole-h >
`ln -s something $(pwd)/something`?
19:16
<
drozdziak1 >
yeah, I'm doing `ln -s something .`
19:17
<
cole-h >
the important part is $(pwd)/something
19:17
<
cole-h >
kolaente_: I just pulled the latest release-20.09 and nixos-20.09 branches, and they both have buildGo116Module
19:18
<
cole-h >
So, safe to say, you're on a too-old Nixpkgs / NixOS revision
19:19
<
kolaente_ >
looks like it
19:19
<
kolaente_ >
nix-channel seems to report I'm on 20.09 though
19:20
<
kolaente_ >
ah wait that's with sudo
19:20
<
cole-h >
That is the latest stable, indeed.
19:20
<
cole-h >
it may not be the latest
*revision* of stable
19:20
ddellacosta has quit [Ping timeout: 246 seconds]
19:20
<
cole-h >
nixos-20.09 bumped just 16 minutes ago :)
19:21
<
kolaente_ >
Should nix-channel --update be enough to update?
19:21
<
kolaente_ >
how do I check what revision I'm on?
19:21
<
kolaente_ >
bc nix-channel --update did not seem to help
19:21
stree has quit [Ping timeout: 240 seconds]
19:22
<
cole-h >
You need to run that as sudo. Might need to specify the channel's name, too (from nix-channel --list)
19:23
<
kolaente_ >
still no effect
19:23
<
drozdziak1 >
cole-h Yeeah, it seems they do get turned relative because of uncertainty of /nix/store location
19:23
<
drozdziak1 >
Inside the derivation my link is absolute but changes later
19:24
<
{^_^} >
nix#4790 (by Infinisil, 2 days ago, open): buildenv: Create dangling symlinks in environments
19:26
wnklmnn has quit [Quit: Leaving]
19:26
<
kolaente_ >
cole-h: okay so it looks like I just forgot to change the depencencies from buildGoModule to buildGo116Module ._. and then of course it could not find that
19:26
<
kolaente_ >
seems to work now, thanks for your help
19:27
rj has joined #nixos
19:31
ram19890 has quit [Ping timeout: 240 seconds]
19:33
vidbina has quit [Ping timeout: 252 seconds]
19:35
stree has joined #nixos
19:35
VideoGameEnjoyer has joined #nixos
19:35
davidv7_ has quit [Ping timeout: 268 seconds]
19:37
ixxie has joined #nixos
19:38
kolaente_ has quit [Quit: WeeChat 2.9]
19:39
mallox has quit [Quit: WeeChat 3.1]
19:39
growpotkin has joined #nixos
19:40
bn_work has joined #nixos
19:41
zopieux has quit [Ping timeout: 260 seconds]
19:42
zopieux has joined #nixos
19:44
rj has quit [Ping timeout: 240 seconds]
19:45
beertoagunfight has quit [Ping timeout: 265 seconds]
19:48
griff_ has quit [Ping timeout: 252 seconds]
19:49
ddellacosta has joined #nixos
19:49
griff_ has joined #nixos
19:51
nerdypepper has quit [Ping timeout: 260 seconds]
19:53
ddellacosta has quit [Ping timeout: 265 seconds]
19:55
rj has joined #nixos
19:56
turlando has quit [Ping timeout: 240 seconds]
19:58
ahmed_elgabri has joined #nixos
19:58
ixxie has quit [Ping timeout: 265 seconds]
19:58
ixxie has joined #nixos
19:59
nerdypepper has joined #nixos
19:59
Jackneill has joined #nixos
20:01
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:03
zupo has quit [Ping timeout: 240 seconds]
20:04
aasg has quit [Remote host closed the connection]
20:04
zupo has joined #nixos
20:14
arjen-jonathan has quit [Ping timeout: 246 seconds]
20:14
thc202 has quit [Ping timeout: 258 seconds]
20:15
ManiacOfMadness has joined #nixos
20:19
meh` has joined #nixos
20:22
ddellacosta has joined #nixos
20:23
hrbl[m] has joined #nixos
20:25
iceypoi has quit [Ping timeout: 276 seconds]
20:26
iceypoi has joined #nixos
20:27
rj has quit [Ping timeout: 240 seconds]
20:27
ddellacosta has quit [Ping timeout: 252 seconds]
20:28
Sigyn has joined #nixos
20:28
<
leotaku >
Any possibility to give Nix Flake apps default arguments? Or is this only possible by wrapping them with a writeShellScript?
20:29
NinjaTrappeur has quit [Ping timeout: 276 seconds]
20:29
tokudan has quit [Remote host closed the connection]
20:30
<
_anb >
Hello, so I wonder if there's a low level package update, glibc for instance, does it mean I'll have to recompile my whole system?
20:31
<
immae >
probably yes
20:31
lsix has quit [Ping timeout: 250 seconds]
20:31
<
immae >
apart from derivations with fixed output
20:31
<
immae >
(mainly, fetchurl’s)
20:32
tokudan has joined #nixos
20:32
philr has quit [Ping timeout: 246 seconds]
20:34
apache8080 has joined #nixos
20:34
<
eacameron >
Is there a nix function that lets me do recursive merges of attrsets?
20:34
<
Reventlov >
what do I need to have cargo linking stuff like sqlite3 without any problem ?
20:34
<
Reventlov >
(I'm using a nix shell with what I think are the dependencies as inputs, but still I have problems: error: linking with `cc` failed: exit code: 1 = note: /nix/store/5xyjd2qiily84lcv2w2grmwsb8r1hqpr-binutils-2.35.1/bin/ld: cannot find -lsqlite3 )
20:35
<
ambroisie >
eacameron: lib.recursiveUpdate
20:35
<
eacameron >
ambroisie: Woot! Thanks!
20:36
exondation has quit [Ping timeout: 250 seconds]
20:36
<
ambroisie >
Reventlov: did you put `sqlite.dev` in your build inputs?
20:36
<
Reventlov >
what is sqlite.dev ? (like the .dev) ?
20:36
<
cole-h >
`.dev` is the output name.
20:37
ManiacOfMadness has quit [Ping timeout: 260 seconds]
20:37
<
cole-h >
> sqlite.outputs
20:37
<
Reventlov >
I wasn't aware of the .dev thing
20:37
<
{^_^} >
[ "bin" "dev" "out" "debug" ]
20:37
<
Reventlov >
was it not separated a few months ago ?
20:37
<
cole-h >
So there's also `sqlite.bin`, `sqlite.dev`, `sqlite.out`, and `sqlite.debug`
20:37
<
clever >
it should also work with just sqlite in buildInputs
20:37
<
Reventlov >
I just put sqlite, which was working (a few months ago at least), but now with sqlite.dev it's working as expected
20:38
<
clever >
both should work
20:38
<
Reventlov >
well sqlite alone is not working for sure
20:40
griff_ has quit [Quit: griff_]
20:42
ixxie has quit [Ping timeout: 240 seconds]
20:42
<
cole-h >
try putting them in buildInputs
20:42
<
cole-h >
mkDerivation (and by extension, mkShell) have some "magic" in regards to choosing outputs when specified in nativeBuildInputs vs buildInputs
20:42
sangoma has quit [Quit: WeeChat 3.1]
20:44
ixxie has joined #nixos
20:44
rj has joined #nixos
20:45
<
lukegb >
,locate snmpwalk
20:45
<
{^_^} >
Found in packages: net_snmp.bin
20:46
konobi has quit [Quit: konobi]
20:49
ixxie has quit [Client Quit]
20:51
ahmedelgabri has joined #nixos
20:53
ahmed_elgabri has quit [Ping timeout: 246 seconds]
20:54
benlyn has quit [Ping timeout: 240 seconds]
20:54
NinjaTrappeur has joined #nixos
20:54
ddellacosta has joined #nixos
20:57
zie has joined #nixos
20:57
ManiacOfMadness has joined #nixos
20:59
ddellacosta has quit [Ping timeout: 252 seconds]
21:00
peed has joined #nixos
21:00
NinjaTrappeur has quit [Ping timeout: 260 seconds]
21:02
<
peed >
I am new to NixOS, and have a fresh install on my laptop, when trying to install nvim-compe (with home-manager and through normal configuration.nix), i just get attribute 'nvim-compe' missing, even though I can find it with nix search nixpkgs nvim-compe. I already made nix-channel --update. Maybe someone has a hint for me.
21:05
apache8080 has quit [Ping timeout: 240 seconds]
21:12
rj has quit [Ping timeout: 240 seconds]
21:12
ManiacOfMadness has quit [Ping timeout: 260 seconds]
21:13
meh` has quit [Ping timeout: 240 seconds]
21:14
akaWolf has quit [Ping timeout: 240 seconds]
21:15
waleee-cl has joined #nixos
21:15
nickeraqua has joined #nixos
21:16
nickeraqua12 has joined #nixos
21:16
nickeraqua has quit [Client Quit]
21:17
<
nickeraqua12 >
How would I go about making my own binary cache in my organization that works with my custom nix install path
21:18
<
nickeraqua12 >
It looked like having dedicated hosts running nix-serve might be best
21:22
<
clever >
nickeraqua12: a dumb http server can also be used
21:22
lsix has joined #nixos
21:22
<
nickeraqua12 >
Can I use a Linux server to be the cache even though the nix users are all Mac?
21:23
<
nickeraqua12 >
I see. So nix-serve is just an HTTP server wrapper
21:23
apache8080 has joined #nixos
21:23
rj has joined #nixos
21:24
gustavderdrache has quit [Quit: Leaving.]
21:25
peed has quit [Quit: Connection closed]
21:26
<
nickeraqua12 >
So when nix clients are configured to use the nix cache, so they add new packages to the cache as well? Or just using the existing Nix store without adding more packages
21:26
NinjaTrappeur has joined #nixos
21:27
cognemo has quit [Ping timeout: 268 seconds]
21:31
ddellacosta has joined #nixos
21:31
<
colemickens >
sub="auto?trusted=1". hm.
21:34
vidbina has joined #nixos
21:35
<
noonien >
can i switch to a new configuration without restarting the modified systemd units?
21:35
<
{^_^} >
[rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »:
https://git.io/JsI5r
21:35
ddellacosta has quit [Ping timeout: 240 seconds]
21:36
mounty has joined #nixos
21:38
fendor has quit [Remote host closed the connection]
21:42
griff_ has joined #nixos
21:43
stree has quit [Ping timeout: 265 seconds]
21:45
akaWolf has joined #nixos
21:50
abathur has quit [Quit: abathur]
21:52
<
colemickens >
gnome 40 so far, gdm takes 20-30 seconds to load and the session never seems to start properly after login
21:52
<
colemickens >
xps 13 9370 and a yoga 14s ryzen 5800h laptop
21:56
stree has joined #nixos
21:56
philipp has quit [Ping timeout: 252 seconds]
21:57
philipp has joined #nixos
21:57
huiei has joined #nixos
21:58
griff_ has quit [Quit: griff_]
21:58
huiei has quit [Client Quit]
21:59
<
cgbrewster[m] >
Is nix gc ever ran automatically on non-nixOS systems?
21:59
erasmas has quit [Quit: leaving]
22:00
ddellac__ has quit [Remote host closed the connection]
22:00
cptchaos83 has joined #nixos
22:00
ddellaco_ has joined #nixos
22:00
ddellac__ has joined #nixos
22:01
<
clever >
cgbrewster[m]: only if you setup min-free and max-free in nix.conf
22:01
<
cgbrewster[m] >
Cool, thanks!
22:02
melg8 has joined #nixos
22:04
shibboleth has quit [Quit: shibboleth]
22:05
ddellaco_ has quit [Ping timeout: 260 seconds]
22:05
`slikts has quit [Ping timeout: 260 seconds]
22:07
melg8 has quit [Quit: Connection closed]
22:07
melg8 has joined #nixos
22:10
seku has quit [Quit: Connection closed]
22:17
<
philipp >
Is there a quick way to print the actual systemd unit files of a running system? (not like systemctl show)
22:18
<
eacameron >
infinisil: I'd like to get
https://github.com/NixOS/nixpkgs/pull/78967 over the finish line but I'm not quite competent enough. I left some comments there as well and there are merge conflicts to deal with. Could you give some thought to my comments and maybe give some pointers on the PR to those willing to help get it finished?
22:18
<
{^_^} >
#78967 (by Infinisil, 1 year ago, open): dockerTools: Add `buildNixShellImage`
22:18
<
leotaku >
philipp: systemctl cat <unit-name>?
22:22
dev_mohe has joined #nixos
22:23
dev_mohe has quit [Client Quit]
22:26
sophrosyne97 has quit [Quit: WeeChat 3.1]
22:27
aasg has joined #nixos
22:27
bitmapper has joined #nixos
22:28
melg8 has quit [Quit: Connection closed]
22:30
melg8 has joined #nixos
22:31
haijuno has joined #nixos
22:32
sss has joined #nixos
22:35
<
samueldr >
philipp: systemctl cat?
22:36
lsix has quit [Ping timeout: 260 seconds]
22:36
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:46
konobi has joined #nixos
22:53
alexherbo2 has quit [Ping timeout: 240 seconds]
22:59
apache8080 has quit [Ping timeout: 252 seconds]
23:03
ddellac__ has quit [Ping timeout: 240 seconds]
23:06
haijuno has quit [Quit: Leaving]
23:09
oida has quit [Ping timeout: 240 seconds]
23:10
vidbina has quit [Ping timeout: 240 seconds]
23:15
supersandro2000 is now known as Guest24418
23:15
Guest24418 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
23:15
supersandro2000 has joined #nixos
23:17
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:20
oida has joined #nixos
23:20
xcmw has joined #nixos
23:21
civodul has quit [Ping timeout: 260 seconds]
23:21
Guest84066 has quit [Changing host]
23:21
Guest84066 has joined #nixos
23:21
Guest84066 has joined #nixos
23:21
Guest84066 has quit [Changing host]
23:22
__monty__ has quit [Quit: leaving]
23:23
tomberek has joined #nixos
23:26
philr has joined #nixos
23:29
nickeraqua12 has quit [Quit: Connection closed]
23:31
<
dotlambda >
Is there a way to make `nix build` print the path to the output like `nix-build` does?
23:31
superherointj has joined #nixos
23:34
nerdypepper has quit [Ping timeout: 260 seconds]
23:34
<
lukegb >
superherointj: the default used to be false
23:34
<
lukegb >
so zowoq set all of them to false explicitly and flipped the default
23:37
ddellacosta has joined #nixos
23:38
<
superherointj >
Makes sense. Thanks.
23:40
<
superherointj >
But he could have flipped and only added to broken packages. :)
23:40
rj has quit [Quit: rj]
23:41
<
superherointj >
A lot of work still.
23:41
ddellacosta has quit [Ping timeout: 260 seconds]
23:42
gustavderdrache has joined #nixos
23:45
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:50
nerdypepper has joined #nixos
23:51
mbrgm_ has joined #nixos
23:52
mbrgm has quit [Ping timeout: 245 seconds]
23:52
mbrgm_ is now known as mbrgm
23:52
jb55 has quit [Remote host closed the connection]
23:58
xcmw has joined #nixos
23:58
bzl has joined #nixos