<bsima>
Hi, I'm packaging a program that reads a .conf from /usr/local/etc, but that doesn't exist on nixos, so where should I have it look? Maybe ~/.config?
ddellacosta has quit [Ping timeout: 252 seconds]
<qyliss>
bsima: /etc
<bsima>
ok
<jackdk>
How can I use the `extraCommands` argument to `dockerTools.streamLayeredImage` to create directories belonging to unprivileged users? It appears that the streaming script sets uid=gid=0 on everrything. alternatively, is there a robust way to drop privileges in the entrypoint script of such a container? I'm not opposed to starting as root, making the dirs I need and then dropping privs
<pie_>
infinisil: is it possible to override the type of an option? if it is, I can do the search replace stuff by replacing the merge algorithm with my own function (or something)
<infinisil>
pie_: Nope, not possible
<pie_>
oh hey youre awake
<Grace>
evils: yeah, I did the other day. didn't seem to help.
<Grace>
i'll try it again now
<pie_>
infinisil: did you see the original question?
<infinisil>
pie_: Ah yeah, but no idea what you meant
<pie_>
- namely, can i fmap into module attrs? (can i get the value and run a search replace on it, as opposed to more primitive stuff like mkBefore or mkAfter - which uses the priority system)
<Grace>
nope, still no good after channel update.
<infinisil>
pie_: Ah no not possible
h0m1 has quit [Ping timeout: 260 seconds]
<infinisil>
NixOS modules are strictly non-sequential
<pie_>
thats not strictly true
<infinisil>
So you can never do something to a previous value, because there is no definition of a previous vaule
<pie_>
: priorities
<infinisil>
I mean non-sequential as in time
<pie_>
Grace: i ran into the cairo error and i dont know the solution either, so do tell me if you figure something out
<infinisil>
Well
<Grace>
oof :C
<infinisil>
Yeah, there's no previous values and later values
<pie_>
Grace: not with lyx specifically (which i did use some years ago)
<infinisil>
So you can also not change any values
h0m1 has joined #nixos
<infinisil>
Or rather, you can't *adjust* values
<pie_>
infinisil: so i have to do some hacky out of band stuff or fork the module. thats annoying
<infinisil>
What are you trying to do?
<evils>
Grace: are you on x86_64?
<pie_>
Grace: i think its related to not having x11 enabled but IDEK
<pie_>
infinisil: add debug options to the pam configs
<{^_^}>
#102137 (by paralin, 24 weeks ago, closed): aarch64: gtk+3 dependency cairo-xlib not found
AkechiShiro has quit [Quit: WeeChat 2.9]
<infinisil>
pie_: The problem is really just the list type in the module system
dotdotok has quit [Ping timeout: 240 seconds]
<pie_>
infinisil: decompress please?
<infinisil>
(and the related types.lines, or other string types that can be concatenated)
<Grace>
evils: it works, thanks!!!!
<pie_>
evils: Grace: guess I'll try that too! i saw the page but dismissed it because ...some reason.
<pie_>
aaaand it looks like it built >_>
<Grace>
YAY
<pie_>
i feel dumb nouw
<infinisil>
pie_: Well, not entirely, but the reason you can't just override one part of the config is because definitions don't have a name. You can't refer to "that one definition you want to override"
<pie_>
evils++
<{^_^}>
evils's karma got increased to 12
<Grace>
evils is awesome <3
<Grace>
oh there's a karma system!
<Grace>
evils++
<{^_^}>
evils's karma got increased to 13
<pie_>
next question is why the hell is this even a proble
<infinisil>
pie_: If you have a `listOf` or `lines` then definitions are just concatenated, and they can't be referred to by a name. Unlike with `attrsOf`
<infinisil>
If I had time I'd make an RFC to deprecate all listOf-related types
<pie_>
im too tired to really dig into this so im being quite superficiel
<ornxka>
is there a better way to update nix packages than nix-env -u \*?
<evils>
ornxka: `nix-env -u`
<ornxka>
often a package fails and then the whole operation fails.. i want to write a shell script that does a dry run and then just updates each package individually, but the output of nix-env -u --dry-run cant actually be easily put back into nix-env -u (i think there is some mismatch between package names and attribute names?)
ahmedelgabri has quit [Ping timeout: 260 seconds]
<pie_>
ornxka: i havent used that stuff so im not sure but yeah probably the .name / .pname+.version field vs the name of the attr in all-packages... :/
<ornxka>
there is the -k option which ostensibly stands for "keep going" but it doesnt mean what youd think it means and the operation still fails if any package fails to build
ahmedelgabri has joined #nixos
<pie_>
infinisil: how will using attrsets help? you want to do something like { 1 = "a" ; 2 = "b" ; ... }
<{^_^}>
nix#845 (by telotortium, 5 years ago, open): nix-env --upgrade should not stop on first build failure
Jd007 has joined #nixos
<pie_>
i guess you could leave a ping on that
<ornxka>
i will leave a comment
<pie_>
ornxka: something you can look for is the files where nix-env stores its state information, you may be able to find the attributes or something there? presumably it has some way to know which packages its updating
<pie_>
probably in your .nix-somethingorother directory
<pie_>
i could hack something in if the system let me access the entire datastructure <infinisil> pie_: Well, not entirely, but the reason you can't just override one part of the config is because definitions don't have a name. You can't refer to "that one definition you want to override"
<pie_>
right <infinisil> pie_: If you have a `listOf` or `lines` then definitions are just concatenated, and they can't be referred to by a name. Unlike with `attrsOf`
ahmedelgabri has quit [Ping timeout: 258 seconds]
<pie_>
so yeah whats the alternative <infinisil> If I had time I'd make an RFC to deprecate all listOf-related types
<pie_>
infinisil: in the interim the list and string types could be expanded to behave differently if they get an attr argument or such :P (some tagged union)
<Grace>
pie_: I'm a weird corner case
<Grace>
I'm running WSL
<Grace>
on nix
<Grace>
so it's wonky
<pie_>
i noticed, so co--wait what?
<pie_>
you mean nix on wsl? :P
hyiltiz has quit [Ping timeout: 240 seconds]
<infinisil>
Gotta sleep now, see ya ;)
Jd007 has quit [Quit: Jd007]
nicoo has quit [Ping timeout: 240 seconds]
<pie_>
see ya, i can wait for the answers tomorrow :P
<pie_>
infinisil: ill have a file full of janky hacks for you
hyiltiz has joined #nixos
hyiltiz has joined #nixos
tomberek has quit [Quit: Connection closed]
<pie_>
hm hithub has nowhere on the website i can report a bug, guess i wont
<pie_>
which is funny because i was just looking at you saying not to use apply :)
aasg has quit [Quit: Bridge terminating on SIGTERM]
aasg has joined #nixos
<abathur>
pie_ somehow I tumbled into an alt universe or an a/b test recently and managed to find the right form to piss-and-moan into to get a human to respond to my bug report and even update me as the dev team fixed most (but not all) of it
lambdaman has quit [Ping timeout: 246 seconds]
<pie_>
abathur: hehh, context? xD
<pie_>
my openssh episode?
<abathur>
"hm hithub has nowhere on the website i can report a bug, guess i wont"
<pie_>
ah lol
<pie_>
abathur: they have an email address but i dont feel like doing that
<abathur>
not that, I don't think
<abathur>
let me look at the interface and see if I can remember :]
<pie_>
its probably already reported anyway
<pie_>
i cant find a way to change the repo description if i havent uploaded any code yet
<pie_>
having seen that i think nbp created a crazy flexible system and im afraid it might havegottne broken in the meantime or someting :P
<pie_>
assuming that does what im hoping
<pie_>
but i dont know enough about the module system to be able to tell how its supposed to work
<pie_>
like if that's normally a module, or just for this kind of thing - because looking at the hydra-init source right now, it looked like it was just a normal attrset
<twoolie>
Flake question: If i have multiple flakes that are part of the same logical project (but live in different git repos), is there any way to make them all use the one nixpkgs version when building? Can i pass a nixpkgs ref from flakeA to flakeB when flakeA has flakeB in it's inputs?
<twoolie>
also, anyone know why ibus-ui-emojier-plasma is blank on 20.09?
<srhb>
twoolie: You're probably looking for follows. inputs.foo.inputs.nixpkgs.follows = "/nixpkgs";
<twoolie>
@srhb is that documented anywhere?
<srhb>
twoolie: I don't think so, there's not much documentation on flakes yet.
lambdaman has joined #nixos
<srhb>
twoolie: But the short of it is that you're referring to a path in the follows
<srhb>
So "/nixpkgs" would be the nixpkgs input of the root flake, "/foo/nixpkgs" would be the nixpkgs input of the foo input to the root flake, etc.
<twoolie>
so i'd probably need some master flake that includes all the top-level flakes, and sets follows on them all? (and so-on down the dep tree?)
<srhb>
twoolie: Or each of them can pin some input based on some other flake, that works too
lambdaman has quit [Remote host closed the connection]
ShalokShalom has joined #nixos
<ShalokShalom>
Hi there :)
MysteriousSilver has joined #nixos
<ShalokShalom>
I installed unixtools, that includes until-linux and that includes chsh.
MysteriousSilver has left #nixos [#nixos]
MysteriousSilver has joined #nixos
<ShalokShalom>
In Termux, where I did so, does chsh still not work, though
ddellacosta has quit [Ping timeout: 265 seconds]
palo has quit [Ping timeout: 252 seconds]
palo has joined #nixos
beertoagunfight has joined #nixos
beertoagunfight has quit [Remote host closed the connection]
beertoagunfight has joined #nixos
<jackdk>
How can I use the `extraCommands` argument to `dockerTools.streamLayeredImage` to create directories belonging to unprivileged users? It appears that the streaming script sets uid=gid=0 on everrything. alternatively, is there a robust way to drop privileges in the entrypoint script of such a container? I'm not opposed to starting as root, making the dirs I need and then dropping privs
beertoagunfight has quit [Remote host closed the connection]
<johannes_>
(How) can I search via `nix search` for something that's in, say, pkgs.emacsPackages. I know `nix search` by default returns the pythonPackages as well, but for other frameworks and languages that doesn't seem to be the case.
orivej has joined #nixos
vuko has quit [Ping timeout: 252 seconds]
avaq has joined #nixos
beertoagunfight has quit [Quit: beertoagunfight]
beertoagunfight has joined #nixos
<supersandro2000>
you cant. it would need to be added to the file that generates the list behind it
aaabbbbbbbbbb has joined #nixos
<supersandro2000>
use tab completion in nix-build -A emacsPackages.
<LinuxHackerman>
johannes_: nix search doesn't support it, but you can use nix-env's search (though it's a bit unwieldy): nix-env -qaP -f '<nixpkgs>' -A emacsPackages .*magit.*
<jackdk>
johannes_: `nix repl '<nixpkgs>'`; `builtins.attrNames emacsPackages` or tab-completion on `emacsPackages.`?
ddellacosta has joined #nixos
ahmedelgabri has joined #nixos
vuko has joined #nixos
Tv` has quit [Quit: Connection closed for inactivity]
amk has joined #nixos
lambdaman has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
lambdaman has quit [Remote host closed the connection]
cfricke has joined #nixos
<MysteriousSilver>
nix newb here, what is `emacsPackages.`? how is it different from M-x package-install
<srhb>
MysteriousSilver: It's different to M-x whatever in the same way a nixos configuration (say) is different from assembling a system with apt-get install $foo $bar $baz :)
beertoagunfight has quit [Ping timeout: 240 seconds]
<srhb>
MysteriousSilver: ie. it allows you to build an entirely declarative and reproducible emacs configuration, batteries included.
berberman_ has joined #nixos
<MysteriousSilver>
ah, now i get it
berberman has quit [Ping timeout: 248 seconds]
thc202 has joined #nixos
bitmapper has quit [Quit: Connection closed for inactivity]
Grace has quit [Quit: Connection closed for inactivity]
<johannes_>
supersandro2000: LinuxHackerman: thanks! I did use `nix repl '<nixpkgs>' so far with its tab completion. Didn't know nix-build had it too, let me try :)
<thibm>
Hm, I overrided go in an overlay, and it definitively worked (derivation hash changed), but a package using buildGoPackage does not use the new go (derivation hash not changed)
<thibm>
The package (gitlab-runner) does not use a different go version or anything like that in all-packages.nix
<thibm>
Am I missing something?
HaserWolf has quit [Quit: ThinkPad się rozładował!]
HaserWolf has joined #nixos
wangoe[m] has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
zupo has joined #nixos
evanjs has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<conkker>
has anyone else experienced the "Cannot create directory /homeless-shelter: permission denied" error when installing nvim-lspconfig? I can't find any recent issues about it, and no ways to resolve it
<cybersyn>
hiya nixers. guix user here, considering installing nixos on a 2016 Macbook Pro (pre-touch bar). has anyone had any experience with this? any driver issues, such as wifi, etc?
<pie_>
samueldr: do you know if its possible to completely disable suspend blockers? that crap keeps making me run out of battery
prry has joined #nixos
respawn_ has quit [Quit: Leaving]
<ShalokShalom>
Does anybody know, why unixtools contains util-linux and that one chsh, and chsh is still not found on Termux?
<ShalokShalom>
Also which not.
<pie_>
samueldr: i _may_ be completely misrepresenting this, poettering says this is a kernel bug, idk; https://github.com/systemd/systemd/issues/19308 . i dont know why specifically it failed to suspend last night.
<{^_^}>
systemd/systemd#19308 (by deliciouslytyped, 5 days ago, closed): unable to suspend, systemd-shutdown stuck, eating CPU, unkillable
<pie_>
but it sounds really dumb that the kernel cant force suspend independent of userspace
<ShalokShalom>
It also stops working for the backspace key
<conkker>
I used to be able to turn nscd off with just `services.nscd.enable = false;` on 20.04, why does it fail on 20.09? i'm getting `- Loading NSS modules from system.nssModules (/nix/store/zpzn7c5g58srji21flwqmxzbnaa8w29j-systemd-246.6/lib), requires services.nscd.enable being set to true.`
attila_lendvai has quit [Remote host closed the connection]
attila_lendvai has joined #nixos
<typetetris>
How can I get a nix-shell with an gcc suitable for compiling for 32 bit, gcc_multi seems to be only 64bit? (Having a libgcc.a for 32 bit and such..)
VideoGameEnjoyer has joined #nixos
genevino has joined #nixos
bitmapper has joined #nixos
beertoagunfight has quit [Remote host closed the connection]
davidv7_ has quit [Ping timeout: 252 seconds]
<sterni>
typetetris: probably nix-shell -E 'with import <nixpkgs> {}; pkgsi686Linux.mkShell {}' or something similar
<evils>
i'm trying to write a test for vnstat, which fails with permission denied after rebuilding nixos without triggering its preStart chmod (i've resolved this issue, but want to figure out how to reproduce the original issue in a test)
rubm has joined #nixos
Jd007 has joined #nixos
ddellac__ has joined #nixos
Qwerky has joined #nixos
meh` has joined #nixos
muppeth has quit [Remote host closed the connection]
johannes_ has quit [Quit: leaving]
ddellac__ has quit [Ping timeout: 260 seconds]
jess has quit [Ping timeout: 622 seconds]
phalrax has quit [Quit: Connection closed]
gustavderdrache has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<lukegb>
wha... why did nixpkgs-unstable advance to such an old commit 🤔
<MichaelRaskin>
3 days?
<MichaelRaskin>
That's pretty normal for the channels, I think?
saschagrunert has quit [Remote host closed the connection]
<sterni>
MichaelRaskin: nixos-unstable is on a newer commit though
<lukegb>
Yeah, but there's newer builds for that jobset
<sterni>
a bit weird
<lukegb>
like, 8 of them :P
<sterni>
well that's just channel-scripts for you I guess?
<MichaelRaskin>
Any of them _completed_?
<MichaelRaskin>
(And I guess with enough tests passing…)
saschagrunert has joined #nixos
<lukegb>
All of them completed and passed
<jordandoyle>
hey, does anyone know why my /etc/ssl/certs would be rewritten in a buildFHSUserEnvBubblewrap? i'm including this in my targetPkgs (even as a highPrio) https://paste.rs/y3D.nix and in my extraBuildCommands i can ls etc/ssl/certs and i see the expected output but as soon as i enter the bubblewrap they're all missing
jonringer has quit [Remote host closed the connection]
griff__ has quit [Quit: griff__]
jonringer has joined #nixos
lambdaman has joined #nixos
<thibm>
Is there an easier way to get derivation (or output) store hash than using e.g. splitString? From a derivation I would like to get a unique hash like "8mygch54p7brcqn83xnfa22ik9y3km95"
orivej has quit [Ping timeout: 240 seconds]
<thibm>
My constraint are that the hash should be "unique" and does not contains directory delimiter (/)
<thibm>
Oh wait, builtins.hashString "sha1" hello.outPath (or hello.drvPath) does the job!
Nate89 has joined #nixos
lambdaman has quit [Ping timeout: 240 seconds]
hst has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
<Nate89>
Hello, I am trying to install nix and eventually set up IOHK binary caches, but I am getting stuck on the installation part for single-user nix as it says I have downloaded in the past. my error is this ( I am on a macOS ):
<Nate89>
nathankent@Nathans-MBP ~ % sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
<Nate89>
% Total % Received % Xferd Average Speed Time Time Time Current
<Nate89>
% Total % Received % Xferd Average Speed Time Time Time Current
Nate89 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<lukegb>
thanks :)
Nate16 has joined #nixos
ddellacosta has joined #nixos
<Nate16>
Hi can anyone here help me with the nix installation? I am getting an error saying that "directory /nix exists, but is not writable by you. This could indicate that another user has already performed a single-user installation of Nix on this system"
<gchristensen>
hey Nate16,
hst has quit []
<gchristensen>
can you paste your log to gist.github.com or an other pastebin?
<lunik1>
how can I update just one input of a flake?
<Nate16>
yes Give me one minute please
<__monty__>
Would appreciate another review on #115285.
<{^_^}>
[nixpkgs] @philandstuff closed pull request #66487 → amazon image: fetch meta-data everytime in case if something changes → https://github.com/NixOS/nixpkgs/pull/66487
<nahamu>
If I want to put "OVMF" into my shell.nix buildInputs, but I want to get access to a file in the /nix/store/<hash>-OVMF-<date>-fd path, I can't just use ${pkgs.OVMF} but I can't quite figure out what I should be using.
<lordcirth>
lunik1, nix flake update nixpkgs
<LinuxHackerman>
nahamu: what do you want to do with it? You could set some other variable (than buildInputs) to pkgs.OVMF.fd in order to get the path in an environment variable.
MysteriousSilver has joined #nixos
<Nate16>
gchristensen I posted it to gist.github.com, do you want me to link it here
ddellacosta has quit [Ping timeout: 252 seconds]
MysteriousSilver has left #nixos [#nixos]
<lunik1>
lordcirth: that only seems to work for flakes in the flake registries?
<nahamu>
LinuxHackerman: thank you, that works!
<nahamu>
I'm not sure why I couldn't figure that out.
endformationage has joined #nixos
<lunik1>
lordcirth: I am trying to update a non-flake input
<__monty__>
Nate16: Did you restart the installation? Or have an existing /nix for some other reason?
<__monty__>
If not you should just follow the instruction to chown /nix.
<__monty__>
lukegb++
Tv` has joined #nixos
<{^_^}>
lukegb's karma got increased to 17
rj has quit [Ping timeout: 240 seconds]
ashesham` has quit [Ping timeout: 268 seconds]
proofofkeags has joined #nixos
<Nate16>
__monty__ I may have downloaded nix in the past for some reason and now its on there, also when I tried chown I get: nathankent@Nathans-MBP ~ % sudo chown -R nathankent /nix
<Nate16>
Password:
<Nate16>
chown: /nix: Read-only file system
<Nate16>
I am on a macOS
<__monty__>
Hmm, this sounds like a problem with the volume, maybe try rebooting? Or you might want to try the installer updates, https://github.com/NixOS/nix/pull/4289
<{^_^}>
nix#4289 (by abathur, 20 weeks ago, open): darwin: encrypt nix volume if filevault is enabled
<__monty__>
#99196 is another PR of mine with no response from reviewers.
<stites[m]>
eek, I think I asked a question and then got pulled away: has anyone had to deal with an independent install of node's keytar-cli? I've had trouble building with node2nix and via setting my global npm installs to go into ~/.node_modules (set in ~/.npmrc). I think it's supposed to be easy to build via FHS but I've never used FHS before.
<abathur>
Nate16: assuming catalina or newer, the read-only filesystem error usually means that you have nix in /etc/synthetic.conf, so the system has created an empty directory, but that there's no volume mounted there for some reason
beertoagunfight has quit [Ping timeout: 240 seconds]
endformationage has quit [Ping timeout: 260 seconds]
oxalica has quit [Ping timeout: 258 seconds]
oxalica2 is now known as oxalica
<Nate42>
Hi I am trying to use the nix-shell, but when I execute nix-shell in the command line, it has been running for about 30 minutes and copy many files and paths. Is there a way around this?
<Nate42>
I think may be building a GHC, even though I was pretty sure I set the IOHK binary cache
<sterni>
Nate42: unfortunately haskellPackages often have a huge dependency closure and for development related stuff you kind of need to download it all
rj has quit [Ping timeout: 240 seconds]
<sterni>
Nate42: so it isn't unexpected if you have to download > 1GB in total for a haskell package
<Nate42>
understood, but this won't happen each time I ran a new nix-shell command right?
<sterni>
well depends
<sterni>
nix won't redownload stuff it already has
<Nate42>
I am basically getting terminal output similar to this as it runs
<Nate42>
copying path '/nix/store/bk62g3npqrngr9cncr6qddclndw9vb0z-r-highr-0.8' from 'https://hydra.iohk.io'...
<Nate42>
copying path '/nix/store/3jwsd8jb1cdfk2dpk8ckz44k90lwc02i-r-labeling-0.4.2' from 'https://hydra.iohk.io'...
<Nate42>
copying path '/nix/store/gjf3q3zn1bd5vb9fdqv6a1yh36x8pmyx-r-pkgconfig-2.0.3' from 'https://hydra.iohk.io'
<Nate42>
over and over
<immae>
note that a big part of the dependency closure is not a runtime dependency and could be stripped off quite simply
<immae>
(like just removing some files in the /nix-support folder)
rj has joined #nixos
alexherbo27 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo27 is now known as alexherbo2
asdf6 has joined #nixos
MJCD has quit [Quit: Connection closed for inactivity]
<lordcirth>
How do I install the haskell module record-dot-preprocessor for stack to use? I did "stack install record-dot-preprocessor", but "stack build" doesn't find it
<L29Ah>
qyliss: let me simplify my example: badassbrowser uses curl library so it must depend on curl with `lib` flag enabled, so that curl is built with libcurl
<L29Ah>
qyliss: let me simplify my example: badassbrowser uses curl library so it must depend on (curl with `lib` flag enabled), so that curl is built with libcurl
tomberek has quit [Ping timeout: 240 seconds]
Nate42 has quit [Ping timeout: 240 seconds]
haritz has joined #nixos
haritz has joined #nixos
haritz has quit [Changing host]
Qwerky has quit [Remote host closed the connection]
Lord_of_Life has quit [Read error: Connection reset by peer]
Lord_of_Life has joined #nixos
rj has quit [Ping timeout: 240 seconds]
cfricke has quit [Quit: WeeChat 3.1]
jimmiehansson has quit [Remote host closed the connection]
fuzzypixelz has joined #nixos
sangoma has quit [Ping timeout: 252 seconds]
rj has joined #nixos
<{^_^}>
[rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/JO224
<kini>
Any nixpkgs committers around who could take a look at PR #106989?
<d3z>
Anyone know how to get a nix-shell environment that has a multilib gcc available in it? For some development, I need a shell that can invoke `gcc -m32`.
<simpson>
Nate51: Note that none of the incantations include version information. If the version of Plutus in nixpkgs is not the same version that it used to be, then there could be problems. (I'm not going to help you with this further for personal reasons; best of luck.)
<nix>
are there any things i should consider if i started to always use --impure?
<simpson>
It may make it more difficult to share your Nix expressions with other people. It can also open you up to certain sorts of supply-chain attacks.
<mindavi>
You might accidentally pickup things from the PATH etc, but I'm not really sure what the exact implications are
<mindavi>
And from random files on your system, like you're trying to do :)
<legendofmiracles>
Hm.. doesn't sound too great :/ But i think i'll stick with it until i can be arsed to setup any of these wacky tools (probably never :D)
<simpson>
Nobody's perfect. I use a Web browser regularly, for example, and even sometimes I enable JS, which is basically opting in to drive-by attacks.
<simpson>
What's important is being aware of what you trust and how it makes you vulnerable.
<mindavi>
If you're only doing it on you local system the sharing part doesn't really matter anyway
<mindavi>
And yeah, there are lots of things that can get compromised
<legendofmiracles>
nicely said simpson
<legendofmiracles>
well said*
<mindavi>
I don't think nixos users will be the easiest target :p
midchildan has quit [Ping timeout: 250 seconds]
angerman has quit [Ping timeout: 250 seconds]
trevorriles has quit [Ping timeout: 250 seconds]
marcinkuzminski has quit [Read error: Connection reset by peer]
Guest20474_ has quit [Read error: Connection reset by peer]
techtangents has quit [Read error: Connection reset by peer]
oharvey has quit [Read error: Connection reset by peer]
ShalokShalom has quit [Read error: Connection reset by peer]
teozkr_ has quit [Read error: Connection reset by peer]
dgonyeo has quit [Read error: Connection reset by peer]
gleber has quit [Read error: Connection reset by peer]
<legendofmiracles>
you overestimate me
cbarrett has quit [Ping timeout: 245 seconds]
jfhbrook has quit [Ping timeout: 245 seconds]
ProofTechnique has quit [Ping timeout: 246 seconds]
bgupta has quit [Write error: Connection reset by peer]
c00w has quit [Read error: Connection reset by peer]
vdemeester has quit [Read error: Connection reset by peer]
chrisaw has quit [Read error: Connection reset by peer]
ctp has quit [Read error: Connection reset by peer]
jefferai has quit [Read error: Connection reset by peer]
teozkr_ has joined #nixos
ShalokShalom has joined #nixos
jmercouris has quit [Ping timeout: 260 seconds]
bn_work has quit [Ping timeout: 260 seconds]
higherorder__ has quit [Ping timeout: 260 seconds]
Guest20474_ has joined #nixos
s1341_ has quit [Ping timeout: 260 seconds]
lally has quit [Ping timeout: 260 seconds]
wpcarro has quit [Ping timeout: 260 seconds]
alanz has quit [Ping timeout: 260 seconds]
techtangents has joined #nixos
oharvey has joined #nixos
gleber has joined #nixos
d3z has joined #nixos
bgupta has joined #nixos
teehemkay has joined #nixos
illustris has joined #nixos
wildsebastian has quit [Ping timeout: 245 seconds]
<matthewcroughan>
What is the difference between override and overrideAttrs exactly?
<matthewcroughan>
I can't quite see the difference.
gustavderdrache has quit [Quit: Leaving.]
<LinuxHackerman>
matthewcroughan: override changes what gets passed into the package function by callPackage, overrideAttrs changes what gets passed into mkDerivation
<matthewcroughan>
So to override the version of a package, I"m going to need to overrideAttrs
<matthewcroughan>
and override the src attribute, right?
Grace has quit [Quit: Connection closed for inactivity]
<litrat>
Hello everyone. I hope to get a tip about the invocation of nix-build: Some months ago I reworked an example (I no longer can find in the IRC logs) that I got on here. I can't remember the correct parameters to nix-build for the following configuration: https://0bin.net/paste/n3mQh9xt#G0AU2SUHdLqmWj5c-M6NDhBiZ0AQ+wr2hd1MqZMZUcr
<litrat>
Most stuff involving "-A config.system.build.isoImage" results in an error
<infinisil>
litrat: nix-build '<nixpkgs/nixos>' --arg configuration ./the-file.nix -A config.system.build.isoImage
<litrat>
It returns the same: "The option isoImage defined in '/the/file.nix' does not exist."
<litrat>
I know for a fact it worked, because I still have the resulting file
zupo has joined #nixos
<litrat>
Something in the back of my mind tells me it had something to do with eval-config.nix, but I cannot for the life of me remember
<litrat>
And of course I did not preserve it for future reference
<litrat>
infinisil: It appears to be building now after adding iso-image.nix. Thank you! Perhaps I provided the reference to that import as a parameter directly to nix-build before? Is that even possible?
muppeth has joined #nixos
<infinisil>
Ohh
<infinisil>
Yeah hold on
<infinisil>
Actually not sure
rj has joined #nixos
jesystani has joined #nixos
attila_lendvai has quit [Ping timeout: 252 seconds]
<litrat>
Oh well, it's working now. I'm happy I didn't have to pull in all the installation-cd stuff as the usual googling suggests, as this config is intentionally being shaved down a lot (as seen in the other includes)
<calebccff>
Hi! I'm trying to setup iwd on nixOS, I had it working, and set as the NetworkManager backend. But I'm hitting an issue where systemd is waiting for the interface wlp3s0 to show up (the default name of my wifi interface) but iwd has changed the name to wlan0
<cwnovusordoseclo>
What is y'alls setup for configuration management? Currently I have my stuff in a git repo in my home dir so I can mess with it as a user, then that is cloned into /etc/nixos/ as root.
<cwnovusordoseclo>
It's kinda hacky and I don't really like it
<simpson>
I have something roughly like that, but the repo also exists on several other machines. It is not ideal, but I'm not sure how to make it better.
<matthewcroughan>
It looks like they made their own fetcher in order to get around issues (with fixed output derivations?) in the grahamcofborg-eval bot.
<matthewcroughan>
Now, the `coq` derivation has anti-patterns in it.
<matthewcroughan>
like removing `src =` in favor of some strange logic, and making it hard to override therefore
<gchristensen>
that sounds interesting
<matthewcroughan>
it also refers to top-level packages in its inputs, like ocamlPackages_4_05 instead of just ocamlPackages
<MichaelRaskin>
gchristensen: (looking at PR) (PR is obviously fine) yep, exactly an example of a PR where I would say that seeking review makes things worse and not better
<MichaelRaskin>
I would not even object to this being a direct push after an eval check, but sure, you like CI done right and that's great for us, thanks for that (in general — here it does not matter)
dingenskirchen has quit [Quit: ZNC 1.8.1 - https://znc.in]
thelounge7002 has joined #nixos
thelounge7002 has quit [Client Quit]
<gchristensen>
strong disagree
<MichaelRaskin>
Because you like CI done right!
gustavderdrache has joined #nixos
jesystani has quit [Ping timeout: 260 seconds]
dingenskirchen has joined #nixos
jesystani has joined #nixos
ddellaco_ has joined #nixos
ddellaco_ has quit [Ping timeout: 240 seconds]
exondation has quit [Read error: Connection reset by peer]
<evils>
i'm trying to write a test for vnstat, which fails with permission denied after rebuilding nixos without triggering its preStart chmod (i've resolved this issue, but want to figure out how to reproduce the original issue in a test)
fuzzypixelz18 has quit [Quit: Connection closed]
<tomberek>
gchristensen: what is this determinate systems effort?