<boomshroom>
I'm curious if anyone's tried to write a non-trivial, non-package, program in Nix.
thc202 has quit [(Ping timeout: 246 seconds)]
<boomshroom>
Compilation is generally a relatively functional procedure, and Nix has file i/o capabilities, so someone crazy enough might be able to write a compiler in Nix.
<boomshroom>
Does Nix support non-printable character literals in strings?
<dash>
boomshroom: nix is slow, though
<dash>
boomshroom: i wrote the start of a package manager for a language (like pip/npm) using nix
<boomshroom>
Speed shouldn't get in the way of SCIENCE! :D
<dash>
boomshroom: science causes cancer though
simukis has quit [(Ping timeout: 260 seconds)]
betaboon has quit [(Quit: This computer has gone to sleep)]
hellrazor has quit [(Read error: Connection reset by peer)]
hellrazor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] knedlsepp opened pull request #26221: pandas: Fix build on darwin (master...fix-pandas-darwin-build) https://git.io/vHW4n
NixOS_GitHub has left #nixos []
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
aneeshusa has joined #nixos
jgertm has joined #nixos
aneeshusa has quit [(Client Quit)]
takle has joined #nixos
<clever>
boomshroom: i have used terminal color codes in nix
<boomshroom>
Sonarpulse: That's pretty cool, but it's not turing complete and doesn't seem to support recursion, so it probably can't be abused the way I'm thinking of.
<Sonarpulse>
boomshroom: it supports structure recursion, presumably
jgertm has quit [(Ping timeout: 245 seconds)]
<boomshroom>
Also, it requires a separate language to preform transformations on the input. What I want to do is try to write a brainfuck or other simple language compiler in a language clearly not meant for writing programs like compilers. If all goes well, I could even make it take a path as input and emit a derivation as output.
<Sonarpulse>
boomshroom: a friend of mine once wanted to write an irc server in latex (with a little help from netcat)
<dash>
boomshroom: i got a real compiler and vm you could work on instead.... :)
<boomshroom>
Sonarpulse: That's what I'm talking about! :D
<boomshroom>
dash: I'd be happy to hear more. The reason I choose brainfuck is it's very simple and should be easy to convert to machine code. The rest is just proof-of-pointless-concept.
Sonarpulse has quit [(Remote host closed the connection)]
pie_ has quit [(Ping timeout: 255 seconds)]
s33se has joined #nixos
mkoenig has quit [(Ping timeout: 255 seconds)]
Sonarpulse has joined #nixos
acertain has joined #nixos
<boomshroom>
I'm back
s33se_ has quit [(Ping timeout: 260 seconds)]
pie_ has joined #nixos
vaibhavsagar_ has joined #nixos
Rotaerk_ has joined #nixos
indi_ has joined #nixos
mkoenig has joined #nixos
Rotaerk has quit [(Ping timeout: 246 seconds)]
pareidolia has quit [(Ping timeout: 240 seconds)]
Rotaerk has joined #nixos
Rotaerk_ has quit [(Ping timeout: 260 seconds)]
lambdamu_ has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
Rotaerk_ has joined #nixos
Rotaerk has quit [(Ping timeout: 240 seconds)]
lambdamu has quit [(Ping timeout: 260 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
pareidolia has joined #nixos
pie__ has joined #nixos
Supersonic112_ is now known as Supersonic112
Rotaerk_ has quit [(Ping timeout: 240 seconds)]
pie___ has joined #nixos
ris has quit [(Ping timeout: 246 seconds)]
pie_ has quit [(Ping timeout: 245 seconds)]
pie__ has quit [(Ping timeout: 246 seconds)]
mizu_no_oto has joined #nixos
Rotaerk has joined #nixos
Rotaerk has quit [(Ping timeout: 268 seconds)]
hellrazo1 has joined #nixos
Rotaerk has joined #nixos
hellrazor has quit [(Ping timeout: 260 seconds)]
Rotaerk_ has joined #nixos
Rotaerk has quit [(Ping timeout: 268 seconds)]
Drakonis[m] has joined #nixos
Rotaerk_ has quit [(Ping timeout: 268 seconds)]
mbrgm has quit [(Ping timeout: 255 seconds)]
hamishmack has quit [(Quit: hamishmack)]
derjohn_mob has quit [(Ping timeout: 245 seconds)]
mbrgm has joined #nixos
riclima has joined #nixos
pie___ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
johnramsden has joined #nixos
Raimondii has joined #nixos
derjohn_mob has joined #nixos
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
<johnramsden>
I've got a bit of an issue with A wrapped Python package. I'm using wrapGAppsHook and the program wants to import a module but it is importing the Bash script wrapper which actually calls the module, instead of importing the Python module. Does anyone know if there is a way to exclude certain files with the wrappers?
drakonis has joined #nixos
hamishmack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 3 new commits to master: https://git.io/vHWuB
<NixOS_GitHub>
nixpkgs/master 20e756a John Ericson: lib: Consolidate platform configurations (used for crossSystem)...
<NixOS_GitHub>
nixpkgs/master c66ff8e John Ericson: cross tests and stdenv: armv5te*l* of sheevaplug explicit...
<NixOS_GitHub>
nixpkgs/master a908ad6 John Ericson: Merge pull request #26037 from obsidiansystems/platform-examples...
NixOS_GitHub has left #nixos []
johnramsden has quit [(Quit: Leaving)]
hexagoxel has quit [(Ping timeout: 261 seconds)]
johnsonav has joined #nixos
hexagoxel has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<boomshroom>
I've read that it's possible to try applications before installing using nix-shell. Is this true and if so, how do I do so?
<drakonis>
how's python packages on nix right now?
<drakonis>
did python folks ever improve their infrastructure to make it easy?
drakonis has quit [(Read error: Connection reset by peer)]
ryantrinkle has quit [(Ping timeout: 246 seconds)]
<justan0theruser>
can someone please help with this: sudo nixos-rebuild switch --upgrade \n error: attribute ‘wrapPython’ missing, at /nix/store/rqphb787jhmijpbzngmmpb84kbizkz60-nixos-16.09.1943.25f4906da6/nixos/pkgs/development/libraries/speechd/default.nix:19:35
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sellout- has joined #nixos
Winter_Foxo has joined #nixos
<Winter_Foxo>
Hi o/
<boomshroom>
I'm currently mapping out dependencies for some scripts for one of my packages. Is xset its own package? It has its own store entry, but it doesn't seem to be in all-packages.nix.
<boomshroom>
Hi, Winter_Foxo!
<Winter_Foxo>
I have been looking for a way to make reinstalling my OS less painful. From what I understand nixos has one location where I can backup the config and recreate the whole system from that?
<Winter_Foxo>
I keep breaking ubuntu and putting up with a broken system because its too much work to reinstall
noam__ has quit [(Read error: Connection reset by peer)]
<dash>
Winter_Foxo: changing nixos's config is the same as reinstalling it with a new config
noam__ has joined #nixos
<Winter_Foxo>
dash, So I just keep snapshots of the config and I can unbreak stuff?
michalrus has quit [(Read error: Connection reset by peer)]
<dash>
Winter_Foxo: yes, and it does this for you automatically too :)
seantparsons has quit [(Remote host closed the connection)]
<dash>
Winter_Foxo: that is, it keeps the old system state around, so you can rollback
seanparsons has joined #nixos
<boomshroom>
Winter_Foxo: from my understanding, if you break a NixOS install, you can just boot from an earlier version from before it broke without reinstalling. That said, I have not attempted it myself because, thankfully, I don't think I've broken it. (I may be wrong)
sphalerite has quit [(Ping timeout: 240 seconds)]
sphalerite has joined #nixos
<dash>
no, this is correct, it keeps old configs in the boot menu
Winter_Foxo has quit [(Ping timeout: 246 seconds)]
Winter_Foxo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] benley opened pull request #26227: nixos: Add support for scalable fonts in Grub menus (master...grub-fonts) https://git.io/vHWaY
NixOS_GitHub has left #nixos []
michalrus has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
Winter_Foxo has quit [(Ping timeout: 246 seconds)]
Winter_Foxo has joined #nixos
Winter_Foxo has quit [(Ping timeout: 245 seconds)]
Winter_Foxo has joined #nixos
dfranke has joined #nixos
filterfish has quit [(Ping timeout: 245 seconds)]
Winter_Foxo has quit [(Ping timeout: 245 seconds)]
Winter_Foxo has joined #nixos
Winter_Foxo has quit [(Ping timeout: 240 seconds)]
Winter_Foxo has joined #nixos
Winter_Foxo has quit [(Ping timeout: 240 seconds)]
Winter_Foxo has joined #nixos
riclima has joined #nixos
pie__ has quit [(Remote host closed the connection)]
pie__ has joined #nixos
revtintin has joined #nixos
Winter_Foxo has quit [(Ping timeout: 240 seconds)]
Winter_Foxo has joined #nixos
Winter_Foxo has quit [(Ping timeout: 245 seconds)]
Winter_Foxo has joined #nixos
cpennington has quit [(Remote host closed the connection)]
<miko__>
I download the pre-build binaries, and I can't execute them. It's just a file not found.
<miko__>
I don't see why that could be.
<clever>
miko__: because nixos doesnt have a ld.so in /lib/
<clever>
everything installed on nixos must be packaged in nix
schoppenhauer has joined #nixos
<miko__>
that makes execve fail?
<clever>
yeah
<WinterFox[m]>
I'm trying to boot nixos on a macbook and it fails but I have an interactive shell, does anyone know how I can extract a log to open a bug report?
Winter_Foxo has quit [(Ping timeout: 255 seconds)]
<clever>
miko__: and ethereum has already been packaged
<clever>
miko__: i see a go-ethereum package in nixpkgs
krills has joined #nixos
<miko__>
clever, that's only geth. It's not that usefull without mist.
<boomshroom>
I'm trying to modify a package to take user options to add or remove dependencies, but it doesn't seem to acknowledge my config when building from the local repository. It does seem to when installing from the normal repos, but that version doesn't have the modification.
<WinterFox[m]>
The dirs I can see are bin, dev, etc, init, lib, mnt-root, nix, proc, root, run, sys, tmp and var
krills has quit [(Remote host closed the connection)]
<miko__>
geth and mist have a relationship like a javascript repl and a webbrowser.
<miko__>
How to install 3rd party software? debbootstrap and chroot?
jgertm has joined #nixos
<dash>
miko__: the best answer is "write a nix expression"
<dash>
it's usually fairly easy
<dash>
for prebuilt stuff, that you can't build from source, there's stuff to make a chroot to run it in
Curious- has joined #nixos
Curious- has left #nixos []
<justan0theruser>
Is there a good book that explains the nix language?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ma27 opened pull request #26229: programs.zsh.syntaxHighlighting: refactor to use attr sets rather than recursive lists for patterns (master...refactor/use-attr-set-for-syntax-highlighting-patterns) https://git.io/vHWwx
NixOS_GitHub has left #nixos []
pie__ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<WinterFox[m]>
How old are the stable isos on the website?
<WinterFox[m]>
Wondering if the unstable one will fix my issue
<boomshroom>
makefu: Is there any way of doing this without dropping to bash? I'd figure packages calling other execuables would be common enough to get its own nix function.
<makefu>
there are all kinds of hacks for this, even adding the path on top of your script via sed
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh closed pull request #26124: cloudmonkey: init at 5.3.3 with related dependency argcomplete: init at 1.8.2 (master...init/cloudmonkey-5.3.3) https://git.io/vHGph
NixOS_GitHub has left #nixos []
Curious- has joined #nixos
Curious- has left #nixos []
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
dejanr_ has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
indi__ has joined #nixos
Itkovian has quit [(Ping timeout: 255 seconds)]
indi_ has quit [(Ping timeout: 268 seconds)]
<makefu>
makeWrapper is the de-facto way to go for adding an extra PATH entry
justan0theruser has quit [(Ping timeout: 245 seconds)]
Ivanych has quit [(Ping timeout: 268 seconds)]
MichaelRaskin has quit [(Quit: MichaelRaskin)]
filterfish has quit [(Ping timeout: 245 seconds)]
civodul has joined #nixos
Ivanych has joined #nixos
<sphalerite>
I want to package a piece of software. Upstream prefers to have it always built with debug symbols and optimisations. How can I have the debug symbols and make them useful (e.g. allow gdb to find the source files) without introducing a runtime dependency on the headers?
jensens has joined #nixos
Ivanych has quit [(Ping timeout: 272 seconds)]
oida_ has joined #nixos
oida has quit [(Ping timeout: 240 seconds)]
<FRidh>
sphalerite: are you aware of dontStrip = true; ?
mudri has joined #nixos
<FRidh>
and separateDebugInfo
<sphalerite>
Ah yes, separateDebugInfo should be helpful
<sphalerite>
I know about dontStrip and am using it, but forgot about separateDebugInfo :)
<sphalerite>
Thanks
nschoe has joined #nixos
Ivanych has joined #nixos
revtintin has quit [(Quit: WeeChat 1.7)]
jensens has quit [(Quit: Leaving)]
jensens has joined #nixos
MichaelRaskin has joined #nixos
leat has joined #nixos
ThatDocsLady has joined #nixos
xificurC has joined #nixos
<xificurC>
I have emacs and source code pro fonts installed via nix but emacs cannot find the fonts. Is there some additional setup needed to update the font cache or something?
<xificurC>
I tried installing fontconfig as well but that didn't do anything :)
<goibhniu>
xificurC: hrm ... does `fc-cache -rv` help?
<xificurC>
goibhniu: nope. Also there's nothing pointing to the nix store in that output, if there should be
<goibhniu>
xificurC: I presume you're not running NixOS, right?
<xificurC>
goibhniu: no, it's a notebook I got at work :) ubu 16.04
<avn>
xificurC: switch to nixos! ;)
<xificurC>
I tried a quick web search but haven't hit into anything interesting. Was wondering if there's some special setup needed to get the fonts working
<makefu>
yes please do :D there was a dump of the old wiki somewhere in github but i am unable to find it ...
<xificurC>
goibhniu: well adding ~/.nix-profile/share/fonts into ~/.config/fontconfig/fonts.conf makes fc-cache -rv aware of the directory. However the fonts are still not found by emacs -_-
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHW7P
<NixOS_GitHub>
nixpkgs/master 1fdf42d Jean-Philippe Bernardy: pythonPackages.tensorflow: Don't change the rpath to point to gcc4.9...
<NixOS_GitHub>
nixpkgs/master 84a13a8 Frederik Rietdijk: Merge pull request #26213 from jyp/tf-standard-gcc...
NixOS_GitHub has left #nixos []
leat has quit [(Ping timeout: 246 seconds)]
filterfish has joined #nixos
so has joined #nixos
jonafato has quit [(Ping timeout: 240 seconds)]
pareidolia has quit [(Ping timeout: 240 seconds)]
danbst has left #nixos ["WeeChat 1.7"]
danbst has joined #nixos
Nycatelos has joined #nixos
kragniz has joined #nixos
kragniz has joined #nixos
danbst has left #nixos ["WeeChat 1.7"]
jonafato has joined #nixos
danbst has joined #nixos
Bane^ has joined #nixos
leat has joined #nixos
danbst has left #nixos ["WeeChat 1.7"]
danbst has joined #nixos
pareidolia has joined #nixos
ris has joined #nixos
mightybyte has joined #nixos
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
astsmtl has joined #nixos
exi has joined #nixos
spinus has quit [(Ping timeout: 260 seconds)]
alfie has joined #nixos
urbain1 has quit [(Quit: WeeChat 1.8)]
loupgaroublond has joined #nixos
ris has quit [(Read error: Connection reset by peer)]
ris has joined #nixos
Curious- has left #nixos ["Quit"]
hellrazor has joined #nixos
mudri|srcf has quit [(Ping timeout: 245 seconds)]
hellrazo1 has quit [(Ping timeout: 240 seconds)]
mudri|srcf has joined #nixos
dejanr_ has joined #nixos
kini has joined #nixos
numerobis has joined #nixos
mightybyte has quit [(Quit: Leaving.)]
<numerobis>
Hi! My nginx + phpfpm config worked very well until I upgraded my system recently, and now I get the error "Primary script unknown ..." that seem to be quite common. I have looked on the internet but haven't managed to solve the problem. So my question is: has there been some recent change in nginx/phpfpm nix packages that could be responsible for the error? Thank you.
<xificurC>
what would be a correct way to create a new channel that inherits everything from nixpkgs-unstable? So that I can layer some things on top of it without manually pulling in stuff (yet). I want to try and create a minimal channel with 1 additional package that basically depends on nixpkgs-unstable
<FRidh>
xificurC: do you really need a new channel? What is it you want with it? Share some extra packages on top of nixpkgs with other people? You might consider using an overlay instead
<xificurC>
FRidh: the use case is simple - we have a set of in-house packages, in w/e language with w/e tooling - java, js, bash, python, ... We have a distribution system (think package manager) that provides these packages to the users. We want to see what would it look like if we switched to nix
johnsonav has quit [(Ping timeout: 245 seconds)]
<ris>
FRidh: i'm working on fixing flask-migrate just to prevent duplicate work
<ris>
(working now, just tidying up)
arjen-jonathan has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
phreedom has joined #nixos
darlan has joined #nixos
orivej has joined #nixos
<xificurC>
looking at the overlay docs it seems I don't host anything, therefore there's no channel added and I cannot add a binary cache for the new packages either
Wizek_ has joined #nixos
darlan has quit [(Client Quit)]
<xificurC>
is it crazy what I'm asking for? I'm just looking for a way to pull in the nixpkgs as a dependency in order to build my own things on a separate channel. The end user would then need to have the nixpkgs channel as well for the new one to work
<xificurC>
FRidh: thanks, I was pointed to that by some other helpful fellow yesterday too :) How does that answer my question though? I'm very new here so pardon the stupid questions :) I am willing to read all the manuals and try out things on my own, I just want to make sure I'm headed the right way and that what I want to do is at least *possible*
<xificurC>
FRidh: so I'll try to narrow the question - can channel foo's default.nix pull in the whole of nixpkgs?
magnetophon has quit [(Ping timeout: 255 seconds)]
<FRidh>
xificurC: definitely. You can write yourself a default.nix that fetches the "official" nixpkgs and modifies it
<xificurC>
thanks FRidh, I'll try to look into that then :)
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHlLM
<NixOS_GitHub>
nixpkgs/master a1c1598 Robert Scott: python.pkgs.flask_migrate: 1.7.0 -> 2.0.3...
<NixOS_GitHub>
nixpkgs/master 30ce98b Frederik Rietdijk: Merge pull request #26233 from risicle/flask-migrate-bump...
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Ping timeout: 246 seconds)]
CMCDragonkai has joined #nixos
<CMCDragonkai>
Say you have built a package using nix-build and that leaves a result symlink. Is there a way to garbage collect this /nix/store directory and only it?
FRidh has quit [(Quit: Konversation terminated!)]
iyzsong has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
<Dezgeg>
you can lookup the path, remove the symlink & nix-store --delete the path
<Dezgeg>
or if you feel like living dangerous, just 'nix-store --delete --ignore-liveness result'
<CMCDragonkai>
Repeated runs of nix-build doesn't remove the old store path
<CMCDragonkai>
I mean the result symlink just points to a new one
<CMCDragonkai>
any reason for keeping the old store path?
<LnL>
don't use --ignore-liveness
<CMCDragonkai>
Could you expand on what you mean? Don't use? Why?
<viric>
Does anybody know whether the nixos dhcp client does proper dynamic dns updates?
scode has quit [(Quit: Connection closed for inactivity)]
<LnL>
because it's unsafe
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] apeyroux opened pull request #26235: ctop: init at 2017-05-28 (master...init-ctop) https://git.io/vHlYg
NixOS_GitHub has left #nixos []
<LnL>
if it was part of a profile or a dependency of something you'll break things
ertes has quit [(Ping timeout: 268 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
<sphalerite>
There was a tool somewhere in nixpkgs for making bundles that will run on other distros, right?
<FRidh>
nix-bundle
orivej has quit [(Ping timeout: 255 seconds)]
magnetophon has quit [(Ping timeout: 240 seconds)]
Curious- has joined #nixos
ilyaigpetrov has joined #nixos
<sphalerite>
FRidh: that's the one, thanks!
ryantrinkle has joined #nixos
<ris>
didn't know about that
<ris>
cool
mudri has joined #nixos
<FRidh>
copumpkin: so google cloud does run on aws ;)
Curious- has quit [(Ping timeout: 255 seconds)]
magnetophon has joined #nixos
ertes-w has joined #nixos
CcxWrk has quit [(Ping timeout: 240 seconds)]
Jackneill has quit [(Read error: Connection reset by peer)]
Curious- has joined #nixos
Jackneill has joined #nixos
leat has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
betaboon has joined #nixos
orivej has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
Curious- has quit [(Read error: Connection reset by peer)]
leat has joined #nixos
ryantrinkle has quit [(Ping timeout: 260 seconds)]
cpennington has quit [(Remote host closed the connection)]
hellrazor has quit [(Ping timeout: 258 seconds)]
<Unode>
Hi guys, I'm again running into troubles compiling some packages from nixos-17.03 http://dpaste.com/0EG4HKF any suggestions on how to overcome this?
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 268 seconds)]
Mateon3 is now known as Mateon1
<Unode>
seems to be some locale related issue but I don't know what's wrong/missing.
alx741_ has joined #nixos
pie___ has joined #nixos
nschoe has joined #nixos
alx741 has quit [(Ping timeout: 245 seconds)]
Curious- has joined #nixos
pie__ has quit [(Ping timeout: 260 seconds)]
magnetophon has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
johnsonav has joined #nixos
faffolter has quit [(Ping timeout: 245 seconds)]
Curious- has left #nixos ["Quit"]
peacememories has joined #nixos
<CMCDragonkai>
If a package relies on a program like pkexec, the path can be acquired by having polkit as a build input, and then configure can find the path to pkexec, however this path does not use the setuid wrapper for pkexec, is there a way to acquire the wrapped pkexec path instead of the package path?
<CMCDragonkai>
Does it make sense for a default.nix to load nixos and search config.security.wrappers.pkexec.source and encode that as the path, or should pkexec just be acquired from the environment?
MercurialAlchemi has quit [(Ping timeout: 245 seconds)]
ryantrinkle has joined #nixos
johnsonav has quit [(Ping timeout: 272 seconds)]
aneeshusa has quit [(Ping timeout: 255 seconds)]
<ris>
FRidh: what's the workflow for the staging branch? i'm looking at integrating layus's ldap patch into what i'm doing (& tidying it up) - should i cherry-pick it?
<NixOS_GitHub>
nixpkgs/master 46bcd05 Gabriel Ebner: Merge pull request #26241 from womfoo/bump/gpxsee-3.8...
NixOS_GitHub has left #nixos []
sitwon has quit [(Ping timeout: 240 seconds)]
<Unode>
It it possible to disable the test phase of packages globally? i.e. for any derivation?
<Unode>
or it this something that can only be done on a per-package/derivation basis?
<pie__>
any idea what i can get libcurl-gnutls.so.4 with?
<simpson>
I hope it's not possible to globally disable tests. That sounds risky.
sitwon has joined #nixos
<Unode>
simpson: I don't see why it shouldn't be possible.
<Unode>
and yes, warranty void if you do it.
Infinisil has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
<canndrew>
how to i solve this issue?.. I'm trying to build something which uses cmake and I'm getting:
<canndrew>
CMake Error at /nix/store/krbsl3wh61wmqc74ad9jnhc5z6vi7fpc-cmake-3.7.2/share/cmake-3.7/Modules/FindX11.cmake:429 (message): Could not find X11
<canndrew>
I'm building in a nix shell which is importing xorg.libX11 into the environment
<FRidh>
Unode: recursive into sets to find derivations, and try to override them. The question is how to override them, and here the answer is that there is no generic way that works. While you could use overrideAttrs dependents might still use the previous tested version, because you would need to overide the fixed-points.
mitchty has quit [(Ping timeout: 268 seconds)]
Itkovian has quit [(Read error: Connection reset by peer)]
<Unode>
FRidh: I don't understand half of the details you mentioned but I understand this to be a "maybe, with effort".
mitchty has joined #nixos
<pie__>
hey guys i get this error: glxgears: relocation error: /nix/store/7crrmih8c52r8fbnqb933dxrsp44md93-glibc-2.25/lib/libdl.so.2: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
<pie__>
any ideas what it means
<Unode>
I'm running nix on a bit of a non-standard configuration and every now and then things fail. Mostly I assume it's caused by system/OS settings leaking and affecting the compilation.
<Unode>
Tests are one such case. Some packages have tests that simply run into infinite loops taking full cpu time and are never killed unless human intervention.
<pie__>
nix-env -e glxinfo and nix-env -viA nixos.pkgs.glxinfo fixed that error so was i on an old package or something?
<Unode>
I've also considered using qemu to completely isolate the system but the details of how to achieve this are also non-trivial. There's runInLinuxVM but when a channel change it needs to recompile dependencies and these are usually the problem.
<Unode>
pie__: as far as I understand that shouldn't happen. I've seen things like that when glibc version changes, but this should have triggered a new build/update to a newer package.
<fiddlerwoaroof>
Hi, I'm using nix on Mac OSX, how do I get nix-shell to setup CFLAGS, etc. properly so that I can access the temporarily installed libraries from C programs I'm working on?
Infinisil has quit [(Quit: leaving)]
dejanr_ has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
<LnL>
things like that are configured automatically for buildInputs
<FRidh>
fiddlerwoaroof: nix-shell -p pkg1 -p pkg2 -pkg3 will give you a shell with env vars set up. Do note that often NIX_CFLAGS_COMPILE and the likes are used instead.
<fiddlerwoaroof>
So, I'm using OpenSSL and I think it uses NIX_* variables
<FRidh>
why not write a nix expression?
<fiddlerwoaroof>
Because i'm not sure what I need, I just started using nix a couple days ago.
mightybyte has joined #nixos
<fiddlerwoaroof>
And, I wanted to avoid customizing things until I know whether there's a built-in way of doing what I want
Wizek_ has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<LnL>
if you want to define a build environment for a project you generally write an expression for it
mightybyte has left #nixos []
magnetophon has joined #nixos
<pie__>
im guessing this is not how im supposed to do this: nix-env -viA nixos.pkgs.curl --arg gnutlsSupport true
magnetophon has quit [(Ping timeout: 260 seconds)]
Tekmo_ has joined #nixos
cmr has joined #nixos
cmr has quit [(Changing host)]
cmr has joined #nixos
<pie__>
for some reason timestampt arent showing up for me on botbot.me and i cant navigate to something i need :/ its very frustrating...
taktoa has joined #nixos
goibhniu has quit [(Ping timeout: 246 seconds)]
andymandias has quit [(Ping timeout: 240 seconds)]
<dtzWill>
hmm, I'm probably forgetting something silly but.. is there a way to access a derivation's: 1)build dep closure and/or 2)runtime dep closure, from a Nix expression?
<clever>
dtzWill: the runtime closure can be see with i think its called exportReferenceGraph
<Tekmo_>
I've wanted similar functionality for building and caching `nix-shell` environments
<pop>
There is a link to monitor.nixos.org on https://nixos.org/nixpkgs/ but monitor.n.o seems to be down. Yall might want to remove the link or fix monitor.n.o
<dtzWill>
wonderful, ty clever
<Tekmo_>
Usually I end up building and caching a `myEnvFun` derivation instead, but it sounds like people are trying to deprecate that in favor of `nix-shell`
Mateon1 has quit [(Remote host closed the connection)]
<shnupta>
I'm just getting started with NixOS and have dual booted it. Boots fine and can log in but I need internet access to nix-os rebuild my new configuration file. iwconfig isn't installed so any recommendations on how to do this would be appreciated
Tekmo_ has quit [(Quit: leaving)]
<pop>
clever: Is monitor.n.o *down* or has it just moved to a different subdomain?
<clever>
shnupta: networking.wireless.enable = true; in the configuration.nix, and there is "nixos-install --chroot" on the installer, where you can then do "nixos-rebuild boot"
<pie__>
clever, ugh sorry for making you do my homework again, i had to / have to go do something
<pie__>
your expression gives "error: syntax error, unexpected $end, at (string):1:80
<pie__>
"
Filystyn has quit [(Ping timeout: 260 seconds)]
<Sonarpulse>
RPATH of binary /nix/store/5w485da4y8zfxaq1l2wh0ilyylry13in-aarch64-unknown-linux-android-ghc-8.1.20170106/lib/aarch64-unknown-linux-android-ghc-8.1.20170106/bin/hsc2hs contains a forbidden reference to /tmp/nix-build-aarch64-unknown-linux-android-ghc-8.1.20170106.drv-0
<clever>
pie__: can you gist a copy after you have modified it to include curl?
<Sonarpulse>
is this a new check?
<clever>
Sonarpulse: are you allowing the fixupPhase to run?
<pie__>
clever, sorry i mean this is the oneliner
<Sonarpulse>
clever: I am not
<Sonarpulse>
it is borked on cross
Itkovian_ has joined #nixos
<Sonarpulse>
so I had to disable
<clever>
pie__: ah, i was just guessing on that one-liner, let me look closer
<clever>
just make a new curl, and leave the old one alone!
<pie__>
leav oxxy alone xD
<pie__>
ok thanks
<pie__>
that works
shnupta has joined #nixos
<clever>
the problem with this, is that nix-env doesnt save that override
<clever>
so next week when you want to make a proper package, or next year when upgrading curl, you wont remember this command
<clever>
and everything breaks
<shnupta>
clever I'm redoing the installation from live USB but when uncommenting the lines to enable KDE I get: "attribute 'display-manager' missing at" ....
<clever>
shnupta: can you upload the configuration.nix to gist?
<pie__>
clever, right
<pie__>
clever, i do need to start doing things properly soon
fab has joined #nixos
<pie__>
there was an env var for debugging ld preload...
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
civodul has joined #nixos
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
jensens has joined #nixos
jsgrant has joined #nixos
betaboon has joined #nixos
dejanr_ has quit [(Ping timeout: 246 seconds)]
phinxy has joined #nixos
betaboon has quit [(Client Quit)]
mizu_no_oto has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vH8W0
<NixOS_GitHub>
nixpkgs/master 50b0e5b Fernando J Pando: treq: 17.3.1...
<NixOS_GitHub>
nixpkgs/master c6ea7d3 Frederik Rietdijk: Merge pull request #26222 from nand0p/treq-fixes...
NixOS_GitHub has left #nixos []
hotfuzz_ has joined #nixos
<jsgrant>
Trying to install Servo via https://github.com/mozilla/nixpkgs-mozilla & seem to (after installing the overlay & rustChannels.nightly as-per the readme) -- something seems to be not finding the attribute 'buildRustPackages'. Any ideas?
MichaelRaskin has quit [(Ping timeout: 272 seconds)]
betaboon has joined #nixos
nevermind has joined #nixos
<drakonis>
i wonder why mozilla doesn't upstream their shit
<drakonis>
does it update too often or something/
<drakonis>
?
* jsgrant
is wondering, because there is an "update.nix" in repo
hotfuzz has quit [(Ping timeout: 268 seconds)]
<jsgrant>
Servo is getting massive pull/push request afaik though.
<gchristensen>
drakonis: most of that is for "being an employee of mozilla" and isn't generally applicable for users at large
juselius has joined #nixos
<drakonis>
right
<gchristensen>
for people who do want it, it is easily usable
<drakonis>
surprised nixos is seeing use in mozilla
* jsgrant
will just try update.nix & see what happens.
<Profpatsch>
jsgrant: Are you on nixpkgs unstable/master?
<jsgrant>
Profpatsch: Unstable channel, but have 17.09 declared in my "sysver" if that makes a difference?
<Profpatsch>
jsgrant: you mean nixos-version?
<jsgrant>
Profpatsch: Yeah.
dejanr_ has joined #nixos
<Profpatsch>
I’m on a master version and I get 17.09.git.ec3c999 (Hummingbird)
<drakonis>
so that's funny
<jsgrant>
Profpatsch: Yeah, I have it set -- because I assume that once 17.09 becomes release-branch or whatever, that my system won't automatically update till latest next unless I explicitly set it.
<drakonis>
the naming convention are alphabetical animals
<Profpatsch>
jsgrant: Huh, nope.
<Profpatsch>
jsgrant: what does `sudo nixos-channel --list` say?
<clever>
jsgrant: the only thing stateVersion controls is the version of pgsql and some sshd config
jensens has quit [(Ping timeout: 272 seconds)]
<gchristensen>
clever: that should probably be documented in the configuration.nix right above it
<gchristensen>
or, better, placed in `/nix/var/` as a file that is loaded via readFile
* jsgrant
knows he needs to look into ecosystem a LOT MORE.
<clever>
gchristensen: yeah, i always see people either bumping it on update (which breaks what it was meant to fix), or thinking that changing it can update everything
<gchristensen>
almost no need for it to be in configuration.nix even
<gchristensen>
yeah
<juselius>
hi everybody
<Profpatsch>
gchristensen: I didn’t even know that existed.
<gchristensen>
readFile?
<jsgrant>
Been doing a lot of moving & initial setting up this month, so ... next month will likely/hopefully be a lot more productive.
<Profpatsch>
I haven’t touched a configuration.nix template in ages.
<LnL>
I've seen a lot of people ask about it recently
Arguggi has quit [(Quit: Bye)]
<juselius>
I'm trying to update virtualbox guest additions, but I get a wierd error
olejorgenb has quit [(Ping timeout: 246 seconds)]
<juselius>
error: attribute ‘extend’ missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/kernel.nix:26:31
<dash>
drakonis: there's a few of us mozilla employees who have seen the light ;-)
<clever>
juselius: can you gist the nix files you changed?
miko___ has joined #nixos
<juselius>
clever: sure. 1 min
<miko___>
I try to write my private nix-expression. I currently hang at a output of "do not know how to unpack source archive /nix/store/.....zip".
olejorgenb has joined #nixos
<miko___>
I have buildInputs = [ zip ];
<Profpatsch>
miko___: Add unzip to the buildDepends
<clever>
miko___: add unzip to the buildInputs
<Profpatsch>
clever: Sniped. :)
<clever>
you beat me by 1 second!
<miko___>
Ah, subtile.
<drakonis>
haw
<Profpatsch>
miko___: since zip is a non-free algo they are in separate packages.
<drakonis>
i should update gzdoom
<drakonis>
its now gplv3
<drakonis>
the renderer is now entirely free
<drakonis>
so it can enter the regular repo
miko__ has quit [(Ping timeout: 245 seconds)]
<drakonis>
gotta ask though
<drakonis>
why isn't there a function to enable installing nonfree packages though nix-env in the configuration file
<drakonis>
why does it need a separate file for that??
<LnL>
you can use NIXPKGS_ALLOW_UNFREE=1
<clever>
drakonis: by default, nixpkgs will load ~/.config/nixpkgs/config.nix, but nixos forces it to use the nixpkgs.config attrset from the nixos config, and only for the pkgs passed to configuration.nix
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<juselius>
clever: thank you! (I'm fairly new to nixos, and the documentation is not always very clear)
kykim has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<drakonis>
how's RFCs right now?
<clever>
juselius: overrideDerivation normally takes a function, that will return an attrset of new values, but callPackage makes an entirely new derivation
<juselius>
clever: yes, I see. Thank you so much for your help!
<drakonis>
what's the incoming hotness anyways
<miko___>
So, I wrote my .nix file. I run it with nix-build, it creates a dir in /nix/store. It is expected that the binary is not in the path, right?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever>
miko___: is it saying file not found when you run the file in bin?
<miko___>
clever, no, i added the patchelf line.
<miko___>
It does not find libgtk-x11-2.0.so.0, tho.
<clever>
ah, then you need to add gtk to the rpath
Itkovian has joined #nixos
<miko___>
rpath= [ gtk ]; ?
<clever>
--set-rpath for patchelf
<clever>
--set-rpath ${lib.makeLibraryPath [ gtk2 ]} i think
<clever>
yeah, the lib you want is in gtk2
johnramsden has joined #nixos
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<miko___>
$somepath exsists and seems to be the gtk path.
<clever>
miko___: can you gist the nix expression you have?
<Guillaum>
Hello there. I have an weird issue. I'm running nixos (17.04, channel up to date). When I'm looking at CPU %usage (inside top, htop), the percent is always at 0. 'time' always returns 0s for user / system time, however "total" (i.e. wall clock) is correct.
Guillaum has quit [(Remote host closed the connection)]
<miko___>
Oh, i didnt get that. I think im just too tiered. I'll go to bed. pie__ , make sure to post your solution ;)
<miko___>
thanks so far.
miko___ has quit [(Remote host closed the connection)]
<pie__>
clever, so i thought theres a "real" openal lib since the nixos packages page lists the thing as "openal alternative" i just installed that with nix-env and it iwll probably work
<clever>
pie__: and you should never install libraries with nix-env
<pie__>
yes i am a terrible person
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] nh2 opened pull request #26258: Upgrade to python-consul-0.7.0. (master...python-consul-0.7.0) https://git.io/vH8zq
NixOS_GitHub has left #nixos []
Filystyn has quit [(Quit: Konversation terminated!)]
<pie__>
\o/ "an unrecoverable error has occured and civilization vi cannot continue"
<dash>
pie__: barbarian hordes from here on out i guess
<clever>
that can happen when the patching isnt fully done right
<pie__>
well it seems to use a skinned dialog or something so at least that works
<pie__>
ive got this
<pie__>
./Civ6: /nix/store/rxahqlnfsl01gzx4k3b67l78hi4n6wdi-openssl-1.0.2k/lib/libcrypto.so.1.0.0: no version information available (required by ./Civ6)
<pie__>
./Civ6: /nix/store/amca91rr80fhnzcgbwv80w2zmzwx0qlx-curl-7.53.1/lib/libcurl-gnutls.so.4: no version information available (required by ./Civ6)
<pie__>
but im not sure if thats bad
<clever>
if a dialog can show, then its still loading it
<pie__>
might also be missing runtime loaded libs
<pie__>
because ive had something like that before
<pie__>
well yeah its not in full screen mode yet
* pie__
does LD_DEBUG=all
dejanr_ has joined #nixos
<pie__>
oh my poor console
<clever>
:D
<pie__>
this was a terrible idea haha
takle_ has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
<pie__>
ok i havent the faintest clue how to debug this
cpennington has quit [(Ping timeout: 240 seconds)]
<pie__>
wow why does this generate an a.out 0.o
<pie__>
the heck is this
<pie__>
./a.out: error while loading shared libraries: ./a.out: unsupported version 26900 of Verneed record
<clever>
weird
mizu_no_oto has joined #nixos
<pie__>
thats for ldd a.out
<clever>
is there a link i can download civ6 at?
<pie__>
inb4 trying very hard to run a virus
justbeingglad has joined #nixos
justbeingglad has left #nixos []
johnramsden has quit [(Ping timeout: 240 seconds)]
juselius has quit [(Remote host closed the connection)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
cpennington has joined #nixos
ixxie has joined #nixos
georges-duperon has joined #nixos
<Infinisil>
I just created a say command which uses the aws cli to query the Polly service, which is a very realistic speech synthesizer, using a voice i really like, it's so cool!
<pie__>
on that note how do you provide a nix package for software you cant redistribute publibly?
<pie__>
*publicly
<pie__>
Infinisil, i think i played with that a tiny bit once \o/
<clever>
pie__: requireFile
<pie__>
clever, does that like, prompt you for a path or something?
<clever>
pie__: it will give an error telling the user to download it in a browser, and how to add it to the store
<Infinisil>
I once installed jdk6 which required me to add the downloaded file manually to the store
<Infinisil>
Ohh heh
<Infinisil>
Yes that
<pie__>
clever, ah.
cpennington has quit [(Ping timeout: 260 seconds)]
<Infinisil>
Regarding the aws stuff: While the command is called "aws", it's *not* the aws package you wanna install, it's the aws-cli package you want
<magnetophon>
Infinisil: wow, I'm really impressed by the Polly demo. Especially the pitch variations are amazing!
<Infinisil>
Yeah it's pretty cool, check out the voice "Justin", I really like it
<Infinisil>
If you're interested I can help you set it up
shnupta has joined #nixos
solenodic has joined #nixos
<Infinisil>
It took me a while to figure out everything, never used aws
<pie__>
> adding really big files to store
<shnupta>
Should I use networking.wireless.enable = true; or networking.networkmanager.enable = true; to be able to control the wifi on my laptop?
<clever>
shnupta: depends on if you prefer wpa_supplicant or networkmanager
<magnetophon>
Infinisil: Thanks! I don't have a direct use for it now, so I don't want to take your time, but if you have a link where it's explained, I'd save that for sure!
takle_ has quit [(Remote host closed the connection)]
<shnupta>
Okay cheers
shnupta has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bachp opened pull request #26259: Mysql datadir changelog (master...mysql-datadir-changelog) https://git.io/vH8rw
<Infinisil>
magnetophon: I actually don't have a use right now either, maybe I can use it to speak notifications dunno. The thing is there isn't really a single site where it's explained, basically you need: An AWS account, create an AWS user in the console with Polly full access permission, note down the access keys, then you can use the cli
<magnetophon>
Infinisil: thanks!
ertes-w has quit [(Read error: Connection reset by peer)]
ryanartecona has quit [(Quit: ryanartecona)]
ertes-w has joined #nixos
riclima has joined #nixos
britt_ has joined #nixos
dejanr_ has quit [(Ping timeout: 240 seconds)]
dejanr_ has joined #nixos
britt_ has quit [(Client Quit)]
Guillaum has joined #nixos
<Guillaum>
clever: just to tell you, I don't know, but after a few reboot, the issue disapears and I now have correct CPU timing reported and no freeze at all... That's weird, but well, it works.
LysergicDreams has quit [(Ping timeout: 240 seconds)]
dejanr_ has quit [(Ping timeout: 245 seconds)]
betaboon has joined #nixos
civodul has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
LysergicDreams has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] zetok opened pull request #26261: i2pd: correct docs about bandwidth setting (master...i2pd-docs) https://git.io/vH86j
NixOS_GitHub has left #nixos []
mkoenig has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 closed pull request #26219: lib: Move fixed-point combinators out of trivial (master...lib-fix) https://git.io/vHWcx
NixOS_GitHub has left #nixos []
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
civodul has joined #nixos
riclima has joined #nixos
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
dejanr_ has joined #nixos
goibhniu has joined #nixos
ryanartecona has joined #nixos
ris has joined #nixos
britt_ has joined #nixos
Guest80645 has quit [(Remote host closed the connection)]
<LnL>
but it should restart now with the next eval
<Infinisil>
Whoaaaa, wait a minute, I could totally make irssi read out what you guys say in here using different voices for everybody (using Amazon Polly) :O
<clever>
Infinisil: :D
<LnL>
lol
<Infinisil>
#useful
<Sonarpulse>
gchristensen: got around it for now...so back to staging starving me :D
<vandenoever>
Infinisil: i'm afraid i can't do that dave
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
<sphalerite>
that looks very dormant though, as opposed to rdm which only looks slightly dormant :D
<taktoa>
sphalerite: yep, it is. me and clever worked on it together a while back :P
<clever>
i recently thought about cheating a bit, and doing the entire gui in textmode, then spawning X after you auth
<sphalerite>
I was playing with the thought of making a slim-like greeter for lightdm
<zetok>
clever: that sounds great
<sphalerite>
clever: so basically startx?
<clever>
sphalerite: more like getty + startx in a single binary, with no shell in the middle
<sphalerite>
ah right
<zetok>
startx is limited to X..
<Infinisil>
What's a login manager even do actually? What's the hardest part of it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] twhitehead opened pull request #26263: TheanoWithCuda: cudnn isn't added to python environment due to use of optional with a list (master...theano-cuda-cudnn) https://git.io/vH8QS
NixOS_GitHub has left #nixos []
thc202 has quit [(Ping timeout: 246 seconds)]
<Infinisil>
Well I know what it does roughly
britt_ has joined #nixos
<clever>
Infinisil: basicaly, it will launch X, then connect to X and present a login screen (optionaly with shutdown/reboot buttons), and once you give valid credentials, it will drop root to that user, and execute a desktop manager
ryanartecona has quit [(Quit: ryanartecona)]
<simpson>
Infinisil: The hardest part is being root, mostly. A login manager has a great deal of authority, necessarily, and it must delegate that authority carefully. (Also most programming languages don't help you write safe code as root!)
<zetok>
hint: use Rust
<britt_>
New to this channel. Is this an acceptable place to ask for some beginner help?
<clever>
zetok: hsdm is in haskell
<clever>
zetok: and the rdm that sphalerite mentioned is in rust
<simpson>
zetok: Rust is a good step, in that it's (mostly) memory-safe, but I would like to look beyond to *capability*-safe languages.
<Infinisil>
I see, Rust does look pretty good for that
<clever>
simpson: i also recently saw an exploit in fuse, where it would automaticaly "modprobe fuse", from a setuid root binary
<Infinisil>
But if memory usage doesn't have to be low, Haskell is better imo
<britt_>
Trying to use the shebang nix-shell pattern with python and always getting an error despite the script executing fine when done with nix-shell -p python --run "python t.py"
<clever>
simpson: but modprobe was never meant to be used in a setuid context, and obeyed env varaibles, causing an exploit
<zetok>
clever: I see, didn't know about rdm
<zetok>
>dbus support
<zetok>
urgh
<simpson>
clever: I wanted to write a FUSE-Monte bridge for reasons, but FUSE is just so terrible.
<zetok>
doesn't sound appealing
<Infinisil>
britt_: Can you show the script? Or a simplified version of it?
<Infinisil>
britt_: Well.. This script works for me, what's your error?
<clever>
simpson: fuse passes struct's over the open file handle, to implement the api, and if you know the format, you could re-implement libfuse in any language
<simpson>
clever: TYL that I'm Corbin Simpson.
<Infinisil>
clever: Thanks for the link, very interesting
<britt_>
Infinisil: undefined variable ‘print’
<simpson>
I got about halfway done and then realized that I could be doing more meaningful things.
<clever>
simpson: oh, thats your own question? heh
<Infinisil>
britt_: What does nix-channel --list output?
<simpson>
clever: Nice. I was wanting to go the other way, with Monte objects being both Plan-9-style mountable but also being able to mount-as-user some cap-safe namespace (like Tahoe-LAFS directories!)
<Infinisil>
britt_: I really can't reproduce your issue, but I'm on the 17.03, maybe try switching to that and see if it works: nix-channel --add https://nixos.org/channels/nixos-17.03 nixpkgs
<clever>
simpson: last i was working on that, i did have a nixos container booting under systemd-nspawn, with the entire store going thru fuse
<britt_>
Infinisil: will give it a try later. Need to run now. thanks for the suggestion.
<clever>
simpson: at one point, i also managed to crash systemd's pid 1, and made the host unable to shutdown
<Infinisil>
britt_: Look up channel switching, I don't know exactly how it works
<Infinisil>
britt_: See ya!
dtulig has joined #nixos
britt_ has quit [(Quit: ChatZilla 0.9.93 [Firefox 53.0.3/20170524180630])]
hiratara has joined #nixos
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
<nixos-users-wiki>
"Documentation Gaps" edited by cleverca22 https://git.io/vH8di
<nixos-users-wiki>
"Documentation Gaps" edited by cleverca22 https://git.io/vH8dX
<clever>
formatting was off a bit on the 1st edit
riclima has joined #nixos
dejanr_ has quit [(Ping timeout: 246 seconds)]
<Infinisil>
I want a script "hacknix package|option XXX" which fetches latest master, branches off, opens the relevant files in vim with a binding for testing, and maybe a bit more
<drakonis>
ha
<drakonis>
time to write that
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Infinisil>
Like from other languages package managers?
<Infinisil>
Yeah that would be nice
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/vH8bp
<NixOS_GitHub>
nixpkgs/release-17.03 083b2c8 Tim Steinbach: ammonite: 0.9.3 -> 0.9.5...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] lheckemann opened pull request #26265: irrlicht: link to X11 libs explicitly (master...irrlicht-libs) https://git.io/vH8bj
NixOS_GitHub has left #nixos []
<drakonis>
get as many as possible
<drakonis>
or just write a system to hijack the package managers
<drakonis>
but that one's prone to not playing nice
dfranke has joined #nixos
<Infinisil>
Well, the package manager uses the package format, it should stay pretty constant, so in theory this should definitely be possible
takle has quit [(Remote host closed the connection)]
<Infinisil>
I think it's more of a question of whether it's worth for the people knowledgable enough to invest that much time into something that may be used very sparsely
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 4 new commits to master: https://git.io/vH8NW
<Infinisil>
I mean there's already only few people using nix, then there's even fewer using language Y, and then there's even fewer wanting to use package Z in language Y, so I guess it could be very sparsely. I think as nix grows the demand gets bigger and bigger, and eventually someone will implement it and everybodys happy :D
Acou_Bas- has joined #nixos
cpennington has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Acou_Bas- is now known as Acou_Bass
<drakonis>
so few people?
<drakonis>
how do you know
<dash>
drakonis: there's pypi2nix, npm2nix, etc. seems to be a fruitful approach
<Infinisil>
Well we don't have any numbers, but I almost never see nix mentioned online, and I browse a lot
<drakonis>
where do you browse
Piece_Maker has quit [(Ping timeout: 240 seconds)]
<drakonis>
dash, these just convert packages to nix
mudri has quit [(Ping timeout: 255 seconds)]
<drakonis>
no straight up hijacking a package manager
<Infinisil>
reddit (on all kinds of programming subs), hackernews, various blogs, random occasional site
<ris>
the language-package-manager approaches are fundamentally very different from what nixpkgs does
<drakonis>
reddit isn't a benchmark really
<ris>
in language-package-managers, the author is the king, and as such the whole thing is like the wild west
<drakonis>
HN and reddit are like magpies
<Infinisil>
drakonis: Yeah I don't know, got anything better?
<drakonis>
lobsters seems good?
<ris>
because most authors are not good maintainers
<ris>
they a) only care about the latest version of stuff
<ris>
a distribution (like nixpkgs) is just that - a *distribution* - a set of packages that have been deemed to play relatively nicely with each other
<drakonis>
nixos seems like the next big distro outside of the major two
<drakonis>
fedora and debian
<ris>
you can't rely on authors to do that
<dash>
drakonis: don't you mean arch though
<drakonis>
course not
<drakonis>
arch is trash~
<drakonis>
off into the trash can it goes
<Infinisil>
Alright, let's say I'm creating my own package manager and intend on using nix for that, what would I do? (I'm actually curious). I guess I'd create my own langpkgs repo with expressions similar to nixpkgs, right?
<dash>
drakonis: "good" and "popular" usually don't go together
<drakonis>
hmm, are you forking nix for that
<dash>
Infinisil: that's one choice yep
<drakonis>
arch is popular with the "i feel special for typing commands on the terminal" crowd
<drakonis>
its a pretty big lie tbh
<drakonis>
its not minimal
<dash>
drakonis: you were talking abut popularity though
<drakonis>
hmm
<Infinisil>
I feel like arch is like a stateful nix and messy to deal with because of that
<drakonis>
consider taking a look at the bsds
<ris>
ahhhh gentoo i used to love it
<drakonis>
the ~inspiration~ for arch and gentoo
<drakonis>
gentoo is also overrated
<Infinisil>
I can't be mad at arch though, they're wiki is very good and helped me a lot
<Infinisil>
s/they're/their
<drakonis>
arch's wiki is the only benefit from putting up with arch people
<dash>
Infinisil: good ideas and bad code build communities
mkoenig has quit [(Ping timeout: 260 seconds)]
<drakonis>
dash, see freebsd
<Infinisil>
dash: Similar to C, now that I think about it xD
<drakonis>
excellent code but it isn't the hottest thing
<drakonis>
not the most popular thing although it is actually gaining momentum with the recent linux things
<Infinisil>
Alright I'm off, should've been sleeping for a while
cpennington has quit [(Ping timeout: 272 seconds)]
<drakonis>
aight
Infinisil has quit [(Quit: ZZzzz.... <BOOM!>)]
<drakonis>
i feel like trying haskell
<drakonis>
it seems like fun
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<drakonis>
only it is a shame that haskell doesn't have algebra libraries as good as the ones on python
<drakonis>
despite being much more of a interesting language to use
<sphalerite>
Does it really not?
<sphalerite>
That surprises me
<sphalerite>
By algebra libraries, you mean stuff like sympy?
<drakonis>
there was a state of the union document