<techieAgnostic>
im having trouble getting a haskell dependency to work, would it be ok to go through what im doing and see whats going wrong?
acowley has joined #nixos
<gchristensen>
yep!
biopandemic has quit [Quit: Quit.]
<techieAgnostic>
ok so ive got a cabal file, and in the build depends i have base, and simpleirc. i then use cabal2nix to put that into a file, and run nix-build on a second nix expression that runs haskellPackages.callPackage on the first expression
<techieAgnostic>
then i run nix-build using that, and it goes up until trying to sort out simpleirc, where it fails to find some modules
<techieAgnostic>
ive tried adding those modules to the nix expression, but then it asks about things being called without arguments
<clever>
techieAgnostic: can you post all the files into a gist?
<clever>
techieAgnostic: monadic was removed in 1.10.0 of hspec
<techieAgnostic>
Ahh that makes sense
<clever>
so simpleirc needs to be updated, or hspec downgraded
<techieAgnostic>
Ahh ok, thanks for the help :)
pointfourone has joined #nixos
rprije has joined #nixos
<pointfourone>
Hey! So, after I install the Nix package manager on a distro, say Ubuntu 18.04, I'd like to install some packages. Say I installed unbound 1.7.3 from Nix. I already have unbound 1.6.3 from apt. Can I switch between the two? It seems that Ubuntu uses the unbound from Nix rather than from apt. How does it do that?
<clever>
pointfourone: run `which --all unbound`
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fAJzY
<clever>
techieAgnostic: in project.nix, do `hsPkgs = pkgs.haskellPackages.override { overrides = self: super: { .... }; };` and then use hsPkgs
<clever>
techieAgnostic: that will let you override packages
<pointfourone>
clever: I get the locations of the two different binaries, one installed by nix and the other by apt. If both of them are in the $PATH, why is one preferred over the other?
<pointfourone>
Is it simply because the nix binary lies first?
<pointfourone>
in the $PATH, I mean?
<clever>
pointfourone: yeah
<clever>
pointfourone: but you can always use an absolute path to run one of your choice
<pointfourone>
Ok.
<pointfourone>
One more question.
<pointfourone>
If I wanted to run a systemctl service for unbound, I don't get a systemctl unit when I install unbound from nix. Do I have to create the systemd unit file myself?
<clever>
pointfourone: yeah, the systemd stuff is part of nixos, which cant run under ubuntu
vidbina has quit [Ping timeout: 268 seconds]
<pointfourone>
clever: So I'll have to create my own unit files with the modified paths of binaries?
<pointfourone>
This is when I'm uising nix in a distro other than NixOS?
<growpotkin>
yeah i can help you out
<growpotkin>
whoops my ad
<growpotkin>
bad*
<growpotkin>
my chat was scrolled way up. I was replying to the Haskell question.
<pointfourone>
growpotkin: It's fine. :)
<clever>
pointfourone: yeah
<pointfourone>
clever: Ok, thanks!
<growpotkin>
we could probably write a function to port systemd files yeah?
pointfourone has left #nixos [#nixos]
sir_guy_carleton has joined #nixos
alexteves has quit [Remote host closed the connection]
joebobjoe has quit [Ping timeout: 240 seconds]
<clever>
growpotkin: possibly
dbmikus_ has joined #nixos
<{^_^}>
[nix-pills] @acowley opened pull request #79 → Add a note on adapting content for darwin → https://git.io/fAJgO
silver has quit [Read error: Connection reset by peer]
<growpotkin>
is there a way to convert a string to a relative path? I know I can do the whole getEnv "PWD" trick, but thats ugly lol
joebobjoe has joined #nixos
<{^_^}>
[nix-pills] @acowley opened pull request #80 → Nix on darwin note: use a `<note>` element → https://git.io/fAJa6
<growpotkin>
just give me `import ("./foo/" ++ "bar")` ! lol
trevthedev has joined #nixos
<clever>
growpotkin: ./. + "/foo/bar"
<growpotkin>
my god you're my hero
<growpotkin>
ty
<{^_^}>
[nixpkgs] @matthewbauer pushed to master « qtwebengine: remove old darwin patch »: https://git.io/fAJaQ
joebobjoe has quit [Ping timeout: 272 seconds]
jrolfs has quit [Ping timeout: 268 seconds]
lord| has quit [Read error: Connection reset by peer]
Fare has joined #nixos
lord| has joined #nixos
abueide has joined #nixos
lassulus_ has joined #nixos
abueide has quit [Ping timeout: 276 seconds]
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
carlosdagos has joined #nixos
<adamantium>
clever: i'm curious, what you think about using home-manager and zfs, i typically have a separate /home dataset ,but with home-manager storing its state in /nix I wonder if this could cause side affects unwanted
<adamantium>
I'm not sure, what would happen if i did a rollback on /home for instance
<adamantium>
(zfs rollback)
<clever>
adamantium: i think part of what home-manager does, is copying things out of the store and into the real /home
<clever>
adamantium: and part of it is just setting up symlinks that point into the store
<adamantium>
see i have no idea what it does
<clever>
i dont even bother with home-manager
<adamantium>
but i want a turn key solution for everything, so i'm looking at it, and stow, and others
<{^_^}>
[nix-pills] @grahamc merged pull request #80 → Nix on darwin note: use a `<note>` element → https://git.io/fAJa6
<adamantium>
clever: i see, well, i wonder if it couples home to /nix or if it does not. i want to be able to manipulate a home dataset without too much worry
<clever>
run ls -l on the files its managing and look at what it did
<{^_^}>
[nixpkgs] @cdepillabout opened pull request #45415 → virtualbox: Change the virtualbox tests to not build the unfree tests by default → https://git.io/fAJwu
trevthedev has quit [Quit: WeeChat 2.0]
lawlesseel has quit [Remote host closed the connection]
witchof0x20 has quit [Remote host closed the connection]
witchof0x20 has joined #nixos
klntsky has quit [Ping timeout: 250 seconds]
oida has quit [Ping timeout: 250 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
klntsky has joined #nixos
oida has joined #nixos
iwakura0613 has joined #nixos
<iwakura0613>
What is the average amount of packages that's considered reasonable?
<ekleog>
something like “if you run (compiler+program) enough times in a row by considering the output to be the source code for a programe, it'll end up with a quine”?
Tucky has joined #nixos
<ekleog>
sounds like that'd work pretty well with C, not sure about other languages :°
<Enzime>
gchristensen: is there a way to get OfBorg to build something ignoring the current PR?
<Enzime>
I want to see if the PR causes a breaking change
<Enzime>
or if it was previously broken on that platform
<andi->
Enzime: hydra?
<Enzime>
andi-: ah, true
mmercier has quit [Remote host closed the connection]
thc202 has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ericson2314 has quit [Ping timeout: 276 seconds]
lawlesseel has joined #nixos
fragamus has joined #nixos
<{^_^}>
[nixpkgs] @adisbladis opened pull request #45420 → vips: Add darwin support → https://git.io/fAJ95
orivej has joined #nixos
<{^_^}>
[nixpkgs] @srhb opened pull request #45421 → nixos/dhcpcd: Wait for devices to settle → https://git.io/fAJ9x
<Havvy>
I keep key programs I want on all users in my configuration.nix and then programs I always want available for myself in nix-env and then shells for development.
<manveru>
i have it split among nixos, home-manager, and nix-shell
<ekleog>
Myrl-saki: oh, only with nix it'd be with home-manager and/or shell.nix
<srhb>
c15ade4: In what sense do you mean "supported"? You won't be able to build all of nixpkgs with it, as far as I know.
<ekleog>
if y'all use home-manager, I wonder… how do you handle computers where nix cannot be installed?
<srhb>
But you can get a musl stdenv if you want.
<Myrl-saki>
srhb: Heck, you can't even build all of nixpkgs with clang. :P
<srhb>
Myrl-saki: Indeed.
<c15ade4>
srhb: are there instructions somewhere?
<jasongrossman>
I had trouble with disk space at one point - I think I had some gc roots that I couldn't find. Since switching to a new disk I've been happily avoiding gc.
<iwakura0613>
This should work for hosts file management, right?
<iwakura0613>
networking.extraHosts =
<iwakura0613>
"
<iwakura0613>
. /home/iwakura/hosts
<iwakura0613>
";
<c15ade4>
I'm just messing around trying to measure boot times for different configs
<Myrl-saki>
c15ade4: You just have to override stdenv.mkDerivation, IIRC
<srhb>
iwakura0613: I mean you'll literally get the line ". /home..." in /etc/hosts with that
<srhb>
iwakura0613: I don't think that's a valid directive in that file
<Myrl-saki>
Ugh. Now I'm starting to feel weird again.
<iwakura0613>
Then what'd be a proper way to direct to the file without copying all 15k lines into the configuration
<Myrl-saki>
How do you actually build with Musl, pre-18.09?
hyper_ch2 has joined #nixos
<Myrl-saki>
overlay the stdenv?
<ekleog>
Havvy manveru: if you use home-manager, I wonder… how do you handle computers on which you have an account but where nix cannot be installed?
<{^_^}>
[cabal2nix] @peti pushed to master « xmonad: update post-process hook that installs the man page for 0.14.2 and later »: https://git.io/fAJ5J
<srhb>
iwakura0613: Import it as a string, then set networking.extraHosts to that string?
<Myrl-saki>
Seems like there's no way to build with a custom stdenv aside from overlays.
<manveru>
ekleog: there's no such thing
<jasongrossman>
srhb: Yes, I do that.
<Havvy>
ekleog: I'm not using home-manager at this time.
<Myrl-saki>
`foo.overrideAttrs { stdenv = ...; }` only overrides the stdenv for foo.
<srhb>
Myrl-saki: Usually various stdenv adaptors
<ekleog>
manveru: oh. well, a debian where I'm not root without userns is pretty much this :° could try nix-in-proot, I guess
<Myrl-saki>
srhb: How would you call it?
<ekleog>
Havvy: 'k thanks :)
<srhb>
Myrl-saki: For instance overrideCC someStdenv someOtherCC
<srhb>
Myrl-saki: see pkgs/stdenv/adapters.nix
<srhb>
And there's also different stdenvs in there..
<Myrl-saki>
srhb: Right, what I mean is how do you get callPackage to propagate the stdenv to all the children, for example
<Myrl-saki>
s/children/dependencies/
<manveru>
ekleog: well, i've also used proot some years ago, it's a bit of a pain to make work right... but i guess in this case you don't have any display anyway?
<ekleog>
manveru: no display indeed, but my dotfiles for vim etc. would be handled in home-manager, I guess
<ldlework>
Does anyone know how to get my "services.xserver.windowManager.qtile.enable = true;" to use the qtile package from unstable? I have an unstable overlay at pkgs.unstable
<ldlework>
dunno how to get the windowManager setting to use the unstable version
<manveru>
ldlework: using overlay probably, doesn't look configurable
<ldlework>
I tried self: super: { qtile = super.unstable.qtile; }
mbrock_ has quit [Quit: Connection closed for inactivity]
saruspete has left #nixos ["Leaving"]
ericsagnes has joined #nixos
<tim_nixos>
Hey guys, I'm struggling to setup local/temporary nix-shell environments for haskell. With Python I am specifying something like this: https://pastebin.com/SAUbD2j6 and save it as 'shell.nix' in my working dir. But I am not able to create a similar expression that will provide me the ghc(i) in a nix-shell.. basically I would like to have the first statement here: https://nixos.org/nixpkgs/manual/#how-to-create-ad-hoc-environments-f
worldofpeace has joined #nixos
<srhb>
tim_nixos: You got cut off during the manual URL
<manveru>
no idea why though, somehow the control codes aren't interpreted?
<manveru>
if i pipe it into `more`, it works fine
<manveru>
also `less -R` works
init_6 has joined #nixos
<srhb>
manveru: Are you using nixUnstable?
<manveru>
yeah
<srhb>
Ah, right.
orivej has quit [Ping timeout: 276 seconds]
sphalerite has quit [Ping timeout: 256 seconds]
joebobjoe has quit [Ping timeout: 265 seconds]
alex`` has quit [Quit: WeeChat 2.2]
sphalerite has joined #nixos
joepie91_to_go has joined #nixos
<joepie91_to_go>
I'm trying to install the dependencies for a JS/Electron-based project through npm/yarn for local development purposes, and one of the dependencies is `bs-platform` which has its own fancy build scripts...
<joepie91_to_go>
... resulting in this error:
<joepie91_to_go>
./configure: ./sharpbang: /bin/cat: bad interpreter: No such file or directory
leotaku has quit [Ping timeout: 265 seconds]
mayhewluke has joined #nixos
<joepie91_to_go>
what's the easiest way to get this build process working?
<Yaniel>
can't you use pretty much anything in a shebang
revtintin has joined #nixos
rprije has quit [Ping timeout: 256 seconds]
<qyliss^work>
Anything that reads from stdin. The OS doesn't care.
<thblt>
I have a strange issue with LightDM. When I set services.xserver.displayManager.lightdm.autoLogin.enable = true; autologin works but it logs me into a XTerm session and not my usual XMonad. How can I fix this?
<ldlework>
Why am I getting "attribute 'buildPythonPackage' missing", I've tried pkgs. and lib.
<qyliss^work>
If spotipy isn't already in nixpkgs I think you'll need to add it.
<joepie91_to_go>
LnL: install process is managed by npm/yarn so I cannot patch the build script
<bkchr[m]>
Hi, how can I run `make VERBOSE=1` with `nix-build`?
<qyliss^work>
bkchr[m]: what are you running currently
<bkchr[m]>
qyliss^work: nothing :D I just need `VERBOSE=1` for an upstream bug report
tim_nixos has quit [Ping timeout: 252 seconds]
<qyliss^work>
bkchr[m]: Easiest thing to do would just be to edit the package definition probably
<qyliss^work>
`nix edit nixpkgs.whatever`
<Lears>
thblt: you might be able to set a default session for lightdm to use for autologin, but if you're not using the xterm session then presumably you can just set services.xserver.desktopManager.xterm.enable = false.
<bkchr[m]>
qyliss^work: okay, that is also what I thought. But I thought that there would maybe be an easier way
<qyliss^work>
And add `buildFlags = [ "VERBOSE=1" ];'
<qyliss^work>
You could also use `nix-shell`
<{^_^}>
[nixpkgs] @zimbatm merged pull request #45391 → Add some substitutions for the ip calls in ManagedRoutes. Fixes #45022 → https://git.io/fAfM8
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @boothead to master « zerotierone: fix route handling on Linux (#45391) »: https://git.io/fAULN
<qyliss^work>
Run `unpackPhase` and `configurePhase` in `nix-shell -A package`, then run `make VERBOSE=1`.
<bkchr[m]>
Yeah, I just edited the file
<bkchr[m]>
thanks
<qyliss^work>
:)
Tucky has quit [Quit: WeeChat 2.2]
Tucky has joined #nixos
<thblt>
Lears: thanks, trying this
jD91mZM2 has joined #nixos
<thblt>
Lears: this wasn't the solution, but it failed with an error message pointing to the actual solution, so thanks again, issue solved :-)
<thblt>
(fwiw "LightDM auto-login requires that services.xserver.desktopManager.default and
<thblt>
services.xserver.windowMananger.default are set to valid values. The current
<thblt>
default session: none is not valid.")
__lawlesseel__ has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « proselint: 0.10.0 -> 0.10.2 (#45170) »: https://git.io/fAUtw
<thblt>
When I find the time I'll send a documentation PR to add this to autologin.enable's docstring
<nikivi>
I cant find latex distribution on nixpkgs
<nikivi>
I remember using this to install it on my previous machine: nix-env -iA nixpkgs.texlive-combined-full
<nikivi>
but it seems the package is no longer there
<joepie91_to_go>
I seem to have worked around my issue using an FHS env
joebobjoe has joined #nixos
trcc has joined #nixos
<thblt>
nikivi: [nixos|nixpkgs].texlive.combined.scheme-full I think
<nikivi>
there is texlive-combined-full-2017 but it mentions scheme-full
<nikivi>
isn't scheme a language
Yardanico has joined #nixos
<Yardanico>
hello everyone, what's the preferred method to handle user configuration (so I don't need to modify configuration.nix when I need to add some packages to user)?
<ldlework>
qyliss^work: i mean, let's say it doesn't, then what
<qyliss^work>
Then I don't know
<ldlework>
then we find out it does, then what
ashkitte1 is now known as ashkitten
<ldlework>
:(
<qyliss^work>
I've never come across that when doing Python packaging in Nix
<ldlework>
qyliss^work: could we do some "substituteInPlace" on the setup.py/requirements.txt
<qyliss^work>
Well, you could, but that would require it being compatible
<ldlework>
Well there is only one way to find out right?
<qyliss^work>
There must be examples of multiple versions of a python package being in nixpkgs.
<qyliss^work>
I'd ask upstream if there's any reason for it.
<qyliss^work>
It might be something subtle.
<ldlework>
qyliss^work: i just wanna control spotify :)
<ldlework>
qyliss^work: is another way to do it to override the spotipy package so it does an older version, and then refer to that in the propagated builds?
<ldlework>
i think sometimes it is just a matter of changing name= or version=
<ldlework>
depending on how the derivation is constructed
<qyliss^work>
Yeah that would work
<qyliss^work>
Are you intending on whatever you're packaging ending up in nixpkgs?
<qyliss^work>
Or is this just for personal use
<ldlework>
i'm just trying to hack things so i can use em
<ldlework>
lol
<ldlework>
"ooh the rofi spotify thing is in nixpkgs!"
<ldlework>
3 hours later...
<qyliss^work>
Yeah in that case probably you could just override the spotipy package
<ldlework>
spotipy = pythonPackages.spotipy.override { version = "2.3.8"; };
<ldlework>
called with unexpected argument 'version',
<{^_^}>
[hydra] @edolstra merged pull request #590 → Allow for precisely one instance of RunCommand plugin → https://git.io/fAUBw
hyper_ch2 has quit [Quit: Page closed]
<ldlework>
,locate xcb-ewmh.pc
<{^_^}>
Found in packages: xlibs.xcbutilwm.dev
mayhewluke has quit [Ping timeout: 265 seconds]
mayhewluke has joined #nixos
jperras_ has quit [Read error: Connection reset by peer]
jperras_ has joined #nixos
<Ankhers>
gleber_: ping
jonge has joined #nixos
<ldlework>
man
<ldlework>
I thought I was getting so far with packaging Teiler
marcinkuzminski has joined #nixos
<ldlework>
things compile, and run
<ldlework>
but don't work
<ldlework>
xininfo -active-mon ~
<ldlework>
Failed to find monitor
* ldlework
sighs
ryanartecona has quit [Remote host closed the connection]
orivej has joined #nixos
ejpcmac has joined #nixos
<ejpcmac>
Hello! Is there a way to avoid garbage-collecting dependencies of a nix-shell?
<ejpcmac>
I could rename my `shell.nix` to `default.nix` and add a minimal `builder.sh` that just `mkdir $out`, but this feels like a horrible hack to me.
sphaugh has quit [Remote host closed the connection]
<marcinkuzminski>
I've got a question, how does nix determin order of PYTHONPATH when using `wrapProgram` I'm getting an odd behaviour that wrapped programs, does a lot of `ENOENT (No such file or directory)` when executed those wrapped programs prefixed with `strace -f` So is this expected ?
<ocharles>
Does anyone know how to use pkgs.releaseTools.aggregate where constituents should be all recursive attribute values from an attrset?
<ocharles>
E.g., I have jobs = { foo = { bar = ...; baz = ..; }; waffles = ..; }, and I want an aggregate with bar, baz and waffles, but without having to be explicit about anything
<ocharles>
I dunno if recurseIntoAttrs works there
grp has quit [Ping timeout: 255 seconds]
<ocharles>
aha, "flatten"
grp has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<ocharles>
bah, no, flatten is for lists
<ocharles>
ok, pkgs.lib.collect ( x: x ? outPath ) jobs seems to be the ticket
<samueldr>
(you can also have much better granularity and can even use regexes using nix-index)
<genesis>
but i've to find a full db
<samueldr>
nix-index should take care of it itself
phreedom has joined #nixos
<genesis>
i'm trying to update navit :)
<genesis>
nix-index build index from nix store, so if i don't have the file, it can't locate it, it's not as useful as the bot.
<infinisil>
genesis: Nope, nix-index works without you needing to have stuff in your store
__Sander__ has quit [Quit: Konversation terminated!]
Ariakenom has quit [Ping timeout: 272 seconds]
Drakonis has joined #nixos
ThatDocsLady has quit [Ping timeout: 256 seconds]
Fare has joined #nixos
<Yardanico>
hello everyone, should I install apps like plank into my user or via configuration.nix from root? Because if I install it from configuration.nix I can't change plank's settings from plank itself
<infinisil>
Yardanico: It shouldn't make any difference, the binary will be exactly the same
<Yardanico>
infinisil, so plank in log says: "[Preferences:192] '/nix/store/5j6v0x75v1xf2jwdj87asib17vwhawh5-plank-0.11.4/share/plank/themes/Default/dock.theme' is read-only!"
<Yardanico>
and I can't basically change any options in it
<infinisil>
Yup, that will be exactly the same in user/system installations
arjen-jonathan has quit [Ping timeout: 272 seconds]
<infinisil>
The build probably needs to be fixed then
<Yardanico>
well, I also can't edit gnome-terminal settings from its' GUI
teej has joined #nixos
<infinisil>
That's probably a dbus failure instead, not sure
<Yardanico>
ah yeah, plank also spams a lot: "[dconf] failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files"
vidbina has quit [Ping timeout: 272 seconds]
<infinisil>
You can search for whether there's an issue for these errors already, or open one yourself if that's not the case
<infinisil>
Yardanico: Regarding the plank thing, can't you copy that config file to some path in $HOME, modify that and then make plank use that config file instead?
Ariakenom has joined #nixos
chreekat has quit [Ping timeout: 256 seconds]
abueide has quit [Remote host closed the connection]
chreekat has joined #nixos
Izorkin has quit [Ping timeout: 256 seconds]
sigmundv__ has quit [Ping timeout: 256 seconds]
IRCsum has quit [Ping timeout: 256 seconds]
abueide has joined #nixos
IRCsum has joined #nixos
<teej>
Hi everyone. Is this channel also used to discuss about Nix (package manager)?
Izorkin has joined #nixos
<samueldr>
yes!
dbmikus has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<infinisil>
Yardanico: Whatever you prefer, either seems to be fine
hotfuzz_ is now known as hotfuzz
<infinisil>
Yardanico: You could also try fixing it yourself :D
<dhess>
Anyone have any tips for using Nix on a plane, i.e., without an Internet connection?
<gchristensen>
open a nix shell before you need it
<dhess>
yeah, got that.
<dhess>
I have about 10 open right now :)
<infinisil>
Opening a nix-shell needs internet access? :/
<dhess>
if it needs to download packages it does
<gchristensen>
it does if you haven't fetched all your nix-shell's dependencies
<infinisil>
Ah right
<infinisil>
dhess: Turning off automatic gc if you have it enabled
<gchristensen>
dhess: if your wifi on the plane is bad, turn it off -- that can mess things up... that is about all I've got :P
<dhess>
"wifi"
jperras_ has quit [Quit: WeeChat 2.2]
<dhess>
gchristensen: thanks. I figured that's about the best I can do
<gchristensen>
I mean
<gchristensen>
that is pretty great right there that there isn't really much more to do :)
<dhess>
When I did raw cabal-based development, I had a script that mirrored Hackage's package repo to my laptop, which was pretty handy
<dhess>
not really an option with Nix :)
<infinisil>
You know what would be cool: Being able to download nixpkgs most-used derivation outputs in one go. So when you update nixpkgs, you download that, and a lot of things after that will work without waiting time (and on an airplane)
<gchristensen>
all of the ones I am frustrated I don't have, of course!
<dhess>
hehehe
<dhess>
that is the correct answer
<samueldr>
(people using outputs or the derivation being part of a closure inside nixpkgs?)
<infinisil>
samueldr: I guess a cool solution would be to have your nix-instantiate do the stats on which attributes you eval the most, and make most-used be based on that
<infinisil>
samueldr: Or on a global level it could be done with commit counts on files in nixpkgs
<infinisil>
(I'm using that with ,find)
<gchristensen>
dhess: my last flight, I deployed to a large nixops network from the plane :)
<manveru>
dhess: crank up your tarball ttl
<gchristensen>
I ran `nixops deploy --dry-activate` over and over until it got the new version on all the nodes and then used --include to activate it on one node at a time
<infinisil>
samueldr: Or if it's possible: hydra could do the stats on which derivations gets downloaded the most, and track that back to the attrs somehow
<samueldr>
probably sure hydra doesn't know what gets accessed on S3 :/
<samueldr>
s/probably/pretty
<gchristensen>
(hydra has no stats on what gets downloaded, though those stats do exist, however they're treated as very sensitive data and not available to much of anyone)
<infinisil>
Wasn't there some maths to be able to collect stats but anonymize+randomize them?
<infinisil>
So nothing can be tracked back, but you still get useful results (with enough volume)
<Dezgeg>
maybe someone could develop a debian popcount-style program where you could voluntarily submit what you use from Hydra
<gchristensen>
that'd be cool
<infinisil>
Dezgeg: services.reporting.enable = true; would be nice
<kalbasit[m]>
nix-instantiate seems to work `nix-instantiate ./external/nixpkgs.nix`. weird I can't get it to work with `nix eval`
sigmundv__ has joined #nixos
Fare has quit [Ping timeout: 276 seconds]
jperras has joined #nixos
IRCsum has quit [Remote host closed the connection]
erickomoto has joined #nixos
Denommus has joined #nixos
IRCsum has joined #nixos
<{^_^}>
[nixpkgs] @7c6f434c pushed to master « gensgs: update src link »: https://git.io/fAUyv
<disasm>
is it possible to know what the current phase is in a builder?
<gchristensen>
hrm, what is your goal?
palo has joined #nixos
Thra11 has quit [Quit: WeeChat 1.4]
<palo>
Dezgeg: lassulus and me are struggeling with the message in nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix about it is not possible to cross-compile the raspberrypi sd-image.
<disasm>
say I have buildPhase and checkPhase. They both wrap someCommand, in someCommand, I want to output something that says time-build-real and time-check-real.
<Dezgeg>
yeah I haven't tried cross-compiling it myself but I hear other people are working on it
<infinisil>
manveru: I keep suggesting this idea more and more, because it solves problems like yours: To have modules provide a config option that gets used to generate the config file string
<infinisil>
manveru: So config.foo.bar = true; could get turned into "[foo]\nbar=true` in an .ini file
<infinisil>
Then such defaults can be provided like this, and it will be possible to override them
<infinisil>
I did that in my #41467 (which I still need to finish)
pikajude has quit [Remote host closed the connection]
<palo>
elvishjerricco: The option `nixpkgs.crossSystem' defined in ... does not exist.
pie__ has joined #nixos
<palo>
how do I use nixos-unstable in nix-build ?
<inquisitiv3_>
It seems to be an issue with the Audacity derivation. I've installed the application and rebooted the computer, but no desktop entry is seen when I search for "Audacity". I did a search for the desktop file with `find 2>/dev/null|grep audacity.desktop`. I got only two search matches, both of them in /nix/store. Could the problem be that no symlink is created to the desktop file?
pikajude has joined #nixos
<elvishjerricco>
palo: `-I nixpkgs=channel:nixos-unstable`, if you have Nix 2.0
Ariakenom has joined #nixos
<palo>
elvishjerricco: thanks but now it says that user.users.root.initalHashPassword is multiple times defined...
* palo
is investigating
pie__ has quit [Remote host closed the connection]
<elvishjerricco>
palo: Oh, right. You need to use the `-I` argument that my repo documents in its README
<elvishjerricco>
The nix-build command used there is pretty particular, and uses a certain version of nixpkgs
<palo>
elvishjerricco: I see. Is the nixpkgs or nixpkgs-channel not possible to be used ?
<palo>
even not in the near future ?
<elvishjerricco>
palo: I think there's just one commit that's not merged because it reverts good work that just fails to cross compile
<elvishjerricco>
But nixpkgs master should be fine except that one commit
mdash has joined #nixos
<mdash>
unstable broke my X driver >:-[
<elvishjerricco>
palo: The other commits got merged like today I think
<mdash>
was using radeon but now it segfaults
jrolfs has quit [Ping timeout: 276 seconds]
<palo>
elvishjerricco: I see
<elvishjerricco>
palo: This is the one commit: cc093102b4c5030abe6afecc4ef84c5e31765874
<palo>
thanks I will use your nixpkgs for now and wait for 18.09 to come out and than will remove the -I option :D
KennosiS has joined #nixos
emily has joined #nixos
<elvishjerricco>
palo: Well that commit isn't likely to be merged anywhere. It's a revert of something that I think is good. We'd have to simply replace that work with cross-compile-able work
<palo>
Hmm,
eddyb has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
<palo>
so the cross-compile-able work will be introduced and usable in 18.09 ?
<elvishjerricco>
palo: There are no such plans currently :/
roblabla has quit [Ping timeout: 240 seconds]
<palo>
Ok than I need to pull the standard channel and need to patch it after pulling before I use it as nixpkgs.
eeva has quit [*.net *.split]
vilhalmer has quit [*.net *.split]
brodul has quit [*.net *.split]
azazel has quit [*.net *.split]
d1rewolf has quit [*.net *.split]
yorick has quit [*.net *.split]
tghume_ has quit [*.net *.split]
nixy has quit [*.net *.split]
rotaerk has quit [*.net *.split]
shoogz has quit [*.net *.split]
joepie91 has quit [*.net *.split]
kosmikus has quit [*.net *.split]
Swant has quit [*.net *.split]
pyrtsa has quit [*.net *.split]
smola has quit [*.net *.split]
oscarduignan has quit [*.net *.split]
yrashk has quit [*.net *.split]
rizary has quit [*.net *.split]
vbernat has quit [*.net *.split]
samueldr has quit [*.net *.split]
steveeJ has quit [*.net *.split]
shapr has quit [*.net *.split]
selfsymmetric-pa has joined #nixos
pyrtsa has joined #nixos
<palo>
I would like to cross compile my raspberry pi on a potent machine and just dump the image.
<{^_^}>
[nixpkgs] @xeji opened pull request #45436 → mono5.x: mark mono >= 5 broken on aarch64 → https://git.io/fAUdA
samueldr has joined #nixos
chreekat has quit [Ping timeout: 276 seconds]
joncfoo has quit [Ping timeout: 260 seconds]
abueide has quit [Read error: Connection reset by peer]
rotaerk has joined #nixos
shoogz has joined #nixos
Swant_ has joined #nixos
vilhalmer has joined #nixos
pie_ has joined #nixos
abueide has joined #nixos
joncfoo has joined #nixos
nixy has joined #nixos
Swant_ is now known as Swant
selfsymmetric-pa has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « acpica-tools: 20180629 -> 20180810 (#45255) »: https://git.io/fAUbZ
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 260 seconds]
maurer has quit [Quit: WeeChat 1.5]
duncan^ has quit [Quit: K-lined: Don't email support.]
<{^_^}>
[nixpkgs] @shlevy pushed to master « ghc: Use stable URL for deterministic profiling patch. »: https://git.io/fAUbN
silver has quit [Ping timeout: 240 seconds]
duncan^ has joined #nixos
dbmikus__ has joined #nixos
dbmikus_ has quit [Ping timeout: 240 seconds]
fzer0 has joined #nixos
<elvishjerricco>
palo: Yea. You can pull master and apply that commit, and it should work
jrolfs has quit [Ping timeout: 240 seconds]
<fzer0>
will anyone help a noob with installation step? I am stuck on getting wifi...says sucessfully initialized qpa_supplicant, but cound not read interface flags: No such device
Fare has joined #nixos
joebobjoe has quit [Disconnected by services]
<clever>
fzer0: what is the interface name from `ip link` ?
<fzer0>
wlp3s0
<fzer0>
does that sound right? it is the 2 entry in the output
<clever>
fzer0: and if you run `wpa_cli -iwlp3s0` and then check `status` what does it say?
bart- has joined #nixos
<bart->
hi
<fzer0>
clever: "could not connect.....re-trying
<clever>
fzer0: `ps aux | grep wpa`, is supplicant running?
mayhewluke has quit [Ping timeout: 240 seconds]
<Yardanico>
btw I really appreciate that NixOS graphical iso comes with L2TP plugin for network-manager (sadly I don't have a router and internet cable is directly connected to the PC) and my ISP still uses L2TP
<clever>
fzer0: `systemctl start wpa_supplicant` and then status again, is it running now?
<fzer0>
clever: Active: failed (result: Exit-code) below the main outup: "Failed to open config file '/etc/wpa_supplicant.comf', error: no suck file or directory
<clever>
fzer0: use "iwlist wlp3s0 scan" to get the exact name for your wifi network, then run `wpa_passphrase NAME PASSWORD >> /etc/wpa_supplicant.conf` and try to start the service again
ArahaelPi has quit [Ping timeout: 240 seconds]
<fzer0>
clever: Nice! Active: active (running)
<clever>
fzer0: ifconfig should now show an IP on it
<fzer0>
clever: looks like it
<clever>
fzer0: after installing, youll want to also copy that conf file to /mnt/etc/ and set networking.wireless.enable = true; before you nixos-install
<{^_^}>
[nix] @erikarvstedt opened pull request #2366 → fetchGit: Remove unneeded call to git → https://git.io/fAUjF
PyroLagus has joined #nixos
johbo has joined #nixos
sc_ has joined #nixos
pie_ has joined #nixos
Ariakenom has joined #nixos
kenshinCH has joined #nixos
<kenshinCH>
I made an expression for a python package that is currently missing, but it is just a release candidate. Is it OK to make a PR for that, or better to wait until the next version comes out?
jtojnar has quit [Remote host closed the connection]
nwspk has joined #nixos
jtojnar has joined #nixos
nahamu has joined #nixos
selfsymmetric-pa has joined #nixos
fzer0 has quit [Read error: Connection reset by peer]
fragamus has joined #nixos
<adamantium>
hi, my cursor isn't being set for urxvt or emacs (built without gtk, using xtoolkit) by .Xresources or .icons/default/index.theme as generated by lxappearance.
<adamantium>
Does anyone know how to make a cursor theme apply to xtoolkit applications ?
<dhess>
manveru: huh, I never knew about that tarball-ttl setting and man does that explain some of the behavior I've seen before that I thought was very odd
aramiscd_ has joined #nixos
sphalerite_ has joined #nixos
Zajcev has joined #nixos
Taneb has quit [Disconnected by services]
Taneb has joined #nixos
blahdodo_ has joined #nixos
lassulus_ has joined #nixos
aramiscd has quit [*.net *.split]
sphalerite has quit [*.net *.split]
nioncode has quit [*.net *.split]
goibhniu has quit [*.net *.split]
thc202 has quit [*.net *.split]
hamishmack has quit [*.net *.split]
migy has quit [*.net *.split]
lassulus has quit [*.net *.split]
cbarrett has quit [*.net *.split]
gchristensen has quit [*.net *.split]
blahdodo has quit [*.net *.split]
vaibhavsagar has quit [*.net *.split]
c_wraith has quit [*.net *.split]
cbarrett_ is now known as cbarrett
<{^_^}>
[nixpkgs] @xeji opened pull request #45440 → Revert "libvirt: 4.5.0 -> 4.6.0" and attempted fixes → https://git.io/fATfy
blahdodo_ is now known as blahdodo
lassulus_ is now known as lassulus
civodul has joined #nixos
<{^_^}>
[nixpkgs] @dtzWill merged pull request #45396 → audit-tmpdir: fix processing of files with spaces, quote variables → https://git.io/fAfAx
arjen-jonathan has quit [Ping timeout: 276 seconds]
teej has quit [Quit: Connection closed for inactivity]
kenshinCH has quit [Quit: WeeChat 2.0]
<techieAgnostic>
so if i need an older version of haskell base for a project, i can create a package override for ghc and use that in my derivation right?
kenshinCH has joined #nixos
<elvishjerricco>
techieAgnostic: It's usually easier to just use the appropriate `haskell.packages.ghcXYZ` instead of `haskellPackages`
<{^_^}>
[nixpkgs] @Ericson2314 pushed commit from @volth to master « fetchpatch: patchutils -> buildPackages.patchutils »: https://git.io/fATtn
<maurer>
bigvalen: Every nixos generation can be booted into at boot time, in case you wrecked your system with a bad config
<maurer>
bigvalen: As a result, it needs to add the new generation to the grub2 menu if booting with grub2
Seraxis has joined #nixos
Ariakenom has quit [Quit: Leaving]
Ariakenom has joined #nixos
<Seraxis>
hey there, I was wondering what kind of modifications or where i'd start looking for an automatic mount of a LUKS file system with detached header
<{^_^}>
[nixpkgs] @xeji pushed commit from @vbgl to master « ocamlPackages.io-page: 1.6.1 -> 2.0.1 (#45393) »: https://git.io/fATOb
Denommus has quit [Remote host closed the connection]
<__monty__>
johnw: I had the opposite experience, slow laptop with a remote build host configured and the laptop was always fully utilized. Maybe it'd be different if there were more slots than jobs though.
<{^_^}>
[nixpkgs] @globin merged pull request #45447 → nixos/networkd: replace range with assertRange → https://git.io/fATtA
<{^_^}>
[nixpkgs] @globin pushed commit from @lopsided98 to master « nixos/networkd: replace range with assertRange »: https://git.io/fAT3G
silver_ has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
silver has quit [Ping timeout: 240 seconds]
ifur has quit [Quit: leaving]
MoziM has joined #nixos
joepie91_to_go has quit [Ping timeout: 256 seconds]
selfsymmetric-mu has joined #nixos
<{^_^}>
[nixpkgs] @globin merged pull request #45421 → nixos/dhcpcd: Wait for devices to settle, unblock nixos-unstable → https://git.io/fAJ9x
<{^_^}>
[nixpkgs] @globin pushed commit from @srhb to master « nixos/dhcpcd: Wait for devices to settle »: https://git.io/fATsU
<genesis>
when i patchelf the library, i lost all the other i don't list in makeLibraryPath , normal behavior ?
jrolfs has joined #nixos
<techieAgnostic>
quick nix question, if i have config = { ..... }; in a file, can i just jam `import thing.nix` into the middle of a let statement to copy/paste it in?
<techieAgnostic>
like a straight snippet type dealy
<infinisil>
techieAgnostic: Yup
<infinisil>
I mean, that should be easy enough to verify
<{^_^}>
[nixpkgs] @globin pushed 0 commits to revert-wrapper-env-var-path: https://git.io/fATCL
MoziM has quit [Ping timeout: 240 seconds]
MoziM has joined #nixos
d1rewolf has joined #nixos
benley has joined #nixos
erasmas has quit [Quit: leaving]
jrolfs has quit [Ping timeout: 268 seconds]
<techieAgnostic>
so i have a line `import ./overrides.nix;` in a let block, and im getting "unexpected PATH", is there some command i have to use to do the snippet?
alexteves has quit [Remote host closed the connection]
<kandinski>
Do ssh-add or ssh-agent have a known issue? I updated my system and installed a bunch of stuff on my user from unstable, and I think ssh -A has stopped working right.
jrolfs has joined #nixos
<johnw>
what does ssh-add -l report?
chreekat has quit [Ping timeout: 252 seconds]
ericsagnes has quit [Ping timeout: 260 seconds]
rprije has joined #nixos
<genesis>
libcairo.so.2 => not found , grrrrr , i don't understand :')
<kandinski>
I just updated my system and some work scripts that rely on ssh-agent have stopped working. This is my version of it: http://paste.debian.net/1038828/ Is this something other people have seen?
<johnw>
it's search for just the bare name?
<johnw>
searching*
<genesis>
i tried patchelf --set-rpath ${stdenv.lib.makeLibraryPath buildInputs} $out/lib64/navit/graphics/libgraphics_gtk_drawing_area.so
<johnw>
define "stopped working"?
<kandinski>
remote system can't find the added ssh key
<johnw>
ah, so it appears to not be forwarding
<kandinski>
johnw: sorry for not being more specific: yes, that's what I think is happening.
<johnw>
what causes 'Host key verification failed" when using a remote builder again?
<kandinski>
johnw: I also dropped to a tty and started ssh-agent by hand, added the key again just in case it was some gnome thing, but I get the same failure.