Lowl3v3l has quit [(Ping timeout: 245 seconds)]
jensens has joined #nixos
berce has joined #nixos
jazzencat has quit [(Quit: Leaving)]
ryanartecona has quit [(Quit: ryanartecona)]
berce has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
ryanartecona has joined #nixos
filterfish has quit [(Remote host closed the connection)]
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
jensens has quit [(Ping timeout: 246 seconds)]
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] danbst opened pull request #21220: pg_similarity: init at 1.0 (master...pg_simil) https://git.io/v173i
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
c0bw3b has left #nixos []
berce has joined #nixos
sigmundv has joined #nixos
mizu_no_oto has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
berce has quit [(Read error: Connection reset by peer)]
markus1199 has joined #nixos
berce has joined #nixos
Fare has quit [(Ping timeout: 258 seconds)]
markus1189 has quit [(Ping timeout: 250 seconds)]
berce has quit [(Read error: Connection reset by peer)]
erasmas has quit [(Quit: leaving)]
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] rardiol opened pull request #21221: Gplates (master...gplates) https://git.io/v17Gm
berce has joined #nixos
iyzsong has joined #nixos
jmiven has quit [(Quit: co'o)]
ryanartecona has quit [(Quit: ryanartecona)]
redmq has quit [(Ping timeout: 258 seconds)]
digitus has quit [(Quit: digitus)]
jmiven has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
mudri` has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
berce has joined #nixos
berce has quit [(Read error: Connection reset by peer)]
jazzencat has joined #nixos
brh_ has joined #nixos
berce has joined #nixos
<jazzencat> https://lut.im/gallery#AFFnUw6JnV/CjJGadtLGuKut1UM.jpg,ndZ0Lf171W/kuli5gjjUTCXtV4w.jpg These errors show up any time I try to shutdown or reboot my computer and force me to do a hard-reset on the machine to get it turned off or rebooting.
systemfault has quit [(Quit: Bye!)]
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
Lowl3v3l_ has quit [(Ping timeout: 258 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<brh_> How do I pass an argument to stdenv when running `nix-build`? I'm trying to build GNU Hello out of a default.nix in a directory to familiarize myself with the process
<brh_> Do I have to fork and clone the entire nixpkgs repo to build a package against it, or is there a way to pass the default channel as an arg?
<jazzencat> Hmm, I wonder if my HD is corrupted or something because all of a sudden Enlightenment is screwed up, always starts in offline mode even if I change the mode it switches back, can't write settings files. And then there's all those error messages from the pictures above.
[0x4A6F] has quit [(Ping timeout: 252 seconds)]
mudri` has quit [(Quit: WeeChat 1.6)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
[0x4A6F] has joined #nixos
filterfish has joined #nixos
<brh_> hmm I probably want nix-shell, not nix-build, to build my own library
warbo has quit [(Ping timeout: 248 seconds)]
<dash> brh_: the typical incantation is: "with (import <nixpkgs> ());"
<dash> oops I mean "with (import <nixpkgs> {});"
hotfuzz has quit [(Read error: Connection reset by peer)]
hotfuzz has joined #nixos
SovereignBleak has quit [(Quit: Connection closed for inactivity)]
<brh_> Hmm, so something like `nix-build "with (import <nixpkgs {});" default.nix -A hello` ?
<brh_> I'm getting a new set of errors this way, at least :D
<brh_> Ohh, that should go into the default.nix file you mean?
AllanEspinosa has joined #nixos
<AtnNn> brh_: you can create a release.nix file that does `with (import <nixpkgs> {}); { build = callPackage ./default.nix {}; }' and then run `nix-build release.nix'
<brh_> Nice, that worked like a charm!
eacameron has joined #nixos
<jazzencat> *Sigh* And now even wired connections aren't working in NixOS
sigmundv_ has joined #nixos
sigmundv has quit [(Ping timeout: 260 seconds)]
jensens has joined #nixos
thc202 has quit [(Quit: thc202)]
mizu_no_oto has joined #nixos
jazzencat has quit [(Quit: Leaving)]
ixxie has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
sigmundv_ has quit [(Quit: Leaving)]
bennofs has quit [(Quit: WeeChat 1.6)]
M-Rym has joined #nixos
jensens has quit [(Ping timeout: 260 seconds)]
MagBo has quit [(Ping timeout: 265 seconds)]
MagBo has joined #nixos
TimePath[m] is now known as TimePath`
mizu_no_oto has joined #nixos
ixxie has quit [(Ping timeout: 245 seconds)]
TimePath` has quit [(Quit: Bridged client killed)]
mbrgm has quit [(Ping timeout: 258 seconds)]
mbrgm has joined #nixos
derjohn_mob has quit [(Read error: Connection reset by peer)]
derjohn_mobi has joined #nixos
Fare has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
RchrdB has quit [(Ping timeout: 264 seconds)]
ben_____ has joined #nixos
xwvvvvwx has joined #nixos
flo[m] has left #nixos ["User left"]
<ben_____> hi
Shoue has quit [(Ping timeout: 264 seconds)]
ben_____ has quit [(Quit: Page closed)]
eacameron has quit [(Remote host closed the connection)]
<angerman> How do I create a null derivation, that just ensures all built inputs are build?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
eacameron has joined #nixos
PragCyph1 has joined #nixos
PragCyphr has quit [(Ping timeout: 250 seconds)]
AveryC has quit [(Ping timeout: 250 seconds)]
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
eacameron has quit [(Remote host closed the connection)]
deepwater has quit [(Remote host closed the connection)]
slack1256 has joined #nixos
xwvvvvwx has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
hexagoxel has quit [(Ping timeout: 240 seconds)]
AveryC has joined #nixos
<NixOS_GitHub> [nixpkgs] bhipple opened pull request #21223: Fix description metadata in cpp-ethereum (master...master) https://git.io/v174d
hexagoxel has joined #nixos
mguentner has quit [(Quit: WeeChat 1.6)]
mguentner has joined #nixos
acowley_away is now known as acowley
Fare has quit [(Remote host closed the connection)]
Fare has joined #nixos
acertain has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #21223: cpp-ethereum: fix description metadata (master...master) https://git.io/v174d
newNixos has joined #nixos
<newNixos> iv enabled nix-serve but the client says "invalid URL ‘10.42.0.1:5000/nar/4nfbdbpw75jlg4bxy2a7k43h3xx6mfh4.nar.bz2"
<newNixos> but that path is on the server
<newNixos> I mean, its not in /nar ...
<newNixos> but in /nix/store
<newNixos> well I dont know what im saying
<newNixos> ahh got it
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-16.09: https://git.io/v17Bh
<NixOS_GitHub> nixpkgs/release-16.09 2d688ed Joachim Fasting: grsecurity: 4.8.14-201612110933 -> 4.8.15-201612151923...
newNixos has quit [(Quit: WeeChat 1.6)]
<eacameron> It looks like some packages take a "config" parameter
<eacameron> Where does this come from and how do I change it?
brh_ has quit [(Remote host closed the connection)]
brh has quit [(Remote host closed the connection)]
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 246 seconds)]
<Rotaerk> hmm is there some way to run cabal2nix using cabal:// style input ... from within nix?
<Rotaerk> it wants to fetch from hackage, but that requires you to have a ~/.cabal directory, but it's trying to create that in /homeless-shelter
<Rotaerk> the script really should do a cabal update before running the cabal2nix
<Rotaerk> ah... --hackage-db might resolve that
rardiol has quit [(Ping timeout: 250 seconds)]
<Fare> every so many days, the X server spontaneously dies. That wasn't happening when I was using Ubuntu.
<Fare> is it KDE or Chromium causing the server to run out of memory? I'm not sure how to properly diagnose the issue.
imode has joined #nixos
Fare has quit [(Ping timeout: 268 seconds)]
AveryC has quit [(Ping timeout: 258 seconds)]
ryanartecona has joined #nixos
<Ralith> what do you mean by "dies"?
<Ralith> neither KDE nor chromium should be capable of causing the X server to die short of gross malfunction
<dash> does "oom killer" count as gross malfunction? :)
<Ralith> yes
<imode> ah, the oom killer... :P
Wizek_ has quit [(Ping timeout: 260 seconds)]
Wizek has quit [(Ping timeout: 250 seconds)]
Ethin has joined #nixos
<Ethin> Guys, I have a small question regarding NixOS packages and rebuilding the net installation ISO.
slack1256 has quit [(Remote host closed the connection)]
<Ethin> Have you guys heard of Speakup?
<imode> so, if I have something like nano that I want to configure.. I have to specify all of that through the nixos config file, right.
<Rotaerk> imode, no
<Rotaerk> as I understand it, the nixos config is for system-wide configuration and setup of packages and such; you can always have user-specific stuff not managed by nix mechanisms in your home
<Rotaerk> you can also have user-specific packages setup using nix-env
<imode> I see.
<angerman> acowley, I didn't know how deep this rabbit hole was :-/
<imode> so I found out how to configure nano system-wide.
<imode> my other question: who or what specifies the options for a specific program.
<imode> and if I'm developing for nix/nixos, how would I allow my package to be used with nix.
<imode> because obviously programs.nano.nanorc has to be defined somewhere..
Wizek has joined #nixos
Wizek_ has joined #nixos
deepwater has joined #nixos
iamcorpix has quit [(Quit: iamcorpix)]
osa1 has joined #nixos
osa1 has quit [(Changing host)]
osa1 has joined #nixos
Ethin has quit [(Quit: ChatZilla 0.9.93 [SeaMonkey 2.40/20160120202951])]
<NixOS_GitHub> [nixpkgs] jdagilliland opened pull request #21225: freebayes: init at 1.1.0 (master...freebayes) https://git.io/v17zW
jacob_ has joined #nixos
jacob_ is now known as Guest25783
<osa1> I'm trying to run this from the REPL: `let nixpkgs = builtins.fetchTarball "https://github.com/NixOS/nixpkgs-channels/archive/f52eaf4fb371112f7a5b28d71f97de71709002a0.tar.gz"; in (import ./).assets` but I'm getting an error at ./ part, any ideas why?
marusich has joined #nixos
xwvvvvwx has joined #nixos
mguentner2 is now known as mguentner
ryanartecona has quit [(Quit: ryanartecona)]
<eacameron> osa1: I believe import requires a file but you're giving it a directory.
<osa1> eacameron: I tried file name too
<osa1> with `./`
<eacameron> osa1: Like `import ./file.nix`?
<osa1> yes
<eacameron> What error do you get for the file?
adelbertc has joined #nixos
<eacameron> osa1: ^
<osa1> eacameron: oooh sorry, the error was different: `error: value is a function while a set was expected, at (string):1:141`
<osa1> so import worked
<osa1> a derivation is just a special set, right?
<eacameron> osa1: right
<eacameron> osa1: When importing a derivation you often need to supply args: `import ./derivation.nix {arg=1}
<osa1> OK, I'm trying to understand this expression: let jobs = rec { inherit deriv1 deriv2 ... ; ... }; ...
<osa1> since all derivations have same keys I don't understand how inheriting multiple of them makes sense
<eacameron> osa1: ahh. inherit is not set union
<eacameron> osa1: It means "inherit abc" -> "abc = abc";
<osa1> ahhhhh
<eacameron> osa1: "{ inherit abc def }" -> { abc = abc; def = def; }
<osa1> OK, sorry, I had actually read that :) haven't got my morning coffee yet.
imode has quit [(Ping timeout: 245 seconds)]
<eacameron> osa1: TBH that totally threw me off at first too. The word inherit doesn't seem like the best choice...
imode has joined #nixos
<osa1> yeah, I'd expect it to bring keys into scope, e.g. `inherit abc` would do `a = abc.a; b = abc.b; ...`
<eacameron> osa1: Yes...that's what "with" does...except it doesn't expand into a set like that.
<eacameron> osa1: But you're right. I think some OOPers got a hold of nix a little too early and inherit made its way in...
<eacameron> ;)
<osa1> so if I have a derivation in scope and I do something like: mkDerivation { buildPhase = '' ... "${derivation}" ... '' } what happens in that ${derivation} part?
<osa1> haha yeah
<eacameron> osa1: Is that pointing to some *other* derivation?
<osa1> yes
<osa1> the variable derivation is pointing to another derivation, it's already in scope (bound by a let)
<eacameron> osa1: Ah yah...this is cool. It builds it, installs it, and that string resolves to its path.
<osa1> eacameron: instead of that can I run mkDerivation on `derivation` and then splice the return value in?
<eacameron> osa1: No. mkDerivation never calls a derivation. It creates one.
<eacameron> If you need to fully resolve a derivation that doesn't have all its arguments passed in, use callPackage
<eacameron> osa1: "(import <nixpkgs> {}).callPackge my-package {}"
<eacameron> osa1: If you're calling a Haskell package (or some other sub-ecosystem), you'd use the "callPackage" for that subsystem; like "(import <nixpkgs> {}).haskellPackages.callPackage"
<osa1> hmm
<eacameron> osa1: Usually you see a file like this: "{ lib, otherthing }: mkDerivation "my-package" {blah}"
<eacameron> That's actually a function.
<eacameron> To get the derivation you need to call it.
<eacameron> that's what callPackage does.
<osa1> what does it pass for the arguments?
<osa1> so when I run `nix-build -A target` it expects target to be a derivation, and then it calls a builtin function to run it, right? what's the builtin functions if I want to try it in the REPL?
<eacameron> osa1: So "running it" in nix is equivalent to forcing its evaluation
<eacameron> Which is done by using it somewhere.
<osa1> right, sorry, I mean running the build rather than the expression
<eacameron> osa1: That's done by nix-instantiate if you really want to get into the nitty-gritty
<eacameron> osa1: However, you can't (or shouldn't) be doing anything like that in your nix code
<eacameron> Simply referring to it will guarantee it's built
<osa1> I won't do it in my nix files, I'm just experimenting in the REPL and I got a derivation that I want to build.
<osa1> I was wondering what builtins do I need to call for that
<eacameron> osa1: Hmmm...builtins.deepSeq?
<eacameron> osa1: Or maybe just "${package}"
<eacameron> which will force it to resolve to a path. (but may not build it)
AllanEspinosa has quit [(Ping timeout: 250 seconds)]
<osa1> eacameron: OK.. what about .drv files? is there an easy way to build those?
<osa1> either in repl or with a program
<eacameron> osa1: I've always built with nix-build or nix-shell so I'm not sure. nix-instantiate is the low-level workhorse though that does a lot of this stuff. Maybe check out the man pages for it.
<osa1> I think nix-env -i file_path
<eacameron> osa1: That'll install it into your profile yah
<eacameron> osa1: Heh...pretty funny that you wanted nix-env -i all this time. :P
<eacameron> osa1: Post what you find. I'm on the other side of the world so I'm heading to bed. ;) TTYL
<osa1> alright, good night
eacameron has quit [(Remote host closed the connection)]
FRidh has joined #nixos
FRidh has quit [(Remote host closed the connection)]
acowley is now known as acowley_away
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
jgertm_ has joined #nixos
k2s has joined #nixos
marusich has quit [(Quit: Leaving)]
jgertm has quit [(Remote host closed the connection)]
kampfschlaefer has joined #nixos
c0bw3b has joined #nixos
phanimah1sh has joined #nixos
phanimahesh has quit [(Ping timeout: 258 seconds)]
Lowl3v3l has joined #nixos
<toogley> hello. i have "environment.systemPackages = with pkgs; [texlive-combined-full];" in my configuration.nix - but when i rebuild my system, i receive this error: https://dpaste.de/gyym
<toogley> although i can install texlive-combined-full via nix-env
<kmicu> Do you can install it with ‘nix-env -i’ or with ‘nix-env -iA’?
<toogley> kmicu: i tried only the first one. what would be the comand of the second style? i know its different.
<kmicu> You can check with ‘nix-env -qaP 'tex.*' -f '<nixpkgs>' --description’. The first column has attribute paths and this is what wants ‘nix-env -iA’ and systemPackages and the second column lists ‘names’.
<kmicu> Prefer attribute paths and ‘nix-env -iA …’, b’c it’s faster and takes less resources.
<toogley> kmicu: ah, "texlive.combined.scheme-full" seems to work. thanks. :)
moet has joined #nixos
k2s has quit [(Ping timeout: 264 seconds)]
moet has quit [(Quit: leaving)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
zagy has joined #nixos
phanimah1sh has quit [(Ping timeout: 250 seconds)]
jgertm_ has quit [(Ping timeout: 248 seconds)]
phanimahesh has joined #nixos
rmrfroot has joined #nixos
eacameron has joined #nixos
phanimah1sh has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
rmrfroot has quit [(Remote host closed the connection)]
phanimahesh has quit [(Ping timeout: 245 seconds)]
xwvvvvwx has quit [(Ping timeout: 240 seconds)]
zagy has quit [(Quit: Leaving.)]
<toogley> do i have to set some option to automatically also install manpages of e.g. xfce4-terminal?
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
latk has joined #nixos
<kmicu> toogley: I do not recall if you need to set anything on NixOS; ‘nix-shell -p xfce.terminal --command 'man xfce4-terminal'’ works here.
zagy has joined #nixos
eacameron has quit [(Ping timeout: 252 seconds)]
<kmicu> (There are periodical problems with man pages so *maybe* you are on an affected Nixpkgs revision.)
wangoe has joined #nixos
osa1_ has joined #nixos
<toogley> kmicu: hm, that works also here - but "man xfce4-terminal" doesn't
ambro718 has joined #nixos
<kmicu> How did you install xfce4-terminal — with nix-env or via systemPackages?
eacameron has joined #nixos
roconnor has quit [(Ping timeout: 250 seconds)]
osa1 has quit [(Ping timeout: 258 seconds)]
zagy has quit [(Quit: Leaving.)]
zagy has joined #nixos
<toogley> kmicu: nix-env
eacameron has quit [(Ping timeout: 264 seconds)]
zraexy has joined #nixos
osa1_ has quit [(Ping timeout: 252 seconds)]
<kmicu> toogley: what’s the output of ‘ls -al $(which man)’?
<toogley> kmicu: ah, via systemPackages also installs the manpages.
<kmicu> Also check if ‘~/.nix-profile/share/man/man1/xfce4-terminal.1.gz’ exists.
zraexy has quit [(Ping timeout: 252 seconds)]
<toogley> kmicu: thanks :)
<kmicu> (When I install via nix-env then xfce4-terminal’s manpage is available.)
zagy has quit [(Quit: Leaving.)]
zagy has joined #nixos
zagy has quit [(Quit: Leaving.)]
<angerman> I'm a bit confused, if I have a derivation that depends on something that's not available on my system. And the derivation itself also is marked as not buildable on the current system. Can I somehow filter a list of derivation, such that those that aren't buildable are excluded?
wangoe has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #21227: amd-hybrid-graphics: fix race condition (master...vgaswitcheroo) https://git.io/v17oG
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v17oR
<NixOS_GitHub> nixpkgs/master 3af715a Bjørn Forsman: Revert "fix 2 xml errors in the description of boot.loader.grub.efiInstallAsRemovable"...
<berce> I 'm crosscompiling kenel 4.8 for cuboxi and trying to solve an error similar to https://github.com/NixOS/nixpkgs/pull/13405: "Error in reading or end of file" because of an invalid answer for the max number of CPUs
<berce> Is there an easy way to overwrite the answer in my cross.nix file?
eacameron has joined #nixos
<berce> now it seems to be reading 384 from /pkgs/os-specific/linux/kernel/common-config.nix
eacameron has quit [(Ping timeout: 250 seconds)]
mudri has joined #nixos
imode has quit [(Ping timeout: 246 seconds)]
<sphalerite> If I want to try upgrading to unstable but be able to roll back, all I need to do is change the nixos channel and do a rebuild, right? Then if things go wrong I can boot the older generation and revert the channel changes. Are there any caveats to this?
<berce> sphalerite: as long as the nix version stays compatible, yes (not based on experience, but read it somewhere in the manual)
<sphalerite> Also, is there a way to tag a system generation or something so that it will never get removed by nix-store --gc -d unless its number is specified?
<berce> yes, but I don't remember details of how to do it. Again my source is the manual.
rardiol has joined #nixos
phanimahesh has joined #nixos
zagy has joined #nixos
phanimah1sh has quit [(Ping timeout: 256 seconds)]
civodul has joined #nixos
<sphalerite> right, thanks
<sphalerite> Also, is there a particular reason that the system profile has to be locked for --list-generations? It would be nice to be able to run it as an unprivileged user.
<sphalerite> Upgrading to unstable... Here goes!
randalltux has joined #nixos
zagy has quit [(Quit: Leaving.)]
<sphalerite> Well, it hasn't broken anything horribly. That's nice.
jgertm_ has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21228: poppler: 0.49.0 -> 0.50.0 (master...update/poppler-0.50.0) https://git.io/v176R
phanimah1sh has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/v176z
<NixOS_GitHub> nixpkgs/master 3d94be7 Pascal Bach: openshift: 1.3.1 -> 1.3.2
<NixOS_GitHub> nixpkgs/master 9a50020 Graham Christensen: Merge pull request #21216 from bachp/openshift-1.3.2...
phanimahesh has quit [(Ping timeout: 246 seconds)]
thc202 has joined #nixos
ryanartecona has joined #nixos
zagy has joined #nixos
ryanartecona has quit [(Ping timeout: 246 seconds)]
randalltux has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21229: wireshark: 2.2.2 -> 2.2.3 (master...update/wireshark-2.2.3) https://git.io/v17iy
anelson__ has quit [(Ping timeout: 256 seconds)]
<berce> Cross-compiling kernel failed because of missing lzop. Should it be added to build dependencies?
Xackle has joined #nixos
<Xackle> hi all!
<Xackle> i was wondering if anyone here has a nixexpr for emacs from git
<Xackle> i wanted to use the latest from git and change the SHA it refers to myself, but the default.nix in nixpkgs uses a tarball with some things (info page generation) already completed
<Xackle> when i adjust the nixexpr to point to a specific shasum in git, the info page installation fails as it's trying to install to /usr/local, which obviously won't ever work
<Xackle> the premade default.nix doesn't adjust that for me because Emacs tar balls have a few less steps than compiling from git
<Xackle> all i need is someone with a default.nix from someone who uses emacs from git :)
<NixOS_GitHub> [nixpkgs] wizeman closed pull request #21218: ripgrep: 0.2.1 -> 0.3.2 (master...update/ripgrep-0.3.2) https://git.io/v17tt
m` has joined #nixos
<m`> hi! has anybody a hint what to do, if the microphone is not working on nixos. at least an 'arecord -d ..' does not record anything...
<NixOS_GitHub> [nixpkgs] abbradar opened pull request #21231: Update DOOM forks, remove top-level fmod (master...no-fmod) https://git.io/v17PK
mw has quit [(Quit: ~{^.^})]
sdothum has joined #nixos
goibhniu has joined #nixos
<gchristensen> fpletz: ping
Itkovian has joined #nixos
zagy has quit [(Quit: Leaving.)]
<NixOS_GitHub> [nixpkgs] devhell opened pull request #21232: {lib}mediainfo{-gui},libzen: 0.7.87 -> 0.7.91, 0.4.33 -> 0.4.34 (master...master) https://git.io/v17XK
m` has quit [(Read error: Connection reset by peer)]
filterfish has quit [(Ping timeout: 245 seconds)]
jgertm_ has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
Itkovian has joined #nixos
ixxie has joined #nixos
goibhniu has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<LnL> gchristensen: the nixos tests are still broken?
<gchristensen> yeah
<NixOS_GitHub> [nixpkgs] grahamc pushed 3 new commits to release-16.09: https://git.io/v17Mf
<NixOS_GitHub> nixpkgs/release-16.09 547a940 makefu: xstatic-jquery-ui: 1.11.0.1 -> 1.12.0.1...
<NixOS_GitHub> nixpkgs/release-16.09 b18b055 Tim Steinbach: subversion: 1.9.4 -> 1.9.5...
<NixOS_GitHub> nixpkgs/release-16.09 478fa35 Tim Steinbach: subversion: 1.8.16 -> 1.8.17...
<gchristensen> LnL: due to changes in hydra / nix :(
<gchristensen> out of our hands, I think, waiting for a decision from niksnut
<NixOS_GitHub> [nixpkgs] rardiol opened pull request #21233: gcc-snapshot: init at 7-20161211 (master...gcc-snapshot) https://git.io/v17MI
<LnL> oh I saw the discussion, just assumed it would have been fixed now
<LnL> so we know how to solve it right?
<gchristensen> ¯\_(ツ)_/¯
goibhniu has quit [(Ping timeout: 240 seconds)]
<gchristensen> I should send a notice and include that everything is delayed
<LnL> gchristensen: also have you seen this? http://hydra.nixos.org/eval/1313663#tabs-now-fail
<LnL> the darwin stuff got through fine
<gchristensen> heh, yeah
<gchristensen> it is pytest failing on linux
redmq has joined #nixos
<gchristensen> which apparently almost 9,000 jobs depend on
<LnL> I'm a bit surprised by that count
<gchristensen> (back in ~15 min
Fare has joined #nixos
<gchristensen> ...)
osa1_ has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
redmq has quit [(Ping timeout: 256 seconds)]
Shoue has joined #nixos
osa1_ is now known as osa1
osa1 has quit [(Changing host)]
osa1 has joined #nixos
ixxie has quit [(Ping timeout: 268 seconds)]
FRidh has joined #nixos
Lowl3v3l has quit [(Ping timeout: 250 seconds)]
<FRidh> let's have a look at pytest
Lowl3v3l has joined #nixos
<clever> Mic92: strange, the xml is worse with the revert in place
<NixOS_GitHub> [nixpkgs] l2dy opened pull request #21234: coreutils: 8.25 -> 8.26 (master...coreutils-up) https://git.io/v17DI
<LnL> FRidh: the only thing I see there is sqlite, that's a dependency of python
<clever> Mic92: 3 <literal> pairs, then a </para> that never began
<gchristensen> FRidh: as I understand it, the issue is pytest has a test where it chmods a directory to 0000 and expects to not be able to write in there. If it can write, the test fails. with user namespacing, it can write
<FRidh> gchristensen: it does build locally
<gchristensen> hydra is running unstable nix
<FRidh> oh
<gchristensen> which turns on user namespacing
<FRidh> whch has been updated some days ago, right?
<gchristensen> the reason this test started failing out of the blue is because the nix daemon is, technically, an impure input
<gchristensen> so it didn't start failing as soon as nix was changed, but the next time a big rebuild came around
<LnL> gchristensen: oh it hydra uses nixUnstable?
<NixOS_GitHub> [nixpkgs] mimadrid closed pull request #21219: fzf: 0.15.1 -> 0.15.9 (master...update/fzf-0.15.9) https://git.io/v17mw
<LnL> so can't we revert the update for now
<LnL> it's not ideal, but better then all those broken packages
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<gchristensen> to make things worse, nixUnstable had a schema change, so hydra can't just be reset to nix-stable, requiring a revert on github.com/nixos/nix itself
<gchristensen> (again, this is all just "as I understand it ...")
<LnL> oh
<clever> gchristensen: ah, ive had to manualy downgrade nix.db before once
<gchristensen> yeah, that could be an option, too
<clever> my laptop was running a copy of nix from july of 2015, and i had to upgrade it with nix-store -r
<clever> but i grabbed the latest build of nix master by mistake
<FRidh> I can disable this test
<LnL> FRidh: I was thinking the same thing
<FRidh> does the failure occur on any system running nixUnstable?
<gchristensen> I think so, FRidh
<FRidh> I was thinking of switching to nixUnstable so I might test it then
<gchristensen> heh ...
<FRidh> fetchTarball with has :)
<FRidh> hash
<LnL> FRidh: with nix.package probably
<gchristensen> FWIW: who knows what _else_ is broken
ryanartecona has joined #nixos
<gchristensen> the test failures from before were from this issue, this pytest is from this issue, I don't think there is good insight in to what else is damaged
<gchristensen> FRidh, LnL: what if we disabled the tests on staging and let hydra think on that a while?
filterfish has joined #nixos
<LnL> not much point doing it on staging since it's "broken" at the moment
<gchristensen> broken by this change? or something else?
<FRidh> I was planning to update pytest to 3.0.5, but had to disable tests then because of a circular dependency with hypothesis
<FRidh> might as well do that update now
<gchristensen> what pytest do we have on 16.09?
* gchristensen is very frustrated by this change in nix :(
<FRidh> 2.7 I think
<gchristensen> aye ... probably shouldn't do that upgrade on 16.09 then.
<FRidh> but yes, curious then whether other packages that use pytest work
<FRidh> no, that definitely not
<FRidh> does any of you have a hydra running nixUnstable?
<gchristensen> and it isn't just pytest, user namespacing has broken posix I think
<FRidh> oh
ryanartecona has quit [(Ping timeout: 264 seconds)]
<LnL> sweet my first box with parts just arrived :D
<gchristensen> FRidh: this is what user namespacing is allowing, which I think breaks posix: mkdir test; chmod 0000 test; touch test/foo
mw has joined #nixos
<clever> Mic92: ah, i see the problem, every nixos option description is enclosed in a <para> pair
<clever> Mic92: so that </para> is to match up with stuff outside of the string
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v17ym
<NixOS_GitHub> nixpkgs/master 45c1c50 Frederik Rietdijk: pythonPackages.pytest_29: disable tests temporarily
<clever> Mic92: and it probably doesnt allow nesting a para in a para
acertain has quit [(Ping timeout: 244 seconds)]
<FRidh> hydra queue is as good as empty so hopefully it picks it up fast
<gchristensen> FRidh: I triggered it to evaluate :)
rardiol has quit [(Remote host closed the connection)]
<FRidh> gchristensen: ahh you have superpowers :)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<FRidh> let's hope it is only pytest
<gchristensen> it could be :) aszlig fixed (some of?) qemu's issues with it
rardiol has joined #nixos
<Mic92> gchristensen: it was not revaluated, I think
<gchristensen> "Last checked: 2016-12-17 15:13:39" I think this means it was
<gchristensen> but the evaluation is actually still going
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #20482: networkd: allow to supply own unit files (master...networkd) https://git.io/vX9mG
ryanartecona has joined #nixos
<gchristensen> FRidh, Mic92 there we are -- running
<FRidh> ronny: are you aware of the issue we're having with pytest?
<gchristensen> I mean, really, we're having the issue with namespacing and are working around it in pytest
<FRidh> yes, ok
<FRidh> I don't see any issue on the tracker?
<NixOS_GitHub> [nixpkgs] offlinehacker pushed 2 new commits to master: https://git.io/v17yA
<NixOS_GitHub> nixpkgs/master 7ac33a2 Jaka Hudoklin: pachyderm: init at 1.3.0
<NixOS_GitHub> nixpkgs/master 96bf950 Jaka Hudoklin: Merge pull request #21085 from offlinehacker/pkgs/pachyderm/init...
<NixOS_GitHub> [nixpkgs] offlinehacker pushed 2 new commits to master: https://git.io/v17yh
<NixOS_GitHub> nixpkgs/master 6d15619 Jaka Hudoklin: kubernetes: generate docs, fix empty man files
<NixOS_GitHub> nixpkgs/master 2319781 Jaka Hudoklin: Merge pull request #21069 from offlinehacker/pkgs/kubernetes/docfix...
<NixOS_GitHub> [nixpkgs] offlinehacker pushed 7 new commits to master: https://git.io/v17Sf
<NixOS_GitHub> nixpkgs/master 873e818 Jaka Hudoklin: docker-machine: add bash completion
<NixOS_GitHub> nixpkgs/master ef24c93 Jaka Hudoklin: kubernetes: add bash completions
<NixOS_GitHub> nixpkgs/master c316dd1 Jaka Hudoklin: minikube: add bash completions
xwvvvvwx has joined #nixos
<gchristensen> "Newly succeeding jobs (66)" :)
<LnL> nice!
<NixOS_GitHub> [nixpkgs] offlinehacker closed pull request #21204: docker: 1.12.3 -> 1.12.5 (master...docker_1_12_5) https://git.io/v1HbM
<FRidh> go still fails although a fix was mentioned on the mailing list
bennofs has joined #nixos
<gchristensen> guh
<FRidh> huh, faust depends on samba...that's odd
<NixOS_GitHub> [nixpkgs] aszlig pushed 3 new commits to master: https://git.io/v17SE
<NixOS_GitHub> nixpkgs/master bea3209 Peter Hoeg: virtualbox: 5.1.8 -> 5.1.10
<NixOS_GitHub> nixpkgs/master 88f49a0 aszlig: vimiv: 0.7.2 -> 0.7.3...
<NixOS_GitHub> nixpkgs/master c5e5dcc aszlig: Merge pull request #21201 (VirtualBox 5.1.10)...
<NixOS_GitHub> [nixpkgs] aszlig closed pull request #21201: virtualbox: 5.1.8 -> 5.1.10 (master...u/vbox) https://git.io/v1Hiv
<fpletz> gchristensen: pong
scadu78 has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v17Sz
<NixOS_GitHub> nixpkgs/master 8bfe3d7 Frederik Rietdijk: pythonPackages.pytest: disabled tests for all pytest versions
wangoe has joined #nixos
wangoe has left #nixos []
bennofs has quit [(Quit: WeeChat 1.6)]
<FRidh> samba seems to be another showstopper
mahe2 has joined #nixos
<gchristensen> fpletz: git remote add grahamc git@github.com:grahamc/nixpkgs.git; git fetch grahamc refs/notes/security; git checkout origin/release-16.09; git log --notes=security
<gchristensen> (I _think_ that'll work...)
<mahe2> Hi, I'm trying to nix-build a haskell stack project. It works fine, but when building with stacks nix support enabled I get a strange error telling me "Executable named nix-shell not found on path". Any ideas?
Itkovian has joined #nixos
<mahe2> I use pkgs.haskell.lib.buildStackProject for building it
<gchristensen> FRidh: hrm. doesn't work. trying to debug...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v17Sp
<NixOS_GitHub> nixpkgs/master 987aac7 Peter Hoeg: /etc/hosts and /etc/nsswitch.conf cleanups...
scadu78 has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #18183: nixos: write our hostname to /etc/hosts (master...hosts) https://git.io/viI5w
scadu78 has joined #nixos
<gchristensen> fpletz: git remote add grahamc git@github.com:grahamc/nixpkgs.git; git fetch grahamc refs/notes/security:refs/notes/security; git checkout origin/release-16.09; git log --notes=security this one should do the trick (the difference is in the fetch.)
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21235: universal-ctags: 2016-07-06 -> 2016-12-17 (master...update/universal-ctags-2016-12-17) https://git.io/v179J
Lowl3v3l has quit [(Ping timeout: 246 seconds)]
iyzsong has quit [(Quit: night.)]
<NixOS_GitHub> [nixpkgs] devhell closed pull request #21232: {lib}mediainfo{-gui},libzen: 0.7.87 -> 0.7.91, 0.4.33 -> 0.4.34 (master...master) https://git.io/v17XK
<fpletz> gchristensen: cool, so the notes are always in that special ref? that's handy because not everyone has to fetch those
<NixOS_GitHub> [nixpkgs] devhell opened pull request #21236: {lib}mediainfo{-gui},libzen: 0.7.87 -> 0.7.91, 0.4.33 -> 0.4.34 (master...mediainfo) https://git.io/v179Z
<gchristensen> fpletz: right, and the notes can be updated later without changing history: `git checkout refs/notes/security` shows you how that ref works
<fpletz> oh, just commit hash files
<fpletz> that's neat
<gchristensen> yeah :)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] devhell opened pull request #21237: profile-cleaner: 2.35 -> 2.36 (master...profile-cleaner) https://git.io/v179P
Lowl3v3l has joined #nixos
<gchristensen> fpletz: it has some nice attributes about it: 1. you can update notes on commits arbitrarily old, meaning we don't need to capture all the meta-data at commit time. 2. it is simple. 3. git's tools already support it. 4. it comes with all the same guarantees git has, since it is just another git tree. 5. you can sign the commits :)
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v179Q
<NixOS_GitHub> nixpkgs/master f281ce8 mimadrid: universal-ctags: 2016-07-06 -> 2016-12-17
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v179N
<NixOS_GitHub> nixpkgs/master 1141aa1 Zero King: coreutils: 8.25 -> 8.26
<NixOS_GitHub> nixpkgs/master ee28ea0 Tim Steinbach: Merge pull request #21234 from l2dy/coreutils-up...
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #21229: wireshark: 2.2.2 -> 2.2.3 (master...update/wireshark-2.2.3) https://git.io/v17iy
reinzelmann has joined #nixos
<joepie91> is there a way to get rid of the irritating "rejected connection" spam on my terminal when running the minimal NixOS install ISO?
<fpletz> gchristensen: ok, I just played around with it a bit, looks really nice
<fpletz> gchristensen: do you have a specific format for those notes in mind?
<joepie91> heh. seeing the tags appearing before my eyes :)
<joepie91> seriously though, this is greatly irritating when trying to install NixOS over VNC on a VM...
<joepie91> can't easily "disconnect the ethernet card" either
<joepie91> the sysctl thing seems to at least disable it
<joepie91> on runtime
<gchristensen> joepie91: I set it as a goal for 17.03 (hopefully sooner) and labeled it as a blocker, it is very very bad UX
<joepie91> yeah, no kidding :D
<gchristensen> fpletz: none at all, I figured we can start anywhere and change them later if we add some format
<joepie91> gchristensen: any chance the current release ISO might get updated to fix this?
<joepie91> or is it set in stone?
scadu78 has quit [(Remote host closed the connection)]
<gchristensen> joepie91: if it gets fixed in 16.09 the ISOs will get updated automatically :) the install ISOs are last updated 8 days ago
scadu78 has joined #nixos
<joepie91> gchristensen: oh, I see. I thought the ISOs were generated as a one-off
phanimahesh has joined #nixos
<fpletz> gchristensen: we'll probably just grep for CVEs anyway, right? :)
<joepie91> gchristensen: are they built n Hydra also?
<joepie91> on*
<gchristensen> joepie91: yaeh
<joepie91> neat :)
<gchristensen> joepie91: I agree :D
<fpletz> gchristensen: do you have a line for gitconfig to fetch and push that ref?
<joepie91> gchristensen: currently beta-testing a KVM deployment for a VPS provider, and they were somewhat confused by the lack of a "netinstall" ISO for NixOS :P
<joepie91> (I explained to them that effectively every NixOS ISO is a netinstall)
<joepie91> (with some other info..)
<gchristensen> fpletz: no, but I do have a little tool I've been working on, to make reviewing commits really nice
<gchristensen> let me try and package it up to show you
phanimah1sh has quit [(Ping timeout: 248 seconds)]
<rardiol> I try to run "du -sh /nix/store/* | sort -h", but it fails because there's more than the system limit of 2MB of things in /nix/store/*. Does anyone know an equivalent command?
<MichaelRaskin> find -maxdepth 1?
<NixOS_GitHub> [nixpkgs] apeyroux opened pull request #21238: liborc: 0.4.16 -> 0.4.26 (master...up/liborc) https://git.io/v17HP
<MichaelRaskin> (feed to xargs du -sh)
<joepie91> MichaelRaskin: you won't need the xargs
<joepie91> du can take in null-delimited stdin
<joepie91> --files0-from=F summarize disk usage of the NUL-terminated file names specified in file F; if F is -, then read names from standard input
<joepie91> cc rardiol
<fpletz> gchristensen: ah, that's why you have custom commit messages (git notes edit doesn't seem to support that)
<gchristensen> fpletz: right
<joepie91> so...
<gchristensen> git-notes also doesn't let you sign the notes I think
<joepie91> rardiol: find /nix/store -print0 | du -sh --files0-from=- | sort -h
<joepie91> that should work I think
<kmicu> Xackle: if you are familiar with ‘packageOverrides’ and ‘overrideDerivation’ (info on http://nixos.org/nixpkgs/manual/#sec-pkg-overrideDerivation ) then you should have no problem with incorporating following ad–hoc incantation, which gives you Emacs from master, into your ~/.nixpkgs/config.nix or configuration.nix: ‘nix-shell --pure -p 'lib.overrideDerivation emacs25 (old: { name =
<kmicu> "emacs-unstable-26.0.50.1"; src = fetchgit { url =
<kmicu> git://git.savannah.gnu.org/emacs.git; sha256 = "0lgw3vh9ww1kncwq68xxd92kg80ys20g5n3nifap3dy1k7ncg1lp"; }; buildInputs = old.buildInputs ++ [ autoconf automake texinfo ]; patches = [];})'’. Of course, now, *you* need to fix any regressions introduced by master ( ͡~ ͜ʖ ͡°)
<rardiol> joepie91, MichaelRaskin: thanks. Although i think you missed -maxdepth in the find joepie91?
<joepie91> rardiol: errrrr. yes :)
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21239: nano: 2.7.1 -> 2.7.2 (master...update/nano-2.7.2) https://git.io/v17HQ
<kmicu> rardiol: you could also try https://dev.yorhel.nl/ncdu/scr if you are ok with not piping unix commands. 😺
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v17Qv
<NixOS_GitHub> nixpkgs/master 09855fe devhell: profile-cleaner: 2.35 -> 2.36...
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21237: profile-cleaner: 2.35 -> 2.36 (master...profile-cleaner) https://git.io/v179P
redmq has joined #nixos
seanz has joined #nixos
<rardiol> kmicu: looks useful, thanks
redmq has quit [(Ping timeout: 240 seconds)]
<rardiol> just looks like it will take a long time to scan everything
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v17QL
<NixOS_GitHub> nixpkgs/master fa80bf7 ikervagyok: packagekit: add 'enableNixBackend' as an option (#21157)...
<Xackle> kmicu: i made a clone of nixpkgs, and added it to the include path using the -I switch
<Xackle> problem is the `info` install fails
<Xackle> i made a more detialed reddit posted
<gchristensen> fpletz: clone nixos/security, check out the `notate` branch, and run ./notate.sh. note if you clone security to ~/projects/security, it is going to look for nixpkgs at ~/projects/nixpkgs
<Xackle> *detailed
<kmicu> Xackle: build script cannot create documentation so you can disable it or add ‘texinfo’ to buildInputs as in my *working* example above :)
<Xackle> kmicu: i already added texinfo to the buildInputs :P
<c0bw3b> errrr so I borked my master branch on my GH forked repo while trying things with git-shell and sourcetree, but that's not a problem
<c0bw3b> problem is by repushing stuff to my master it created a reference on some issues on NixOS repo... eg #21198
<kmicu> Ah, you are talking about install phase.
<Xackle> kmicu: yes, sorry :P
<c0bw3b> so anyone can see git bite me -_-
<c0bw3b> is there a way to undo that mess?
<Xackle> i tried disabling the docs in the configure phase by adding --without-makeinfo
<Xackle> to no avail,it tried to make the directory still
<Xackle> and i'd like the info pages anyway hah
<kmicu> Let me compile it to check the last phase.
<Xackle> kmicu: would you like my drop-in emacs/default.nix?
<Xackle> just so we know we're on the same page since i was pretty bad at explaining stuff hah
warbo has joined #nixos
<kmicu> Xackle: what’s your Nixpkgs/channel version?
<Xackle> [root@zlarl:~]# nixos-version
<Xackle> 17.03pre96925.1c50bdd (Gorilla)
<Xackle> and
<Xackle> [root@zlarl:~]# nix-channel --list
<Xackle> updated a few hours ago, unstable was last updated on the 7th i believe
<Xackle> would be on master but i didn't want to compile go on this thing
Shoue has quit [(Ping timeout: 246 seconds)]
<kmicu> Xackle: Then you should be ok with that ‘nix-shell --pure -p 'lib.overrideDerivation (emacs25.override {srcRepo = true;}) (old: { name = "emacs-unstable-26.0.50.1"; src = fetchgit { url = git://git.savannah.gnu.org/emacs.git; sha256 = "0lgw3vh9ww1kncwq68xxd92kg80ys20g5n3nifap3dy1k7ncg1lp";}; patches = []; })'’. srcRepo already handles calling autogen.sh in preConfigure phase to generate a patched
<kmicu> installation paths.
<MichaelRaskin> joepie91: 1) thanks, interesting 2) I won't use it anyway, I usually don't get into the area where saving _on xargs invocations_ makes sense
<joepie91> MichaelRaskin: well it wouldn't work here :P
<joepie91> xargs I mean
<joepie91> you'd lose the total thing
<MichaelRaskin> Ah right, forgot about that
<MichaelRaskin> But it looked like the sorting part counted the most
jensens has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
seanz has quit [(Quit: Leaving.)]
reinzelmann has quit [(Quit: Leaving)]
Shoue has joined #nixos
acertain has joined #nixos
<NixOS_GitHub> [nixpkgs] devhell opened pull request #21240: libmesode: init at 0.9.1 (master...libmesode) https://git.io/v175c
<NixOS_GitHub> [nixpkgs] devhell opened pull request #21241: profanity: 0.4.7 -> 0.5.0 (master...profanity) https://git.io/v175W
eacameron has joined #nixos
<stepcut> I'm trying to add support for GHC on ARM. The first step is to create the ghc801Binary target that uses the generic binary distribution supplied from GHC HQ. However, I am running into the exact same error the Fuuzetsu did here, http://lists.science.uu.nl/pipermail/nix-dev/2014-May/013231.html
<stepcut> I'm not really sure how to proceed
<NixOS_GitHub> [nixpkgs] jgeerds closed pull request #21239: nano: 2.7.1 -> 2.7.2 (master...update/nano-2.7.2) https://git.io/v17HQ
AveryC has joined #nixos
eacameron has quit [(Ping timeout: 256 seconds)]
<gchristensen> fpletz: did you run?
jensens has quit [(Ping timeout: 246 seconds)]
way218 has quit [(Ping timeout: 264 seconds)]
zagy has joined #nixos
pi3r has joined #nixos
nh2_ has joined #nixos
jbgi has joined #nixos
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v17dX
<NixOS_GitHub> nixpkgs/master dda4629 devhell: libmesode: init at 0.9.1...
eacameron has quit [(Ping timeout: 258 seconds)]
systemfault has joined #nixos
jgertm has joined #nixos
<rardiol> how do I find out why I have 5 different ghc in /nix/store?
imode has joined #nixos
<rardiol> and 15 gcc?
<MichaelRaskin> Some of them may be old copies built say against old glibc
<MichaelRaskin> The idea of Nix is that only explicit GC removes anything from store
<MichaelRaskin> And then you need to explicitly do one more switch to remove old generattions of whatever you have explicitly built
<alphor> anyone running nix (just the pkg manager) on a VPS? what's the minimum amount of RAM necessary to build packages (like ZNC) from a recipe?
<simpson> alphor: IME about 1GiB minimum, 2GiB for more comfort.
nh2_ has quit [(Ping timeout: 240 seconds)]
<rardiol> MichaelRaskin: ok, I just ran nix-collect-garbage. I wanted to see what is keeping them in, like the opposite nix-store -q --tree, showing what depends on something
jbgi has quit [(Quit: jbgi)]
<alphor> simpson: you're not using Boehm GC, are you?
<simpson> alphor: I don't know how I would check. I just know that 512MiB is not big enough for x86 VPS when trying to do nix-env.
<MichaelRaskin> nix-store -q --referrers-closure
<alphor> simpson: it has to be configured at compile time, so I'm guessing not. Thanks for the info!
<MichaelRaskin> I guess I can run a LiveCD in a VM and check whether ZNC build works OK
<MichaelRaskin> What is the memory size you care about?
<alphor> MichaelRaskin: 512MiB
<rardiol> MichaelRaskin: thanks
<alphor> that would be great, if you can, but it's not a big deal if you don't want to.
<alphor> MichaelRaskin: ^
<MichaelRaskin> Turned out grabbing a fresh LiveCD is like 1.5 minutes
<MichaelRaskin> Fast WiFi is nice…
<kmicu> alphor: try with ‘GC_INITIAL_HEAP_SIZE=128k nix…’ it should stay below ~256MB.
<MichaelRaskin> OK, 512 MiB with LiveCD at x86_64 arch with RAM overlays — Nix runs out of RAM
<MichaelRaskin> Initial heap size doesn't help much
<kmicu> What command do you test?
<MichaelRaskin> nix-env -i znc
<kmicu> alphor: ah, and never use ‘nix-env -i’, always ‘nix-env -iA’ :)
<MichaelRaskin> I wanted a truly clean test
<MichaelRaskin> On my real boxes I just use nix-build
ixxie has joined #nixos
<alphor> MichaelRaskin: thanks for the test, I appreciate it a lot. 1 gig vps it is.
<MichaelRaskin> Well, -iA _does_ work better
<kmicu> Evaluating the whole YUGE Nixpkgs set is not a *practical* test for building a one recipe.
<alphor> what about just nix-env -q
<alphor> sorry, the one that queries for a package list
<kmicu> (We should introduce concepts of ‘Nixpkgs memory requirements’ vs ‘Nix memory requirements’ to avoid confusion.)
<MichaelRaskin> That's true…
<MichaelRaskin> Let me try -iA without binary caches…
<alphor> ah it's "nix-env -qa" unless I'm misunderstanding.
<Xackle> kmicu:perfect, thanks!
<Xackle> needed to change the srcRepo to true
AveryC has quit [(Ping timeout: 246 seconds)]
<MichaelRaskin> OK, alphor: OK, so I tried to fetch the ZNC deps and then build locally ZNC at 512 MiB LiveCD VM (i.e. no HDD to store openssl there). Seems to work fine, will report when it finishes
<alphor> MichaelRaskin: okay, great. Thanks.
<MichaelRaskin> but a single nix-env -i without -A does start OOM
<MichaelRaskin> ZNC seems to complain about running as root just fine
<MichaelRaskin> (after the build)
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v17Fj
<NixOS_GitHub> nixpkgs/master 900ded3 devhell: profanity: 0.4.7 -> 0.5.0...
<MichaelRaskin> alphor: note that you also have an option of nix-building something, then nix-store --export the result
jensens has joined #nixos
<MichaelRaskin> I think importing requires less RAM than evaluating
<alphor> MichaelRaskin: I was just thinking of building it locally on my machine, and somehow sending it to the VPS in question
<MichaelRaskin> Exactly
<alphor> but that's too much work for what would be $20 extra a year.
<MichaelRaskin> nix-store -qR $env | xargs nix-store --export | ssh server nix-store --import
<MichaelRaskin> I think that I have missed no more than two flags somewhere
<MichaelRaskin> And this is scriptable
<alphor> MichaelRasking: Lol, I guess not. I'll try messing around with a DO box. Thanks for the info.
redmq has joined #nixos
mudri has quit [(Ping timeout: 258 seconds)]
redmq has quit [(Ping timeout: 258 seconds)]
mudri has joined #nixos
zagy has quit [(Quit: Leaving.)]
pi3r has quit [(Ping timeout: 246 seconds)]
ryanartecona has joined #nixos
ixxie has quit [(Ping timeout: 246 seconds)]
<MichaelRaskin> alphor: nix-store --export/--import works fine with 256 MiB
<NixOS_GitHub> [nixpkgs] rycee pushed 3 new commits to master: https://git.io/v17NY
<NixOS_GitHub> nixpkgs/master f8fdf3d Robert Helgesson: perl-Math-BigInt: 1.999802 -> 1.999806
<NixOS_GitHub> nixpkgs/master 8d593f2 Robert Helgesson: perl-Math-BigRat: 0.260805 -> 0.2611
<NixOS_GitHub> nixpkgs/master cdb7d9f Robert Helgesson: perl-bignum: 0.44 -> 0.47
<MichaelRaskin> Not 128MiB, though
pi3r has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #21242: teamviewer: 11.0.57095 -> 12.0.71510 (master...update/teamviewer-12.0.71510) https://git.io/v17NG
AveryC has joined #nixos
joko has joined #nixos
kier has quit [(Ping timeout: 250 seconds)]
<shlevy> stdenv change without staging :(
jensens has quit [(Ping timeout: 250 seconds)]
jbgi has joined #nixos
<Rotaerk> peti, does --hackage-db for cabal2nix work?
<arianvp2> Sooo
<arianvp2> How is that interactive nix language tutorial called again?
<arianvp2> I have googled all day and it is impossible to find for some reason
<peti> Rotaerk: cabal2nix --help suggests it does. :-)
<Rotaerk> if I run "cabal2nix cabal://mtl", it works, but if I do "cabal2nix --hackage-db=/home/rotaerk/blah/packages/hackage.haskell.org/00-index.tar cabal://mtl" it gives me the following error:
<c0bw3b> arianvp2: https://nixcloud.io/tour/?id=1 ?
<arianvp2> YES!
<arianvp2> how is that so hard to find
<Rotaerk> X-Cabal-File-Hash field is missing
<arianvp2> Thank you so much :)
<c0bw3b> "Nix Tour" were the keywords ^^
<c0bw3b> np
<Rotaerk> so somehow it's not adding that custom field when I specify --hackage-db
<Rotaerk> I mean, --hackage-db *does* work for some other packages, like cabal://transformers
<peti> Rotaerk: Hmm. I'll have to investigate whether that's a bug or the unfortunate consequence of something I can't remember right now. It's been a long time since I implemented that code.
<Rotaerk> k
<peti> Rotaerk: Anyhow, I can re-produe the issue here, too. Not sure why it happens.
<Rotaerk> well, it only checks for X-Cabal-File-Hash if the revision in the cabal file is > 0
pi3r has quit [(Ping timeout: 256 seconds)]
<Rotaerk> i'm guessing you just didn't run the logic that injects the X-Cabal-File-Hash when --hackage-db is specified
<Rotaerk> that or it *can't* be, and the code that expects it should accept its absence
<peti> Rotaerk: Probably. I've made a note at https://github.com/NixOS/cabal2nix/issues/255.
<Rotaerk> k, thanks
<Rotaerk> I'll see if I can figure it out
e1 has quit [(Quit: WeeChat 1.6)]
AveryC has quit [(Ping timeout: 246 seconds)]
sternenseemann has joined #nixos
isHavvy has quit [(Ping timeout: 268 seconds)]
<arianvp2> okay so so
<arianvp2> with import <nixpkgs> { };
<arianvp2> this calls the <nixpkgs> closure with argument {}
<arianvp2> and brings the resulting attributes in lexical scope?
ryanartecona has quit [(Quit: ryanartecona)]
<Rotaerk> peti, ah; got it. DB.readHashedHackage is the function that injects X-Cabal-File-Hash, and it's only called if optHackageDB is Nothing: https://github.com/NixOS/cabal2nix/blob/master/src/Distribution/Nixpkgs/Haskell/PackageSourceSpec.hs#L51
roconnor has joined #nixos
<toogley> if https://github.com/NixOS/nixpkgs/blob/81428dd022c26764e9066d381ece90b1e88bd0d2/pkgs/applications/misc/redshift/default.nix doesn't have any arguments to specificy the color temperature, i guess there's no way to set it?
m3tti has joined #nixos
xadi has quit [(Quit: Leaving.)]
mahe2 has quit [(Quit: leaving)]
bennofs has joined #nixos
ryanartecona has joined #nixos
reinzelmann has joined #nixos
Itkovian has joined #nixos
rly has joined #nixos
hotfuzz has quit [(Read error: Connection reset by peer)]
hotfuzz_ has joined #nixos
zagy has joined #nixos
imode has quit [(Ping timeout: 250 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v17p4
<NixOS_GitHub> nixpkgs/master ffb90e8 Vladimír Čunát: Revert "Merge pull request #21234 from l2dy/coreutils-up"...
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/v17p0
<NixOS_GitHub> nixpkgs/staging 86e4c9e Vladimír Čunát: Merge branch 'master' into staging
<NixOS_GitHub> nixpkgs/staging 3a0f197 Vladimír Čunát: Revert "Revert "Merge pull request #21234 from l2dy/coreutils-up""...
eacameron has joined #nixos
Fare has quit [(Ping timeout: 260 seconds)]
osa1 has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 248 seconds)]
k2s has joined #nixos
osa1 has joined #nixos
osa1 has quit [(Remote host closed the connection)]
amarsman has quit [(Ping timeout: 264 seconds)]
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] nbp opened pull request #21243: Add overlays mechanism to Nixpkgs. (master...overlays) https://git.io/v17pp
herzmeister has quit [(Quit: Leaving)]
eacameron has quit [(Ping timeout: 246 seconds)]
herzmeister has joined #nixos
kier has joined #nixos
redmq has joined #nixos
<gchristensen> pierron: what does "overlay ? let ... in" do
<gchristensen> ?
<Baughn> There's no builtin to get the size of a file?
<gchristensen> oh, duh, it is a function declaration, I missed that context. sorry, pierron
redmq has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
<Baughn> http://sprunge.us/PNXU <- This feels silly.
ryanartecona has quit [(Quit: ryanartecona)]
amarsman has joined #nixos
<toogley> can i make feature requests on the github issues?
<gchristensen> toogley: sure
<gchristensen> Baughn: what are you using that for?
<toogley> gchristensen: thanks^^
<Baughn> gchristensen: Populating the serverpack manifest with the size of the files the client'll be downloading.
eacameron has quit [(Ping timeout: 264 seconds)]
ryanartecona has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #21242: teamviewer: 11.0.57095 -> 12.0.71510 (master...update/teamviewer-12.0.71510) https://git.io/v17NG
<gchristensen> hrm
pi3r has joined #nixos
ryanartecona has quit [(Client Quit)]
zagy has quit [(Quit: Leaving.)]
<gchristensen> I see
ixxie has joined #nixos
<toogley> when i type `systemctl --version`, i receive "systemd 231". but the last release of our forked systemd repo https://github.com/NixOS/systemd/releases is v224. - i don't understand that; are we currently shipping the upstream version directly?
<toogley> i mean, it doesn't make sense that the __last__ systemd version on our nixos repository is **older** than what i receive via `systemctl --version`
ChongLi has joined #nixos
<NixOS_GitHub> [nixpkgs] boronine opened pull request #21245: luarocks: enable Darwin (master...luarocks-darwin) https://git.io/v17j6
<berce> When building linux-4.8 it fails with "lzop: command not found"
<berce> How can I make sure lzop is available at build time?
danharaj has joined #nixos
<Baughn> Figure out which package it's in. Add it to buildInputs.
<rly> Why is OracleJDK installation not as automated as on Debian?
<rly> Did Oracle send some kind of angry letter?
<berce> I tried adding lsop to the first line of linux-4.8.nix: { stdenv, fetchurl, perl, buildLinux, lzop,... } @ args:
Lowl3v3l has quit [(Remote host closed the connection)]
<warbo> hi, I've got one derivation which uses `runCommand` to write a Nix expression (using cabal2nix, FWIW) and another which imports the result
<berce> But the error is still there
Lowl3v3l has joined #nixos
<warbo> yet Nix seems to be *executing* the generated file as a bash script: I get "`mkDerivation,` command not found"
<Baughn> berce: That just specifies what packages should be available in that environment.
<warbo> any idea what might cause Nix to do this?
<Baughn> berce: You still need to actually add it to buildInputs somewhere.
<berce> Where is 'somewhere' :-)
<rly> berce: the only thing that thing does is that a $lzop environment variable is present in the build environment, IIRC.
<warbo> (I've seen it a few times, when saving a file as "$out", but don't recall it happening when "$out" is a directory)
<Baughn> rly: It won't even do that. You don't get an envvar set unless the value is set in that specific derivation, outer lexical closures don't do it.
<Baughn> rly: Which is what inherit is for.
<rly> For a declarative OS, the documentation for many of the functions is rather undeclared ;)
<gchristensen> rly: functional programming is self documenting!
<rly> gchristensen: heh
<MichaelRaskin> gchristensen: for that we have not enough cross-indexing of definitions, I guess
* gchristensen is kidding
* rly knew
<MichaelRaskin> Well, ctags-nix could be nice anyway
<rly> Yes, but ctags is rather low-tech.
<Baughn> It beats *nothing*.
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #21246: oh-my-zsh: 2016-11-16 -> 2016-12-14 (master...oh-my-zsh_2016_12_14) https://git.io/v15en
<MichaelRaskin> You would prefer something lke these Coq-to-prose converters that emit text which is technically speaking in English?
ixxie has quit [(Ping timeout: 268 seconds)]
way218 has joined #nixos
<offlinehacker[m]> gchristensen: I'm afraid it got lost in a process, when i migrated mediawiki setup to docker.
<gchristensen> offlinehacker[m]: what did?
<gchristensen> oh I remember now
<gchristensen> ok, well thank you for looking, anyway :)
<offlinehacker[m]> gchristensen: I'm a bit late
<berce> Baughn: would nativeBuildInputs = [ perl lzop ];
<offlinehacker[m]> gchristensen: I suppose I built composer cache from generated file, but haven't used composer for a long time, and I used it only once, and I forgot how exactly it works.
<berce> ... be a good place to add it in kernel/generic.nix
<rly> Does OpenJDK JRE also come with libjava.so?
<Baughn> berce: It probably doesn't need to be native
<berce> Baughn: it's inside configfile = stdenv.mkDerivation {
<Baughn> Rather, what does lzop do?
<Baughn> And is that needed while generating the config file?
<berce> Baughn: compression I assume
<berce> No it's needed near the end of building the kernel I think: ...
<berce> Kernel: arch/arm/boot/Image is ready
<berce> LDS arch/arm/boot/compressed/vmlinux.lds
<berce> AS arch/arm/boot/compressed/head.o
<berce> LZO arch/arm/boot/compressed/piggy_data
<berce> /nix/store/28wl3f34vfjpw0y5809bgr6382wqdscf-bash-4.3-p48/bin/bash: lzop: command not found
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/v15e2
<NixOS_GitHub> nixpkgs/master 9aa6c95 Kamil Chmielewski: vagrant: 1.8.7 -> 1.9.1
<NixOS_GitHub> nixpkgs/master 4c3e8df Graham Christensen: Merge pull request #21173 from kamilchm/vagrant...
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #21187: ior: init at 3.0.1 (master...ior) https://git.io/v19mc
<berce> Baughn: would pkgs/stdenv/linux/make-bootstrap-tools-cross.nix be the file to edit? It also has gzip, bzip2 and several other tools defined.
redmq has joined #nixos
<Baughn> berce: I honestly don't know, sorry. I've never tried to alter the kernel.
<Baughn> berce: But.. probably not. That does not look like kernel code at all.
<rly> Never mind.
<rly> berce: The way it should work is that based on the configuration, different tooling should be selected, but just adding it there would likey fix it.
<rly> berce: likely*
redmq has quit [(Ping timeout: 250 seconds)]
<berce> Baughn: thank you for sharing what you do know :-)
<rly> berce: never mind, I responded too quickly.
<rly> berce: do you a stand-alone shell.nix expression?
<berce> rly: no. I cloned nixpkgs and try to modify it to get this kernel built.
<rly> berce: so, it's a kernel with a custom configuration? I.e. custom 'config'?
<berce> rly: yes, I replaced the defconfig with imx-v6-v7_defconfig
<berce> so not really exotic, just something that was not yet in Nixos
<rly> berce: What's the attribute name you are trying to build?
<berce> rly: linux-4.8
<berce> rly: nix-build cross.nix -A linux_4_8.crossDrv
Kingsquee has joined #nixos
<berce> cross.nix is based on a 2 year old snippet of dezgeg
zraexy has joined #nixos
<berce> The best 'documentation about cross compiling was an old irc log
Wizek_ has quit [(Ping timeout: 260 seconds)]
<berce> ... referring to that snippet
Wizek has quit [(Ping timeout: 265 seconds)]
<rly> berce: I would modify generic.nix.
<rly> berce: this might not be what others would do, but I am fairly sure that it would work.
<Baughn> So I'm trying to get the path of every directory and file immediately inside a derivation, but..
<rly> berce: do you understand what I mean or do I need to give more details?
<Baughn> (map (n: clientConfigDir + "/" + n) (builtins.attrNames (builtins.readDir clientConfigDir)))) <- This gives me "The string 'README.md" is not allowed to refer to a store path"
<berce> rly: I think I understand: ...
<rly> berce: great.
<berce> ... There's only one '.mkDerivation' and only one nativeBuildInpunts line in there, so I assume I 'll add lzop there.
Guest25783 has quit [(Quit: Lost terminal)]
pi3r has quit [(Quit: Nettalk6 - www.ntalk.de)]
<rly> berce: that sounds right.
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
<berce> Do you think I can avoid recompiling it all? i.e. just skip to that LZO line of piggy_data?
herzmeisterderw has joined #nixos
herzmeisterderw has quit [(Remote host closed the connection)]
<rly> berce: you could setup some ccache.
<rly> berce: but that would be for next time.
<rly> berce: so, it is perhaps possible, but I'd say that answering the question requires someone who builds kernels on Nix everyday, and that person would not be me.
<berce> rly: it just started with donwloading lzop from cache. That gives me hope :-)
zraexy has quit [(Ping timeout: 260 seconds)]
<rly> berce: what are you doing with arm?
<berce> rly: I have a cubox-i4 pro and would like it to do more than playing video for the kids
<rly> berce: how hardcore.
<Rotaerk> peti, how do I build this cabal2nix project? the README mentions a release.nix, but that doesn't seem to exist
<Rotaerk> oh, does it use stack now
<berce> rly: About a year ago i discovered Nixos, for several months I 'm running it on my laptop, and I basically want to control all systems I have with Nix now :-)
<rly> berce: yeah, I have basically done the same, except I allow other systems to exist, until they break,
<rly> berce: I actually used the NixOS features a couple of times now.
k2s has quit [(Quit: Leaving)]
<rly> berce: i.e. unbootable systems, which would work by just going back to a different generation.
<rly> berce: things which would work only via LiveCDs otherwise.
<rly> berce: to some degree, I also cannot live without NixOS.
<NixOS_GitHub> [nixpkgs] abbradar closed pull request #21231: Update DOOM forks, remove top-level fmod (master...no-fmod) https://git.io/v17PK
<rly> berce: the things I do are just too complicated for my puny human mind.
<berce> rly: I certainly can live without, but I love living with :-)
<rly> berce: I used to break other packaging systems all the time.
<rly> berce: I got sick of the responses, so I got away from those people.
<berce> rly: I did spend a lot of time reading, trying to get things done with nix/nixos
<berce> rly: up to now I always found a solution, and every time it was so amazingly simple
<berce> rly: I prefer the hard learning and easy work
nh2_ has joined #nixos
<Baughn> clever: "error: the string ‘README.md’ is not allowed to refer to a store path" <- Don't suppose you know what this is doing?
<rly> Baughn: I know sort of what it is.
<Baughn> Hm?
mudri has quit [(Ping timeout: 246 seconds)]
<rly> Baughn: you can search in the nix source code.
<rly> Baughn: that's what I did the last time I had this problem.
<clever> Baughn: do you have a nix expression for context?
<rly> Baughn: it's pretty obvious, if you see where the error is generated.
<Baughn> It's a bit complicated, but something like http://sprunge.us/KZWU
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v15Jm
<NixOS_GitHub> nixpkgs/master c221900 Joachim Fasting: Revert "mysql service: specify defaultText for package option"...
<NixOS_GitHub> nixpkgs/master 1429301 Joachim Fasting: Revert "mysql service: specify a default package"...
<Baughn> The idea of which is to zip up each entry in clientConfigDif into a separate zipfile.
<clever> hard to see where the error comes from
<rly> Baughn: a simple simplication is to eliminate the map expression first.
<rly> Baughn: that gets you a simpler problem already.
<rly> Baughn: at some point you are creating something which is a "StorePath" (IIRC) from probably a std::string "README.md".
seanz has joined #nixos
<Baughn> Presumably where I'm appending it back to clientConfigDir after reading that?
seanz has quit [(Client Quit)]
<rly> Baughn: perhaps.
<rly> This kind of stuff would be nicer to reason about if there was a calculus for it available.
<rly> Instead of a ball of mud called a C++ program. :)
<rly> Is sprunge also installable on NixOS?
<rly> nox sprunge didn't return anything.
<rly> Apparently not.
<Baughn> Hm. I tried refactoring it, but then the problem disappeared.
<Baughn> Despite using only valid reductions..
<Baughn> And sprunge is a one-liner, so.. well.
jbgi has quit [(Quit: jbgi)]
<rly> Baughn: yeah, I see it now.
nh2_ has quit [(Ping timeout: 265 seconds)]
<rly> Baughn: pretty nice, but a package would even be nicer.
<Baughn> I don't.
<rly> Baughn: does it ever delete data?
<Baughn> Oh, sprunge?
<Baughn> No idea.
<rly> Baughn: anyway, good that your immediate issue got resolved.
<rly> Baughn: ah, yes, I was talking about sprunge before.
hiratara has quit [(Ping timeout: 245 seconds)]
Fare has joined #nixos
hiratara has joined #nixos
hyphon81 has joined #nixos
<hyphon81> hello
rly has quit [(Ping timeout: 256 seconds)]
reinzelmann has quit [(Quit: Leaving)]
<simpson> Hi.
<joepie91> errr. my IPv6 does not appear to be functioning
<joepie91> I'm not sure whether NixOS is to blame or not...
<hyphon81> How to set OVMF to libvirt in NixOS? I can't found options to do it...
jgertm_ has joined #nixos
imode has joined #nixos
<berce> rly: no luck compiling that kernel, lzop still not found
<berce> rly: I 'll learn how to debug packages, so an iteration wouldn't take > 30 minutes anymore
jonasfj has quit [(Ping timeout: 246 seconds)]
jonasfj has joined #nixos
<hyphon81> There is the nixpkg of OVMF, so I thought it can use. However, I can't use it with libvirt.
c0bw3b has left #nixos []
<NixOS_GitHub> [nixpkgs] tohl opened pull request #21249: cjdns: added option addExtraHosts (master...master) https://git.io/v15Tm
justanotheruser has joined #nixos
<MichaelRaskin> hyphon81: well, you probably can use the old instructions for libvirt
justan0theruser has quit [(Ping timeout: 250 seconds)]
<MichaelRaskin> I.e. copy the OVMF UEFI implementation and list it as <loader type='pflash'>
mudri has joined #nixos
<MichaelRaskin> (personally, I am OK with just using Qemu command-line, and I haven't used libvirt since a very long time)
<hyphon81> I need to edit the file corresponds to /etc/libvirt/qemu.conf. I attempted edit it with environment.etc, however it didn't work.
rui has joined #nixos
<rui> My laptop's wifi card stopped working for some reason (even on Windows)
<rui> So I plugged a usb wifi network blahblah
<MichaelRaskin> Sounds like rfkill on the laptop card
<MichaelRaskin> Any weird sliders on the side edges of the notebook?
<rui> When booting on Ubuntu, it found it. On nixos, nothing happens "automatically".
<MichaelRaskin> Or maybe some Fn-F got pressed?
<rui> MichaelRaskin: let me recheck. Never thought of searching for sliders
<Mic92> hyphon81: I only see one config option related to libvirt called: virtualisation.libvirtd.extraConfig
hiratara has quit [(Quit: ZNC - http://znc.in)]
<rui> Fn- has been pressed and depressed a million times in an attermpet to fix it
<Mic92> this correspond to libvirtd.conf
<MichaelRaskin> cat /sys/class/rfkill/rfkill*/state
<Mic92> hyphon81: so the question is, which daemon should process qemu.conf?
<rui> MichaelRaskin: No slider. The light on the fn wi-fi button is red, but it doesn't get green by pressing it
<MichaelRaskin> For the USB option, I guess finding out what module is used in Ubuntu could be a good start
<rui> On windows, pressing it turned airplane mode on and off, but the light remained green, and it didn't find the card
hiratara has joined #nixos
<MichaelRaskin> What about /sys/class/rfkill entries?
<MichaelRaskin> Would be fun if Fn-Fx had to be pressed while in BIOS Setup (i.e. without any driver loaded) to work…
<stepcut> I have an ec2 server that us running ubuntu, but I want to switch to using nixos/nixops. Is there some way to tell nixops to use that existing ec2 instance? Or is that crazy talk? Perhaps nixops just creates a new instance, and use the AWS control panel to kill the old one?
<rui> MichaelRaskin: The directory /sys/class/rkill/ is empty
<rui> rfkill
<MichaelRaskin> Pity
<rui> MichaelRaskin: I think I tried pressing it on boot, but nos sure if in the bios (which I also upgraded)
<Mic92> rui: in some weired cases, you can remove your battery and press the power button to uncharge it completly so that your bios is reset.
<rui> MichaelRaskin: I did the hp test on boot, and it says "WLAN MODULE not loaded"
<rui> So it sounds quite hardware-ish, right?
<MichaelRaskin> And then in some notebooks you can switch off the WiFi module in BIOS Setup and OS can do nothing about that
<MichaelRaskin> A hardware glitch is not out of question, though
<rui> MichaelRaskin: BIOS seems to have no options regarding wifi
<rui> Mic92: That sounds weirdly interesting
<MichaelRaskin> I see. It's just that I have learnt some checklist entries that cost little to try and avoid a lot of pain once in twenty cases.
<MichaelRaskin> Sorry that nothing seems to match
<rui> MichaelRaskin: No sorries, on the contrary.
<MichaelRaskin> Full power drain does help in very rare cases, yes
<MichaelRaskin> Don't forget to unplug AC, of course.
<rui> By the way, any ideas on how to check the module used by ubuntu?
<rui> Hehe, right
<MichaelRaskin> lsusb/lsmod
<MichaelRaskin> It is often not that hard to understand which module in lsmod is the usb card
<Mic92> wifi modules often start iw*
<MichaelRaskin> I would expect it to be loded late (near the top of the list) if you plug the card in after boot
Itkovian has joined #nixos
<rui> Great! Thanks guys (girls? xir?)
<MichaelRaskin> rui: Given you are in the middle of _two_ intriguing plot arcs, you could tell us _what_ is great.
<simpson> rui: My preferred pronoun is not available in English, unfortunately.
<MichaelRaskin> simpson: in what languages is it available?
<MichaelRaskin> Or is it beyond languages pronouncible by mere humans?
<simpson> MichaelRaskin: Lojban. My preferred pronoun is {ko'a}, as in {lo prenu goi ko'a cu zabna} "That person {ko'a} is cool."
deepwater has quit [(Remote host closed the connection)]
jgertm_ has quit [(Ping timeout: 264 seconds)]
<MichaelRaskin> ko'a is basically an indexed (and alphabetically the first one of the indexed options) third-person gender-universal singular, right?
<simpson> Too tight. {ko'a} is a fully assignable pronoun.
<simpson> It's nice to work in a language with no gender inflection whatsoever.
<MichaelRaskin> Too tight on the singular count, right?
<Rotaerk> the standard english pronoun for referring to a person in gender-neutral fashion is "they", but it sometimes just doesn't sound right... for me it sounds weird if you're referring to a *specific* person rather than an abstract one
<MichaelRaskin> Or can you assign it to second-person?
<Rotaerk> e.g I spoke to MichaelRaskin and they told me...
<joepie91> quick sanity check. IPv6 is supposed to be automatically configured through DHCPv6, correct?
<simpson> It doesn't have to be singular, it doesn't have to refer to gendered things, it can refer to *any* referent, including oneself...
<Rotaerk> sounds weird to me
<simpson> joepie91: Should be.
<joepie91> and I shouldn't need to manually specify gateway etc for this?
<simpson> Rotaerk: One gets used to it. (One also gets used to "one"!)
<MichaelRaskin> simpson: gender-universal was my attempt to say that it doesn't put any limitations on the grammatical or social gender
<Rotaerk> I usually just prefer to pick a gendered pronoun, and risk being wrong
<Rotaerk> if I'm wrong, so be it; I can be corrected; not the gravest sin
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<MichaelRaskin> That's how some people have to correct everyone addressing them…
<hyphon81> Mic92: Maybe, it is libvirtd because it should be restart after edit qemu.conf. However, at least, libvirtd.extraConfig didn't work for my problem.
Shoue has quit [(Ping timeout: 258 seconds)]
imode has left #nixos ["WeeChat 1.6"]
<rui> haha
<MichaelRaskin> rui: so what have you found out that you called great?
<rui> MichaelRaskin: Great all your suggestions, plus the light at the crappy end of the tunnel where I'll find the module and be able to at least use the usb wifi on nixos
<rui> Opening now ubuntu...
m3tti has quit [(Ping timeout: 246 seconds)]
aj__ has joined #nixos
<hyphon81> In Arch Linux, I could use OVMF in virt-manager(libvirt) with editing /etc/libvirt/qemu.conf. https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Configuring_libvirt
derjohn_mobi has quit [(Ping timeout: 248 seconds)]
<hyphon81> NixOS is not in someone's line. It is difficult for me...
<rui> The usb device is found easily on lsusb. Now, lsmod is less obvious
redmq has joined #nixos
wangoe has joined #nixos
<MichaelRaskin> lsusb -v would give you VID:PID
<MichaelRaskin> searching can help you filter the modules…
ambro718 has quit [(Ping timeout: 250 seconds)]
<rui> last ones listed by lsmod are: mii, libahci, rtsx_pci, usb_storage, ahci, r8169, ...
<rui> lsusb -v gives lots of information under the usb wifi device section
<rui> Currently I'm trying to guess what to correlate from there to the lsmod output to find "the module"
<MichaelRaskin> The things you listed are not that
<MichaelRaskin> modinfo cna help to know what a module does
redmq has quit [(Ping timeout: 264 seconds)]
<rui> Those are not module names?
<rui> Do you have an example of what a module name looks like?
<MichaelRaskin> Ah no, you listed module names
<rui> Or you mean that the ones I listed are not "THE" module
<MichaelRaskin> It's just that ahci is about HDD
<rui> ok ok
<MichaelRaskin> r8169 is Gigabit Ethernet
<MichaelRaskin> rtsx_pci is about pci and usb_storage about storage
<Mic92> hyphon81: it looks like a packaging bug: configuration directory is set to "sysconfdir=$(out)/var/lib"
<Mic92> hyphon81: which means qemu.conf will be in nix store in var/lib/libvirt/qemu.conf
amarsman has quit [(Ping timeout: 250 seconds)]
<Rotaerk> peti, sent you a PR
<rui> mii seems to have something to do with networking but not wifi either
<Mic92> hyphon81: you could try to fix this your self, or open a issue.
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #21245: luarocks: enable Darwin (master...luarocks-darwin) https://git.io/v17j6
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/v15LL
<NixOS_GitHub> nixpkgs/master a7347d9 Alexei Boronine: luarocks: enable Darwin
<NixOS_GitHub> nixpkgs/master 29ce1d9 Daiderd Jordan: Merge pull request #21245 from boronine/luarocks-darwin...
Shoue has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-wip from 838b707 to 563eda5: https://git.io/vzaOS
<NixOS_GitHub> nixpkgs/python-wip 66bb916 Frederik Rietdijk: pythonPackages.flake8: 2.6.2 -> 3.2.1
<NixOS_GitHub> nixpkgs/python-wip 58c6952 Frederik Rietdijk: pythonPackages.flake8_3: remove...
<NixOS_GitHub> nixpkgs/python-wip 0e9f82b Frederik Rietdijk: pythonPackages.lxml: 3.4.4 -> 3.7.0
deepwater has joined #nixos
<hyphon81> Mic92: If I will try to fix it, do I have to add NixOS options? I'm searching how to add options in my local environment with NixOS at the moment...
eacameron has joined #nixos
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
<rui> rt2800usb
<rui> found it!
<MichaelRaskin> My 4.9 kernel seems to have this module
jazzencat has joined #nixos
<rui> I think I'm on 4.4.6. Haven't been able to nixos-rebuild switch for a while
<rui> (actually that's on my PC, didn't even try on my laptop)
<jazzencat> I'm trying to add a .zip download url to services.xserver.displayManager.slim.theme = pkgurl = { url = "location"; } but the location doesn't give a sha256 hash, and nixos wants one.
<rui> MichaelRaskin: if it has it, lsmod should list it, right?
<MichaelRaskin> modinfo
<rui> Yeah, I don't have it on my PC, so not a chance on the laptop
<MichaelRaskin> It may be that autoloading doesn't happen for one of a million reasons and you need modprobe
<MichaelRaskin> Ah, I see
<rui> In conclusion, I need to finally succeed at nixos-rebuilding
<berce> MichaelRaskin: could you tell me where to add a build dependency for crosscompiling a custom kernel?
<MichaelRaskin> Well, I would try lib.overrideDerivation
<MichaelRaskin> and add to nativeBuildInputs or buildInputs
<berce> In what file?
<MichaelRaskin> Ah, you want to actually patch NixPkgs from the get-go?
<MichaelRaskin> then pkgs/os-specific/linux/kernel
<berce> I have a local clone of nixpkgs
<berce> then generic.nix?
<MichaelRaskin> generic.nix, I guess
<rui> MichaelRaskin: There seem to be several boot.kernel** stuff on "man configuration.nix"
<rui> MichaelRaskin: If updating should fix it, ideally I should want to finally succeed updating. But given the past failures, a "plan B" seems appropriate
<berce> I tried adding lzop next to perl in the only nativeBuildInputs in generic.nix. It didn't work.
<rui> that can be whatever works. overrideDerivation, that generic.nix thing you suggested, I don't think I mind either way
<avn> jazzencat: nix-prefetch-url tell you hash
<berce> Lzop was downloaded, but the error stays
amarsman has joined #nixos
<MichaelRaskin> rui: you are not cross-compiling, the kernel build should just work for you
<MichaelRaskin> berce: do you have confidence what command actually fails?
<MichaelRaskin> Inside the build
<berce> MichaelRaskin: lzop
<MichaelRaskin> Maybe kernel build specifies full path to a locally-built lzop?
<hyphon81> Tentantively, I forked nixpkg in github. I attempted modifing it with blinding method like. Of course, it doesn't work. XD
<berce> MichaelRaskin: LZO arch/arm/boot/compressed/piggy_data
<berce> MichaelRaskin: /nix/store/28wl3f34vfjpw0y5809bgr6382wqdscf-bash-4.3-p48/bin/bash: lzop: command not found
<MichaelRaskin> Well, look in the Makefile what actually happens
<MichaelRaskin> Hm
<MichaelRaskin> Maybe echo $PATH during the build?
<MichaelRaskin> Just to check
<berce> MichaelRaskin: Enter a nix-shell with .dev at the end?
<berce> can I easily get lzop available in the shell?
<MichaelRaskin> No, add a lint to postConfigure
<berce> MichaelRaskin: that's new to me. Can you guide me step by step, or shall I study the manual with a few clues you give me?
jazzencat has quit [(Quit: WeeChat 1.6)]
<MichaelRaskin> Erm, do you know the Nix expression syntax?
<berce> Very limited
<MichaelRaskin> Oh, I mistyped
<MichaelRaskin> «add a line»
<MichaelRaskin> Well, I would recommend just reading the entire Nix manual before trying to fix a kernel cross-build
<berce> line makes more sense to me :-)
alunduil has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to python-wip: https://github.com/NixOS/nixpkgs/compare/563eda531b44...7a8b4aaf308a
<NixOS_GitHub> nixpkgs/python-wip 0b56922 Frederik Rietdijk: pythonPackages.pip2nix: broken...
<NixOS_GitHub> nixpkgs/python-wip 7a8b4aa Frederik Rietdijk: pythonPackages.more-itertools: 2.2 -> 2.4.1
<berce> Well, I did read a lot, and I got quite far on my own
<berce> What would the line in postConfigure look like?
<MichaelRaskin> postConfigure = '' echo $PATH '';
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to python-wip: https://github.com/NixOS/nixpkgs/commit/5082976f4052aff338851022c4dd46fbe873d403
<NixOS_GitHub> nixpkgs/python-wip 5082976 Frederik Rietdijk: pythonPackages.skype4py: broken
FRidh has quit [(Remote host closed the connection)]
wangoe has left #nixos []
wangoe has joined #nixos