<andrewrk>
clever, when I do the `nixos-rebuild boot` step, I get `Error in tempdir() using /run/user/0/nix-build.XXXXXX: Parent directory does not exist at aoeuaoeu/Nix/Utils.pm
roconnor has quit [(Ping timeout: 258 seconds)]
<clever>
andrewrk: when you run "env | grep run", is that in any of the tempdir vars?
<andrewrk>
XDG_RUNTIME_DIR=/run/user/0
<andrewrk>
is that what you're asking?
<clever>
yeah, try unsetting that
<gchristensen>
LnL: ping?
<samueldr>
hi!
<samueldr>
I'm having a hard time setting up nat networking with declarative containers
<boomshroom>
YES! Cross Compiler: Successfully Compiled! Sadly, without c++.
<samueldr>
I asked earlier, had no responses (possibly people being busy working and such)
<catern>
another independent question: if I run a binary out of the store, does the garbage collector somehow notice and register that package as a GC root?
anton__ has joined #nixos
<pikajude>
no
<pikajude>
why
<clever>
yes
<pikajude>
really?
<pikajude>
how could it?
<clever>
catern: the GC will scan /proc to find all in-use paths
<clever>
/proc/*/exe are symlinks to all running binaries
<clever>
samueldr: the internalIPs is commented out in there
<clever>
and you dont have a hostAddress set
<samueldr>
containers.<name>.hostBridge
<samueldr>
> Put the host-side of the veth-pair into the named bridge. Only one of hostAddress* or hostBridge can be given.
<clever>
ah, if your using a bridge, then nat isnt at play
<clever>
is eno1 in the bridge?
<samueldr>
I'm not really good with networking stuff, so I'm probably doing somethign wrong
<samueldr>
on the server, the physical itnerface is eno1
<samueldr>
there aren't any other
<samueldr>
I have br0 as bridges = {
<boomshroom>
Hey, I want to start another silly "how much can I torture the computer/compiler" project and I would like to use a programming language that's clearly not meant for kernel development. Does anyone know of any niche, novelty languages that compile to c? (LLVM doesn't support my desired target.) I've tried Nim and I'm wondering if there are any others.
alx741 has joined #nixos
<samueldr>
(sorry if my typing is wonky, I'm not using my usual keyboard and this one's real bad)
<clever>
samueldr: if your using bridging, then you would put eno1 into br0 on line 21, where its currently blank, and then you give the containers IP's that exist in your main LAN
<dash>
boomshroom: common lisp
<samueldr>
oh, so no bridge then
<boomshroom>
dash: XD
<dash>
boomshroom: also why are you limiting yourself to stuff that compiles to C
<dash>
boomshroom: would you consider... ocaml?
<boomshroom>
dash: I did write an assembler in lisp macros. The limit is because I'd like to compile to RISC-V, which most toolchains including LLVM don't support. I'm mostly looking for recent languages, ie: < 10 years old.
s33se_ has joined #nixos
<dash>
boomshroom: definitely rpython then
Supersonic112 has quit [(Ping timeout: 255 seconds)]
roconnor has quit [(Ping timeout: 246 seconds)]
<dash>
boomshroom: i was serious about ocaml though - https://mirage.io/
s33se has quit [(Ping timeout: 246 seconds)]
<boomshroom>
I'd also prefer either no or optional garbage collection, but I was able to hack go into doing a surprising amount.
bennofs1 has quit [(Ping timeout: 240 seconds)]
dhess` has quit [(Remote host closed the connection)]
mbrgm has quit [(Ping timeout: 240 seconds)]
Supersonic112 has joined #nixos
<boomshroom>
As a bonus, the more obscure and bizarre, the better. :D
<samueldr>
oh well, I feel dumb now
<samueldr>
there was a stray colon in the interface name
<samueldr>
yes, the internalIPs is commented in the nix configuration, once uncommented and the stray colon removed, everything seems to work
<boomshroom>
Looks like I'll be sticking with Nim. I excitedly await Jai, though.
deba5e12 has quit [(Ping timeout: 255 seconds)]
ryanartecona has joined #nixos
deba5e12 has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ryanartecona has quit [(Client Quit)]
deba5e12 has quit [(Ping timeout: 240 seconds)]
deba5e12 has joined #nixos
drakonis has joined #nixos
roconnor has joined #nixos
riclima has joined #nixos
vaibhavsagar has joined #nixos
spinus has quit [(Ping timeout: 240 seconds)]
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
slack1256 has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
riclima has joined #nixos
slabity has joined #nixos
elninja44 has quit [(Remote host closed the connection)]
nixy has quit [(Quit: WeeChat 1.7)]
nixy has joined #nixos
nixy has quit [(Client Quit)]
nixy has joined #nixos
<boomshroom>
Hi, the nixpkgs repo and manual have a few ways of packaging applications from various languages and build systems. How can I package a Nim package with Nix?
<slack1256>
If code for nim modules doesn't exist already, I would try to replicate what other languages do
drakonis has quit [(Read error: Connection reset by peer)]
justan0theruser is now known as justanotheruser
schoppenhauer has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Quit: brb)]
jgertm has joined #nixos
MP2E has joined #nixos
schoppenhauer has joined #nixos
deba5e12 has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
akamaus has quit [(Ping timeout: 260 seconds)]
jgertm has quit [(Ping timeout: 255 seconds)]
hellrazo1 has quit [(Ping timeout: 268 seconds)]
slack1256 has quit [(Remote host closed the connection)]
jgertm has joined #nixos
MP2E has quit [(Quit: leaving)]
nevermind has joined #nixos
simukis has joined #nixos
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
Ralith_ has joined #nixos
natas_ has joined #nixos
inflames has joined #nixos
<ison111>
Does anyone know what configuration is needed to get mod_wsgi to be installed into Apache's modules? Using services.httpd.extraModules = [ "mod_wsgi" ]; doesn't seem to do the trick. It adds a line to load the module in httpd.conf but it doesn't actually install the module into Apache
simukis has quit [(Ping timeout: 240 seconds)]
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nevermind has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<nixy>
Anyone here use nixops on darwin? I feel like this should be simple but it keeps giving me trouble
<ison111>
Nevermind, I was just being stupid. Had to use an attribute set instead with the path to .so file.
<nixy>
It keeps trying to build machine configurations locally, which fails since you can't build linux on darwin
<simpson>
nixy: I have seen your problem before, but I don't remember the solution. (I'm not on Darwin.)
<nixy>
simpson: Yeah, it seems like a couple people have seen this before
<nixy>
I remember it being mentioned that darwin should automatically use the remote systems to build the configuration, but that isn't happening :(
vaibhavsagar has joined #nixos
faffolter has joined #nixos
<dmj`>
nixy: maybe don’t use Darwin
<dmj`>
or nixops
<dmj`>
can you provision a nixos machine, ssh in, and then rebuild switch to what you want, or sudo nixos-rebuild switch —remote
<dmj`>
as long as you have ssh access to that box
<nixy>
I mean, I can already do that. I am trying to use NixOps to make managing the servers easier
reinzelmann has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
<nixy>
It's a set of 8 identical servers so I don't really feel like doing that for each of them, I just thought nixops would make managing that easier
<dmj`>
honestly
<dmj`>
I’d just build machine images of them
<dmj`>
then upload them to s3
<dmj`>
or whichever cloud provider
<dmj`>
nixos/maintainers/scripts
<nixy>
I could do that, but then I would have to build new images and redeploy to all of them any time I made any changes
<dmj`>
you can then deregister an image, and re-register, then instantiate
<dmj`>
nixy: sounds like purity to me :)
<dmj`>
immutability
<dmj`>
if you have 8 of them, they won’t all be down at the same time
<dmj`>
how often will you destroy / recreate?
<nixy>
It isn't like downtime is critical for these, it's just all these sound like a PITA
<dmj`>
you can make an AMI w/ nixos, that has a configuration.nix wiht your own modules, running your stuff
<nixy>
They are Tor nodes and I have been tweaking the bandwidth allowed each month to try and achieve maximum usage of the bandwidth each server is alloted
<nixy>
Also I am not using Amazon
riclima has joined #nixos
<dmj`>
which cloud provider are you using?
<nixy>
I use Linode
<dmj`>
hmmm
<nixy>
So with nixops I would be using the "none" provider
<dmj`>
that sounds more painful to me, in all honesty
<nixy>
What using the none provider or Linode?
<dmj`>
Linode
<dmj`>
Does it have a boto equivalent
<nixy>
I mean, the way you recommend I solve these anything that isn't AWS would be a pain wouldn't it?
<dmj`>
nixy: GCE would probably be better than aws
<dmj`>
better api, cheaper too
<nixy>
dmj`: Under current circumstances I receive hosting from Linode for free, so pretty much any other hosting provider is foolish for me
<dmj`>
nixy: well that’s hard to beat
<nixy>
Indeed. They do have an API that I could use to take images and redeploy them, but I wanted to use NixOps rather than invent my own tooling for this
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 255 seconds)]
Mateon3 is now known as Mateon1
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
Khetzal has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 240 seconds)]
proteusguy has joined #nixos
Itkovian has joined #nixos
Guest31857 has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
marsel has quit [(Ping timeout: 246 seconds)]
Itkovian has joined #nixos
goibhniu has joined #nixos
Guest31857 is now known as Khetzal_
Khetzal_ is now known as Khetzal
marsel has joined #nixos
steveeJ has quit [(K-Lined)]
mt has quit [(K-Lined)]
mt has joined #nixos
tv1 has joined #nixos
tv has quit [(Ping timeout: 240 seconds)]
tv1 is now known as tv
tv has quit [(Changing host)]
tv has joined #nixos
steveeJ has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
oida_ has joined #nixos
jensens has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 246 seconds)]
hellrazor has joined #nixos
eacameron has joined #nixos
abrar has quit [(Quit: WeeChat 1.7)]
drets has joined #nixos
<drets>
Hi guys, how can I connect my Nexus 5 to Google Chrome in ordet to debug it? I added udev.packages = [ pkgs.android-udev-rules ];, allowed USB debugging and going to chrome://devices/ , but nothing there :'(
drets has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHHNp
<NixOS_GitHub>
nixpkgs/master 156a9af Vladimír Čunát: knot-resolver: 1.2.6 -> 1.3.0
NixOS_GitHub has left #nixos []
drets has joined #nixos
carlosdagos has joined #nixos
hotfuzz_ is now known as hotfuzz
roconnor has quit [(Ping timeout: 268 seconds)]
arianvp2 has joined #nixos
michas has joined #nixos
Itkovian has joined #nixos
<drets>
solved
pie_ has quit [(Read error: Connection reset by peer)]
<goibhniu>
cool, how did you do it drets?
pie_ has joined #nixos
* goibhniu
thinks that would be a good thing to have in the wiki
<drets>
udev.packages = [ pkgs.android-udev-rules ]; is enough
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vHHxM
<NixOS_GitHub>
nixpkgs/release-17.03 7aca46f Vladimír Čunát: thunderbird: 45.8.0 -> 52.1.1...
NixOS_GitHub has left #nixos []
<drets>
using lsusb you can check whether it sees the connected device
<drets>
in my case: I connected my Nexus 5 but “lsusb” didn't show that it's connected
<drets>
so I grabbed Nexus 6 with original cable − then I saw that Nexus 6 is connected and than Google Chrome saw it too.
<michas>
Hi, it looks like python3 does not include pip. - Is this a bug or did I miss some other package?
FRidh has joined #nixos
<FRidh>
michas: thats intentional. See python3.pkgs.pip
<FRidh>
got to go again
FRidh has quit [(Client Quit)]
<goibhniu>
drets: awesome, thanks for explaining!
<michas>
FRidh, I'm quite new. How do I use python3.pkgs.pip? (Nix-env seems not to know about it.)
natas_ has quit [(Ping timeout: 260 seconds)]
inflames has quit [(Ping timeout: 260 seconds)]
MP2E has quit [(Quit: leaving)]
seantparsons has quit [(Read error: Connection reset by peer)]
seanparsons has joined #nixos
<michas>
Does anyone know, what FRidh meant with "python3.pkgs.pip"?
sophiag has quit [(Ping timeout: 260 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
<goibhniu>
michas you can install it with nix-env -iA nixos.python35Packages.pip
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHHhE
<NixOS_GitHub>
nixpkgs/master ed07035 Vladimír Čunát: Merge branch 'staging'
NixOS_GitHub has left #nixos []
<michas>
goibhniu, error: attribute nixos in selection path nixos.python35Packages.pip not found
<goibhniu>
michas ah, what do you get for `nix-env -qaP | grep python3 | grep pip`?
arianvp2 has quit [(Quit: arianvp2)]
<michas>
goibhniu, ok, I see. nixpkgs.python36Packages.pip seems to be correct here.
<goibhniu>
cool, so on the right hand side you see the "name" and on the left you see the "attribute path"
<goibhniu>
installing by attribute path is faster, and gives you more control ... you add -A to nix-env to use it
<michas>
goibhniu, is there any way to make "python3 -m pip" work?
xadi has quit [(Ping timeout: 240 seconds)]
nslqqq has quit [(Ping timeout: 268 seconds)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
<goibhniu>
michas are you trying to work out a comfy way to do python development with nix?
nslqqq has joined #nixos
mpcsh has joined #nixos
<michas>
goibhniu, I wonder if I could use nix to set up a proper environment for a python application I need to run here. - And also try to learn more about nix in the process.
Neo-- has joined #nixos
<goibhniu>
michas: cool, then I think nix-shell would be interesting for you ... you can create a shell.nix file in a directory which defines an environment, and you enter the environment by typing `nix-shell`
<goibhniu>
that way you can specify the particular version of python that you want to use, and also which modules should be installed
<goibhniu>
do you want to package the application?
<michas>
goibhniu, exactly that was the idea. as far as I see I have three ways to provide the needed libraries. Either find a correct pythonPackage, build my own package or simply use pip. - not sure if I really want to write my own nix-package. :)
adamt has joined #nixos
<avn>
goibhniu: does that shell.nix need some special, which allow `setup.py develop` to work?
<michas>
goibhniu, for now that application in only used inside my company, but there might be packages (for example the shade library) which are not yet in nixpkgs.
spinus has joined #nixos
joehh has quit [(Ping timeout: 246 seconds)]
<goibhniu>
avn ah, you mean to install a local package into your environment? ... I don't think there's anything special about it, you can use src=/some/local/code (IIRC) to point to local code though
pie_ has quit [(Ping timeout: 255 seconds)]
<goibhniu>
it won't be able to download stuff that it depends on though
<goibhniu>
you could always use virtualenv for that, if you don't want to package all the dependencies
xadi has joined #nixos
spinus has quit [(Ping timeout: 240 seconds)]
ilyaigpetrov has joined #nixos
Neo-- has quit [(Ping timeout: 240 seconds)]
michas has quit [(Quit: Leaving)]
ertes has quit [(Ping timeout: 246 seconds)]
<avn>
goibhniu: I mean working shell for code which I edit in progress ;) To not install it each time.
<avn>
I add PYTHONPATH=$(pwd)/lib to shell hook, but it not ideal
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vHQnX
<NixOS_GitHub>
nixpkgs/master d645223 Will Dietz: elfkickers: fix typo in enableParallelBuilding....
<NixOS_GitHub>
nixpkgs/master 58fef1a Joachim F: Merge pull request #26547 from dtzWill/fix/elfkickers-typo...
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
ericsagnes has quit [(Ping timeout: 260 seconds)]
ertes-w has quit [(Read error: Connection reset by peer)]
ertes-w has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHQWG
<NixOS_GitHub>
nixpkgs/master 5ad7d31 Vladimír Čunát: kde4.kdepimlibs: fixup build by using older cmake...
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] cleverca22 opened pull request #26550: purescript: fix closure size on OSX (master...purescript) https://git.io/vHQW7
NixOS_GitHub has left #nixos []
<Jackneill>
why do you still use releases? isnt 1 point of nixos is to deprecate them? releases ensures that apps/deps work can work together, but with nix, you can have 1 set of deps for 1 app and another for another app of the same deps. there shouldnt be releases?
<gchristensen>
nixos doesn't have a goal of deprecating releases
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] sorpaas opened pull request #26551: go-ethereum-classic: init at 3.5.0 (master...geth-classic-init) https://git.io/vHQ8X
NixOS_GitHub has left #nixos []
<goibhniu>
Jackneill: e.g. you may not want to have to migrate your database just to stay up to date
<Jackneill>
goibhniu, what?
<Jackneill>
you mean with releases theres no update so theres no problem?
pie_ has joined #nixos
<Jackneill>
:D
ericsagnes has joined #nixos
<goibhniu>
Jackneill: let's say your current system is using postgres 8, and you run an update and the new current version is postgres 9 ... you may need to do some extra manual work to migrate your database to keep it working
<goibhniu>
by pinning versions for releases, you only have to deal with such things when you upgrade to a new release
<Jackneill>
right
<clever>
goibhniu: stateVersion also handles that, so when you do switch channels, it will keep using postgress 8
<gchristensen>
Jackneill: can you say more specifically what you mean by "still use releases"?
<goibhniu>
ah, true
<Jackneill>
gchristensen, nixos by default uses releases instead being rolling like i described
<Jackneill>
maybe if you could set channels per pkg
<Jackneill>
so that eg. only postrges uses releases
<goibhniu>
Jackneill: you know there are both stable and rolling (unstable) channels, right?
<gchristensen>
Jackneill: sometimes big changes take place on master and users shouldn't be subjected to huge changes on a highly regular basis, that would be incompatible with business using it
<Jackneill>
i didnt mean rolling as a dev/test bed
<Jackneill>
i meant not to wait for releases when a *stable* release is available but roll it right now
<Jackneill>
of a pkg
<Jackneill>
independently of all other pkgs
ericsagnes has quit [(Ping timeout: 255 seconds)]
<Jackneill>
unstable is not what i described
<gchristensen>
because packages have major updates in stable releases and that can have major impact for users
<Jackneill>
what you mean by rolling channel is the unstable, i would put another chan a stable rolling one. as i described
<gchristensen>
what is the difference between an unstable rolling release and a stable rolling release?
<Jackneill>
gchristensen, well only autoipdate if no user intervention is needed, otherwise prompt fo rit..
<gchristensen>
I mean what would go in to the unstable rolling release that wouldn't go in to the stable rolling release?
<Jackneill>
gchristensen, " users shouldn't be subjected to huge changes on a highly regular basis," sounds unstable
<gchristensen>
no they're stable
<gchristensen>
they're big changes and they're developments, and they're stable
indi_ has quit [(Remote host closed the connection)]
<Jackneill>
well its up to a developer when to release his/her pkg, if they do so hourly at the cost of the user then be it, if the user doesnt like it, just uninstall the pkg
<Jackneill>
its a devs responsibility not be a pain in the ass
<Jackneill>
so issue a release in bulk.
<gchristensen>
I see
<Jackneill>
but users should have the possibility to get the update instantly when the dev releases it
<gchristensen>
we have stable releases to act as a buffer for packages that do have big updates
<Jackneill>
rolling stable manner
<gchristensen>
so like arch?
<Jackneill>
gchristensen, exactly
<gchristensen>
you can already get Arch :0
<Jackneill>
but thats not nixos
<goibhniu>
well, channels are only updated when a set of tests pass ... but can also install directly from the build farm
<Jackneill>
and i cant have app0 with dep.0.1 and app1 with dep.0.2
<gchristensen>
nixos has nixos-unstable for what you're talking about, and stable releases for people who want to use something more stable
<gchristensen>
however sometimes unstable takes a long time for its tests to pass, and can leave you vulnerable and without to important security updates due to that
<Jackneill>
yeah nixos lacks the arch buffer time frame
<gchristensen>
what is the arch buffer time frame that nixos lacks?
leat has quit [(Ping timeout: 260 seconds)]
<Jackneill>
gchristensen, what i described aboive when you said "I see"
<Jackneill>
oh wait not
<Jackneill>
arch does testing too, not what you desribed by unstable
<Jackneill>
for arch thats the "testing" repo
<Jackneill>
and when thats done, people get the updates
<gchristensen>
the nixos-unstable branch always works
<Jackneill>
but you said sec vulns
<gchristensen>
it has quite thorough automatic testing to prevent problems from being released
<goibhniu>
you can also use a clone of nixpkgs, it will still use binaries from the build farm when available
<gchristensen>
we also have staging for super big changes
filterfish has joined #nixos
<goibhniu>
which is maybe like having a "testing" repo
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
<Jackneill>
why do you test against sec vulns? if i release an app that has a vuln its my responsiliblity
<gchristensen>
we don't test against them, we test to make sure a release ill work
<Jackneill>
right, but by the way nix is it always should
<Jackneill>
each pkg has a unique hash for that
<Jackneill>
so that it has all the deps to work
<Jackneill>
thats why i dont get the point of a release aside what goibhniu said
<gchristensen>
no, because if `gcc` doesn't compile how will anything work
<Jackneill>
and for that i would do per pkg channels.
<sphalerite>
Jackneill: nix doesn't guarantee that stuff will work
<sphalerite>
it doesn't even try to
<sphalerite>
but it does try to guarantee that stuff is reproducible
<Jackneill>
uhm, so you mean if a specific version of gcc doesnt compile that hash cant be satisfied
<sphalerite>
Jackneill: nixos stable releases exist for the same reason that debian stable releases do
<gchristensen>
in nix, in the description of the `hello` package we don't hard-code that it depends on /nix/store/mqapz6gb6vzwwfw92wq5zql296kaxzxg-gcc-5.4.0/bin/gcc
catch22__ has quit [(Remote host closed the connection)]
<gchristensen>
we say it depends on `pkgs.gcc` which resolves to `/nix/store/mqapz6gb6vzwwfw92wq5zql296kaxzxg-gcc-5.4.0/` at which point it tries to create /nix/store/mqapz6gb6vzwwfw92wq5zql296kaxzxg-gcc-5.4.0/, if it can't hello can't build
<Jackneill>
gchristensen, then i dont understand your gcc doesnt work example
<gchristensen>
well if gcc can't compile we can't build anything
<Jackneill>
right, but thats not a pkg managers job to ensure it works.
<gchristensen>
not-sure-if.jpg
trikl has joined #nixos
<trikl>
Where can I find the derivatio for kde4-config?
<Jackneill>
gchristensen, so releases just ensures that there is a version of gcc that can be built?
<gchristensen>
sorry, I have to get back to work, perhaps someone else can help
<Jackneill>
right
<Jackneill>
thanks
<makefu>
btw is there a list of twitter accounts of people who regularly tweet about nix(os) ?
<gchristensen>
I follow the "nixos" on TweetDeck
<gchristensen>
the search*
<ikwildrpepper>
gchristensen: I add -@nixos
<gchristensen>
omg
<ikwildrpepper>
to the search :D
<ikwildrpepper>
as that @nixos posts too much :D
<gchristensen>
I've been searching for a way to do that. also -@ItsNixos
<gchristensen>
oh maybe that is an L
<gchristensen>
ikwildrpepper: that doesn't seem to remove them from the results :/
<nixy>
gchristensen: You mentioned previously that you run NixOps with the "none" provider. Do you do that from darwin?
<gchristensen>
I don't, nixy
<gchristensen>
if you have at least 1 vbox VM in your network though it will work
<nixy>
So I guess it needs the vbox VM just to build stuff then?
eacameron has quit [(Ping timeout: 260 seconds)]
<gchristensen>
yeah, it'll set that up as a building host
<gchristensen>
nixy: are you using nix-daemon on osx?
<ikwildrpepper>
gchristensen: weird, it does for me on tweetbot
<gchristensen>
bummer :/
<nixy>
Not anymore. I used to, but you mentioned it would mess with NixOps so I stopped using it
zx2c4 has quit [(Quit: Updating details, brb)]
cpennington has joined #nixos
zx2c4 has joined #nixos
Neo-- has joined #nixos
filterfish has quit [(Remote host closed the connection)]
roconnor has joined #nixos
filterfish has joined #nixos
<gchristensen>
ikwildrpepper: btw check your email please :)
eacameron has joined #nixos
bennofs has joined #nixos
cpennington has quit [(Ping timeout: 246 seconds)]
<nixy>
Still seems like NixOps is trying to build things locally :(
<nixy>
I should probably just give up and stop using darwin lol
<clever>
nixy: is $NIX_REMOTE set?
<nixy>
It isn't
<disasm>
getting prompted for password when adding printer via cups in web UI. Is there a default or somewhere I need to set that in configuration.nix?
<clever>
not sure then, i would just use a linux machine elsewhere, it can be a VM
<clever>
disasm: last time i used cups, it was tied into pam, so the root name/pw may work
ixxie has quit [(Ping timeout: 240 seconds)]
<nixy>
Yeah probably going to set up a NixOS vm at this point because darwin is starting to be frustrating
ixxie has joined #nixos
Neo-- has quit [(Ping timeout: 260 seconds)]
deba5e12 has quit [(Ping timeout: 255 seconds)]
<disasm>
clever: yeah, that was it. foiled by that accidental immutable users setting I enabled a few weeks ago, have a root pass set again, lol :)
leat has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
<makefu>
gchristensen ikwildrpepper: that twitter search looks good, thanks :D
<goibhniu>
I'm trying to upgrade an old box, but nix-channel --update fails with "‘/nix/store/vgwcza0aa29l1p1ibjz3l5jrh8ij3a6m-nixos-16.09.1943.25f4906da6.drv’ has ‘__noChroot’ set, but th
<goibhniu>
at's not allowed when ‘build-use-sandbox’ is ‘true’"
<goibhniu>
my /etc/nix/nix.conf has build-use-chroot = false
<goibhniu>
(I just changed that)
<srhb>
zx2c4: woo
<goibhniu>
`NIX_REMOTE= nixos-rebuild switch --upgrade` fails with: opening lock file `/nix/var/nix/db/big-lock': Read-only file system at /nix/store/9mr7gwsgip1ncvga77dfl3lbnrbjjzh5-nix-1.7/b
<goibhniu>
in/nix-prefetch-url line 101.
erasmas has joined #nixos
<goibhniu>
any ideas?
* goibhniu
used a more recent version of nixos-rebuild and nix-env ... seems to be working \o/
MercurialAlchemi has quit [(Ping timeout: 255 seconds)]
<catern>
hey #nixos, is it possible to somehow create a Hydra which does nothing but build all the fixed-output derivations in Nixpkgs?
<catern>
is this trivial in some way?
mizu_no_oto has joined #nixos
<catern>
The reason I want to do this is to have one Hydra which handles fetching sources and has network access, and another Hydra which gets sources from the first Hydra and then builds those sources and doesn't have network access (other than for publishing)
mudri has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej opened pull request #26554: Speed up parsing @args.rsp compiler arguments (staging...rsp) https://git.io/vHQ6p
NixOS_GitHub has left #nixos []
thetet has left #nixos []
mudri has joined #nixos
abrar has joined #nixos
<FRidh>
catern: recurse in the package set, find attributes that are derivations and that also have the attribute outputHash
thblt2 has quit [(Ping timeout: 260 seconds)]
<FRidh>
see e.g. release-lib.nix how to work with tryEval
<catern>
okay, seems legit
<catern>
I can do that
<catern>
another question: must the nix-daemon run as root?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<Sonarpulse>
peti: see my updated buildInputs PR?
<catern>
I can see two issues with running it as non-root: creating build sandboxes and running findRuntimeRoots
<catern>
is the nix-setuid-helper no longer supported?
<catern>
is there some reason not to use the nix-setuid-helper instead of running nix-daemon as root?
<Sonarpulse>
catern: nobody has tried non-root to my knowledge
<Sonarpulse>
but this is silly
<Sonarpulse>
with enough capability wrangling it should work
<Sonarpulse>
and we probably should do that by default
<Dezgeg>
don't you need user namespaces as an alternative (for sandboxing) which some distros disable
<cornfeedhobo>
i recommend the edge nginx/varnish/apache layers
<simpson>
cornfeedhobo: I have a modest proposal: Let's never use RBAC again.
<catern>
simpson: what's your preference? :)
<catern>
hopefully capability-security :)
<cornfeedhobo>
simpson: i'm all for it. i will generally adopt any rational and tractable solution. the more esoteric, the less likely i am to adopt. sadly one of the working stiffs :-(
<cornfeedhobo>
^^^
<simpson>
catern: Of course!
<simpson>
cornfeedhobo: Take it in small steps. Try a capability-safe serialization format, like Capn Proto.
adfaure has quit [(Remote host closed the connection)]
<Nixer>
cornfeedhobo: No, that is for the nix install on CentOS. :(
<cornfeedhobo>
Nixer: yeah, sorry i clicked after. i too run centos normally
<Nixer>
cornfeedhobo: Have you tried installing Nix recently (past 18 hours)? Is it failing?
<cornfeedhobo>
nope, easily been 6 months
<catern>
simpson: oh right, I didn't recognize you from previous capability discussions :)
<Mic92>
disasm: there is evil tool called `nix-env`
pie_ has joined #nixos
<Mic92>
Which nobody should use imho
jgertm has joined #nixos
adamt has quit [(Ping timeout: 240 seconds)]
NextHendrix has joined #nixos
<Mic92>
disasm: nix-env uses the name rather the attribute.
<disasm>
Mic92: lol, yeah, I use nix-shell for a lot of stuff or it goes in configuration.nix :)
<Mic92>
And does this strange, broken by design version compare
<NextHendrix>
trying to set my default shell to zsh
<NextHendrix>
/etc/shells is read only, how can i add /run/cu.../bin/zsh to shells
<NextHendrix>
still getting my head around how to actually use this distro
tmaekawa has joined #nixos
<disasm>
NextHendrix: just for a single user?
<NextHendrix>
yeah
<Mic92>
disasm: the thing about pre versions, how one should know in advance what the next version is? When it is currently 3.1.1 will the next be 3.1.2, 3.2.3 or even 3.1.1.1
<NextHendrix>
i found the zsh.nix module, tried sourcing it from configuration.nix and got an infinite recursion error
<NextHendrix>
so apparently that isn't the way to do it
<disasm>
Nixer: you can either use users.defaultUserShell to change all users on the system or users.extraUsers.root.shell = mkOverride 50 "${pkgs.bashInteractive}/bin/bas
<myguidingstar>
hi all, I'm trying to packaging rednotebook v2.0 because nixpkgs version is outdated and depends on insecure package. Rednotebook's Debian pkg dependencies is following:
<myguidingstar>
Depends: ${python3:Depends},
<myguidingstar>
${misc:Depends},
<myguidingstar>
gir1.2-gdkpixbuf-2.0,
<myguidingstar>
gir1.2-glib-2.0,
<myguidingstar>
gir1.2-gtk-3.0,
<myguidingstar>
gir1.2-pango-1.0,
<myguidingstar>
gir1.2-webkit2-4.0,
<myguidingstar>
python3-gi,
<myguidingstar>
python3-yaml
<myguidingstar>
Recommends: python3-enchant
<myguidingstar>
so I set buid inputs: [ pkgs.gtk3 pkgs.webkitgtk2 self.pygobject3 self.pyenchant pyyaml pkgs.pango]
<myguidingstar>
but after build & run, I got this: ValueError: Namespace WebKit2 not available
<myguidingstar>
what am I missing here?
<FRidh>
does pkgs.webkitgtk2 provide python bindings?
<digitalmentat>
that's untested but that would roughly be one way to do it
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<digitalmentat>
you could write a release.nix and put that Nix expression logic in there and then just `nix-build release.nix` too, which is closer to how we do it for our CI system
Itkovian has quit [(Ping timeout: 240 seconds)]
<qknight>
digitalmentat: awesome!
marsam has joined #nixos
<qknight>
thanks
<digitalmentat>
yup :)
<clever>
qknight: nix-build '<nixpkgs/nixos>' -A system.build.toplevel -I nixos-config=./configuration.nix
<goibhniu>
myguidingstar, I'm afraid python + gtk stuff can be quite tricky, you may find some inspiration from other packages
<fooblahblah>
I'm looking to revert from linux-4.11.4 to 4.11.3. Is there a way to do that these days in configuration.nix? I don't need to override the kernel config or anything...
<fresheyeball>
my nix-env is 1.11.8
<sphalerite>
second, you may want to use nixpkgs-unstable rather than master in order to make sure you get stuff that's been tested to build successfully and for which binaries are available
<fresheyeball>
sphalerite: educate me, how do I do that?
<sphalerite>
mv ~/.nixpkgs ~/.config/nixpkgs
<fresheyeball>
sphalerite: done
<sphalerite>
and for using nixpkgs-unstable, just use that branch from github.com/nixos/nixpkgs-channels
<catern>
simpson: what do you mean "guessing isn't hard"? guessing a cryptographic hash is fairly hard :)
<sphalerite>
Does moving the config fix it? If not it would be helpful to see what your config.nix actully contains
fooblahblah has quit [(Client Quit)]
<fresheyeball>
sphalerite: moving the file did not fix it
fooblahblah has joined #nixos
bones has quit [(Quit: WeeChat 1.8)]
<fresheyeball>
sphalerite: I don't see a stable branch
<fresheyeball>
do you mean I should use the nixos-17
<sphalerite>
fresheyeball: it's in nixos/nixpkgs-channels, not nixos/nixpkgs
<sphalerite>
and if you were previously using master you'll probably want to use unstable rather than stable
<fresheyeball>
ok
tmaekawa has quit [(Quit: tmaekawa)]
<fresheyeball>
ok so I've moved all that
<fresheyeball>
but I can't test it
deba5e12 has joined #nixos
<fresheyeball>
because my system can't find `nixos.myEnv`
<clever>
fresheyeball: what does nix-channel --list say?
<clever>
fresheyeball: what is the contents of ~/.config/nixpkgs/config.nix?
<simpson>
catern: But guessing where a usable bash lives is easy.
riclima has joined #nixos
<fresheyeball>
oh hu
<fresheyeball>
the mv did not work the way I expected
<fresheyeball>
hang on
<clever>
if ~/.config/nixpkgs/ already exists, it will put the other nixpkgs inside of it
<catern>
simpson: a usable *bash*? how's that? I mean, if you start with a shell, sure...
<clever>
if it doesnt, it will move it to that path
mudri has quit [(Ping timeout: 240 seconds)]
<simpson>
catern: For example, I have /nix/store/wb34dgkpmnssjkq7yj4qbjqxpnapq0lw-bash-4.4-p12 in my local store. To find that, an attacker merely has to glob for bash.
<clever>
simpson: but that doesnt exactly mean that you are using that exact version of bash
<fresheyeball>
ok that worked
<catern>
simpson: oh, that's easily fixable in Unix, as I said in my post, just chmod -r /nix/store
<simpson>
clever: Sure, but that might be okay depending on the attack.
<catern>
simpson: but leave chmod +x /nix/store so you can walk through that directory if you have the path already
<simpson>
catern: Bold.
<catern>
simpson: yeah! it's edolstra's idea in that thread
<tshaffe1>
One of the URLs for Vim seems to be 404ing. Should I open an issue or pull request or something?
Nixer has quit [(Quit: Page closed)]
logzet has joined #nixos
jgertm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vH7mG
<NixOS_GitHub>
nixpkgs/master 6b1087d Jörg Thalheim: add zx2c4 to lib/maintainers.nix
NixOS_GitHub has left #nixos []
marsel has joined #nixos
phinxy has quit [(Ping timeout: 255 seconds)]
<zx2c4>
Mic92: thanks for fixing up that maintianers thing for me
phinxy has joined #nixos
tmaekawa has joined #nixos
goibhniu has quit [(Ping timeout: 255 seconds)]
<Mic92>
zx2c4: I always forget to check this first.
tmaekawa has quit [(Client Quit)]
vengefulpickle has quit [(Ping timeout: 260 seconds)]
<LnL>
tshaffe1: create a pr if you know how to fix it
<tshaffe1>
OK, will do!
grw has quit [(Quit: WeeChat 1.7.1)]
k0001 has quit [(Ping timeout: 240 seconds)]
k0001 has joined #nixos
vengefulpickle has joined #nixos
<fresheyeball>
so I've encountered a giant wall of exceptions installing from nixpkgs-channels unstable branch
<fresheyeball>
it appears to by python stuff
mudri has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] trshaffer opened pull request #26559: vim: update URL for vimrc (master...master) https://git.io/vH7ZB
NixOS_GitHub has left #nixos []
luigy has left #nixos []
bennofs1 has joined #nixos
arianvp2 has joined #nixos
<tshaffe1>
I just put in a PR for that Vim thing. The file itself seems to be identical, just the URL format changed
bennofs has quit [(Ping timeout: 240 seconds)]
jbgi has joined #nixos
k0001 has quit [(Ping timeout: 255 seconds)]
pie_ has quit [(Remote host closed the connection)]
arianvp2 has quit [(Remote host closed the connection)]
digitalmentat has quit [(Remote host closed the connection)]
arianvp2 has joined #nixos
digitalmentat has joined #nixos
<sphalerite>
If I set systemd.services.<name>.script it generates an override.conf for the unit containing an ExecStart setting. How can I get it to contain "ExecStart=" before the ExecStart setting so it completely overrides it rather than adding to it?
<sphalerite>
fresheyeball: as mentioned, we can't really help you without knowing what's in your config.nix
pie_ has joined #nixos
phinxy has quit [(Ping timeout: 258 seconds)]
<pie_>
i wonder if my thinkpad bios has a feature to stop me from turning it on if the batt is too low
myguidingstar has quit [(Quit: ChatZilla 0.9.93 [Firefox 53.0.3/20170519191530])]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vH742
<NixOS_GitHub>
nixpkgs/master 8d71c75 Peter Simons: perl-Shell-Command: initial version 0.06
<NixOS_GitHub>
nixpkgs/master 14283b6 Peter Simons: vcsh: update to latest Git head, enable test suite, install man page
NixOS_GitHub has left #nixos []
<tshaffe1>
LnL: thanks!
luigy has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
<disasm>
thanks tshaffe1 for the PR :)
darlan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.03: https://git.io/vH7R7
<NixOS_GitHub>
nixpkgs/release-17.03 8dcd0ea Tim Shaffer: vim: update URL for vimrc...
NixOS_GitHub has left #nixos []
darlan has quit [(Remote host closed the connection)]
stanibanani has left #nixos []
myguidingstar has joined #nixos
myguidingstar has quit [(Client Quit)]
faffolter has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
Itkovian has joined #nixos
stanibanani has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
stanibanani has quit [(Remote host closed the connection)]
darlan has joined #nixos
stanibanani has joined #nixos
darlan has quit [(Client Quit)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ryanartecona has quit [(Quit: ryanartecona)]
<stanibanani>
hey guys, I just switched my channel to nixos-unstable and now I can't get my bluetooth dongle to start discovering devices using bluetoothctl. No clear errors or anything. Just "scan on" and nothing...
<stanibanani>
has anyone else experienced this?
<sphalerite>
stanibanani: switching from 17.03?
<sphalerite>
If so, the only commit I could find which is likely to be relevant is 99d4ed58616358c71b81370130b3610744370028 which affects how devices are powered up. Does putting "power on" first help?
stanibanani has quit [(Remote host closed the connection)]
stanibanani has joined #nixos
thetet has joined #nixos
marsel has quit [(Quit: WeeChat 1.7.1)]
tmaekawa has quit [(Quit: tmaekawa)]
stanibanani has quit [(Remote host closed the connection)]
riclima has joined #nixos
pie_ has quit [(Changing host)]
pie_ has joined #nixos
riclima has quit [(Client Quit)]
<sudoreboot[m]>
How can I delete profiles? I have some profile laying around with a link to a huge package I need to remove and the documentation tells me all about how to garbage collect stuff that isn't pointed to by any current generation of any profile, but nothing about managing profiles themselves
stanibanani has joined #nixos
<gchristensen>
sudoreboot[m]: which profile?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vH7y7
<NixOS_GitHub>
nixpkgs/master b83609a Will Dietz: psmisc: 22.21 -> 23.0...
NixOS_GitHub has left #nixos []
<sudoreboot[m]>
gchristensen: A system profile I created on a whim at some point to try the feature, basically. I thought I'd try keeping a separate profile for a set of packages used for a certain kind of dev environment, but I never went back to it
riclima has joined #nixos
<gchristensen>
gotcha
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vH7yj
<NixOS_GitHub>
nixpkgs/master 9079f94 Robin Stumm: exa: 2017-04-02 -> 0.6.0
NixOS_GitHub has left #nixos []
riclima has quit [(Client Quit)]
<gchristensen>
sudoreboot[m]: run nix-store --gc --print-roots then find the profile path on the left side that you want to delete
<gchristensen>
sudoreboot[m]: delete the symlink (that is the part on the left side) then run gc
riclima has joined #nixos
riclima has quit [(Client Quit)]
MP2E has quit [(Quit: reboot)]
riclima has joined #nixos
riclima has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vH7Sj
<NixOS_GitHub>
nixpkgs/master 30412f9 Daiderd Jordan: rhash: fix darwin build...
NixOS_GitHub has left #nixos []
<sudoreboot[m]>
gchristensen: Yay! I just got about 15 gb richer.
<sudoreboot[m]>
Thank you
<gchristensen>
nice :) you're welcome
ixxie has quit [(Quit: Lost terminal)]
<gchristensen>
I just realized I have dozens of result links I can clean up :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] gebner pushed 1 new commit to master: https://git.io/vH79G
<NixOS_GitHub>
nixpkgs/master 0edd78f Gabriel Ebner: calibre: fix missing gsettings schemas
NixOS_GitHub has left #nixos []
MP2E has joined #nixos
<sudoreboot[m]>
The culprit was a result link in my home directory, however that happened :)
<gchristensen>
:)
<MichaelRaskin>
nix-build tends to produce these, yes
MP2E has quit [(Client Quit)]
jonte_ has quit [(Ping timeout: 240 seconds)]
riclima has joined #nixos
MP2E has joined #nixos
Filystyn has quit [(Quit: Konversation terminated!)]
riclima has quit [(Client Quit)]
astsmtl has quit [(Ping timeout: 246 seconds)]
thetet has quit [(Ping timeout: 240 seconds)]
<Mic92>
sudoreboot[m]: can be suppressed by --no-out-link
riclima has joined #nixos
stanibanani has quit [(Remote host closed the connection)]
MoreTea has quit [(Ping timeout: 240 seconds)]
<Mic92>
sudoreboot[m]: also note that the result won't be garbage collected as long as this link exsists.
<catern>
hey #nixos, what are the steps to use the default.nix for a package from Nixpkgs to build my local clone of some package?
<catern>
in particular, Emacs
MP2E has quit [(Client Quit)]
<catern>
first step: how do I adapt the fetchUrl part?
<clever>
just src = /home/clever/foo/app-1.2.3;
<clever>
every time you call nix-build, it will import a snapshot of the source into /nix/store/
<clever>
and if the hash of that snapshot doesnt have a cached build, it will build it
<Mic92>
I think fetchgit also works with bare repos.
<clever>
depends on the sandbox setting
<Mic92>
clever: it was a fixed output derivation, so it should work as well.
ertes-w has quit [(Ping timeout: 255 seconds)]
<clever>
fixed-output has network, but it should still be inside a sandbox, so it has its own pid/mount namespace
phinxy has joined #nixos
<clever>
if sandboxing is enabled
<stanibanani>
turns out the problem doesn't have anything to do with my previous statement. My BT dongle simply doesn't respond sometimes. It's most likely busted
endformationage has joined #nixos
<Mic92>
clever: the story was that: with import (builtins.fetchgit { url = <nixpkgs>; rev = "..."; }) {}; will work with nix 1.12
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 1 new commit to master: https://git.io/vH75I
<NixOS_GitHub>
nixpkgs/master 424dc01 Peter Simons: parallel: fix broken shebangs to /usr/bin/perl...
NixOS_GitHub has left #nixos []
<Mic92>
but you can even now import a path
<clever>
ahh, yeah, that fetchgit may behave differently
<Mic92>
recently learned about git-worktree. Cool subcommand to test multiple branches in parallel.
<catern>
[30556:30556:0613/205212.496526:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /nix/store/v0fw02wbfzpf88k9hm6cmn3f8njvyzs9-google-chrome-beta-59.0.3071.47/share/google/chrome-beta/chrome-sandbox is owned by root and has mode 4755.
<catern>
can anyone suggest a hack-around? :)
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
simukis has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
mbrock has quit [(Ping timeout: 246 seconds)]
<catern>
given that I don't have root...
<catern>
maybe I can just delete chrome-sandbox? but I hope there is something better :)
MP2E has quit [(Quit: leaving)]
goibhniu has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
vengefulpickle has quit [(Remote host closed the connection)]
MP2E has joined #nixos
apeyroux has quit [(Quit: leaving)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
k2s has joined #nixos
k2s has quit [(Client Quit)]
apeyroux has joined #nixos
<apeyroux>
yop
logzet has quit [(Remote host closed the connection)]
hellrazor has joined #nixos
<ben>
is there like a place where people track when/why nixos-unstable isn't moving?
<Sonarpulse>
LnL can we rename this howshittyis? :D
<LnL>
dunno who created it
arianvp2_ has quit [(Quit: arianvp2_)]
* Sonarpulse
is fumming at CI, always
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<ben>
hydra looks hella complicated
k2s has joined #nixos
k2s has quit [(Client Quit)]
ryanartecona has quit [(Quit: ryanartecona)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
georges-duperon has quit [(Ping timeout: 255 seconds)]
trikl has quit [(Remote host closed the connection)]
<Sonarpulse>
ben: it's not too complicated
<Sonarpulse>
it's jsut written in perl (in part)
<ij>
Does this look like a good build for a docker image? http://sprunge.us/dUMM The cmd isn't being set, but the contents are present
<gchristensen>
it is a complicated UI and a complicated dataset to work with
<Sonarpulse>
I find any specific page makes some sense
<Sonarpulse>
but finding what I want / what I think might exist is hard
<Sonarpulse>
some things seem to be burried deep
<gchristensen>
yeah
<gchristensen>
nixpkgs-unstable is most unhappy :(
<Sonarpulse>
nixos-unstable had broken firefox due to rust though
<Sonarpulse>
that seems like either a big issue
<Sonarpulse>
or something which we will hack out of, but encounter many times again
<gchristensen>
also yes
<gchristensen>
rustc is only broken on i686
<Sonarpulse>
I suppose that is hope for doing something right some of the time :/
<gchristensen>
have you tried to sort it out? I haven't been able to
<Sonarpulse>
Rust?
<ben>
Sonarpulse: like my expectation was that within two clicks it'd find a thing that says "nixos-unstable is blocked on this build, which failed because of this thing"
<gchristensen>
the rustc failure
<Sonarpulse>
nah I am too many other things deep
<Sonarpulse>
ben: ahaha
<ben>
but i guess there's too many concepts inbetween me and a build failure
<NixOS_GitHub>
[nixpkgs] knedlsepp opened pull request #26562: pythonPackages.hug: Disable on python2 (master...disable-hug-for-python2) https://git.io/vH5sl
NixOS_GitHub has left #nixos []
erasmas has quit [(Quit: leaving)]
indi_ has quit [(Ping timeout: 240 seconds)]
markus1189 has quit [(Ping timeout: 260 seconds)]
markus1209 has quit [(Ping timeout: 255 seconds)]
anton___ has joined #nixos
thetet has joined #nixos
johnw has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
georges-duperon has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] cyraxjoe opened pull request #1409: Add support for the curl netrc file in nix-channel/nix-pull. (1.11-maintenance...1.11-maintenance) https://git.io/vH5GZ
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
<bitonic>
Is there an easy way to include the git SHA1 in some derivation so that it can be used by the sources (for example for logging purposes)?
<cyraxjoe>
(btw I'm around if anyone want to discuss the PR that I've just opened)
<sophiag>
is there a way to either specify versions of haskell packages or, better, to prevent them from upgrading when i upgrade nixos? upgrading to 17.03 also upgraded this one haskell package that had a major breaking change and now i have a whole project that won't compile :(
<MichaelRaskin>
sophiag: I would recommend checking out the NixPkgs revision where everything works, writing a buildEnv expression as desired, nix-build-ing it, and using the output link or nix-shell as needed
<MichaelRaskin>
So that the things you want to keep at a specific version are separated from the main system
<sophiag>
Ah, ok. I was hoping not to have to do that. I'd really just wish I could add a flag to prevent LTS from updating
<MichaelRaskin>
You want to have it in your configuration.nix?
<MichaelRaskin>
Well, you have an option to import a second NixPkgs checkout and take some packages from there
deba5e12 has quit [(Remote host closed the connection)]
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
<MichaelRaskin>
(then you never update your second checkout, or update it very carefully, or something)
vaibhavsagar has joined #nixos
<sophiag>
Yes, ideally in my configuration.nix (so far I'm getting away without using a separate nixpkgs file)
<MichaelRaskin>
Well, it would be inside configuration.nix but you would import a second checkout of NixPkgs
smw has joined #nixos
<sophiag>
I see what you're saying. This just only applies to haskell packages, though, most of which are automatically pulled from LTS. I didn't realize upgrading my NixOS would also upgrade everything from LTS. Anyway, it seems odd I'd need to checkout NixPkgs just for haskellPackages since they're not even packaged up in there
<ToxicFrog>
sophiag: you could use packageOverrides to fix the version, or use .overrideAttrs create a local equivalent with the version fixed, perhaps