<{^_^}>
→ decaeb1b by @dtzWill: nano: 2.9.4 -> 2.9.6
<{^_^}>
→ 5777272b by @hedning: nixos/plymouth: multi-user.target wants plymouth-quit-wait.service
<{^_^}>
→ b6f3fcf1 by @jD91mZM2: multibootusb: init at 9.2.0
<achambe>
tertle||eltret: what type of vm?
<achambe>
you can mount it's disk and then chroot and set a password
sigmundv__ has joined #nixos
spear2 has joined #nixos
sigmundv__ has quit [Ping timeout: 260 seconds]
jperras has joined #nixos
<{^_^}>
[nixpkgs] @dtzWill opened pull request #40577 → Don't let Qt require a minimum kernel of 3.17+ (even if we're building against headers satisfying that requirement) → https://git.io/vpdLe
silver has quit [Read error: Connection reset by peer]
<samueldr>
gchristensen: consistently the same bit?
pxc has joined #nixos
<samueldr>
initially I just assumed you were unlucky with bit flips
boomshroom has quit [Quit: WeeChat 2.0]
<gchristensen>
no not the same bit
sauyon has joined #nixos
sigmundv_ has quit [Ping timeout: 240 seconds]
sigmundv__ has quit [Ping timeout: 264 seconds]
sigmundv_ has joined #nixos
sigmundv__ has joined #nixos
c0ffee152 has quit [Ping timeout: 268 seconds]
blankhart has joined #nixos
ericsagnes has joined #nixos
<bhipple[m]>
With the new `nix build`, is there a way to get the old output without the progress bar?
<bhipple[m]>
The progress bar is neat and all, but I find the old full output much more useful for debugging -- particularly in non-interactive processes like Jenkins builds
<elvishjerricco>
bhipple[m]: Don't think so :(
<bhipple[m]>
and `nix build -vvvv` isn't quite as clean, because in addition to compiler output it also spews things about nix store locks and so on
sigmundv_ has quit [Ping timeout: 256 seconds]
Have-Quick has quit [Quit: Have-Quick]
sigmundv__ has quit [Ping timeout: 260 seconds]
thc202 has quit [Ping timeout: 255 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
oltoAltn has joined #nixos
Supersonic112 is now known as Supersonic
olto has quit [Ping timeout: 248 seconds]
<infinisil>
Before I go to sleep, just wanna show my work on converting the previously string-based config file for the ZNC module to a semantic one
Have-Quick has joined #nixos
<infinisil>
This has the advantage of generating a nicer config file with proper indentation and newlines, allows for overriding values easily and adding your own ones, which wasn't possible previously
<clever>
angerman: it takes a string, and discards the context, which is how nix knows the string depends on a derivation
<angerman>
can't I look safly into the future? I mean nix can instantiate the expression and compute $out, right?
<clever>
it is fairly safe, as long as you understand that the path may not exist
<iqubic>
How do I use a *.ppd to install a printer driver?
<clever>
angerman: oh, but you cant use it to solve a dependency cycle, because the hash your looking for depends on the hash of the thing asking for it
<angerman>
clever: hmm... alright, guess I need to think a bit more about this. and where I can break up my dependencies
<clever>
angerman: you could also patch it to expect an env var pointing to the path, and then use setup-hooks to add it later
<iqubic>
So I have a .ppd file, and I want to try and install it.
<bhipple[m]>
WhittlesJr: Yeah, this works: `builtins.foldl' (x: y: x // y) {} [a b c]`, where a, b, and c are sets
<clever>
angerman: glibc and system() has a similar problem, system() needs a path to sh to execute things, but sh depends on glibc, currently nixos just assumes you always have a /bin/sh
<angerman>
clever: I see.
<iqubic>
So *.ppd files and cups really confuse me. the cups web thing (localhost:631) doesn't give me any option to add a printer by ppd file. How do I use this ppd file?
sauyon has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos
<WhittlesJr>
bhipple[m]: seems to be working... but uh... how do I evaluate eagerly in nix-repl? Boy I'm green
<bhipple[m]>
I'm not much less green than you. In `:?` on `nix repl`, there's a `:p` that says it evaluates and prints recursively
<WhittlesJr>
that's really what I'm after ultimately, but I can get by with just foldl for now
<bhipple[m]>
WhittlesJr: Not sure, but if you look in `lib/lists.nix` you might see something. I see a bunch of functions called concatMap, flatten, etc., that might either do what you want or suggest an implementation
<WhittlesJr>
bhipple[m]: I'm not seeing anything yet, but I'll keep looking. Thanks again!
acarrico has quit [Ping timeout: 260 seconds]
halfbit has joined #nixos
<bhipple[m]>
WhittlesJr: np. I'd imagine the lack of types makes it hard to implement a safe generic `reduce`, but if you happen to know you're going to feed reducible functions/types to it you can use this:
Have-Quick has quit [Quit: Have-Quick]
<bhipple[m]>
`reduce = f: init: xs: builtins.foldl' (a: b: f a b) init xs`. Then use it like `add = x: y: x + y` and `reduce add 0 [1 2 3] => 6`
<bhipple[m]>
There might be a syntax to pass primops directly like `(+)` or `(//)` rather than aliasing them like that, though.
joehh1 has joined #nixos
Have-Quick has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 250 seconds]
<WhittlesJr>
bhipple[m]: That's interesting... I'm not sure which method would be more confusing in my use case, haha. I definitely find myself pining for clojure when I'm trying to do anything fancy with nix.
<bhipple[m]>
WhittlesJr: With the above, your call becomes `reduce update {} [a b c]`
<bhipple[m]>
(update is // )
<WhittlesJr>
bhipple[m]: I think I'll try stealing your implementation verbatim and seeing what happens
drakonis has quit [Remote host closed the connection]
<bhipple[m]>
I tried it out with some sets a b c in the repl and it worked :)
<WhittlesJr>
bhipple[m]: Yep I think that's the way I want to go after all! Thank you again.
WhittlesJr has quit [Quit: Page closed]
joehh1 has quit [Ping timeout: 268 seconds]
zurk[m] has joined #nixos
worldofpeace has quit [Ping timeout: 260 seconds]
jperras has quit [Ping timeout: 268 seconds]
smallville7123 has joined #nixos
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
boomshroom has joined #nixos
smallville7123 has quit [Client Quit]
spear2 has quit [Remote host closed the connection]
<adisbladis[m]>
bhipple: Beautiful :)
smallville7123 has joined #nixos
jperras has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 260 seconds]
<elvishjerricco>
bhipple[m]: Isn't that just `reduce = builtins.foldl'`?
lostman has joined #nixos
<lostman>
hi all. is anyone familiar with rustBuildCrate? I'm trying to use nix to compile binary for different targets but not having much progress with it
<boomshroom>
lostman: I've used Nix to build Rust before and I do a lot of cross-compiling, but I don't think I've ever actually cross-compiled Rust with Nix before.
mizu_no_oto has joined #nixos
<lostman>
rust can cross-compile to musl but I can't get it to link the right library. Somehow I still end up with glibc
<lostman>
not sure how to set it up. musl support (crossSystem) in nix should somehow get me the c libs I need linked against musl, right?
spear2 has joined #nixos
<boomshroom>
lostman: Correct. and Rust's musl target is x86_64-unknown-linux-musl.
<lostman>
I can't figure out how to pass the target to rustBuildCrate
<lostman>
I imagine I'd use normal rust with cross-compile target and would just need to tell it where musl toolchain is. just can't figure out how to do any of that :)
c0ffee152 has quit [Ping timeout: 240 seconds]
<boomshroom>
lostman: I can't find rustBuildCrate. There is buildRustCrate and rustPlatform.buildRustPackage.
<lostman>
@boomshroom: Right, sorry, that's the one I mean!
<boomshroom>
lostman: Which? buildRustCrate or rustPlatform.buildRustPackage?
<lostman>
buildRustCrate
<boomshroom>
lostman: I've mostly used buildRustPackage.
<lostman>
I'm not married to it. happy to switch if it works
Have-Quick has quit [Quit: Have-Quick]
<lostman>
looking for the sources of buildRustPackage...
schoppenhauer has quit [Ping timeout: 248 seconds]
<boomshroom>
It's not too hard to get GCC for your desired target, but Nix seems to have more trouble with other compilers.
schoppenhauer has joined #nixos
ilyaigpetrov has joined #nixos
<lostman>
boomshroom: can you use buildRustPackage for building code from local sources (in the current directory)
<lostman>
?
<boomshroom>
lostman: Assuming you have a Cargo.lock, yes.
<lostman>
@boomshroom I'm uisng https://github.com/solson/rust-nightly-nix to get the nightly with musl target but then rustBuildPackage complain musl target not available. I give it `rust = rustNightly` from the overlay
mmlb10 has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #40581 → sedutil: init at 1.15.1 and corresponding nixos module → https://git.io/vpdnA
smallville7123 has quit [Quit: rosa]
reinzelmann has joined #nixos
jperras has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
marek has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @peterhoeg merged pull request #40581 → sedutil: init at 1.15.1 and corresponding nixos module → https://git.io/vpdnA
smallville7123 has quit [Read error: Connection reset by peer]
smallville7123 has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
Guanin_ has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @jwiegley opened pull request #40582 → haskellPackages.developPackage: Add a defaulted provideDrv argument → https://git.io/vpdCu
MercurialAlchemi has joined #nixos
<jackdk>
I notice that when entering a nix shell for haskell programs I'm developing, nix downloads documentation for the libraries. Is there a tool or easy way to get the haddocks into the browser?
Guanin_ has joined #nixos
<MichaelRaskin>
iqubic: Try setting up «Generic PCL» driver
<elvishjerricco>
jackdk: If you use `ghcWithHoogle` rather than `ghcWithPackages`, you can use `hoogle server --local` to get searchable docs
<jackdk>
sorry elvishjerricco, how do I do that? my packages are set up in the style of https://github.com/qfpl/sv (I'm not hacking on `sv`, but that `packagename.nix`/`default.nix`/`shell.nix` split)
<iqubic>
MichaelRaskin: What do you mean, explode the deb?
<MichaelRaskin>
Well, download the CUPSwrapper GPL-licensed deb (unfortunately, requires a click-through EULA with JavaScript, but the text of EULA is GPL)
<MichaelRaskin>
Install dpkg (from Nixpkgs, for example) and user dpkg-deb -x to access the contents of the file
<iqubic>
I see. How will that help?
<MichaelRaskin>
There is a Perl script and a PPD file
smallville7123 has quit [Quit: rosa]
<MichaelRaskin>
Two Perl files, OK
<iqubic>
Okay? How will that help me?
orivej has joined #nixos
<iqubic>
I'll look into this on my own.
jperras has quit [Ping timeout: 268 seconds]
<MichaelRaskin>
You patch the script interpreter PATH of the perl scripts, add the directory with them to CUPS path (maybe by putting them in /bin of a package and adding it to CUPS driver list) and upload the PPD to CUPS web UI when configuring the printer
<boomshroom>
I'm trying to test clever's QEMU mechanism by building hello for aarch64. expand-response-params failed with `bootstrap-stage2-gcc-wrapper/bin/as: unrecognized option '--64'`
robstr has joined #nixos
<MichaelRaskin>
iqubic: then you read the error messages and probably add something else to PATH, or maybe to Perl library search PATH…
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #40521 → minor improvement to nix installation instructions → https://git.io/vpQzx
<{^_^}>
[nixpkgs] @matthewbauer pushed commit from @wfranzini to master « minor improvement to nix installation instructions (#40521) »: https://git.io/vpdW2
shikiryogy has joined #nixos
<boomshroom>
On a separate build, libidn-1.33-x86_64-unknown-linux-musl errored with `intprops.h:234:34: error: expected ')' before '(' token`
<iqubic>
Like just add a new package as an overlay?
<angerman>
why would binutils depend on the libcCross? That does feel incorrect to me, I'd love to be proven wrong though.
smallville7123 has quit [Client Quit]
<MichaelRaskin>
Ah, direct URLs do work
<MichaelRaskin>
Sounds like a plan, yes.
spear2 has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 265 seconds]
spear2 has joined #nixos
<MichaelRaskin>
Ah, maybe you do need the second deb, too
<iqubic>
I have the derivation of that too.
<shikiryogy>
Hi guys, is there a really simple way to run a binary? I don't want to package it, I don't want it reproducible or anything, I don't want to know its dependencies, sometimes I just need to test something fast and delete it, is there any way I can achieve that?
<Yaniel>
patchelf
<Yaniel>
oh actually
<boomshroom>
shikiryogy: From nixpkgs? `nix run` or `nix-shell -p`
<Yaniel>
depending on the binary you can try steam-run
<MichaelRaskin>
iqubic: should work then
<iqubic>
yeah, I'll try.
joehh1 has joined #nixos
<shikiryogy>
boomshroom: It is not from nixpkgs. For example I wanted to test if something looked correctly on firefox 60. For some reason the overlay did not work, and anyway, I wanted to download the binary and run it
<iqubic>
I suppose I can just create a new default.nix and an overlay that that runs self.callPackage, right? Isn't that how that works?
<iqubic>
Why would I need both the CUPSwrapper and the lpr files though?
<{^_^}>
→ 2e3783ed by @adisbladis: firefox-devedition-bin: 61.0b4 -> 61.0b5
<{^_^}>
→ 677f40dd by @adisbladis: firefox-beta-bin: 61.0b4 -> 61.0b5
bsima has quit [Quit: Bye!]
xy2_ has joined #nixos
<pemeunier>
Hi! I want to define a set using { x."${bla.bli}".y = true; x."abc".z = false; }, and sometimes ${bla.bli} might be equal to "abc".
<pemeunier>
Nix complains that the attribute is defined twice in that case, even though the actual attribute I want to set is ….y in one case and ….z in the other
<pemeunier>
Is there any way to get this to work?
knupfer has joined #nixos
<Lears>
You can do something like { x = lib.recursiveUpdate { "${bla.bli}".y = true; } { "abc".z = false; }; }
johann__ has joined #nixos
<pemeunier>
Lears: thanks!
<{^_^}>
[nixpkgs] @adisbladis pushed to master « emacsPackages.emacs-libvterm: Fix build (flipped over libvterm-neovim) »: https://git.io/vpdBZ
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to release-18.03: https://git.io/vpdBS
<{^_^}>
→ 81a48c85 by @ElvishJerricco: haskellPackages: Fix overriding all-cabal-hashes
<{^_^}>
→ 56f199b4 by @matthewbauer: Merge pull request #40561 from ElvishJerricco/backport-18.03-fix-overriding-all-cabal-hashes
<{^_^}>
[nixpkgs] @matthewbauer pushed commit from @alexfmpe to master « trivial-builders.nix: support directories in requireFile »: https://git.io/vpdB5
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #40568 → Allow recursive hash for requireFile so it can support directories → https://git.io/vp5SP
<{^_^}>
→ 90cfd65b by @LnL7: python-ipython: 5.6.0 -> 5.7.0
<{^_^}>
→ 16677a6e by @FRidh: Merge pull request #40576 from LnL7/ipython-5
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
hyper_ch2 has joined #nixos
hydraz has quit [Ping timeout: 240 seconds]
wangoe has joined #nixos
hydraz has joined #nixos
hydraz has quit [Changing host]
hydraz has joined #nixos
aarvar has quit [Ping timeout: 240 seconds]
smallville7123 has joined #nixos
Ariakenom has joined #nixos
<sphalerite>
Anyone familiar with failing builds due to -Wno-c++11-narrowing not being recognised by the compiler? This is specifically for chromium on armv7l-linux
jperras has joined #nixos
<infinisil>
> let bla.bli = "abc"; in { x = lib.recursiveUpdate { "${bla.bli}".y = true; } { "abc".z = false; }; }
<{^_^}>
{ x = <CODE>; }
adisbladis has quit [Remote host closed the connection]
<Myrl-saki>
<CODE>?
smallville7123 has quit [Quit: rosa]
<Myrl-saki>
wat
<{^_^}>
[nixpkgs] @mnacamura opened pull request #40584 → btops: init at 0.1.0 → https://git.io/vpd0C
jperras has quit [Ping timeout: 268 seconds]
smallville7123 has joined #nixos
smallville7123 has quit [Client Quit]
<sphalerite>
Myrl-saki: lazy evaluation
<elvishjerricco>
angerman: o/ While I'm waiting on some other things to be done, I'm playing around with your Cabal2Nix. I'm going to try to build a new generic-builder that's just based on `ghc-pkg` and `GHC_PACKAGE_PATH` to simplify the creation of the DB and the use of it in a nix-shell
ckauhaus has joined #nixos
<elvishjerricco>
technically this doesn't have anything to do with your Cabal2Nix, but together they'll make a very nice improvement to the current haskell infra in nixpkgs
<angerman>
elvishjerricco: did you see the compat adapter in haskell.nix, right?
<elvishjerricco>
angerman: Yea
<elvishjerricco>
This is just because it's *also* nice :P And it'd be cool if my new generic-builder just took the arguments generated by your Cabal2Nix
<angerman>
elvishjerricco: btw, I'll rename Cabal2Nix shortly to nix-tools; and the executables will be ${X}2Nix -> from${X}
<angerman>
to prevent confusion.
civodul has joined #nixos
<elvishjerricco>
nice
<angerman>
just so you know :-)
<elvishjerricco>
angerman: Is it possible to register stuff like --extra-frameworks with a GHC package db?
<angerman>
Myrl-saki: there's an alternate universe of tools, that do what cabal2nix, stack2nix,... do just with a different appraoch.
smallville7123 has quit [Client Quit]
johann__ has joined #nixos
stumble has joined #nixos
johanot has joined #nixos
adisbladis has joined #nixos
<boomshroom>
Good night guys!
boomshroom has quit [Quit: WeeChat 2.0]
thc202 has joined #nixos
adisbladis has quit [Changing host]
adisbladis has joined #nixos
joshie has quit [Ping timeout: 264 seconds]
joshie has joined #nixos
alex`` has joined #nixos
leat has joined #nixos
commander has joined #nixos
johann__ has quit [Quit: Leaving.]
Ross has quit [Ping timeout: 260 seconds]
Ross has joined #nixos
<{^_^}>
[nixpkgs] @peterhoeg pushed to master « vcal: init at 2.7 »: https://git.io/vpdgW
ckauhaus has quit [Remote host closed the connection]
<shikiryogy>
npm install compiles some stuff, and during the compilation I get './configure: ./sharpbang: /bin/cat: bad interpreter: No such file or directory'. Is there simple way to make it work?
<{^_^}>
→ 0d32d931 by @ktf: Add myself to the maintainers list
jtojnar has joined #nixos
<{^_^}>
→ 54cf5d93 by @ktf: pythonPackages.uproot: init at 2.8.23
<{^_^}>
→ 40edf5ee by @dotlambda: Merge pull request #39120 from ktf/add-uproot
<MasseR>
I'm trying to figure out systemd units and timers. I have a systemd-service declared with 'wantedBy = [ "timers.target" ];' and 'startAt = "11:16"'. The unit is started at the specified time, but it's also started with nixos-rebuild
ckauhaus has joined #nixos
johann__ has joined #nixos
<jD91mZM2>
MasseR: What happens if you remove wantedBy?
mmercier has joined #nixos
<MasseR>
sec
<MasseR>
at least it didn't run it during rebuild. Few more seconds until the designated time
<mmercier>
Hi all! It is possible to append content in an /etc file? I'd like to add something to /etc/inputrc but it seem that the only options are `environment.etc.<name?>.source` and `environment.etc.<name?>.text`
alex`` has quit [Ping timeout: 268 seconds]
freeman42x]NixOS has joined #nixos
<MasseR>
jD91mZM2: +1 thank you
<jD91mZM2>
:)
spear2 has joined #nixos
spear2 has quit [Client Quit]
Ross has quit [Ping timeout: 264 seconds]
Ross has joined #nixos
camsbury has joined #nixos
vaninwagen has joined #nixos
<stumble>
mmercier: I'm not sure what the best way is, but if you have to you can read in /etc/inputrc, and then write out its contents followed by your additions, back into /etc/inputrc.
<stumble>
There are useful primatives like builtins.readFile and builtins.concatStringsSep.
<mmercier>
stumble: Thanks, this is what I'm trying to do but I'd like to get it from nixpkgs and from /etc/inputrc (inputrc is here in the store: nixpkgs/nixos/modules/programs/bash/inputrc)
<reinzelmann>
Is anyone else using the zoom-us package? It complains about a missing libGL.so.1 to me.
<mmercier>
I didn't find a way for now...
MatrixStatsBot[m has left #nixos ["User left"]
alex`` has joined #nixos
<mmercier>
stumble: This seems to work: builtins.readFile /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/programs/bash/inputrc + "test"
__Sander__ has joined #nixos
humanoyd has joined #nixos
<stumble>
Great!
knupfer has joined #nixos
alex`` has quit [Client Quit]
<stumble>
How did you find the right path please?
jjj_ has joined #nixos
<mmercier>
using (builtins.elemAt nixPath 1).path
jjj_ has quit [Client Quit]
knupfer has quit [Ping timeout: 276 seconds]
<mmercier>
for the root of the path, then I look for the inputrc file in the nixpkgs repo
<mmercier>
the problem is that this command only give me a string and I didn't manage to convert it into Path...
<mmercier>
I tried builtins.toPath ((builtins.elemAt nixPath 1).path) but I still get a string O_o
smallville7123 has joined #nixos
<stumble>
Thanks.
<stumble>
I'm new to Nix, but that sounds like a question that a more experienced person can answer easily. Keep asking!
<mmercier>
Anyone knows why builtins.toPath do not return a Path?
<shikiryogy>
Is there a command that simulates a normal FHS?
jensens has joined #nixos
smallville7123 has quit [Quit: rosa]
<tilpner>
Yes, buildFHSUserEnv
orivej has quit [Ping timeout: 256 seconds]
smallville7123 has joined #nixos
knupfer has joined #nixos
<mmercier>
in Nix repl: `builtins.toPath "/tmp"` return `"/tmp"` is it a bug?
joko has quit [Changing host]
joko has joined #nixos
<infinisil>
> builtins.toPath "."
<{^_^}>
string '.' doesn't represent an absolute path, at (string):38:1
<infinisil>
mmercier: paths are strings
smallville7123 has quit [Client Quit]
<infinisil>
mmercier: What to you need exactly?
<infinisil>
Paths are *pretty much* strings
<tilpner>
> builtins.toPath "/foo/../bar"
<{^_^}>
"/bar"
hph^ has joined #nixos
hph^ has quit [Remote host closed the connection]
Twey has joined #nixos
sigmundv_ has joined #nixos
<steveeJ>
since my recent change on staruml (https://github.com/NixOS/nixpkgs/pull/40551) it can't open my previously created diagrams anymore. it seems weird as creating new diagrams and storing/loading them to/from disk works fine. there's no error output when attempting to load them. however, there's a locale warning when running staruml
adisbladis has quit [Remote host closed the connection]
leat has quit [Ping timeout: 240 seconds]
Arcaelyx has quit [Ping timeout: 276 seconds]
adisbladis has joined #nixos
stumble has quit [Read error: Connection reset by peer]
woboats has quit [Ping timeout: 256 seconds]
lostman has quit [Quit: Connection closed for inactivity]
woboats has joined #nixos
lonokhov has joined #nixos
hyper_ch2 has quit [Ping timeout: 260 seconds]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
ckauhaus has quit [Remote host closed the connection]
mk-fg has quit [Ping timeout: 265 seconds]
hyper_ch2 has joined #nixos
aramiscd_ has quit [Quit: WeeChat 2.0.1]
joehh1 has joined #nixos
johann__ has quit [Quit: Leaving.]
unkn has joined #nixos
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
orivej has joined #nixos
ericsagnes has quit [Ping timeout: 265 seconds]
ckauhaus has joined #nixos
Ariakenom has quit [Ping timeout: 260 seconds]
szicari has joined #nixos
stumble has joined #nixos
<{^_^}>
[nixos-org-configurations] @edolstra pushed 3 commits to master: https://git.io/vpdyG
<{^_^}>
→ f13767ee by @edolstra: Remove comment that breaks Apache 2.4.<something>
<{^_^}>
→ 5f7cb626 by @edolstra: Disable email sending on chef
<{^_^}>
→ 1dfde8a7 by @edolstra: Add new disk to chef
szicari has quit [Ping timeout: 240 seconds]
hyper_ch2 has quit [Ping timeout: 260 seconds]
maingo has quit [Quit: Connection closed for inactivity]
ckauhaus has quit [Ping timeout: 255 seconds]
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
mk-fg has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
mk-fg has joined #nixos
camsbury has quit [Ping timeout: 265 seconds]
mk-fg has quit [Changing host]
mk-fg has joined #nixos
adisbladis has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
Twey has quit [Quit: WeeChat 1.7]
vaninwagen has quit [Ping timeout: 248 seconds]
Rovanion has quit [Quit: WeeChat 1.4]
<infinisil>
Why do I have to compile qemu when doing a nixos-rebuild build-vm :/
ckauhaus has joined #nixos
leat has joined #nixos
smallville7123 has joined #nixos
Ariakenom has joined #nixos
Ridout has joined #nixos
Ross has quit [Ping timeout: 248 seconds]
ckauhaus has quit []
ckauhaus has joined #nixos
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
Ross has joined #nixos
<mmercier>
Ok I understand better now: I just wanted to join two path
Huddo121 has joined #nixos
ckauhaus has quit [Client Quit]
<mmercier>
thanks tilpner: I wanted to get the path of the inputrc file insind Nixpkgs, now it works with: (builtins.elemAt nixPath 1).path + "/nixos/modules/programs/bash/inputrc"
<stumble>
\o/
<tilpner>
Huh
<stumble>
tilpner++
<{^_^}>
tilpner's karma got increased to 4
<tilpner>
That doesn't seem like a good idea
<tilpner>
Is <nixpkgs/nixos/modules/programs/bash/inputrc> not an option, or did you not try it?
Profpatsch has joined #nixos
<tilpner>
For me, builtins.elemAt builtins.nixPath 1 refers to "/nix/store/mf0pq6471kq4y0fv3fszrpvz7sr4nbpp-nix-2.0/share/nix/corepkgs"
<infinisil>
Oh god, the znc module is messier than I thought
<infinisil>
There are functions declared but not used
<infinisil>
There are options declared but not used
<hodapp>
RUN
<infinisil>
It declares a default user/password, which doesn't get used as the default, but as an example
<infinisil>
Uses ${coreutils}/bin/<foo> for all bash functions
Ridout has quit [Quit: Lost terminal]
<sphalerite>
for bash functions..? o.O
<gchristensen>
infinisil: please remember somebody in the community wrote that module and would probably be happy for it to be improved, but your commentary isn't very respectful of their effort
<infinisil>
Yup, echo, cp, rm, etc.
<sphalerite>
cp and rm aren't bash functions :p
<infinisil>
gchristensen: I am currently trying to improve it
<infinisil>
sphalerite: Oh, okay but they are on PATH already
LnL has joined #nixos
<gchristensen>
please don't tear down the previous author in the process
smallville7123 has quit [Quit: rosa]
<etu>
gchristensen++
<{^_^}>
gchristensen's karma got increased to 3
<infinisil>
I should really blame the person who reviewed this
<gchristensen>
no, you shouldn't
camsbury has joined #nixos
<gchristensen>
it isn't helpful or constructive
<infinisil>
Well, somebody is to blame..
<gchristensen>
it isn't needed nor deserved
<infinisil>
I won't mention it to them of course
<Myrl-saki>
For nixops, can a machine set another machines' options?
<Myrl-saki>
Or at least set a variable that the other machine can use.
<infinisil>
Myrl-saki: Only in your nixop's config file
<infinisil>
Not within the nixos modules
<Myrl-saki>
infinisil: That's kinda what I need.
<infinisil>
Yeah you can't do that unfortunately, I've wanted that too
<infinisil>
But it's really not possible with how nixops currently works
<Myrl-saki>
infinisil: I want my nixops' config file to override the nixos module, such that it will enable something on the other machine.
<adisbladis[m]>
Infinisil: Blaming is not very constructive. Making a good PR and CCing the original author is.
<Myrl-saki>
infinisil: OTOH, can you tell me more about the "only in your nixops' file"?
<infinisil>
Myrl-saki: Ah yeah, that's possible, but you can't do anything from your nixos config directly, it has to be the nixops one
deepfire` has quit [Ping timeout: 256 seconds]
<adisbladis[m]>
A lot of nixpkgs contributors are nix newbies
<infinisil>
adisbladis[m]: Yeah I'll do that once I finish, am working on it
camsbury has quit [Ping timeout: 260 seconds]
<infinisil>
adisbladis[m]: But reviewers shouldn't be
<Myrl-saki>
So, if i understand, I can do `{ machine_a = { machine_b....};};` or?
patrl has joined #nixos
patrl has quit [Client Quit]
<gchristensen>
infinisil: laying blame is not helpful or productive and gets nobody anywhere except you feel whatever you feel by blaming people, and everybody else feels bad. no progress is made, the only thing changed is someone who is in the community now feels bad about the free work they did.
<infinisil>
Myrl-saki: Hmm what are you intending to use it for? Yeah something like that should work
<Myrl-saki>
infinisil: Basically
patrl has joined #nixos
<Myrl-saki>
infinisil: machine_a has a startup script, that should normally be run locally.
<Myrl-saki>
infinisil: But I want to do some horizontal scaling.
<infinisil>
gchristensen: I'm not thinking of blame as a bad word necessarily, just the git blame kind of way
<Myrl-saki>
infinisil: So instead, machine_b will run the startup script.
<{^_^}>
[nixpkgs] @worldofpeace opened pull request #40588 → kodiPlugins.osmc-skin: init at 17.0.4 → https://git.io/vpdNU
johann__ has joined #nixos
<Myrl-saki>
To make it even simpler, it's something along the lines of "machine_a will activate a service on machine_b"
<gchristensen>
that isn't what "<infinisil> Well, somebody is to blame.." means
<infinisil>
Myrl-saki: Hmm, so a runtime thing?
<Myrl-saki>
infinisil: What do you mean a runtime thing?
<infinisil>
Myrl-saki: "a will activate a service on b", so this happens at runtime, not at the config eval time?
<Myrl-saki>
infinisil: It happens at config eval time.
<Myrl-saki>
Basically, it will evaluate machine a, notice that I passed "machine b", so instead of starting the service on machine a, it will start the service on machine b.
<Myrl-saki>
By start, I mean enable.
acarrico has joined #nixos
<infinisil>
Maybe you want something like `let machineToRunItOn = "machineb"; in { <config> ${machineToRunItOn}.service.foo.enable = true; }`?
<Myrl-saki>
Yeah, that's exactly what I'm thinking.
astsmtl has quit [Read error: Connection reset by peer]
astsmtl- has joined #nixos
<Myrl-saki>
infinisil: To be more exact, I'll probably do something like `service.foo.machine = "machineb";`
<infinisil>
And then use the `nodes` argument?
<Myrl-saki>
infinisil: Wait, nodes argument?
<Myrl-saki>
Oh, I did not know that exists.
<infinisil>
nixops adds a nodes argument to the nixos modules, so you can do `{ config, lib, nodes, ... }:`
<infinisil>
nodes then contains all the nodes in your network
<infinisil>
machinea's config needs to be evaluated twice in the above example
<{^_^}>
[hydra] @edolstra pushed to master « Allow setting GC_INITIAL_HEAP_SIZE for hydra-eval-jobs »: https://git.io/vpdAU
<infinisil>
Once for machinea itself, and once for machineb which uses machinea's config
jtojnar has quit [Ping timeout: 255 seconds]
<infinisil>
Can make it rather slow
<infinisil>
Another one is that you can't make it recursive, this dependency cycle will give you infinite recursion in all cases: machinea.config -> machineb.config -> machinea.cnofig
<Myrl-saki>
infinisil: The idea is that if foo is null, then it will apply to the machine itself, but if foo is non-null, specifically, if it is "nodes.machineb.config", it will activate on the other machine.
<Myrl-saki>
infinisil: Yeah.
<infinisil>
You can do that with an option: add an option for every machine such as `myOptions.enableFoo` of type bool which when true activates the service, then you can set in your nixops config which one should have it set to true
<Myrl-saki>
infinisil: Right, but that's boring. :P
<infinisil>
Well I don't know of a way to pass such a foo argument, soo
<infinisil>
Options are the arguments of a nixos config in a way
iyzsong has joined #nixos
<Myrl-saki>
Interestingly, it results in "infinite recursion encountered" if it's null. Huh.
worldofpeace has joined #nixos
<Myrl-saki>
Or anything, really.
<infinisil>
The module to add the option can look like: { lib, config, ... }: with lib; { options.enableFoo = mkEnableOption "foo"; config = mkIf config.enableFoo { services.foo.enable = true; }; }
<infinisil>
Or even just services.foo.enable = config.enableFoo; if that's all you need
<Myrl-saki>
Right.
<Myrl-saki>
So basically.
<Myrl-saki>
I want to prepend to services.foo
<Myrl-saki>
So that I can specify "this machine" or "the other machine"
jtojnar has joined #nixos
<infinisil>
Yeah you need to do that in the nixops config
<infinisil>
I think
<Myrl-saki>
infinisil: Yeah, I understand.
<infinisil>
Ah wait
<Myrl-saki>
Anyways, I'm already at a dead-end.
<infinisil>
You could add an option for only one machine, then use `myenable = !config.machine_with_option.enableFoo`
<Myrl-saki>
I think each ${} *will* mean one traversal. Nothing less, nothing more.
<Huddo121>
Hello, is there a common reason that attempting to build a basic derivation would fail? I'm following along with the nix pills and I'm getting `builder for blah failed to produce output path other-blah`. Is this likely to just be a problem with the coreutils/bin/true builder?
<gchristensen>
that means it isn't creating anything at $out
deepfire` has quit [Ping timeout: 256 seconds]
fendor has joined #nixos
<sphalerite>
Huddo121: it does say that in the pill's text as well :) just read on
<{^_^}>
[nixpkgs] @xeji pushed commit from @baroncharlus to master « Add stubby resolver daemon service module (#38667) »: https://git.io/vpFv9
<Huddo121>
Oh wow, king dunderhead here, I think I should go to bed (- __ - ')
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #40591 → mpack: fix up broken paths → https://git.io/vpFfk
jperras has joined #nixos
karlguy has quit [Remote host closed the connection]
karlguy has joined #nixos
<sphalerite>
Huddo121: we all have our moments :P
deepfire` has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nuncanada has joined #nixos
karlguy has quit [Quit: Leaving]
<catern>
hey #nixos, is there a way to install multiple packages with the same name at the same time?
camsbury has joined #nixos
<catern>
with disambiguated names or something
<sphalerite>
catern: I don't think so with nix-env building the env for you, but if you write your own buildEnv expression and use nix-env --set it should work I think
<catern>
sphalerite: is there any guidance on that?
martingale has quit [Read error: Connection reset by peer]
martingale has joined #nixos
<catern>
sphalerite: hmm, is there a specific option there that will do what I want?
<sphalerite>
catern: just stick both of the packages in paths =
<catern>
eh? what will it do?
<avn>
catern: or you can rewrite some underlying packaes, to make them non-conflicting
wangoe has quit [Ping timeout: 276 seconds]
<sphalerite>
that will give you an env that contains both of the packages, which you can set your profile to using nix-env --set
<catern>
well, the package I want to install multiple of is, python 2 and python 3 pylinkt :)
<avn>
(some of them like firefox can rename own guts)
<sphalerite>
oh so the problem is path collisions as well as package name collisions?
<avn>
catern: do you need them from same shell? If not -- you can use nix-shell, or semi-deprecated myEnvFun even
<sphalerite>
+1 for "just use nix-shell"
<catern>
sphalerite: oh, yeah, sorry, I was not clear, the issue is path collisions
<catern>
I want them from the same shell
griff_ has joined #nixos
<{^_^}>
[nixpkgs] @Synthetica9 opened pull request #40592 → llvm6: default to gcc7 instead of gcc8 → https://git.io/vpFTP
<avn>
catern: try to refactor your workflow for `nix-shell use-python2.nix` and `nix-shell use-python3.nix` (at least it helps you when python4 come (joke))
<catern>
avn: I understand I can do that, and normally do, but I don't want to do that in this instance.
patrl has quit [Quit: WeeChat 2.0]
<sphalerite>
catern: in that case I'd probably go for something like runCommand "pylinkts" {} ''mkdir -p $out/bin ; ln -s ${pylinkts3}/bin/pylinkts $out/bin/pylinkts3 ; ln -s ${pylinkts2}/bin/pylinkts $out/bin/pylinkts2 '';
patrl has joined #nixos
<sphalerite>
assuming you only need the commands from them
<catern>
er, sorry, that was a typo, I meant "pylint" :)
<catern>
but yeah, okay
<avn>
I personally have few load-$customername-env or load-$activityname-env scripts to make my workflow more contextful
<catern>
then I'd install that package?
<sphalerite>
yeah. Or put it in the buildInputs for your nix-shell.
reinzelmann has quit [Quit: Leaving]
<catern>
makes sense, thanks!
patrl has quit [Quit: WeeChat 2.0]
hotfuzz_ is now known as hotfuzz
patrl has joined #nixos
deepfire` has quit [Ping timeout: 240 seconds]
aloiscochard has joined #nixos
camsbury has quit [Remote host closed the connection]
patrl has quit [Client Quit]
patrl has joined #nixos
<Myrl-saki>
What the fuck
<Myrl-saki>
Node JS is... weird.
<Myrl-saki>
There's no unpackPhase..
<Myrl-saki>
Maybe I should use fixupPhase.
Rusty1_ has joined #nixos
deepfire` has joined #nixos
halfbit has joined #nixos
mmlb10 has joined #nixos
alexteves_ has joined #nixos
patrl has quit [Quit: WeeChat 2.0]
patrl has joined #nixos
<hodapp>
MAYBE WE SHOULD JUST BURN NODEJS TO THE GROUND
<hodapp>
oh whoops did I say that out loud
michas__ has quit [Remote host closed the connection]
<{^_^}>
cannot import '/nix/store/jyc448bj0vzri8p4zgmwxa0h78pyv7pq-file.nix', since path '/nix/store/jyc448bj0vzri8p4zgmwxa0h78pyv7pq-file.nix' is not valid, at (string):38:1
jmc has joined #nixos
<cryp2nomicon>
once inside nix-shell, i have to `su` in order to be able to `pip install flask`. Is this the way?
<infinisil>
Oh, well I guess that doesn't work here, but how cool is that, you can write a file with contents "foo + 2" and do the scoped import thing to give foo a value, without having to create a lambda
<spacefrogg>
Is anyone successfully running hydra-2017-11-27 on nixos 18.03? Having configured some build hosts, the queue-runner still doesn't start any jobs and the dispatcher thread goes to sleep until the End of Time.
<gchristensen>
any logs in dmesg or journalctl on the remote builders?
<spacefrogg>
The dispatcher decides to not start any jobs.
<gchristensen>
I hear that, but have you checked for these specific logs?
<gchristensen>
spacefrogg: do you know how to find the drv for a build in hydra?
<arianvp2>
Anybody know where I could look for fixing this issue? https://github.com/NixOS/nixpkgs/issues/40355 it's currently blocking me from migrating to 18.03 as it breaks my install
jperras has quit [Quit: WeeChat 2.1]
<spacefrogg>
gchristensen: Not exactly.
rihards has quit [Client Quit]
<spacefrogg>
gchristensen: To add. It does build jobs that don't need a systemType. E.g. the manual
rihards has joined #nixos
<gchristensen>
what is systemType?
<spacefrogg>
gchristensen: And yes. I found the derivation
<spacefrogg>
gchristensen: It's call 'System' in the hydra frontend
<gchristensen>
nix show-derivation <the-drv> and look for something mentioning features
alex`` has joined #nixos
phreedom has quit [Remote host closed the connection]
<spacefrogg>
gchristensen: The one i've found does not mention any.
phreedom has joined #nixos
<spacefrogg>
gchristensen: I know about features, though, but it was worth the try.
<gchristensen>
spacefrogg: yeah, it is always just a bit of a mystery why something isn't building :P what happens if you run `nix-store --realize <the-drv> -vvvvvv` on the hydra server?
<{^_^}>
[nixpkgs] @xeji pushed commit from @Ma27 to master « nixos/statsd: refactor test (#40554) »: https://git.io/vpFgw
<alexteves>
what's the error?
<cryp2nomicon>
alexteves: error: undefined variable 'python36packages' at (string):1:94
<gchristensen>
python36Packages
<alexteves>
oops
<gchristensen>
spacefrogg: maybe try running the queue runner with `-vvv`
<gchristensen>
(or some number of v's)
justan0theruser has quit [Ping timeout: 256 seconds]
jmc has quit [Quit: WeeChat 2.0]
winem_ has quit [Ping timeout: 260 seconds]
<cryp2nomicon>
alexteves: works now. But the point is, i need to have 'pip'
justan0theruser has joined #nixos
<spacefrogg>
gchristensen: I did. I've come that far that machineTypes should list more systems like "x86_64-linux" and "x86_64-linux:local". When the queue-runner starts it wakes up the dispatcher once and then prints "dispatcher sleeping for 7696889806s". Which, I think comes from the fact that it does not find a matching job to be built.
<cryp2nomicon>
.. to read my requirements.txt and install the packages from there. I can do that,.. but i have to 'su'
<cryp2nomicon>
goibhniu: anyhow.. i can do it with pip.. but the weird thing is,... i have to 'su' first
<gchristensen>
cryp2nomicon: it is because pip is trying to writ to /nix/store, which is writable only by root / the nix builders
johann__ has joined #nixos
<gchristensen>
maybe consider using virtualenv?
johann__ has quit [Client Quit]
aloiscochard has quit [Quit: Connection closed for inactivity]
swaaws has quit [Quit: ZNC 1.7.x-git-881-fcc710b - https://znc.in]
<gchristensen>
spacefrogg: I have been in exactly the scenario you're in, and I don't remember the specific solution.
<gchristensen>
frequently, it is a features problem. it sounds like the remote builder pieces are declining the builds
<spacefrogg>
lewo`, gchristensen: Okay, I got it! I just added "builtin" to the list of systems for the localhost builder.
<spacefrogg>
This is not nice!
<gchristensen>
!!!
<gchristensen>
can you add that to their issue ?
<spacefrogg>
gchristensen: I do.
<gchristensen>
thank you
orivej has quit [Ping timeout: 276 seconds]
<spacefrogg>
gchristensen: Thanks for holding my hand.
<alexteves>
can I get nix-store --add-fixed --recursive on a symlink to use the symlink name but the target's contents?
<alexteves>
trying to avoid intermediate cp/mv commands
coot has quit [Quit: coot]
<lewo`>
spacefrogg: thanks a lot! I confirm it's also save my issue
<spacefrogg>
lewo`: Good! :)
<spacefrogg>
lewo`: Maybe close the issue, then.
<gchristensen>
docs neeed to be written!
<lewo`>
spacefrogg: yes, i'm doing it
<spacefrogg>
*tumbleweed*
<lewo`>
gchristensen: I will also have a look tomorow to improve the hydra test
raynold has joined #nixos
<lewo`>
it would be nice if the nixos hydra test could build something
mmercier has quit [Quit: mmercier]
stumble has quit [Ping timeout: 264 seconds]
cryp2nomicon has quit [Quit: leaving]
aminechikhaoui has joined #nixos
justanotheruser has joined #nixos
jgertm has joined #nixos
<ryantm>
Is there a build tool for combining the contents of two derivations?
<gchristensen>
buildEnv?
<spacefrogg>
runCommand?
<ryantm>
buildEnv looks like it, thanks.
maingo has joined #nixos
MichaelRaskin has joined #nixos
camsbury has joined #nixos
roconnor has joined #nixos
sanscoeur has joined #nixos
jD91mZM2 has joined #nixos
leat has joined #nixos
<jD91mZM2>
This feels very accusive on NixOS and I'm only asking because I am completely out of ideas: Is it possible that NixOS is somehow the reason I can't connect to 1.0.2.15 when running Redox from qemu?
<jD91mZM2>
10.0.2.15*
swaaws has joined #nixos
waleee has joined #nixos
<jD91mZM2>
I mean obviously the answer is no but I have no ask anyway because nothing I've tried works and I'm on generation 264 now trying to make bridge devices and all srts of confusing things
knupfer has joined #nixos
<johnw>
pierron: thanks
<pierron>
johnw: super.callPackage should do it for you if you were to write it in the Nixpkgs style.
camsbury has quit [Remote host closed the connection]
sigmundv_ has quit [Ping timeout: 256 seconds]
jperras has joined #nixos
MichaelRaskin has quit [Ping timeout: 256 seconds]
glittershark has quit [Ping timeout: 255 seconds]
grp has joined #nixos
coot has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
dmc has joined #nixos
jgertm has quit [Ping timeout: 240 seconds]
acarrico has quit [Ping timeout: 240 seconds]
coot has quit [Read error: No route to host]
acarrico has joined #nixos
coot has joined #nixos
camsbury has joined #nixos
<johnw>
pierron: I think I've lost the context; should do what for me?
camsbury has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
glittershark has joined #nixos
asuryawanshi has joined #nixos
<pierron>
johnw: { foobar = super.callPackage (./foobar/default.nix) {}; } should take all the dependencies from self.
<johnw>
ahh, nice!
knupfer has quit [Ping timeout: 265 seconds]
camsbury has joined #nixos
Ariakenom_ has joined #nixos
glittershark has quit [Ping timeout: 276 seconds]
acarrico has quit [Ping timeout: 240 seconds]
thblt has quit [Remote host closed the connection]
asuryawanshi has quit [Remote host closed the connection]
reinzelmann has joined #nixos
asuryawanshi has joined #nixos
nur0n0 has joined #nixos
glittershark has joined #nixos
glittershark has left #nixos [#nixos]
humanoyd has quit [Quit: WeeChat 2.1]
<dtz>
anything we can learn/borrow/improve/share back re:https://www.gnu.org/software/guix/blog/2018/tarballs-the-ultimate-container-image-format/ ? (via HN :3)
PLPD-Bot has quit [Remote host closed the connection]
martingale has quit [Read error: Connection reset by peer]
martingale has joined #nixos
xy2_ has quit [Quit: WeeChat 1.9.1]
xy2_ has joined #nixos
tertle||eltret has joined #nixos
Ariakenom_ has quit [Quit: Leaving]
<sphalerite>
How would I go about cross-building a package using natively-built dependencies? Is there a reasonable way to do this currently? (ping Sonarpulse because you know things about cross)
oida has quit [Remote host closed the connection]
oida has joined #nixos
<{^_^}>
[nixpkgs] @symphorien opened pull request #40614 → ries: init at 2018-04-11 → https://git.io/vpbJT
alexteves__ has quit [Ping timeout: 256 seconds]
oida has quit [Quit: byez]
grp has quit [Quit: box shutting down...]
broccoli_ has quit [Ping timeout: 255 seconds]
oida has joined #nixos
broccoli_ has joined #nixos
kreetx has quit [Ping timeout: 265 seconds]
szicari_ has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
<manveru>
anyone here worked on a crystal2nix?
szicari has quit [Ping timeout: 255 seconds]
asuryawanshi has joined #nixos
szicari_ has quit [Ping timeout: 248 seconds]
szicari has joined #nixos
kiloreux has joined #nixos
Izorkin has quit [Ping timeout: 248 seconds]
asuryawanshi has quit [Ping timeout: 260 seconds]
acarrico has quit [Ping timeout: 248 seconds]
griff_ has joined #nixos
iqubic has joined #nixos
<kiloreux>
I am trying to use makeWrapper to set LD_PRELOAD.
<kiloreux>
And i have two libraries to load and LD_PRELOAD libraries need to be space separated
<kiloreux>
facing this error "Builder called die: makeWrapper doesn't understand the arg"
<{^_^}>
[nixpkgs] @dtzWill opened pull request #40615 → dyncall: install cmake modules, man pages, use upstream's preferred URL → https://git.io/vpbka
<kiloreux>
Any possible help is greatly appreciated :D
<clever>
kiloreux: have you tried quoting that argument to makeWrapper?
<iqubic>
So I'm using NixOS. I had been using auto-login for the past month, but yesterday I decided that I wanted to use LightDM and enter my password manually.
<iqubic>
I'm noticing that LightDM takes a good 5 seconds to load, during which all I see is a black screen.
<kiloreux>
clever, That solved it. Thank you.
<iqubic>
and then when it does load, I see the Grey striped Nix Background, but there's an issue with the greeter. It's all black, instead of the standard greyish white.
<Synthetica>
Did you select high contrast mode (upper right corner)?
<iqubic>
Like I see the user icon, and the text entry box for my password, but around that is a black rectangle
<iqubic>
Synthetica: No. I didn't. I even tryed to switch to high contrast, and back, but that did nothing.
pip3000 has joined #nixos
<iqubic>
I'm concerned that LightDM isn't working properly, because after the SystemD scrolling text, I get an entirely black screen for 5 seconds, before LightDM appears.
szicari has quit [Quit: szicari]
<iqubic>
So anyone know how to fix one or both of these issues?
romildo has joined #nixos
romildo has left #nixos [#nixos]
<clever>
iqubic: anything abnormal in the journal for lightdm or `systemd-analyze blame` ?
<iqubic>
clever: I'm not sure. I can't look at that right now, as I'm not at home. I'll be able to take a look at this in about 20 minutes, if you can wait.
<iqubic>
Sorry to bring up my issue before I can actually work on fixing it.
<clever>
iqubic: yeah, i can wait
<infinisil>
Noooo... My git bisect needs to build llvm :/
<pip3000>
@clever no
<pip3000>
internal laptop keyboard
<iqubic>
inifinisil: Why? And is that a bad thing?
<clever>
pip3000: do you have a usb one on-hand to test that out as well?
<infinisil>
iqubic: Hmm It's actually not too bad, it's a rather big project so it takes some time to compile
<pip3000>
yes I have
<pip3000>
good idea :)
<Synthetica>
llvm takes like 1.5 hours to build on my machine 😅
<iqubic>
But why do you need to build llvm in order to do your git bisect stuff?
<iqubic>
Synthetica: Why are you building it from source?
<iqubic>
We're aren't running Gentoo here.
<{^_^}>
[nixpkgs] @dtzWill merged pull request #40615 → dyncall: install cmake modules, man pages, use upstream's preferred URL → https://git.io/vpbka
<{^_^}>
→ c8996506 by @dtzWill: dyncall: install cmake modules, man pages, use upstream's preferred URL
<{^_^}>
→ 12911116 by @dtzWill: Merge pull request #40615 from dtzWill/fix/dyncall-touchup
<infinisil>
iqubic: Because that's just the way it is, nix builds the exact dependencies, and if they don't happen to be in the cache they need to be built myself
<iqubic>
Alright then. That sucks. Can't you just get a binary of llvm?
<Synthetica>
Also: I build from source whatever I damn well please :P
<{^_^}>
[nixpkgs] @bachp opened pull request #40616 → Minio server and client update →
<iqubic>
How do you do that on NixOS?
<infinisil>
It's nix, they way i get binaries is from the cache
<iqubic>
I'm not sure I understand at all, but okay.
<infinisil>
You seem to never have done a git bisect on nixpkgs
<pip3000>
@clever it's working with the usb keyboard
<infinisil>
It's incredibly useful, it allows you to find the exact commit that broke something
<pip3000>
how do i enable the internal laptop keyboard?
<pip3000>
for stage 1
<{^_^}>
[nixpkgs] @bachp opened pull request #40617 → prometheus: correctly set version information → https://git.io/vpbtf
<clever>
pip3000: we will need to identify which kernel module handles it, and add that to boot.initrd.availableKernelModules in your configuration.nix
broccoli_ has quit [Ping timeout: 256 seconds]
<iqubic>
infinisil: I have not ever done that. I don't work with nixpkgs ever. I figure that if I need to udate a package in nixpkgs, I'll write myself an overlay.