<das_j>
aanderse: It's just icingaweb, not icinga2 :) Problem is that all files are expected to reside in /etc/icingaweb2. As it's a web application, there is no global flag or environment variable you can set. Now I'd like to keep the files in that directory because a user may decide to use the non-nix way by configuring icingaweb2 via the web interface. The password may go into the store when using the option, but
<das_j>
there's nothing we can really do to prevent this
<das_j>
I can however ask the icingaweb people if they could implement a password file option, but there's no guarantee they ever will
o1lo01ol1o has quit [Remote host closed the connection]
ixxie has joined #nixos
<{^_^}>
[nixpkgs] @samueldr pushed 2 commits to release-19.03: https://git.io/fjvJ3
Ariakenom has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @rixed opened pull request #57737 → Fix SHA256 used by fetchFromGitHub → https://git.io/fjvJ8
hakujin has quit [Ping timeout: 246 seconds]
stepcut has joined #nixos
ikitat has joined #nixos
sigmundv__ has joined #nixos
fusion809 has joined #nixos
ikitat has quit [Ping timeout: 245 seconds]
sigmundv_ has quit [Ping timeout: 246 seconds]
cyphase has quit [Ping timeout: 244 seconds]
cyphase has joined #nixos
sigmundv_ has joined #nixos
seanparsons has quit [Ping timeout: 245 seconds]
Supersonic has quit [Ping timeout: 252 seconds]
seanparsons has joined #nixos
sigmundv__ has quit [Ping timeout: 252 seconds]
stepcut has quit [Ping timeout: 252 seconds]
sigmundv__ has joined #nixos
<{^_^}>
[nixpkgs] @rixed opened pull request #57738 → ocaml-syslog: init at 1.5 → https://git.io/fjvJB
Supersonic has joined #nixos
sigmundv_ has quit [Ping timeout: 250 seconds]
hakujin has joined #nixos
ilmu has quit [Ping timeout: 255 seconds]
stepcut has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<justanotheruser>
I ran nix-shell on this file https://paste.debian.net/plain/1073305 . Logs indicate it installed numpy. Why is it that importing numpy, or any other package listed results in an import error?
<{^_^}>
[nixos-org-configurations] @grahamc pushed to fix-79/make-channel-updates-sequential « channel updates: make sequential »: https://git.io/fjvJz
<{^_^}>
[nixos-org-configurations] @grahamc opened pull request #80 → channel updates: make sequential → https://git.io/fjvJg
<{^_^}>
[nixos-org-configurations] @grahamc pushed to fix-79/make-channel-updates-sequential « channel updates: make sequential »: https://git.io/fjvJV
countingsort has joined #nixos
ilmu has joined #nixos
bwbush[m] has joined #nixos
buffet has quit [Ping timeout: 272 seconds]
InFlames has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<infinisil>
justanotheruser: Try using (python.withPackages (p: with p; [ scipi numpy ... ])) in buildInputs instead
stepcut has quit [Ping timeout: 246 seconds]
stepcut has joined #nixos
<{^_^}>
[nixpkgs] @ryantm merged pull request #57737 → Fix SHA256 used by fetchFromGitHub → https://git.io/fjvJ8
adetokunbo has quit [Quit: This computer has gone to sleep]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
adetokunbo has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
stepcut has quit [Ping timeout: 246 seconds]
Fare has joined #nixos
<justanotheruser>
infinisil: I got value is a set while a list was expected, at /nix/store/mr5sfmz6lm5952ch5q6v49563wzylrkx-nixos-18.09.2327.37694c8cc0e/nixos/pkgs/stdenv/generic/make-derivation.nix:125:44
<justanotheruser>
using pkgs.python.withPackages
<clever>
justanotheruser: can you pastebin the code your using?
<nimblepoultry>
hi, I'm trying to install renoise as per the instructions here https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/renoise/default.nix#L9 I am overriding releasePath by doing registeredRenoise = (pkgs.renoise.override { releasePath = "/home/j/apps/rns_3_1_1_linux_x86_64.tar.gz"; }); but when i try switching to this configuration, the derivation fails as tar cannot see the file, and I have confirmed the path
<nimblepoultry>
what am I doing wrong, am I supposed to define the path in a different manner than plan string? can tar not see my user directory when building?
<nimblepoultry>
plain*
endformationage has quit [Quit: WeeChat 2.4]
<clever>
nimblepoultry: dont quote the path
<nimblepoultry>
well why aren't you clever :) thanks!
adetokunbo has quit [Quit: This computer has gone to sleep]
<manveru>
HatesLongFiles: at least your logfiles will be short :D
<HatesLongFiles>
lmao
<DigitalKiwi>
not with that bot in here no
seanparsons has joined #nixos
<HatesLongFiles>
rip
freeman42x has joined #nixos
simukis has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/fjvII
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages »: https://git.io/fjvIq
<{^_^}>
[nixpkgs] @peti pushed 11 commits to haskell-updates: https://git.io/fjvIO
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjvI3
nightmared has quit [Quit: WeeChat 2.4]
<{^_^}>
[nixpkgs] @peti opened pull request #57749 → update Haskell package set to GHC 8.6.4 and LTS Haskell 13.13 → https://git.io/fjvIZ
jomik has joined #nixos
Dr8128 has quit [Ping timeout: 272 seconds]
<jomik>
Hey guys - I would like to install coc.nvim as a vim plugin. Thus I'd assume I need to use `buildVimPluginFrom2Nix` to build the vimPlugin, but, this plugin also depends on npm packages... I tried setting the source to be the result of a buildNodePackage, but that does not work, as it strips out everything except what is required for the `bin` to run.
<{^_^}>
[nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjvI4
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjvIR
<jomik>
It may be sufficient to just download one of the prebuilt binaries - but how would I copy/link that into the resulting vimPlugin? I figure I'd need it in a postInstall phase, or maybe preInstall
<linarcx>
Hi. i'm creating new package. when i want to test it for build, it says that attribute 'GPL3' missing. how to find list of all possible licenses?
<jomik>
I am getting an error from the unpacker when src is a `.tar.gz`, it says it produced no directories - which is expected, as the archive just contains a single binary.
ikitat has quit [Ping timeout: 245 seconds]
<jomik>
How can I fix that?
<linarcx>
I've got an error when i want to test my packags. it says: `make: *** No rule to make target 'install'. Stop.` why?
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages »: https://git.io/fjvIV
<linarcx>
tha package written in c language. what should i do to build it?
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjvIw
noam has joined #nixos
<{^_^}>
[nixpkgs] @tomfitzhenry opened pull request #57750 → Remove libfreetype.so from adoptopenjdk's derivation. → https://git.io/fjvIX
<linarcx>
In the readme file, he says that first i have to run `autogen.sh` to create .configuraion file and then run `./configure ` to build the source.
<linarcx>
How call these inscturctions in default.nix?
adetokunbo has quit [Quit: This computer has gone to sleep]
Anton-Latukha has joined #nixos
womfoo has joined #nixos
<gchristensen>
preConfigure = "./autogen.sh"; and then everything else should fall in to place
<{^_^}>
[nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fjvIH
adetokunbo has joined #nixos
Makaveli7 has joined #nixos
linarcx has quit [Ping timeout: 250 seconds]
ng0 has quit [Ping timeout: 256 seconds]
jlslnx has quit [Quit: leaving]
linarcx has joined #nixos
<linarcx>
gchristensen: /nix/store/63karsgdg7fm3q0if4zfd7apbd8ac1ci-stdenv-linux/setup: line 99: ./autogen.sh: No such file or directory
ng0 has joined #nixos
philippD has joined #nixos
linarcx has quit [Ping timeout: 244 seconds]
linarcx has joined #nixos
<jomik>
Can someone help me with the unpackPhase here? I have set my src to be a fetchurl, targetting a `.tar.gz` file, this file contains a single binary. Thus there are no directories in the archive. The unpacker fails, saying `unpacker appears to have produced no directories`
hoijui has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
wfranzini has quit [Remote host closed the connection]
<philippD>
jomik: you can set `phases` to only include the phases you are interested in.
<linarcx>
gchristensen: Ok, i fix it, but now i have a new error: `cannot find ``which''. autogen cannot continue.`
jtojnar has joined #nixos
ikitat has joined #nixos
leat has joined #nixos
<jomik>
philippD: I wanted it unpacked tho :P But I got that working..
<jomik>
Now my issue is getting the binary to work... coc-linux: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or direct
<philippD>
I have Problems running Deus Ex: Mankind Divided through steam on NixOs. On my Radeon 6870 with ati drivers enabled the game starts but once actual 3D rendering takes place everything stays white except for the vignette overlay and beard. Also the menu displays some strange colors. I'm on NixOs unstable
<philippD>
Deus Ex is the most recent game I tried to run. Older titles like The Witcher 1, Star Wars Battlefront II and Oblivion run without problems. Has anyone gotten Deus Ex to run properly?
<jomik>
I have now added `${stdenv.cc.cc.lib}/lib` to the rpath of my binary, but this results in an error when running the program.. which is quite odd, because it looks like a javascript error: https://git.io/fjvLC
agander_ is now known as agander
linarcx has quit [Ping timeout: 246 seconds]
<jomik>
Note that the binary works fine if it is just downloaded and run on an arch linux machine..
<{^_^}>
[nixpkgs] @Ekleog pushed commit from @florianjacob to release-19.03 « nixos/matrix: add manual section »: https://git.io/fjvLP
shahshahshah has joined #nixos
<linarcx>
jomik: No problem bro :)
<schmittlauch[m]>
packaging question: If a program needs to call some external program binaries as run-time dependencies, I guess I have to wrap it into something that adds the dependencies to the PATH, right?
<srid1>
So what's the recommended approach to override a haskell library (to point to my fork) when developing on a Haskell project using `cabal2nix`?
Erasmus has joined #nixos
srid1 is now known as srid
<linarcx>
jomik: It's fix now. i'v just added readline to buildInputs list and everythings fine.
<jomik>
Nice
<linarcx>
But i want to install it locally. i get this error this time: error: attribute 'linarcx' missing, at /home/linarcx/nixpkgs/pkgs/development/libraries/jcal/default.nix:35:21
<srhb>
srid: I personally use callCabal2nix instead of cabal2nix directly.
<linarcx>
How to add myself as a new maintainer?
<srhb>
srid: Anyway, an overlay plus the wonky overrides mechanism if you're using extend anywhere.
<schmittlauch[m]>
__moredhel_
<srid>
I actually use callCabal2nix in obelisk projects; let me try using that instead. srhb
<schmittlauch[m]>
oops, sorry mistyped that
<srhb>
srid: Depending on how you call nixpkgs, either do a project local overlay or a global one
<srhb>
srid: Much up to taste :)
<schmittlauch[m]>
__monty__: you mean an argument for stdenv.mkDerivation?
<__monty__>
linarcx: Edit maintainers.nix(?) and the maintainers field of the expression.
civodul has joined #nixos
<srhb>
srid: Unfortunately, due to the wonkyness of extend, you should do something like: self: super: { haskellPackages = super.haskellPackages.override (old: { overrides = self.lib.composeExtensions (old.overrides or (_: _: {})) (selfhs: superhs: { ... }) })}
<srhb>
srid: (If you want to preserve other overrides and not interfere with extend)
<linarcx>
__monty__: Yesssss.
<linarcx>
And finally i create my first package :))
<srhb>
linarcx: Good job :-)
<__monty__>
schmittlauch[m]: Ah, propagatedBuildInputs I think.
<__monty__>
But yeah, I think it's eventually passed to mkDerivation.
HatesLongFiles has quit [Quit: Konversation terminated!]
<schmittlauch[m]>
__monty__: But how is that supposed to work? If programs are just called by their name, they either have to be in PATH or have to be called by their absolute path. This'd need changes in the program, a wrapper changing the path just for the parent program or adding these programs to the whole environment.
<__monty__>
Propagated buildinputs end up on your PATH I think.
goibhniu has quit [Read error: Connection reset by peer]
<__monty__>
Someone else might actually know rather than guess though.
hakujin has joined #nixos
<schmittlauch[m]>
still thanks though
goibhniu has joined #nixos
<srhb>
schmittlauch[m]: The most ergonomic solution varies from program to program
<srhb>
schmittlauch[m]: In some cases it's simple enough to patch everything to use absolute paths. In others a wrapper solution is easier.
<schmittlauch[m]>
srhb: I guess I should go with a wrapper then, thanks.
<srhb>
propagatedBuildInputs should usually not be preferred over these two options. :)
<srhb>
schmittlauch[m]: Sure thing.
<das_j>
Is there any documentation on the system features? I found some but I don't know what they mean: kvm nixos-test big-parallel benchmark
<das_j>
Like when does my system have the big-parallel feature?
rcshm has joined #nixos
<das_j>
Or nixos-test? I thought it can run anywhere
<schmittlauch[m]>
srhb: just regarding propagatedBuildInputs: If `propagatedBuildInputs = [ A ];` in derivation for B that means that for derivation C with `buildInputs = [ B ];`, A is also added to its build environment PATH, right?
<__monty__>
kvm means it has kvm : >
<das_j>
__monty__: Yes, that's what I thought. But what about the rest?
<schmittlauch[m]>
because I'm not sure I understood the nixpkgs manual correctly
<{^_^}>
[nixos-org-configurations] @grahamc pushed to fix-79/make-channel-updates-sequential « mirror job: make oneshot »: https://git.io/fjvtf
timokau has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
agander has quit [Ping timeout: 245 seconds]
<__monty__>
das_j: Good question, no idea. Big-parallel is either for stuff that's sped up with many threads or stuff that's more I/O bound than cpu bound.
<das_j>
__monty__: I grepped around and I think I found some stuff
<das_j>
benchmark seems to be used on machines which are more-or-less stable performance-wise. bash-builtin time will be used to monitor stuff like evaluation time and this should be consistent
<das_j>
big-parallel is only set on huge builds like chromium and libreoffice. So probably large builds
<das_j>
and nixos-test is *probably* for machines which run nix tests. the test suite is the only thing that requires this feature
jomik has quit [Quit: WeeChat 2.4]
<srhb>
schmittlauch[m]: Yes, as long as the fixupPhase runs in B
<srhb>
schmittlauch[m]: (In order to create b/nix-support/propagated-build-inputs)
Soo_Slow has quit [Remote host closed the connection]
adetokunbo has quit [Quit: This computer has gone to sleep]
<tom39291>
If there's an upstream package that bundles its own libfreetype library (which NixOS also has), does NixOS policy/convention prefer that the bundled library is used, or the NixOS version?
<scientist>
do I need to paste the `let in` expression in a different area ?
sigmundv__ has joined #nixos
<joepie91_to_go>
arianvp: as in, edns is the cause of that...?
<arianvp>
Yes if you enable edns then WiFi in the train doesn't work
<arianvp>
Which is enabled by default in nixos
<joepie91_to_go>
arianvp: have a link to more details about this? :P
scientist has quit [Quit: WeeChat 2.2]
<linarcx>
Hi. i build a nix expression via: `nix-build -A foo`. How to remove it from nix store?
<arianvp>
No not really. Basically if edns otpion is set in /etc/resolv.conf the captive portal of NS doesn't work
mmlb97 has joined #nixos
<srhb>
Izorkin: I think we're not understanding each other fully. Where did you write a comment explaining the need for the patch? I can't find such a comment anywhere in your commits.
<Izorkin>
srhb: in comment - Used patch to enable work with unprivileged user - nginx/unit#228
<srhb>
linarcx: Once there's no roots, they will be garbage collected next time you run nix-collect-garbage
scientist has joined #nixos
<{^_^}>
[nixos-org-configurations] @zimbatm pushed commit from @edolstra to master « bastion: add swap on the machine »: https://git.io/fjvmY
<srhb>
linarcx: If you want to do it manually (why? Are you really short on disk space? :)) you can use nix-store --delete /nix/store/path-to-your-drv
<linarcx>
srhb: Thank you so much.
mmlb977 has joined #nixos
mmlb97 has quit [Ping timeout: 245 seconds]
rcshm has quit [Remote host closed the connection]
equivrel has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<scientist>
https://nixos.wiki/wiki/Keyboard_Layout_Customization , how do i enter the `let in` expression in configuration.nix, when i try: nixos-rebuild switch , i get: syntax error unexpected let , why am I getting this error ?
<srhb>
scientist: You probably have a simple syntax error. You'll probably need to pastebin it.
<srhb>
scientist: I mean please put your configuration.nix somewhere where we can see it online :) It's difficult to figure out the syntax error without seeing the code.
linarcx has quit [Quit: WeeChat 2.4]
<srhb>
scientist: (pastebin is a generic term for sites where you can copy paste in code and share them via a unique URL)
<linarcx>
srhb: i garbage collected the system but this derication still exists:`error: cannot delete path '/nix/store/0m8mf0incrc4wpmhamq334a0q0jwya9x-jcal' since it is still alive`
<samueldr>
linarcx: try `nix-store --query --roots /nix/store/...` with that path in
<samueldr>
it should point out to the thing(s) keeping it alive
<samueldr>
linarcx: from a `nix-build` or `nix build`, if you rm that result symlink it should free it
mmlb977 has quit [Ping timeout: 245 seconds]
<samueldr>
when building (by default) nix will output a result symlink and register it to the garbage collection roots so it won't clean-up a thing that might be used or worked on
<linarcx>
samueldr: from `nix-build`
<samueldr>
scientist: `let ... in;` cannot be used inside an attrset, you should be able to use it just outside the attrset on line 6
ckauhaus has quit [Quit: WeeChat 2.2]
<samueldr>
the way let-expressions are written, they need to be written before an expression. The attrset itself is an expression, but key/value pairs aren't expressions, though it should work also just in front of the value
naominitel has quit [Ping timeout: 244 seconds]
<samueldr>
e.g. `services.xserver.displayManager.sessionCommands = let ... in ...;`
<linarcx>
srhb: After delete that directory, i still get an error: `removing stale link from '/nix/var/nix/gcroots/auto/w4kvndvg7qv9w4z3951c09z4hiq9shzz' to '/home/linarcx/nixpkgs/result'`
<samueldr>
> :p { x = let a = 1; in a; }
<{^_^}>
{ x = 1; }
<srhb>
linarcx: That's not an error.
<samueldr>
scientist: dunno if this small demonstration helps clearing it up?
<linarcx>
srhb: What should i do?
<srhb>
linarcx: Nothing. :)
<samueldr>
linarcx: that's a status message, it tells you what has been done
<samueldr>
if you re-run the command it shouldn't tell that again
<linarcx>
srhb: i want to re-build an expression. but i can't.`nix-build -A jcal `
<linarcx>
it's output is: `/nix/store/0m8mf0incrc4wpmhamq334a0q0jwya9x-jcal`
<srhb>
linarcx: It's saying there was a link in that auto directory pointing to your result link. The result link was removed (by you, presumably) so it deleted the link pointing to it in the auto roots dir as well.
<srhb>
linarcx: Use --check if you want to rebuild
<Ericson2314>
how do I, as route, intentionally *not* use the daemon?
<srhb>
linarcx: But it shouldn't matter
agander has joined #nixos
<Ericson2314>
trying to do a one off `nix copy` with ssh-agent
<srhb>
linarcx: If it's not attempting to rebuild, it's because there was no meaningful change.
<scientist>
samueldr: it made me more confused, i think i am going to read the nixos manual for a while.
<srhb>
scientist: Now the let-in is inside the value portion of sessionCommands, which is legal attrset syntax.
Guest44139 has quit [Read error: Connection reset by peer]
sinner has joined #nixos
<srhb>
scientist: Does that make sense?
sinner is now known as Guest6234
leat has quit [Ping timeout: 240 seconds]
leat1 has joined #nixos
o1lo01ol1o has joined #nixos
<scientist>
srhb: yes it makes a lot more sense, thanks for the explanation, what does the abbreviation: attrset stand for ?
<srhb>
scientist: "attribute set"
rcshm has quit [Read error: Connection reset by peer]
<scientist>
attrset: thanks
<srhb>
scientist: Sure thing.
rcshm has joined #nixos
leat1 has quit [Remote host closed the connection]
leat1 has joined #nixos
<srhb>
scientist: Sure thing.
<srhb>
Woops.
<linarcx>
Guys, a simple qeustion. i clone the nixpkgs repository. create a package and add it to my repo. i want to push it to github. after createing my new branch should i merge it or rebase it?
<srhb>
linarcx: If you based it off master or nixos-unstable, you probably don't need to do anything
<srhb>
linarcx: The process is something like... Checkout a fresh nixpkgs master. checkout a new feature branch based on that fresh master. Make your commit. Push your branch to your fork. Open PR.
<srhb>
linarcx: If you do have merge conflicts, rebase on a fresh master again.
<linarcx>
srhb: I don't do anything:) just add a default.nix in specific hierarchy. add my name to list of maintainers. create a new branch, add changes and commit them.
scientist has quit [Quit: WeeChat 2.2]
<srhb>
linarcx: Probably needs an addition to all-packages too, but yes, that sounds right.
<linarcx>
srhb: But in last step in here:https://nixos.org/nixpkgs/manual/#submitting-changes-making-patches, it tell that we must rebase against master branch.
<srhb>
linarcx: That guide assumes you made changes on top of a commit that's like what you currently have installed.
<srhb>
linarcx: If that's what you did, yes, rebase on master.
<klntsky>
scientist: `let a = ... in b = c` is not well formed. The part after `in` should be an expression, and `=` is allowed only between `let` and `in`
<ar1a>
hey, when i turn off my computer i leave my libvirt vms on and they just force off. I'm fine with this. The problem is, when I turn my computer back on the vms start back up (even though i haven't ticked that option in virt-manager). How can I fix this?
<catern>
hmm, I'm doing some scripting to set up unprivileged Nix setups. Nix creates directories that have the writable bit unset, which rm -rf chokes on... anyone know a better way to remove them other than chmod -R +w; rm -rf ?
<ar1a>
I don't want all the vms I previously had open to open again
fusion809 has quit [Remote host closed the connection]
<catern>
I'm working in a programming language, not shell, so I want to avoid having to shell out...
InFlames has joined #nixos
stepcut_ has joined #nixos
<linarcx>
srhb: Thank you too.
<scientist>
klntsky: thanks
<linarcx>
{^_^}: :)
<srhb>
ar1a: I think it's related to the autostart option in the domain definition
o1lo01ol1o has quit [Remote host closed the connection]
<srhb>
ar1a: So something like virsh autostart --disable yourdomain
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<ar1a>
srhb: hm.. i wonder if thats the same option as that virt-manager checkbox
<ar1a>
cos if it is, that was already disabled
o1lo01ol1o has quit [Remote host closed the connection]
<srhb>
ar1a: Hm, yeah, I would have suspected that it is. Worth a shot I guess?
<srhb>
ar1a: I guess I'm wondering whether the difference is that they're actually not really shutdown but only suspended on host shutdown, and that autostart doesn't affect that at all?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
rcshm has quit [Read error: Connection reset by peer]
goibhniu has quit [Ping timeout: 246 seconds]
goibhniu has joined #nixos
rcshm has joined #nixos
<srhb>
Nah, that would be surprising...
<{^_^}>
[nix] @nomeata opened pull request #2731 → Link to `builders-use-substitutes` in chapter on distributed builds → https://git.io/fjvYB
InFlames has quit [Ping timeout: 255 seconds]
talyz has joined #nixos
talyz has quit [Client Quit]
talyz has joined #nixos
stepcut_ has quit [Remote host closed the connection]
<samueldr>
sad thing is all my computers are boot guard protected :/
<samueldr>
oh, someone outside nixos
wfranzini has quit [Remote host closed the connection]
<therealwaphire[m>
yeah
wfranzini has joined #nixos
<therealwaphire[m>
I mean this is pretty risky stuff
<samueldr>
false, one isn't boot guard protected, but already runs coreboot+tianocore so it's probably much easier to do there
<therealwaphire[m>
I doubt many people would want to brick their BISO
<therealwaphire[m>
BIOS*
<samueldr>
if it wasn't for boot guard, I would
<elvishjerricco>
therealwaphire[m, samueldr: I just iced grub to boot from ZFS. Efifs provides efi drivers for all file systems that grub can read from, allowing you to boot from ZFS using efi
<{^_^}>
[nixpkgs] @8084 opened pull request #57766 → retext: init at 7.0.4 → https://git.io/fjvOP
_kwstas has quit [Read error: Connection reset by peer]
iqubic has joined #nixos
dsiypl4 has joined #nixos
o1lo01ol1o has joined #nixos
JosW has joined #nixos
<iqubic>
Is there a way to pass command-line arguments to the executable being run with appimage-run?
<srhb>
linarcx: Ah, I think I understand. When the PR is done -- that is, we're done working back and forth on it -- there should be in total just two commits: one adding you as maintainer, and one with the jcal: init at 0.4.1 commit. You are free to make "work in progress" commits before you're complete with any commit message you like, but once it's ready to be merged, you need to squash it down to just those two
<srhb>
commits, adhering to the rules :)
<linarcx>
srhb: These tips and tricks should be gather in real book :)
<linarcx>
Thank you so much.
<srhb>
linarcx: Yeah, the whole "how do we use github prs and things" is a topic in itself for sure :)
<linarcx>
Xd
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed 7 commits to haskell-updates: https://git.io/fjvO9
rcshm has quit [Remote host closed the connection]
Glider_IRC_ has joined #nixos
<srhb>
scientist: That doesn't sound good. You'll probably have to provide some logs that contain information on the crash before anyone can attempt to help though.
Melkor333 has joined #nixos
dwdr has quit [Remote host closed the connection]
<srhb>
scientist: On a hunch, is it the xkbDir option that causes it?
<scientist>
srhb: services.xserver.layout = "us"; i think i need to change this to the location of my custom layout, and i am not sure if xkbDir option is causing it,i could try removing it to see if it works ?
Glider_IRC__ has quit [Ping timeout: 246 seconds]
Avaq has joined #nixos
<srhb>
scientist: That sounds like a good way to start debugging the failure, go ahead :)
<srhb>
linarcx: Two final comments, then I think you can squash down to two commits and we're good to go. :)
<scientist>
srhb: thanks, removing the xkbDir option worked, configuration.nix booted fine, the only problem is the keyboard layout did not change, maybe i still need to change services.xserver.layout = "us"; but i am not sure ?
<srhb>
scientist: I don't know I'm afraid. But I think the crash was because the xkbDir you pointed to wasn't a full xkbDir like the one that it links to by default. Maybe compare its structure.
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<scientist>
srhb: thanks, do you know when infinisil gets on ? i think he can help me with this problem.
<clever>
Avaq: you can also put the string into a file, and then just replace -E expr, with the filename
<Avaq>
Great!
<srhb>
linarcx: Hmm, why do you think that? It's not being used anywhere in the derivation, is it?
<linarcx>
srhb: No, anywhere. See the reddit thread?
<linarcx>
Althou i can test it without `which` and see what happen
<clever>
linarcx: in general, i prefer `type` over `which`, since `type` can detect functions and aliases
<srhb>
linarcx: It's not in buildInputs anymore, so it really isn't even exposed to the build currently
<linarcx>
srhb: Yes, it builds correctly withou `which`. I'll send the last changes right now.
<srhb>
linarcx: Looks good to me. Do you know how to squash the commits?
<linarcx>
srhb: No.
<srhb>
linarcx: Mind if I PM you? :)
<linarcx>
Xd
<linarcx>
i try
<srhb>
OK :)
<srhb>
linarcx: (What I do is something like git rebase -i HEAD~5 and then move around commits so they are grouped together and use f for fixup to squash together the ones I don't want in the final PR)
<srhb>
ddellacosta: That's the best I've seen. MAybe it's time to try and update it. I know the list is way, way bigger now.
<ddellacosta>
srhb: yeah I'd love to know who can be added to that list at this point (and even companies who may have fallen off of it)
growpotkin has joined #nixos
<growpotkin>
Hey does anyone know how to get `builtins.getEnv "HOST"` to behave?
<growpotkin>
`builtins.getEnv` seems to work for almost any other variable that I try
<growpotkin>
but "HOST" always kicks back and empty string
tdbgamer has joined #nixos
<linarcx>
srhb: After `git rebase -i HEAS~5` what should i do?
<growpotkin>
Or really what I'm trying to do is make a predicate for different machines.
<growpotkin>
nvm i found it : `config.networking.hostName` works.
_kwstas has joined #nixos
zupo has joined #nixos
<blumenkranz>
Hello. I am having trouble with Vulkan applications since last upgrade. Does anyone have any idea why could that be?
<srhb>
blumenkranz: Can you elaborate on the problems, and what upgrade you're talking about?
<blumenkranz>
srhb: I am trying this on Dota 2, Proton games and RetroArch. Basically, the games do run, but they fail to render anything.
<blumenkranz>
Proton games manage to play some audio, in particular. The others seem to get soft-crashed.
<blumenkranz>
Last update has been a full system upgrade. Is there any way to bisect where could it have gone wrong?
<srhb>
blumenkranz: It would probably help to know which commit you were on when it worked, and which commit you're on now that it doesn't for starters :)
<blumenkranz>
How can I check last generation's commit?
<blumenkranz>
It's probably been... two or three weeks since I last updated.
_kwstas has quit [Read error: Connection reset by peer]
Erasmus has quit [Ping timeout: 245 seconds]
<srhb>
blumenkranz: Find the version in /nix/var/nix/profiles/system-NNN-link where NNN is your previous generation, and look at nixos-version inside
<blumenkranz>
srhb: Here it says 19.03pre169108.36f31600749
<Avaq>
Playing with the Nix Expression language, while working on implementing basic iterations in terms of recursion, I found that `map` was already defined and globally available. What else is comes included by default?
goibhniu has quit [Ping timeout: 246 seconds]
<clever>
Avaq: run `nix repl` and then hit tab a couple times
<srhb>
noonien: You can, but mkShell saves you some work
<srhb>
noonien: Normally when you do nix-shell '<nixpkgs>' -A hello, you'll get a shell that is able to _build_ hello. With mkShell, you can pass in the hello attribute and get a shell where hello is _available_
<srhb>
noonien: A shorter way of doing a mkDerivation with buildInputs = [ hello ];
<noonien>
hmm, i see
<srhb>
noonien: So really it's mostly a helper :)
<pie_>
does anyone here use / know how do use the ocaml infrastructure?
<noonien>
i use it in shell.nix, however, i see some people just use mkDerivation
<srhb>
noonien: Either is fine.
blumenkranz has quit [Quit: WeeChat 2.4]
pie_ has joined #nixos
pie_ has quit [Changing host]
wfranzini has quit [Remote host closed the connection]
<clever>
HatesLongFiles: thats how you add entries to the grub config
<HatesLongFiles>
nix doesnt use grub
<delroth>
I'm trying to use distributed builds with Nix, but it looks like nix-daemon is not using the configured ssh key to try to connect to my remote host. Any idea what could cause that? I'm configuring the remote builders with nix.buildMachines
<delroth>
I strace'd nix-daemon and it's not passing any ssh key to the ssh command invocation, even though /etc/nix/machines has a path to the ssh key
<clever>
HatesLongFiles: what are you trying to add the entry to?
Melkor333 has quit [Quit: WeeChat 2.4]
<clever>
delroth: have you tried restarting the nix-daemon.service in systemd?
<HatesLongFiles>
noxos boot menu
<HatesLongFiles>
nixos*
<HatesLongFiles>
boot/loader/entries
<delroth>
clever: now I did, and no change
<clever>
HatesLongFiles: i dont think systemd-boot allows custom boot entries, you would need to switch to grub
<HatesLongFiles>
;-;
<clever>
delroth: what nix-build command are you using to initiate the build?
<delroth>
nothing special, nix-build '<nixpkgs>' -A pkgs.foo reproduces for example
<delroth>
but I mean, nix-daemon does invoke ssh to my remote machine
<delroth>
it just doesn't pass the ssh key that's configured
<delroth>
doesn't seem like my nix-build invocation would have much to do with that
<clever>
delroth: can you pastebin the contents of /etc/nix/machines ?
<delroth>
I'll look into it probably tomorrow, I was trying to get something done originally and just got nerd-sniped by the problem :) faster to just build locally for now.
<delroth>
thanks anyway
<delroth>
I've got all the tools to figure it out at least now.
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
stepcut has joined #nixos
jtojnar has joined #nixos
stepcut has quit [Ping timeout: 245 seconds]
vk3wtf has joined #nixos
aissat[m] has joined #nixos
Dagger has quit [Excess Flood]
__monty__ has quit [Quit: leaving]
Dagger has joined #nixos
<linarcx>
Hi. i create a package and send it as a pull-request for nixpkgs repo. How long does it take to finally avaialbe in https://nixos.org/nixos/packages.html?
jtojnar has quit [Remote host closed the connection]
joepie91_to_go has quit [Ping timeout: 264 seconds]
jasongrossman has joined #nixos
jtojnar has joined #nixos
stepcut has joined #nixos
_kwstas has joined #nixos
<{^_^}>
[nixpkgs] @OPNA2608 opened pull request #57771 → hardinfo: fix not finding libc → https://git.io/fjvsS
stepcut has quit [Ping timeout: 250 seconds]
phreedom has quit [Remote host closed the connection]
<justanotheruser>
for some reason nixos is using xterm as my wm even though I have `xserver.windowManager.i3.enable = true;`. I have no "xterm" in /etc/nixos/*.nix why is xterm being used as my wm? When I login it starts xterm, from which I'm able to start i3 fine. in addition, ~/.xsession-errors has this line /nix/store/r7yc3qxvxvfapjqfva4fa6qx33bc8w1l-xsession: Window manager 'xterm' not found.
<clever>
justanotheruser: xterm is enabled by default, you need to windowManager.xterm.enable = false;
<clever>
justanotheruser: or select another WM at the login screen
<clever>
oops, and its a desktopManager, not a window manager
<justanotheruser>
hmm, thats actually a good point, I wonder if my login screens settings were changed
stepcut has joined #nixos
pie_ has joined #nixos
scientist has joined #nixos
stepcut has quit [Read error: Connection reset by peer]