<NixOS_GitHub>
[nixpkgs] joachifm pushed 4 new commits to master: https://git.io/vMAOW
<NixOS_GitHub>
nixpkgs/master bdfe638 Joachim Fasting: tor: 0.2.8.12 -> 0.2.9.9
<NixOS_GitHub>
nixpkgs/master 0501e49 Joachim Fasting: electrum: 2.7.12 -> 2.7.18...
<NixOS_GitHub>
nixpkgs/master 482c67a Joachim Fasting: grsecurity: adapt new to mirror url structure
t7 has quit [(Remote host closed the connection)]
seanz has quit [(Quit: Leaving.)]
Mic92 has quit [(Ping timeout: 255 seconds)]
Mic92 has joined #nixos
danharaj has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #22121: ghc: support building with integer-simple (master...ghc-integer-simple) https://git.io/vMAst
<fpletz>
gchristensen: my sleeping pattern is unpredictable, even and especially for me %)
<fpletz>
gchristensen: +1 on peterhoeg's last comment
Mic92 has quit [(Ping timeout: 255 seconds)]
k0001 has quit [(Quit: Connection closed for inactivity)]
derjohn_mob has quit [(Ping timeout: 248 seconds)]
<gchristensen>
oh I didn't see his reply :)
<MP2E>
hello! I've been inactive for a good year but I'm back for the forseeable future! Would like to get right back to contributing, but since a fair amount of time has passed, are there new rules/guidelines for pushing changes to master or submitting pull requests?
<MP2E>
I still have push access and there's a few packages I maintained that haven't been updated since then, would it be alright for me to push to master if I'm just version bumping them?
Fare has quit [(Quit: Leaving)]
<MP2E>
just don't want to mess anything up or step on any toes
<gchristensen>
MP2E: probably best to send PRs :)
<MP2E>
alright
Mic92 has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz opened pull request #22124: frab: init at 2016-12-28 & module (master...feature/frab) https://git.io/vMABH
<gchristensen>
but welcome back, MP2E!
<MP2E>
thanks :)
<maurer>
When I run nix-env -iA nixos.binutils, it gives me a package conflict for addr2line
<maurer>
however
<maurer>
addr2line is not on my path
<maurer>
and the two packages it claims conflicts are binutils-2.27-dev and binutils-2.27
<maurer>
neither of which are installed
<maurer>
so I cannot set a priority on either of them
<maurer>
what do I do to get it installed?
hamishmack has quit [(Read error: Connection reset by peer)]
hamishmack has joined #nixos
shanemikel has joined #nixos
calvinx has joined #nixos
eacameron has joined #nixos
mkoenig_ has quit [(Remote host closed the connection)]
abrar has quit [(Quit: WeeChat 1.6)]
calvinx has quit [(Client Quit)]
abrar has joined #nixos
calvinx has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
calvinx has quit [(Client Quit)]
calvinx has joined #nixos
seagreen has joined #nixos
<Rotaerk>
peti_, hey
<Rotaerk>
recently, I wanted to get a simple project to build against reflex, without using the reflex-frp platform, to see how difficult it would be using nix
<Rotaerk>
I'm trying to think of ways to simplify it...
<Rotaerk>
one concern I have is that, in the first file (default.nix for my project), I had to replicate the configurations for some of the packages from configuration-common.nix
shanemikel has joined #nixos
<Rotaerk>
is there any way the haskell stuff in nixpkgs could be reorganized such that those configurations are reusable a la carte?
<Rotaerk>
for instance, instead of the configurations being something like: super: self: { somepkg = disableHardening super.somepkg ["fortify"]; otherpkg = super.somepkg.override { inherit (pkgs) blah; }; }
<Rotaerk>
it just seems like quite the ordeal just specifying your project dependencies with nix...
<simpson>
Rotaerk: Well, most languages aren't designed to work with Nix.
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Client Quit)]
<Rotaerk>
it works fine if you're prepared to use the exact combination of packages within a given nixpkgs release, but otherwise, it's quite the hassle
<simpson>
It's hard for me to not blame Cabal; it has had decades to stop being bad.
<Rotaerk>
heh
<simpson>
But I say that as somebody that is designing a language to work with Nix as its package manager, so.
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vMAuT
<NixOS_GitHub>
nixpkgs/master eebee95 Dan Peebles: apache-kafka service: change default brokerId to -1...
<NixOS_GitHub>
nixpkgs/master 95add2c Daniel Peebles: Merge pull request #22103 from copumpkin/automatic-kafka-broker-id...
Kingsquee has joined #nixos
shanemikel has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
indi_ has quit [(Remote host closed the connection)]
nekroze has joined #nixos
indi_ has joined #nixos
<nekroze>
is there a way to merge two sets such that any lists in them with the same attribute name get joined as well?
jsgrant- has quit [(Excess Flood)]
jsgrant- has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
Mic92 has joined #nixos
benrob0329 has joined #nixos
<benrob0329>
Is it normal for standalone binaries to not run in Nix?
<endformationage>
maurer: I encountered the same recently. The problem is generally that one should not install something like binutils into the user env, but into a development env used by nix-shell.
<tippenein>
anyone running nixos on chromebook?
georges-duperon has quit [(Ping timeout: 252 seconds)]
shanemikel has quit [(Read error: Connection reset by peer)]
<benrob0329>
Thanks guys, though having to create a custom package every time i want to play an Itch.io game is rather tedious
<Rotaerk>
if I build this derivation, I get a folder containing a cabal repo cache...
<Rotaerk>
but if I build it again, it just gives me the same thing, even if hackage has changed
<Rotaerk>
is there some way to make it not use the cached one?
shanemik_ is now known as shanemikel
<benrob0329>
It would be nice if there was a script to patch the elf, and then patch the dependencies it detected
<benrob0329>
Maybe a project for me one of these days
<benrob0329>
Are there any C++ libraries for the Nix tools? (Eg to generate a package)
<benrob0329>
Or a way of doing it in Nix?
shanemikel has quit [(Remote host closed the connection)]
benrob0329 has quit [(Read error: Connection reset by peer)]
benrob0329 has joined #nixos
shanemikel has joined #nixos
mk-fg has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nix] domenkozar force-pushed osx-minimal-version from 9d4889b to 48d4a23: https://git.io/vMA6H
<NixOS_GitHub>
nix/osx-minimal-version 48d4a23 Domen Kožar: bail out if macOS 10.9 or lower is used during installer
<NixOS_GitHub>
[nix] domenkozar closed pull request #1199: Bail out if MacOS 10.9 or lower is used during installer (master...osx-minimal-version) https://git.io/vMN49
<maurer>
endformationage: I see that you've left, but that's not actually a solution - I use binutils for non-dev work (e.g. reverse engineering)
stepcut has quit [(Remote host closed the connection)]
<NixOS_GitHub>
nixpkgs/master 18b2c31 Lancelot SIX: pythonPackages.pytest_*: move to pkgs/development/python-modules
Mic92 has quit [(Ping timeout: 240 seconds)]
osa1 has quit [(Ping timeout: 255 seconds)]
Mic92 has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vMAPc
<NixOS_GitHub>
nixpkgs/master c577155 Vincent Laporte: freealut: fix build on Darwin
<NixOS_GitHub>
nixpkgs/master 453a383 Vincent Laporte: ocamlPackages.mtime: init at 0.8.3...
acowley is now known as acowley_away
shanemik_ has joined #nixos
shanemikel has quit [(Read error: Connection reset by peer)]
shanemik_ has quit [(Read error: Connection reset by peer)]
shanemikel has joined #nixos
shanemikel has quit [(Read error: Connection reset by peer)]
shanemik_ has joined #nixos
shanemik_ has quit [(Read error: Connection reset by peer)]
shanemikel has joined #nixos
noffle has left #nixos ["WeeChat 1.5-rc2"]
shanemikel has quit [(Read error: Connection reset by peer)]
shanemik_ has joined #nixos
phant0mas has joined #nixos
shanemik_ has quit [(Read error: Connection reset by peer)]
shanemikel has joined #nixos
shanemikel has quit [(Ping timeout: 264 seconds)]
morsicus1 has joined #nixos
Guest33668 has quit [(Ping timeout: 255 seconds)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
dramforever has quit [(Quit: Leaving)]
indi_ has quit [(Ping timeout: 240 seconds)]
paperd has joined #nixos
morsicus1 has quit [(Quit: Leaving.)]
brodul has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
ckauhaus has joined #nixos
handre has joined #nixos
obadz has quit [(Ping timeout: 255 seconds)]
obadz has joined #nixos
<handre>
Hi everyone, new here, but was wondering if anyone can explain to me how I should be calculating the sha256 hash for a file to be used with fetchzip. No way that I tried calculating the hash gives me the correct answer. I want to calculate the hash on the archive before uploading it some where to be fetched later. This for example does not give the correct hash `nix-hash --flat --base32 --type sha256
<handre>
blah.tar.xz`, am I missing something?
the_scourge has joined #nixos
the_scourge has quit [(Changing host)]
the_scourge has joined #nixos
the_scourge has left #nixos []
phant0mas has quit [(Remote host closed the connection)]
morsicus1 has joined #nixos
Itkovian has joined #nixos
<simpson>
handre: Try nix-prefetch-url instead.
Mic92 has quit [(Ping timeout: 276 seconds)]
eacameron has quit [(Remote host closed the connection)]
<handre>
I actually have tried that after uploading the file and its still not the same hash. I am fetching using prefetchzip though
<handre>
I mean I am using fetchzip
<handre>
and nix-prefetch-zip complains since the archive does not contain a single directory.
<handre>
To clarify the archive contains a file and a directory at the top level not just a directory at the top level
<LnL>
are you building from master / nixpkgs-unstable?
<rly>
LnL: no
<rly>
LnL: 16.09 channel git branch
<LnL>
the release looks fine
stepcut has joined #nixos
<LnL>
the last build was 9h ago...
jgertm has quit [(Quit: WeeChat 1.6)]
jgertm has joined #nixos
<LnL>
globin: domenkozar: can one of you trigger a release-16.09 eval
obadz has quit [(Ping timeout: 256 seconds)]
JagaJaga has joined #nixos
stepcut has quit [(Ping timeout: 248 seconds)]
arjen-jonathan has joined #nixos
obadz has joined #nixos
deepfire has joined #nixos
nschoe has quit [(Ping timeout: 258 seconds)]
glines has quit [(Ping timeout: 258 seconds)]
dramforever has quit [(Quit: Leaving)]
nschoe has joined #nixos
teh__ has joined #nixos
<teh__>
hey all - I'd like to help with reviewing and merging nixpkgs PRs on github. I'm https://github.com/teh/, I'm organising the London nixos meetup with zimbatm_, and I am maintaining several packages. What's the process for getting merge rights?
<LnL>
LnL: I don't make the decision, but you've been contributing since 2014 so I expect you would get access if you asked
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vMxqn
<NixOS_GitHub>
nixpkgs/master 04ae7fe Graham Christensen: cvs: patch against CVE-2012-0804 (heap overflow)
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to release-16.09: https://git.io/vMxq8
<NixOS_GitHub>
nixpkgs/release-16.09 4eb411c Graham Christensen: cvs: patch against CVE-2012-0804 (heap overflow)...
indi_ has quit [(Ping timeout: 258 seconds)]
<gchristensen>
man gentoo really is digging up old stuff
handre has quit [(Ping timeout: 260 seconds)]
edvorg has joined #nixos
joelmo has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMxmt
<NixOS_GitHub>
nixpkgs/master 32ae22b Tim Steinbach: zulu: init at 8.19.0.1
<NixOS_GitHub>
nixpkgs/master 05d7ece Michael Raskin: Merge pull request #22040 from NeQuissimus/zulu...
justanotheruser has quit [(Read error: Connection reset by peer)]
ckauhaus has joined #nixos
justanotheruser has joined #nixos
<peikos>
Can anybody please tell me how to mount a filesystem as a specific user using the /etc/nixos/configuration.nix? I tried passing uid and gid as options but these appear to be ignored. Could not find anything regarding user mount ownership on https://www.nixos.org/nixos/options.html, so is this a possible bug or is there a ideomatic way to accomplish this that I’m not aware of?
sellout- has quit [(Quit: Leaving.)]
reinzelmann has joined #nixos
sellout- has joined #nixos
peikos has quit [(Quit: peikos)]
MoreTea has quit [(Ping timeout: 240 seconds)]
<gchristensen>
vcunat and michaelraskin have been just amazing lately
<khajvah>
so the point of services is that the configuration of the packages are done strictly by nix expressions?
<gchristensen>
eya
<gchristensen>
yea
proteusguy has quit [(Ping timeout: 255 seconds)]
mudri has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] vbgl pushed 4 new commits to master: https://git.io/vMxG6
<NixOS_GitHub>
nixpkgs/master a30e8db Vincent Laporte: coq: merge files 8.5.nix and 8.6.nix into default.nix
<NixOS_GitHub>
nixpkgs/master 9b949be Vincent Laporte: coq: minor refactoring
<NixOS_GitHub>
nixpkgs/master 798a871 Vincent Laporte: Coq: propagates the findlib package...
<khajvah>
cool. One more question: is there a mechanism to define new configuration options for a custom package?
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMxZD
<NixOS_GitHub>
nixpkgs/master 42bf99e Vincent Laporte: coqPackages.{ssreflect,mathcomp}: fix build with Coq-8.6...
<gchristensen>
sure, khajvah
ckauhaus has quit [(Quit: Leaving.)]
ckauhaus has joined #nixos
edvorg has quit [(Remote host closed the connection)]
bennofs has joined #nixos
reinzelmann has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vMxn8
<NixOS_GitHub>
nixpkgs/master d40b680 Vincent Laporte: coq-8.4: fix build of ssreflect and mathcomp
<NixOS_GitHub>
[nixpkgs] fpletz pushed 5 new commits to master: https://git.io/vMxcU
<NixOS_GitHub>
nixpkgs/master 403fdd7 Franz Pletz: linux: remove canDisableNetfilterConntrackHelpers feature...
<NixOS_GitHub>
nixpkgs/master 8322a12 Franz Pletz: firewall: disable conntrack helper autoloading by default...
<NixOS_GitHub>
nixpkgs/master 2d9152d Franz Pletz: nixos/tests/nat: add test for conntrack helper autoloading
khajvah has quit [(Quit: Page closed)]
ckauhaus has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has joined #nixos
michaelpj has quit [(Ping timeout: 240 seconds)]
<jophish>
hi all
<ixxie>
heya
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
<jophish>
I have a tree of packages { foo = mkDeriv...; sub = { bar = mkDer...; baz = mkDer...; }; };
<jophish>
I'd like to make a derivation (probably using buildEnv) which depends on every derivation mentioned in that tree
<jophish>
what's the idiomatic way of doing this?
<jophish>
I could flatten them all myself, but I suspect theres a neater way
<gchristensen>
buildEnv (attrValues ... )
mizu_no_oto has joined #nixos
reinzelmann has joined #nixos
<jophish>
gchristensen: are you sure, buildEnv needs attributes such as "name" and "paths'
<gchristensen>
well, fine, my example isn't 100% correct, but look up attrValues and you will get you where you're going
Wizek_ has quit [(Ping timeout: 264 seconds)]
<jophish>
ah, sorry. I didn't realise you meant lib.attrValues
mizu_no_oto has quit [(Ping timeout: 245 seconds)]
<gchristensen>
ah :)
<gchristensen>
sorry
<jophish>
for some reason I thought you meant the package tree, despite me having attrsets.nix open in front of me
<gchristensen>
I'm disappointed Stefan Huchler never got back to the ML about stable
<jophish>
didn't realise that paths didn't have to be a flat list
ckauhaus has joined #nixos
<jophish>
so even: paths = [packageTree]; works
mudri has joined #nixos
<gchristensen>
it does?
edvorg has joined #nixos
mizu_no_oto has joined #nixos
edvorg has quit [(Remote host closed the connection)]
<jophish>
seems to
<jophish>
after all, attrValues { foo = { bar = 1; baz = 2; }; } should return [{bar = 1; baz = 2;}]
<jophish>
I really hope that's the case
<gchristensen>
ah
<gchristensen>
not sure, but I think I misunderstood your initial question
edvorg has joined #nixos
mrkgnao has quit [(Quit: WeeChat 1.5)]
mizu_no_oto has quit [(Ping timeout: 252 seconds)]
<dtzWill>
hey so it appears I can do something like 'nix-env -i /nix/store/hash-name-goes-here' to 'install' a known output into my profile, which is very useful right now :). Is there a way to use nix-shell with a path like that?
mizu_no_oto has joined #nixos
Wizek_ has joined #nixos
mizu_no_oto has quit [(Read error: Connection reset by peer)]
iyzsong has joined #nixos
mizu_no_oto has joined #nixos
<ixxie>
Say there is some code in a git repo which already has a default.nix; is there a neat way to add it to my configuration.nix?
jsgrant_ has quit [(Quit: Konversation terminated!)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMx4s
<NixOS_GitHub>
nixpkgs/master d9987f3 Bob van der Linden: nginx: added serverName option for virtualHosts...
jgertm has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
jgertm has joined #nixos
<LnL>
ixxie: you can just import it :)
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
iyzsong has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub>
[nixpkgs] wizeman opened pull request #22132: mkpasswd: make the package high priority (master...u/mkpasswd-hiprio) https://git.io/vMxB7
flvszch50 has quit [(Read error: Connection reset by peer)]
<ixxie>
LnL: you mean like let unstable = import .... in { environment.systemPackages = [ unstable ]; } ?
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMx0p
<NixOS_GitHub>
nixpkgs/master 30c3fde Ricardo M. Correia: mkpasswd: make the package high priority...
mizu_no_oto has quit [(Read error: Connection reset by peer)]
iyzsong has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMxEE
<NixOS_GitHub>
nixpkgs/master 5d5fb4a Vladimír Čunát: knot-resolver: init at 1.2.0...
mizu_no_oto has joined #nixos
clever has quit [(Ping timeout: 258 seconds)]
<avn>
Folks, if I move system /nix/store to zfs, better ot off `auto-optimize-store` in nix.conf?
mizu_no_oto has quit [(Read error: Connection reset by peer)]
<gchristensen>
probably
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #22133: top-level: no more need to expose `splicedPackages` (master...no-splice) https://git.io/vMxuG
<NixOS_GitHub>
[nixpkgs] Ericson2314 closed pull request #22133: top-level: no more need to expose `splicedPackages` (master...no-splice) https://git.io/vMxuG
<propumpkin>
avn: only if you have dedup enabled on your ZFS, I'd expect
<propumpkin>
avn: I don't think it'll magically deduplicate your files for you
<avn>
propumpkin: sure, dedup is enabled, and scrub planned regularry
<propumpkin>
ah okay
<propumpkin>
then yeah
<avn>
(after kicking lvm from-under pool)
uralbash has quit [(Quit: Leaving.)]
peikos has quit [(Quit: peikos)]
<NixOS_GitHub>
[nixpkgs] grahamc opened pull request #22134: WIP qemu: make qemu_28 default (master...qemu28) https://git.io/vMxzR
MoreTea has joined #nixos
eacameron has joined #nixos
<LnL>
ixxie: with that you can use inherit (pkgs) hello; to override a package with the one from that nixpkgs revision
jgertm has quit [(Ping timeout: 240 seconds)]
rly has quit [(Ping timeout: 248 seconds)]
<ixxie>
LnL: this isn't in nixpkgs at all
<LnL>
just using it as an example, you can fetch any repository and include its nix files :)
<ixxie>
ah
mkoenig has quit [(Remote host closed the connection)]
mizu_no_oto has quit [(Ping timeout: 248 seconds)]
mkoenig has joined #nixos
mizu_no_oto has joined #nixos
lsix has joined #nixos
ckauhaus has joined #nixos
Rotaerk has quit [(Read error: Connection reset by peer)]
mudri has quit [(Ping timeout: 248 seconds)]
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
peikos has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 258 seconds)]
mizu_no_oto has joined #nixos
tvon has joined #nixos
<NixOS_GitHub>
[nixpkgs] pradeepchhetri opened pull request #22135: Riemann: Updated to 0.2.12 (master...riemann) https://git.io/vMx6r
eacameron has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
peikos has quit [(Quit: peikos)]
eacameron has joined #nixos
jgertm has joined #nixos
warbo has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
danharaj has joined #nixos
eacameron has joined #nixos
proteusguy has quit [(Ping timeout: 256 seconds)]
eacameron has quit [(Read error: Connection reset by peer)]
iyzsong has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
eacameron has joined #nixos
Wizek has quit [(Ping timeout: 245 seconds)]
dbmikus_ has joined #nixos
sellout- has quit [(Quit: Leaving.)]
Wizek_ has quit [(Ping timeout: 264 seconds)]
dbmikus_ has quit [(Client Quit)]
fritschy has quit [(Quit: Leaving.)]
erasmas has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
xadi has quit [(Quit: Leaving.)]
dbmikus_ has joined #nixos
ckauhaus has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
handre has quit [(Quit: WeeChat 1.6)]
mizu_no_oto has quit [(Ping timeout: 264 seconds)]
dbmikus_ has quit [(Client Quit)]
<warbo>
hello, is there a way to make a package which contains the dependencies of some other package?
<warbo>
e.g. when I run "nix-shell" for package A, I get all of its dependencies, but not A itself
eacameron has quit [(Read error: Connection reset by peer)]
feepo has joined #nixos
eacameron has joined #nixos
<warbo>
could I define a package B which, when installed, provides those same dependencies, but doesn't provide A?
JagaJaga has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub>
[nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vMxPg
<NixOS_GitHub>
nixpkgs/master ca7923f aszlig: nss: Provide a more stable URL for pkgconfig patch...
<pem_>
Hi! what's the preferred way to deploy an application using a postgres database with nixops? Should my application create the database and user if missing?
<pem_>
Should that be in the installPhase?
<pem_>
Any examples appreciated
ckauhaus has quit [(Ping timeout: 240 seconds)]
reinzelmann has quit [(Ping timeout: 240 seconds)]
<joachifm>
pem_: that'd probably be best handled in a nixos module
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vMx99
<NixOS_GitHub>
nixpkgs/master 0f6eab5 Sander van der Burg: xcodeenv: make it work with Xcode 8.2.1
johnsonav has quit [(Ping timeout: 255 seconds)]
<pem_>
joachifm: you mean the module (presumably in the "implementation" (i.e. config) section) would call createuser, and then launch a number of CREATE IF NOT EXISTS?
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMxHR
<NixOS_GitHub>
nixpkgs/master b79fa22 Robin Gloster: tests.installer: rely on swap.target in tests...
<joachifm>
pem_: that'd be the general idea, there are a few ways you could do it
<yorick>
so the asterisk in release-16.09 is marked as broken, and my server no longer builds. would it be acceptible to PR an update to a newer release in the same LTS branch? (13.6.0 -> 13.13.1)?
<joachifm>
pem_: as a preStart or a separate unit, during system activation, &c
<pem_>
joachifm: ok, thanks!
johnsonav has joined #nixos
<globin>
pem_: you might want to look at gitlab for example
<yorick>
it might also be possible to just move it to the certified LTS branch, that's on 13.8 now
<pem_>
yorick: great suggestion, thanks
<yorick>
pem_: you're welcome ;)
<yorick>
pem_: I think you mean globin, though
<joachifm>
yorick: if it's broken on 16.09, a backport to fix it makes sense to me
rly has joined #nixos
<pem_>
yorick, globin: right, sorry
<gchristensen>
yorick, joachifm: the important thing is that the upgrade doesn't break other asterisk admins silently
<gchristensen>
yorick: would you mind adding yourself as a maintainer of the asterisk package?
<gchristensen>
yorick: when was 13.13.1 released?
<joachifm>
gchristensen: should be okay though, if it doesn't work at all to begin with? I don't really know specifics about asterisk
sellout- has joined #nixos
<yorick>
gchristensen: I don't have commit rights and I plan to stay on 13 (nixos-unstable is on 14 now, maybe add an asterisk-lts package?)
<gchristensen>
joachifm: no, because right now it will refuse to update, making it update and breaking their actual system is much worse.
<gchristensen>
yorick: you don't need commit rights, it basically gives us a way to ping people who are knowledgeable
<yorick>
grenade: 13.13.1 is from december 2016, they release one every two months
<joachifm>
gchristensen: but how are they using asterisk on 16.09 if it is marked as broken?
<gchristensen>
13.13.1 sounds like a great and suitable update for master
<gchristensen>
joachifm: because it was recently marked as broken
<joachifm>
gchristensen: I see
<gchristensen>
(I marked it as broken when I couldn't figure out how to fix it)
<gchristensen>
13.13.1 sounds like a great and suitable update for 16.09
<NixOS_GitHub>
[nixpkgs] layus opened pull request #22137: python2Packages.legitfs: init at 0.3 (master...add-legitfs) https://git.io/vMx7l
Nadrieril has left #nixos ["Goodbye"]
<gchristensen>
yorick: I marked it as broken because I wasn't able to find anyone who was knowledgeable about it ... hoping someone would say "hey, why is this broken? can I fix it?" like you're doing now :)
<yorick>
gchristensen: DerTim1 fixed it in master, they made quite a bit of good changes, they added themselves as maintainer. my only credentials are "forced to run it, otherwise unreachable by phone" for now
Itkovian has joined #nixos
<gchristensen>
fair enough, I do appreciate you fixing up stable
mizu_no_oto has quit [(Ping timeout: 255 seconds)]
<propumpkin>
I thought /usr/bin/env was included in the sandbox
<Dezgeg>
it is not
<propumpkin>
is that new? I thought /usr/bin/env and /bin/sh were universal impurities
Itkovian has quit [(Read error: Connection reset by peer)]
mizu_no_oto has joined #nixos
<dancek>
Hi! How can I test services (NixOS options) locally before submitting a pull request? I'm packaging https://github.com/jmesmon/illum and it should run as a service. The package builds already and the service definition is very similar to eg. thinkfan, but I couldn't find info about developing services/options in the documentation.
gal_bolle has quit [(Quit: Konversation terminated!)]
mizu_no_oto has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #22138: Add support for building Swift packages with deps (master...feature/swift-build-support) https://git.io/vMxpL
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 1 new commit to release-16.09: https://git.io/vMxpY
<NixOS_GitHub>
nixpkgs/release-16.09 5839baa Sander van der Burg: xcodeenv: make it work with Xcode 8.2.1...
<propumpkin>
so NixOS goes out of its way to create an impure /usr/bin/env but we don't put it into the sandbox? that seems odd
<propumpkin>
I'm fine with saying that it's not going to be a part of the standard nix impurities, but it seems like we should be consistent
<dtzWill>
TIL we have a /usr/bin/env lol
<ToxicFrog>
I've been gradually porting all my random scripts in ~/bin/ to use /usr/bin/env bash rather than /bin/bash since moving to nix
mizu_no_oto has joined #nixos
LUuM has joined #nixos
<dtzWill>
patchShebangs ~
<dtzWill>
:P
<dtzWill>
(that's a joke, but probably bad idea to run it! Didn't mean maliciously O:))
<ToxicFrog>
dtzWill: a lot of these scripts also need to work on not-NixOS machines :P
<dtzWill>
haha sounds like they should have Nix installed on them, then! :D
<dtzWill>
but yeah ._. it's not the best when trying to live in both worlds
<ToxicFrog>
(I actually wish Nix put not just sh and env, but *all* installed shells, in both /bin and /usr/bin, so that less patching of one-off scripts from other users/distros was needed)
<ToxicFrog>
(in practice having {/bin,/usr/bin}/{sh,bash,zsh,ksh,env} probably gets you 99% coverage or better)
<thoughtpolice>
dtzWill: /usr/bin/env was a bit of contention at one point IIRC ("why bother when we patchShebangs anyway"), but it was inevitably decided that it's so common and standard enough that it helps. I use /usr/bin/env in all my scripts to help with that, too.
<ToxicFrog>
(I'm also kind of surprised that Nix has separate /bin and /usr/bin)
<corngood>
pi3r: it's pulling in two different derivations of scientific-0.3.4.9. gave you tried breaking down the lib/exec dependencies to find exactly what's causing it?
mizu_no_oto has quit [(Ping timeout: 258 seconds)]
<propumpkin>
ToxicFrog: it only has /usr/bin because of env
<propumpkin>
ToxicFrog: and only because everyone else puts it there
<warbo>
ToxicFrog: IIRC /bin/bash won't work on Debian/Ubuntu after the switch to dash
<thoughtpolice>
Yeah, that was the contentious point, IIRC.
<thoughtpolice>
propumpkin: so are you the profunctor version of pumpkin, or
<ToxicFrog>
propumpkin: right, but I mean, there's an increasing move to make /bin and /usr/bin the same dir (and in general to merge / and /usr, since the arguments for a separate /usr no longer really apply)
<propumpkin>
thoughtpolice: yeah
<ToxicFrog>
And in every distro I've used for years /bin/sh and /usr/bin/sh were the same file, ditto /bin/env and /usr/bin/env
<propumpkin>
ToxicFrog: well, ours are just symlinks into the store, TBC
<ToxicFrog>
And I've seen enough scripts that used /bin/env rather than /usr/bin/env and /usr/bin/sh rather than /bin/sh
<niksnut>
propumpkin: /usr/bin/env is not included in our chroot iirc
<propumpkin>
niksnut: yeah, I just filed an issue :) I was stumped!
<ToxicFrog>
So it seems odd that Nix doesn't just have one /bin in the store and then make both /bin and /usr/bin symlinks to that same place
<propumpkin>
niksnut: not saying that we should include it in the sandbox, just that we're inconsistent about whether it should exist or not
<niksnut>
propumpkin == copumpkin?
ixxie has quit [(Ping timeout: 276 seconds)]
<propumpkin>
yeah, sorry, I use different machines to IRC
<niksnut>
too many pumpkins :-)
<gchristensen>
== contrapumpkin
mizu_no_oto has joined #nixos
<thoughtpolice>
he isn't the real pumpkin. i admit, _i_ am the real propumpkin
<propumpkin>
:O
warbo has quit [(Remote host closed the connection)]
<dtzWill>
⊙_ʘ
mizu_no_oto has quit [(Read error: Connection reset by peer)]
mizu_no_oto has quit [(Read error: Connection reset by peer)]
georges-duperon has quit [(Ping timeout: 252 seconds)]
xeviox has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
teh__ has joined #nixos
mizu_no_oto has quit [(Read error: Connection reset by peer)]
jgertm has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
rly has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
<NixOS_GitHub>
[nix] domenkozar created installation-refresh (+1 new commit): https://git.io/vMpJs
<NixOS_GitHub>
nix/installation-refresh 1a65d81 Domen Kožar: Install from closure: wording and fallback using .bash_profile...
lsix has quit [(Quit: Konversation terminated!)]
<NixOS_GitHub>
[nix] domenkozar force-pushed installation-refresh from 1a65d81 to 706328f: https://git.io/vMpJd
<NixOS_GitHub>
nix/installation-refresh 706328f Domen Kožar: Install from closure: wording and fallback using .bash_profile...
<NixOS_GitHub>
[nix] domenkozar opened pull request #1206: Install from closure: wording and fallback using .bash_profile (master...installation-refresh) https://git.io/vMpU8
<NixOS_GitHub>
[nix] domenkozar force-pushed installation-refresh from 706328f to b59668f: https://git.io/vMpJd
<NixOS_GitHub>
nix/installation-refresh b59668f Domen Kožar: Install from closure: wording and fallback using .bash_profile...
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMpUA
<NixOS_GitHub>
nixpkgs/master cb30150 Robin Gloster: php: fix build in case mysql is not mariadb...
deepfire has quit [(Ping timeout: 240 seconds)]
<kriztw>
I'm trying to package some python 2.7 packages, and I get a collision for '[..]/lib/python2.7/site-packages/tests/__init__.pyc'
<kriztw>
Does anyone know why this happens? I've searched a bit but I haven't found anything resembling this problem.
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
__Sander__ has quit [(Quit: Konversation terminated!)]
<Benrob0329[m]>
Is Minetest 0.4.15 going to be in the next stable release?
<globin>
niksnut: have you got any larger issues/version bumps you're wanting to have in 17.03? Especially nix or systemd
<globin>
Benrob0329[m]: if it's on unstable prior to February 27, yes
<Benrob0329[m]>
Ill have to make sure it get there if its not...
mudri has quit [(Ping timeout: 248 seconds)]
teknico has left #nixos []
petar has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
<LnL>
ToxicFrog: /bin/sh and /usr/bin/env are POSIX everything else isn't
goibhniu has quit [(Ping timeout: 256 seconds)]
ocharles_ is now known as ocharles
ocharles has quit [(Changing host)]
ocharles has joined #nixos
<BlessJah>
on freebsd bash, if installed, will be at /usr/bin/bash, not sure about rest of bsd family
<maurer>
When I run nix-env -iA nixos.binutils, it gives me a package conflict for addr2line. However, addr2line is not on my path, and the two packages it claims conflicts are binutils-2.27-dev and binutils-2.27, neither of which are installed, so I can't set a priority on either of them.
<maurer>
What should I do to get binutils installed?
<corngood>
Benrob0329: it's 0.4.14 in master and there are no PRs for it, so you could always make one.
peikos has joined #nixos
jensens has quit [(Ping timeout: 252 seconds)]
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
dbmikus_ has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMpm8
<NixOS_GitHub>
nixpkgs/master 278bbe3 Vladimír Čunát: add kresd service with basic options...
dbmikus_ has quit [(Client Quit)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vMpmS
<NixOS_GitHub>
nixpkgs/release-16.09 3bdec6c Vladimír Čunát: add kresd service with basic options...
k0001 has quit [(Quit: Connection closed for inactivity)]
joelmo has quit [(Quit: Connection closed for inactivity)]
<schoppenhauer>
hi. I'd like to create (and maybe contribute) a small package for gbsplay, as it doesn't apparently exist yet. For a pull request, I have to build it against unstable. But I still want to use it on stable. What is the best way to do so?
LUuM has quit [(Ping timeout: 258 seconds)]
roconnor has joined #nixos
martinb has joined #nixos
<niksnut>
globin: not really - would be nice to get gcc 6 in, maybe systemd 232
<martinb>
Hello. I want to install some software which requires a 32 bit JRE on a 64 bit system. Is there some place to read about how that would work?
<gchristensen>
it'd be cool to ship a working hydra in 17.03
<globin>
niksnut: I don't see us managing gcc6 sadly as that's a lot of manual work.. systemd 232 would be very nice but not sure how easy that'll be
<schoppenhauer>
I mean, I can always nix-env -f ... -i, but is that a good way?
<srhb>
schoppenhauer: That's fine, but you could also cherry pick it onto your own checkout of stable.
<niksnut>
globin: probably easy, I'll have a look
<srhb>
Assuming it actually works with stable. :)
<schoppenhauer>
srhb: wah, cherrypicking … that's complicated. I think I will try -f …
<srhb>
schoppenhauer: That's actually how I install everything, even things from stable.
<gchristensen>
niksnut: do you have any nice ideas on telling people their version of nixpkgs is old?
<srhb>
schoppenhauer: Well, everything in my user env. :)
<globin>
niksnut: have you tried nix-daemon on nix 1.12, yet? last time I tried it went into some infinite loop, but didn't have the time yet to do some more extensive straceing/debugging..
<yorick>
so nixos-rebuild on master doesn't have the ability to pass things to nix-copy-closure. I would like to pass -s --sig
<yorick>
sign*
<schoppenhauer>
are there "recommended packages"?
digitalmentat has joined #nixos
<Benrob0329[m]>
I do not believe so, but it would be really handy
<gchristensen>
what types of things would be recommended?
michaelpj has quit [(Ping timeout: 240 seconds)]
<Benrob0329[m]>
libdvdcss for vlc, dvdauthor for kdenlive, etc
<srhb>
Oh, like, you install one thing and get recommended others?
<srhb>
Related things.
Kingsquee has quit [(Excess Flood)]
Kingsquee has joined #nixos
<Benrob0329[m]>
Yes, even just on the web interface would be handy
ixxie has joined #nixos
<gchristensen>
well installing libdvdcss and vlc would get you nowhere
<gchristensen>
since vlc won't find libdvdcss
<gchristensen>
that isn't really a concept nixos has
esmiurium has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 258 seconds)]
<Benrob0329[m]>
what do you mean VLC wont find libdvdcss?
<Benrob0329[m]>
I have both and VLC plays dvds fine
<Benrob0329[m]>
Kdenlive found dvdauthor as well after i installed it
<toogley>
if i want all build dependencies to be installed i have to use nix-shell '<nixpkgs>' --attr neomutt right?
<NixOS_GitHub>
[nixpkgs] globin pushed 5 new commits to gcc-6: https://git.io/vMpRe
<NixOS_GitHub>
nixpkgs/gcc-6 563dd78 Robin Gloster: Merge remote-tracking branch 'upstream/master' into gcc-6
<NixOS_GitHub>
nixpkgs/gcc-6 6ce688c Robin Gloster: gnome3.gjs: 1.46 -> 1.47, use spidermonkey_31
<NixOS_GitHub>
nixpkgs/gcc-6 9bf73bd Robin Gloster: html-tidy: 5.0.0 -> 5.2.0
<yorick>
niksnut: what's the replacement for nix-copy-closure --sign gonna be?
sellout- has quit [(Quit: Leaving.)]
johnsonav has quit [(Remote host closed the connection)]
<gchristensen>
Benrob0329[m]: I believe that if you uninstalled libdvdcss it would still play dvds
johnsonav has joined #nixos
esmiurium has joined #nixos
<ixxie>
I am trying to install a package from github into my config like this http://pastebin.com/8QTQeG6N - its not working because I cannot figure out how to use the default.nix in the repo
<NixOS_GitHub>
[nixpkgs] globin pushed 32 new commits to staging: https://git.io/vMp0f
<NixOS_GitHub>
nixpkgs/staging 0cb2538 Eelco Dolstra: memtest86+: Build with gcc 5...
<ixxie>
(LnL - I didn't really understand your idea properly I think xD)
<LnL>
the import?
mizu_no_oto has quit [(Ping timeout: 255 seconds)]
peikos has joined #nixos
<yorick>
ixxie: just do pkgs.callPackage (fetchFromGitHub { owner = "teozkr"; repo = "Sbtix"; rev = "..."; sha256="..."}) {}; instead of your mkDerivation
peikos has quit [(Client Quit)]
<yorick>
or maybe even just import (fetchFromGitHub ... )
<ixxie>
ill give it a shot, thanks
tikhon has joined #nixos
<toogley>
hm.. is there a way to automatically install dependencies of a package?
<yorick>
toogley: why do you want this?
<gchristensen>
toogley: what exactly is your problem? nix installs run-time dependencies automatically. are you looking for build-time requirements?
<toogley>
yorick: i want to develop a program and therefore want to install its build dependencies to be able to compile it
mizu_no_oto has joined #nixos
<toogley>
gchristensen: ah, yes. sry.
<yorick>
toogley: yeah, nix-shell is the thing you want for that
<toogley>
yorick: really? okay
<tikhon>
How can I work with packages marked as "broken" in nix-repl? I have allow-broken = true in my config.nix, but it doesn't work when I do :l <nixpkgs> and try to access a package marked broken (haskell.packages.ghcjs in this case).
<LnL>
yep, just declare the dependencies and run nix-shell :)
<yorick>
toogley: the dependencies will be available in the nix-shell
tvon_ has joined #nixos
<teozkr>
ixxie: bear in mind that sbtix is still very much alpha-quality, but I'd appreciate any feedback if/when it breaks :p
tvon has quit [(Ping timeout: 258 seconds)]
<toogley>
yorick: gchristensen thanks
<pierron_>
garbas: How was your presentation yesterday?
roconnor has quit [(Ping timeout: 248 seconds)]
<ixxie>
teozkr: yeah I saw that ^^ I am such a noob it will be a long while until it will be used in a real product
<pierron_>
garbas: did you manage to convince everybody about the fact that Mozilla is entirely using NixOS now?
mizu_no_oto has quit [(Ping timeout: 255 seconds)]
<oleks>
Hi, I'm trying to make the <gmp.h> and <mpfr.h> headers available on my system, but merely installing the gmp and mpfr packages doesn't work; how come?
rmeis has joined #nixos
<oleks>
ah, using nix-shell works
propumpkin has quit [(Ping timeout: 260 seconds)]
ixxie has quit [(Remote host closed the connection)]
georges-duperon has quit [(Ping timeout: 252 seconds)]
xwvvvvwx has joined #nixos
<digitalmentat>
teh__, ping
<teh__>
digital
<teh__>
sorry, autocomplete fail - digitalmentat: what did I miss?
mizu_no_oto has quit [(Ping timeout: 248 seconds)]
<Benrob0329[m]>
is the steam icon broken for anyone else?
<digitalmentat>
teh__, nothing just wanted you to know I'm here in the IRC channel :)
peti_ is now known as peti
<teh__>
digitalmentat: ah, awesome! I missed your comment about your irc name :)
ckauhaus has quit [(Quit: Leaving.)]
<teh__>
digitalmentat: currently installing a digital ocean machine to test
mizu_no_oto has joined #nixos
<copumpkin>
is there a nixos config option to set the nixpkgs that gets fed in via the pkgs argument?
<digitalmentat>
yeah, thank you, that's a good idea - I'd at one point successfully built a small VM to test my original PR but that workflow has been giving me a lot of grief lately
<digitalmentat>
copumpkin, not that I know of, when we looked at it (because we're moving away from channel-managed nixpkgs) it threads it from NIX_PATH entirely
<tikhon>
How do I override ghcjs packages in my config.nix? Is there something like haskellPackageOverrides for haskell.packages.ghcjs?
<fresheyeball>
no clue how to recover from that
<Benrob0329[m]>
gchristensen: thanks
<niksnut>
Benrob0329[m]: sure, I use CUDA with Blender
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
kampfschlaefer has joined #nixos
<Benrob0329[m]>
niksnut: what is the general overview of setup?
c0bw3b has joined #nixos
mizu_no_oto has joined #nixos
tikhon has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
<yorick>
yeah, mine too
<yorick>
oh, wrong window
MoreTea has quit [(Quit: Leaving)]
MoreTea has joined #nixos
esmiurium has quit [(Ping timeout: 240 seconds)]
<Benrob0329[m]>
do proprietary packages not show up in the web search?
fresheyeball has quit [(Ping timeout: 255 seconds)]
<gchristensen>
correct
mizu_no_oto has quit [(Read error: Connection reset by peer)]
jgertm has joined #nixos
<Benrob0329[m]>
Is there a way I can search them?
<teh__>
digitalmentat: do you work with Gabriel?
<teh__>
(asking because your nixpkgs is for awakenetworks)
ckauhaus has joined #nixos
k0001 has joined #nixos
georges-duperon has joined #nixos
phreedom has quit [(Remote host closed the connection)]
<k0001>
If I'm running NixOS 16.09, is it a terrible idea to use a `nix` version newer than the one offered be NixOS 16.09 ?
<digitalmentat>
teh__, yeah I do
<digitalmentat>
yup :)
sellout- has joined #nixos
mizu_no_oto has joined #nixos
AllanEspinosa has joined #nixos
<Benrob0329[m]>
gchristensen: it doesn't appear that the nvidia options in configuration.nix are still valid, or is that just the web interface?
<gchristensen>
k0001: I wouldn't recommend using nixUnstable at least
<toogley>
when i try to build neomutt using nix-shell <nixpkgs> -A neomutt and cd neomutt && ./prepare i recieve this: http://ix.io/1R3r can i fix this locally somehow? or should i notify the maintainers about that?
p0le has joined #nixos
<gchristensen>
Benrob0329[m]: sorry, which options?
<gchristensen>
Benrob0329[m]: line 19?
<teh__>
man, we require fontforge to build our man pages :)
<digitalmentat>
teh__, ahh okay - do you have enough information to tweak those setuid programs and push a PR against my awakenetworks-org branch?
<Benrob0329[m]>
gchristensen: yes
stepcut has quit [(Remote host closed the connection)]
<teh__>
digitalmentat: I think so, thanks
stepcut has joined #nixos
stepcut has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMpiW
<NixOS_GitHub>
nixpkgs/master 4f8b406 Kosyrev Serge: quodlibet: rename to quodlibet, quodlibet-without-gst-plugins...
stepcut_ has joined #nixos
jgertm has quit [(Ping timeout: 256 seconds)]
<gchristensen>
Benrob0329[m]: it is because I'm making the service right there, it isn't a pre-existing option
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
JagaJaga has joined #nixos
<Benrob0329[m]>
gchristensen: ah, that makes sense
glines has joined #nixos
[0__0] has quit [(Ping timeout: 258 seconds)]
tempest has quit [(Ping timeout: 258 seconds)]
tempest has joined #nixos
<sphalerite>
Is there a way to avoid nix-env -u upgrading some package? Specifically, I want to stick to nixos.mumble rather than nixos.mumble_git; these share a package name and as such nix-env -u will "upgrade" to mumble-git
mizu_no_oto has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 3 new commits to master: https://git.io/vMpPL
<toogley>
hm.. i did "nix-env -iA nixos.lua52Packages.lua nixos.lua52Packages.luastdlib" but my build tool still says that it can't find the header files https://paste.fedoraproject.org/536551/53772961/
LUuM has joined #nixos
<toogley>
although find can list the header files: /nix/store/7zss55adalz09wdk7spvrhzxyxx2za6q-lua-5.2.3/include/lua.h
sitedyno has joined #nixos
JagaJaga has joined #nixos
mizu_no_oto has joined #nixos
c0bw3b has left #nixos []
pi3r has joined #nixos
bennofs has quit [(Quit: WeeChat 1.6)]
Itkovian has joined #nixos
* ToxicFrog
tries to figure out if they can build gnome3 on nix without libcaribou linked in
<ToxicFrog>
...more to the point, why can't I enable both KDE5 and gnome3 at the same time?
<ToxicFrog>
The build fails with Adding hwdb files for package /nix/store/j7y2flk73668j2vk7w91ijl8zimkdc65-libmtp-1.1.11-bin
<ToxicFrog>
ln: failed to create symbolic link 'etc/udev/hwdb.d/69-libmtp.hwdb': File exists
<ToxicFrog>
builder for ‘/nix/store/w3hspvlrkwp1mc249i8z02vl06jnk6pv-hwdb.bin.drv’ failed with exit code 1
pi3r has quit [(Ping timeout: 240 seconds)]
rmeis has quit [(Ping timeout: 258 seconds)]
asymmetric has left #nixos ["WeeChat 1.6"]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
asymmetric has joined #nixos
pi3r has joined #nixos
asymmetric1 has joined #nixos
Itkovian has joined #nixos
asymmetric1 has quit [(Client Quit)]
<ToxicFrog>
I should file a bug.
<NixOS_GitHub>
[nixpkgs] dasuxullebt opened pull request #22146: gbsplay: init at version 2016-12-17 (master...gbsplay) https://git.io/vMpDl
LUuM has quit [(Quit: Leaving)]
mizu_no_oto has quit [(Ping timeout: 248 seconds)]
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
mizu_no_oto has quit [(Ping timeout: 256 seconds)]
<gchristensen>
(I think I can talk about this out loud now) so a few weeks ago, during a Hack Week at work (tumblr), I made a test framework for testing our system for manipulating database topologies using NixOS, it spawns a dozen or so nixos containers running MySQL and using the `nixos/test` tooling runs fully automated shard configuration / cluster setup / teardown / splitting, and it looks like we'll be moving forward
<gchristensen>
with using it in our CI :D :D :D
stepcut_ has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<gchristensen>
ikwildrpepper: ^ :)
petar_ has quit [(Remote host closed the connection)]
<avn>
gchristensen: congreatz ;)
<avn>
gchristensen: I will wait, when you start hiring (lol)
<gchristensen>
hehe
mizu_no_oto has joined #nixos
petar has joined #nixos
<NixOS_GitHub>
[nixpkgs] pSub pushed 1 new commit to master: https://git.io/vMpSN
<gchristensen>
k0001: it is exactly the same as the tests in nixpkgs, `nixos/tests` and the machine definitions have containers. so, yes :)
<martinb>
Is there some kind of rpm or deb adapter that makes it easy to install some software from one of those installation packages into a NixOS system?
<k0001>
gchristensen: nice. Only once i've tried to use that to run some tests that needed access to a Redis instance, but it looked like Redis was struggling to run inside the container. I should check if it's magically working now (you know... due to any upstream fixes :))
<gchristensen>
ah
<gchristensen>
I did need to increase memory and disk space alloted to the test vm
<Benrob0329[m]>
martinb: that would be handy for eg Skype alpha
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vMpHj
<NixOS_GitHub>
nixpkgs/master ed83ec1 Dan Peebles: lkl: fix impure reference to /usr/bin/env
scott has quit [()]
stepcut has joined #nixos
justbeingglad has left #nixos []
Guest12620 is now known as scott
scott is now known as Guest55259
Guest55259 has quit [(Changing host)]
Guest55259 has joined #nixos
Guest55259 has quit [(Changing host)]
Guest55259 has joined #nixos
Guest55259 is now known as scott
<tilpner>
Does Hydra provide all the binary caches? Does it build just one/some configuration/-s for every package?
<tilpner>
I'm wondering because I could save a lot of time by not building chromium if there was a configuration of chromium that included WiveVine and was already evaluated by Hydra
mizu_no_oto has quit [(Ping timeout: 252 seconds)]
<gchristensen>
tilpner: hydra doesn't do widevine because hydra doesn't build non-free stuff
avn has quit [(Read error: No route to host)]
mizu_no_oto has joined #nixos
avn has joined #nixos
<pi3r>
corngood: it is actually `trifecta` that triggers the collision
acowley_away is now known as acowley
<pi3r>
I guess I am going to try another git ref of nixpkgs. Maybe something went wrong with this package at this specific commit
<tilpner>
gchristensen - Oh, that is a very obvious explanation, now that I hear it. Building once per release might be fine, but what about people on unstable or master? Is there some way to say "but don't upgrade this one"?
<k0001>
gchristensen: memory and disk weren't the issue in my case, not sure what was it. Nevermind, I'll go back to figuring this out some time soon.
<gchristensen>
tilpner: unfortunately not simply, no
<mbrgm>
is there a way to delete a specific path from the nix store?
ajp has quit [(Quit: No Ping reply in 180 seconds.)]
<k0001>
gchristensen: do you use Hydra for CI, or do you use something else that just calls Nix ?
<zimbatm[m]>
tilpner: if you don't care about free stuff, try the google-chrome package
<k0001>
mbrgm: nix-store --delete /path/foo
mizu_no_oto has quit [(Read error: Connection reset by peer)]
<gchristensen>
k0001: right now we use something else which calls nix
<zimbatm[m]>
It's already pre-compiled so don't have to wait as much
<gchristensen>
yep
ajp has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vMp5V
<NixOS_GitHub>
nixpkgs/master f27fb8a Vladimír Čunát: knot-{dns,resolver}: try to fix on darwin...
<mbrgm>
k0001: cannot delete path ‘/nix/store/22815bzv99clvd0pbr94dlwqwvxnzz8y-openhab-2.0.0’ since it is still alive
<tilpner>
I don't really want to use Chrome, though I might reconsider if I ever switch to unstable/master, but thanks for the explanation and suggestion!
<gchristensen>
I gave up and use google-chrome too
<gchristensen>
I have no real reason to use chromium
bennofs has joined #nixos
<k0001>
mbrgm: `nix-store --gc --print-roots | grep /the/nix/store/path/you/are/trying/to/delete`. You should then make sure you delete that root before trying to run `nix-store --delete` on the path.
<mbrgm>
k0001: ty
mizu_no_oto has joined #nixos
<k0001>
mbrgm: by root I mean a symlink to a /nix/store/path
<zimbatm[m]>
I use google-chrome to watch Netflix and Firefox for the rest
<mbrgm>
k0001: got it :)
ckauhaus has quit [(Quit: Leaving.)]
<zimbatm[m]>
In general it makes sense to separate browsing profiles anyways for privacy and security reasons
<gchristensen>
I do the same, though chrome has better profile support IMO
<gchristensen>
in my experience * not opinion
<tilpner>
I found a commit message from 2013 stating that NixOS containers are not perfectly isolated, as they expose(d) cgroups to the guest system. Is this still relevant? What could a malicious guest do to permanently damage or compromise the host?
mizu_no_oto has quit [(Read error: Connection reset by peer)]
pi3r has quit [(Ping timeout: 276 seconds)]
hiratara has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
<tilpner>
Well, the manual still says they are not isolated, so I won't use them for security
<LnL>
I'm pretty sure that's still the case
hiratara has joined #nixos
<LnL>
but same goes for container services like docker
tvon_ has quit [(Quit: System is sleeping...)]
<gchristensen>
yeah ,containers is not a very good security product
<johnw>
what ist he best separation technology, from a security standpoint?
<LnL>
I've used docker to perform a password reset on my machine before :)
<gchristensen>
depends on what your security matrix includes in terms of attackers and who you want to defend against..
<slyfox>
KVM should be better that linux containers :)
<NixOS_GitHub>
[nixpkgs] leenaars opened pull request #22147: Nikola CMS: init -> 7.8.3 (master...nikola) https://git.io/vMpFD
shanemikel has joined #nixos
<slyfox>
s/that/than/
<tilpner>
Is there a way to build a KVM "container" declaratively?
mizu_no_oto has quit [(Ping timeout: 260 seconds)]
<domenkozar>
yeah, Nix
<gchristensen>
domenkozar: did you see my news? :)
<gchristensen>
from 45min ago
<domenkozar>
nice!
MoreTea has joined #nixos
<domenkozar>
good tools wins :-)
<gchristensen>
:D
<tilpner>
domenkozar - I meant a similar level of integrations as nixos containers have. Is that possible with KVM, or do you have to manually build an expression, then put that into a vm?
tvon has joined #nixos
<domenkozar>
tilpner: you could achieve something similar with libvirtd, but it's currently not as easy
<domenkozar>
gchristensen: congratz
<k0001>
tilpner: using NixOps to deploy into a libvirt/kvm could work.
<k0001>
(but that's probably not what you are asking for)
<domenkozar>
blah my english is fubar, sleep time.
Jackneill has quit [(Remote host closed the connection)]
<gchristensen>
domenkozar: I am always surprised at how late the CETers are up
<gchristensen>
I go to sleep before some of you, sometimes ;)
<tilpner>
Declaring containers in your config files and having them updated automatically sounds very appealing. It shouldn't be too hard to automate the creation of a VM that can be deployed to
<globin>
fpletz and I both don't share regular day/night rhythm with most other people around here \o/
<ToxicFrog>
How do I add new options/variables on the fly?
<ToxicFrog>
In configuration.nix and its imports, I mean.
<ToxicFrog>
Like, say in configuration.nix I want something like "services.autossh.sessions.tunnel.extraArguments = '-R ${autossh_tunnel_port}:localhost:1234'"
<LnL>
gchristensen: what news?
<ToxicFrog>
And then define autossh_tunnel_port differently in other files, exactly one of which will be imported
<ToxicFrog>
I tried just doing "autossh_tunnel_port = foo", but then 'nixos-rebuild' complains that there's no such option defined.
<ToxicFrog>
I can use 'let', but that doesn't work across files.
cpennington has quit [(Ping timeout: 260 seconds)]
<ToxicFrog>
And 'imports = []' doesn't let you pass arguments to the files being imported.
Mic92 has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub>
[nixpkgs] oleks opened pull request #22148: Add EUPL v1.1 license (master...oleks-licenses-eupl11) https://git.io/vMpN9
<gchristensen>
yorick: I think it would involve `go get` on influxdb with a GOPATH setup
<yorick>
gchristensen: influxdb has some custom build script (and it fails to run and I don't understand go)
<gchristensen>
then a `go build` and then `go2nix github.com/influxdb/influxdb` or whatever ... I think ...
<gchristensen>
oh I have no idea then, I'm grasping at straws already
<yorick>
I can ping cko in an issue
<NixOS_GitHub>
[nixpkgs] fpletz opened pull request #22154: phpfpm service: one service per pool for isolation (master...refactor/phpfpm-service-per-pool) https://git.io/vMppa
<sphalerite>
but I can create an image from an existing server, so as long as I can replace one of the existing OSes with nixos in-place, I can make a nixos image
<LnL>
ToxicFrog: I think you might be using it in the wrong place
<joepie91>
MoreTea: huh. no idea why I didn't find that
<ToxicFrog>
LnL: Probably, but it *looks* right
<joepie91>
MoreTea: and `ldd` is a bit tricky because of the wrapper
<joepie91>
ahhhh
<joepie91>
the strace will probably work
<sphalerite>
joepie91: try using strace to see if it's missing files. "strace -e open,stat EXECUTABLE 2>&1 | grep ENOENT" is usually helpful for me
<LnL>
MoreTea: also compare the versions you are using now with those from the binary before it's patched
<ToxicFrog>
(and I had it wrong, it's "cannot coerce set to string", not vice versa)
<ToxicFrog>
error: cannot coerce a set to a string, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/systemd-lib.nix:65:8
<ToxicFrog>
The actual override is: systemd.services.autossh-ancilla-tunnel.serviceConfig = { Restart = mkForce "always"; }
<sphalerite>
joepie91: is that all the output you get before it crasehs?
<joepie91>
not sure it does?
<joepie91>
sphalerite: yes, but the last two gists are grepped
<joepie91>
first one for ENOENT
<joepie91>
second for libc
<sphalerite>
open("/nix/store/kk71vkqipf30qc165718jmp0s8cggn2y-glibc-2.24/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 <<< yep it does find libc.so.6
danharaj has quit [(Ping timeout: 245 seconds)]
<joepie91>
right
<LnL>
ToxicFrog: I've only used foo.bar = mkForce baz; but I think what you did should also work
<sphalerite>
looks like it doesn't find libc.mo but that shouldn't be a problem
<sphalerite>
If it's not missing files (ENOENT) after the libraries have been loaded, then I don't know what else it could be, sorry
* joepie91
does an attempt at shotgun debugging
thc202 has quit [(Ping timeout: 256 seconds)]
<sphalerite>
Ugh, I don't think I can get this working neatly with scaleway. Does anyone have recommendations for VPS providers that do really small, cheap (thinking around 3€/mo) servers?
<joepie91>
sphalerite: any particular requirements?
* joepie91
is the VPS advice guy
<sphalerite>
nixos-friendliness :p
esmiurium has quit [(Ping timeout: 248 seconds)]
<joepie91>
sphalerite: hmm. most KVM VPS providers will add a NixOS ISO if you ask them for it
<joepie91>
Afterburst definitely does but their KVM stuff isn't publicly available yet