<clever>
but you could make /boot/efi fat32, and leave /boot itself on something more complex
<sphalerite>
All laptop/desktop/server machines should just have like a 100MB flash memory or something that bootloaders can live in
<clever>
infinisil: ffmpeg can accept a list of images directly, rather then recording from something
<sphalerite>
do you have trasnparent windows or something?
<sphalerite>
Idk sounds like something that could maybe done more nicely with gstreamer
<infinisil>
sphalerite: Something really cool: A derivation that takes a folder as input and builds you a binary that randomly changes the wallpaper to ones in the folder, and the main thing: There's a nice blurry transition when it gets changed
<aw>
That's actually okay. My sole problem is that the build host runs NixOS and it would be nice to have the cross-compiler built through the "way to do". The Rpi doesn't (yet) and it doesn't have to (just need something for external SPI flashing).
<Lisanna>
To give it a file I might have to add it to the nix path or something with a channel
<infinisil>
I've created something pretty cool recently
<petersjt014[m]>
boot.initrd or something I'd guess
<Lisanna>
jluttine: nix-shell will setup an environment with the buildInputs of a derivation, not the derivation itself. You want something more like nix-shell -p I think, but I'm not sure what the right syntax is for using that with a local file.
<roberth>
dhess: by monad transformers I mean writing something similar to Haskell's monad transformers in Nix
<samueldr>
/homeless-shelter errors usually happen when *something* tries to use the home folder, often for configuration or cache files
<kini>
actually I guess there is also an error about being unable to create /homeless-dir , which doesn't bode well... feels like I'm doing something wrong, but I'm just following the instructions in the readme :/
<stphrolland>
there's something I don't understand. I cd into a project. I type nix-shell -p nodejs-6_x. Do some little stuff. Then exit. Write nix-collect-garbage, there are some things that are deleted, but none with a nodejs name. What is holding the dependencies so as nodejs is not deleted ?
2017-12-06
<dhess>
Anyway, I want to put something together that's like SecurityOnion, only on a NixOS host.
<LnL>
if you have something else that can parse simple nix expressions it shouldn't be hard
<pstn>
So, something broke?
<ati-radeon>
avn: Yeah, I think the free ATI driver should be preferred, because it is probably better maintained, but I am already super happy that I have some setup that works. I am definitely going to give the free ATI driver another try, but it is nice to have something to fallback on in the meantime
<sphalerite>
alexteves: try something like cp /nix/var/nix/binary-cache-v3.sqlite /tmp/ ; sqlite3 /tmp/binary-cache-v3.sqlite <<<"select * from BinaryCaches"
<tnks>
I feel I'm missing something.
<joepie91>
I don't recall what I broke, but it was definitely something
<joepie91>
to recover a... something
<joepie91>
don't think HTTP pipelining is necessarily something that's possible given that it downloads stuff through cURL
2017-12-05
<clever>
akfp: not on its own, youll have to manually download it with something else, then nix-store --add-fixed sha256 ./foo.tar.gz
<joepie91>
something along those lines
<joepie91>
ati-radeon: it'll be called something-PM
<joepie91>
ati-radeon: something you can try is to turn off DPM in the kernel flags; one sec
<ati-radeon>
ok, I will get a USB stick or something to get it out
<woffs>
sphalerite: maybe LC_something too
<adamt>
clever: But there's really no reason that you couldn't change the interpreter from bash to something else. Somebody just has to hack the code together. I just wondered whether this was already possible.
<adamt>
When using systemd.services.foo.script, how can i run something other than bash?
<thblt>
manveru: I don't use spacemacs, so I'd rather not contribute code to them directly. But if the package becomes something more useful than a tabulated list of packages, I'll publish it somehow, so the Spacemacs people will be able to grab it :)
<thblt>
So according to the internet, if you want something that's easy to configure under Linux, you should buy HP printers.
<sphalerite>
it seems that the kernel driver or libinput or something along there in the stack has gained support for the DualShock 4's touchpad
<stphrolland>
not sure anyone saw my question. Do you think it's good practice to use {system.autoUpgrade = true;} ? Is it something that is needed for security updates or things like taht ?
<Cheng>
I tried 'with import <nixpkgs> { config = import /etc/nixos/configuration.nix; } something', but that doesn't work
<Cheng>
I know 'with import <nixpkgs> {}; something', but how do I get /etc/nixos/configuration.nix loaded as the config?
<sphalerite>
because the systemd user daemon has a lifetime independent of (longer than) the X session's, and so it can't manage stuff within the X session well. Or something.
<sphalerite>
eeeh it uses a systemd user service? something something systemd shouldn't manage X applications
<dhess>
angerman: sure, just a bit of work. Probably worth it for something like this. But then, it's not just ghc that needs work to get cross-compiling going on Nixpkgs
<dhess>
I can't even imagine trying to use TH for something like that. What a bastardization of the intent
<joepie91>
clever: mind that 'bind operator' in this context means something like `foo::bar(baz)` translating to `bar(foo, baz)` :P
<dhess>
Sonarpulse: is the plan for Nixpkgs cross-compiling support to do something crazy for TemplateHaskell like running it in a QEMU VM for the host architecture? Or is TH just not going to work?
<sphalerite>
something something intensional store
<clever>
sphalerite: its something like 200mb download to boot, and then nix has to push the whole closure over
2017-12-04
<sphalerite>
That could look something like
<bennofs>
encrypted suspend to ram? that sounds interesting... does it encrypt ram contents as well? how do you setup something like that?
<gchristensen>
this is how irccloud does it: "<pcarrier> any takers for my problem with nix-env and overlays? it's possibly something stupid. https://www.irccloud.com/pastebin/oEywH2fq/"
<gchristensen>
probably because they do something reasonable :P
<herzmeister[m]>
yes, something like that would be acceptable
<goibhniu>
playX: is that something you can remap in the game settings?
<joepie91>
hyper_ch: jvtbatman: as an analogy; direct rendering is like somebody drawing an entire scene onto a piece of paper at once, whereas compositing is drawing individual pieces on objects of paper and then arranging them on the 'final' piece of paper and glueing them on top of each other to create a scene; this allows you to eg. rotate objects in the scene after the fact, something that would have been impossible if you drew the entire scene at once
<joepie91>
rendering artifacts (like the weird 'trail of windows' artifact you used to get on Windows 98 and such when you dragged something over a crashed application)
<Wizek>
something like this: `map (p: p + 2) {a=1; b=2;}`
<joepie91>
something like `nix-shell -p gtk2-x11`
<srhb>
sphalerite: It's possible to atomically move something, yes
<vaibhavsagar>
hmm, I did try something similar and it seemed to have no effect
<etu>
And if you're on nixos you probably want to have something like this as well to have permissions for your user to use it: users.extraUsers.etu.extraGroups = [ "vboxusers" ];
<Lisanna>
s/implemented in bash/implemented in something only accessible from bash or stdenv/
<Lisanna>
hey, need some opinions on something: I have a derivation which packages a bash script that has some dependencies. I'm using this package in a custom NixOS module I've written. I've set the systemd.services "path" attribute to contain the package it uses, and that works, but the shell script also calls things like awk, which are not in the path.
<pcarrier>
I can't seem to be able to -I nixos-config=something-that-uses-relative-paths-including-for-overlays
<dhess>
ahh yeah, that bit :) I don't plan to use it for that, just for stashing and alerting. I think I will do the review with ELK or something like that.
<dhess>
pcarrier: nah, no worries. If I can't find something that looks well-maintained and open source, I'll probably end up writing something myself in Haskell :) But thanks for the offer.
2017-12-03
<joshuaks>
I also had to allow unfree packages and...something else. I had to add zlib as a dependency in the stack.yml file.
<jeaye>
I would if I could have it declarative, bound to `nixos-rebuild`, and scoped within the user's session. I haven't seen something which allows for all three though, perhaps for lack of looking, so I settle for configuration.nix.
<LnL>
colabeer: I would probably do something like this
<gleber_>
The home-manager readme says that to enable graphical services, home-manager needs to start xsession. In my case I do not have `xsession.enable = true`, yet `services.compton.enable` does work. Am I missing something? rycee
<zimbatm>
it looks like it does what we want but I'm not sure, something seems off
<b73_>
@sphalerite: nix-darwin sounds like something I should look into... Any idea of the steps to run the mysql daemon without a ready-made config?
<sphalerite>
b73_: nix-darwin brings something like NixOS to macOS AFAIK. Not sure it includes mysql, but I think that would be where it is if anywhere
<screamin_jimmy>
Sorry but to my mind, I install something from a package manager and it should work. There went two hours of my life while I hunted through the firewall ... /me dumb sometimes :(
<pie_>
does nixos do something weirD? i get the stack protect issue regardless of -fno-stack-protector
<nalc>
Hey I am trying to use the coreclr nixpkg for a project using nix-shell. For some reason it's not listed in the official nixpkg search, but it *is* in the nixpkg github repository. Is something wrong with search, or are not all pkgs in the repository included in search?
<adelbertc>
do nix overlays subsume packageOverrides? i have some stuff in `~/.config/nixpkgs/config.nix` that let me do something like `nix-env -iA nixpkgs.myDevStuff` that installs a bunch of packages, should i be replacing those with overlays?
<screamin_jimmy>
jeaye: that was my guess too - that something wanted gnome for some reason, so I am stuck with it. But the nice thing is, apparently I can go back and change the config to NOT use things I don't want ? that's appealing.
<screamin_jimmy>
magnetophon: some people have thin skins :p Yes. I thought that was the pont, you tell it what you want and that's what you get. My guess is something wants gnome ? But what ? Ssh ? and fontconfig ? no room for that stuff. Hmmm.
<screamin_jimmy>
magnetophon: Have to say, the first impression I got was great. New install pops you into root with no password. Hooray ! all these distros that make you jump through hoops to configure something you just created, they are stoopid.
<magnetophon>
samueldr: ok. anyway: you are my hero. almost 5 hours of help!!!! with result! \o/ if I can ever do something for you, let me know!!! :)
<infinisil>
moa: a shellHook only does something when invoked with nix-shell, so it doesn't make sense to combine nix-shell with nix-env
<infinisil>
moa: Something like this is what i mean by writing a file to source: https://git.io/vbYbm
<infinisil>
moa: Oh actually I just thought of something
<infinisil>
moa: What I'm trying to get at is that you'd use something like .bashrc to set them, so that when you start a shell and it sources that file it can set aliases and stuff
<infinisil>
Olgierd: or are you on arm or something?
<magnetophon>
samueldr: but yeah, *something* is off...
<samueldr>
it is something I would have assumed too, I think
<samueldr>
(I really like "just" booting an older generation when you screw something up)
<Olgierd>
I'd have to test on a stock GCC—so far I've only tried to compile kernels with GCC for that specific target ($CPU-elf), and the default is $CPU-linux-gnu or something like that
<infinisil>
Olgierd: Not sure, but I'd start with something from nixpkgs. Just wondering, why do you need a custom gcc build for kernel dev?
<samueldr>
hmm, it'll be a wee bit longer, it seem something was stuck in the pipes and I was only using about a sixth of the processing power
<infinisil>
moa: Or you can just use a shell.nix file and put something like stdenv.mkDerivation { buildInputs = [ your packages ]; shellHook = '' alias x=y ''; }
<magnetophon>
clever: doesn't the testing I described above (and in #musnix) "prove" that I have all that set correctly? (genuine question, since *something* is obviously wrong somewhere!)
<magnetophon>
samueldr: yes I did. and I probably *did* forget something dumb somewhere, so no offence taken for asking
<clever>
magnetophon: is something actually using the overriden kernel?
<rycee>
benley: Mainly if you install to your user profile something that depends on dbus activation.
2017-12-02
<infinisil>
because it needs X and X doesn't like systemd or something
<benley>
any of y'all have a grasp of how dbus user sessions are supposed to work? I'm trying to figure out why I end up with DBUS_SESSION_BUS_ADDRESS set to something completely different in my x11 session versus what's in `systemd --user show-environment`
<ma27>
however, I might be missing something and I'll have a deeper look into the pythonpkgs internals now %)
<infinisil>
I'm not familiar with python packages, but something ought to be the thing you're looking for in there
<viric>
Dezgeg: it'd be nice if nixpkgs allowed something like what yocto allows
<rycee>
I.e. dropping something like `self: super: { myneomutt = super.callPackage ./path/to/tweakedneomutt.nix {}; }` in ~/.config/nixpkgs/overlays/myneomutt.nix
<rycee>
Since it would point to something outside the HM generation.
<thblt>
Could someone please try to reproduce an issue for me? Run "nix-shell --pure -p tetex" ; then "tex", type "Hello" or something followed by return. Does it segfault?
<infinisil>
hyper_ch: is this a slow machine or something?
<Avaq>
Could it have something to do with using a USB->TTL?
<Avaq>
The boot proces would get stuck on "Starting kernel.." or something of that sort.
<ryantrinkle>
i'm not sure if that's something folks really want, but i figured it'd be easier to decide after seeing it in action
<mightybyte>
The nix manual has a nice simple example illustrating a nix expression for hello. But how do I take that expression and make it into something that I can put into a default.nix and call nix-build or nix-shell on?
<samueldr>
which makes me think it's something outside of nixpkgs
<gchristensen>
you could use dunst and libnotify + something to poll the latest file
<akfp>
nix-build '<nixpkgs>' -A <..something>.amdgpu-pro
<manveru>
asktoask: something like that
<asktoask>
manveru: mean, without running buildscripts. I have in mind something like overriding mkDerivation to be something like 'getAttr "meta"', but it's not obvious for me how to do that.
<i-am-the-slime_>
Ah, looks like dragging three fingers does something.
<andromeda-galaxy>
I'm trying again with the filtering fixed to see whether or not it fixes it. anyway, I think I have something working now. thanks for all the help!
<cocreature>
for 2. you still need something like haskellPackages.override
<andromeda-galaxy>
do you know why most things, including Gabriel's haskell-nix, recommend the haskellPackages.override method of multi project dependencies? (i.e. is there something I am missing doing it this way?)
<andromeda-galaxy>
(or would it be possible to accomplish something similar---building packages that depend on a particular lts---via some other mechanism, like callHackage/callCabal2nix?)
<neonfuz>
do my applications need to be in environment.systemPackages or something?
<samueldr>
(don't want to re-recommend something you already are using)
2017-12-01
<pierrec>
There is something I don't understand about NixOS: where are the includes?
<clever>
flyx: you need to figure out of its running python on a .py file and trying to import pygments, or just trying to run something like pygmentize
<clever>
flyx: oh, darwin has something else
<ris>
running nix as root is something id rather not do
<makefu>
i did something similar a few months ago on basis of logstash. i used the github http-hook feature instead of a mq
<orivej>
bbsl: you should do something like "sudo -u postgres psql ..."
2017-11-30
<Lisanna>
sphalerite: did you fat finger something 8 years ago or something?
<LnL>
yep, something like preFixup = ''patchShebangs $out''; is roughly equivalent to the default
<LnL>
maybe something broke
<Lisanna>
sphalerite: Eelco actually started something like that
<Lisanna>
Something I've done in the past is to write the build system itself in Nix
<clever>
Lisanna: the only improvement i can see is to instead use something like import <nixpkgs> { config={}; overlays=[]; }
<wajsel>
@manveru ok I must have something wrong here then. And the rebuild did find quite a lot to rebuild so I'll see if that helps. Thanks.
<wajsel>
also where did you get nix-locate from? perhaps I have something wrong with my setup
<wajsel>
It's convenient because they agree with my system. If I google I will find "something"
<eraserhd>
LnL: Evernote opens but doesn't show a window. I wonder if it is the binary timestamp or something.
<ToxicFrog>
Er, "old" compared to e.g. setting the credentials in configuration.nix or something
<cocreature>
hey, how do I search by attribute name using nix-env? 'nix-env -qA 'nix*' does something but it doesn’t seem to search by attribute name, e.g. it doesn’t show nixpkgs.nixUnstable
<infinisil>
Oh my god, I just packaged something in the first try! That is: write nix file in one go, nix-build, and it runs!
<vcunat>
I would just create a new linuxHeaders_something
<Turion>
sphalerite, alright... well, confusion is something that I currently have a lot, so maybe that's a cause ;)
<Turion>
So when I upgrade my system, I just run as root something like "nix-rebuild switch -I nixpkgs=path/to/my/local/clone
<spacemonkey243>
hyper_ch: yeah, I was hoping for something non world readable, or at least encrypted
<dhess_>
Does NixOS have something similar to Nixops deployment.keys now?
<Lisanna>
is there something like stdenv but without all the gcc dependencies etc.? i.e., something basic that accepts buildInputs, does the shebang patching, etc.
<samueldr>
probably something with overriding derivations, which I'm still getting used to
<sdhand>
An extraConf option or something?
<ylwghst>
clever: if im currenly on stable and want to test build something like this nvidia driver from github.com/nixos/nixpkgs master is to safe to build this way? Should I do it?
2017-11-29
<boxofrox>
sweet. TIL something
<globin>
gchristensen: mine has pannicked on cloning..? do I have to create something? the folder was there after that?
<jtojnar>
is there something like git reflog for nix profile?
<eraserhd>
oh man, the processing of a nixpkgs PR is something to watch.
<hodapp>
eraserhd: more portable than Guile or faster or something? more compliant in useful ways?
<hyper_ch>
eraserhd: going to package something?
<dtzWill>
clever: assuming it's something someone found and blogged about or something, do you remember details/have a link I can chase?
<dtzWill>
lamenting things like webGL saying they knew myriad ways to hard-lock computers using the "trusted" api or something
<dtzWill>
i mean I suppose on something like the rpi who needs userspace/kernel separation anyway
<dtzWill>
clever: was there a kernel driver or something you could hopefully borrow or draw upon for "inspiration"? lol
<dtzWill>
if that is something that you'd like more info on, search nixpkgs issues or bug me and I'll turn up what I'm talking about
<eraserhd>
Do I need to subscribe or something?
<dtzWill>
eraserhd: something something nix-env uses ~/.nix-defexpr and "<nixpkgs>" might grab it from NIX_PATH?
<dtzWill>
idk if it's something lots of other people about but one of things I love about my ALLVM goodness is that it makes programs.. simple again. All the code is right there :).
<dtzWill>
clever: yeah; LLVM IR is "high" level enough you can still udnerstand the code, at least as compared to trying to throw IDA at it or something lol
<joshuaks>
So is that considered something that needs improvement or it that just the nix way?
<clever>
dtzWill: something ive been wondering, how feasible is it to compile something large/complex to llvm, then finish it off later, and how cross-platform would that llvm be?
<Li[m]>
dtzWill: iv been looking for something like this
<dtzWill>
I've love to send you my draft if that sounds like something you'd be intrested in but it seems very much up your alley...
<joshuaks>
you got a BC wallet or something? I really appreciate the help yesterday.
<LexLeoGryfon>
and I NEED to use it without LUKS. it works ok after boot, and works ok during boot in other distros., but here in NixOS during boot something gone wrong
<__monty__>
I've defined an environment using myEnvFun and it seems to work alright but when loading it I get these errors: http://ix.io/CmM Am I doing something wrong?
<sphalerite>
I'd recommend using something that handles the output correctly in all cases, which your echo trick won't
<dweller>
afair i had to do something similar on my x230
<etu>
So we was like, okay. Something simple and we need encryption.
<etu>
fresheyeball: Maybe you want to use /dev/disk/by-uuid/...something... instead
<clever>
you had something else plugged in (maybe a usb drive?) that stole the sdg position
<joshuaks>
I'm trying to install weechat on macOS. However, the install doesn't seem to have python,ruby,etc. support. I think I'm doing something wrong because I can find weechat/nix issues but not this.
<dhess`>
Last I looked it's 2017.03 or something?
<thoughtpolice>
catern: You can write a phase that will use something like 'substituteInPlace', but it's obviously hacky.
<sphalerite>
Has anyone here managed to get a full GNU/Linux ARM system running in QEMU? Doesn't need to be nixos, just something I can run nix on :)
2017-11-28
<pierrebeaucamp>
I suppose it is not possible to overwrite configuration.nix with something similar from the user env?
<plakband>
I've just installed the nix package manager, and I'm reading through the manual. The manual has an example where they install firefox, but when I try to do the same, it says that there's no firefox derivation. Did I misconfigure something? I could install irssi and git just fine. I'm on OS X 10.13.
<catern>
I think I am forgetting something :)
<antonv>
something wrong with DNS
<catern>
I see something in the manual about modifying existing Python packages, but how do I just add one?
<WilliamHamilton>
srhb: I was reading about overlays for a user in ~/.nix/overlays.nix or something; if that's the idea you're proposing, do you have an example of that?
<WilliamHamilton>
hi, I'm trying to install a haskell program in my user environment via nix-env -iA nixos.haskellPackages.brittany. I'm on nixos-unstable, and the build fails in the test phase, so I'd like to disable the test phase, with something like dontCheck, but I don't know how to do that on the command line
<ij>
I want to try to change something in nixpkgs. How do I test it out with by building some package? (I want to add an argument to pkgs/development/haskell-modules/generic-builder.nix.)
<srhb>
tobiasBora: You probably wanted "lan" in networking.domain or something.
<the-kenny>
tobiasBora: Just a wild guess: Do you have networking.hostName set to something?
<TweyII>
Wizek: There's probably something useful in there, though I don't know the structure of cabal2nix packages
<WilliamHamilton>
hi, I'm trying to install a haskell program in my user environment via `nix-env -iA nixos.haskellPackages.brittany`. I'm on nixos-unstable, and the build fails in the test phase, so I'd like to disable the test phase, with something like dontCheck, but I don't know how to do that on the command line
<ckauhaus>
if you need something permanently, put it into your user-env
<srhb>
Lisanna: I tend to place those symlinks in ~/gcroots or something :)
<eacameron>
Do I need to configure something differently?
<clever>
catern: also, you can do something like myconfig=/path/to/foo.json in the path
<Ralith>
something to do with 'import' statements
<catern>
I have a package manager "mypkg" full of packages to import into Nix, and I have some options of which approach to take. I can either expose the package locations on a colon-separated path like MYPKGPATH, or I can list the packages in a file and identify that file with MYPKG_INDEX, or I can list the packages in a file and have that file be looked up relative to the executing file or something like that, or...
2017-11-27
<catern>
does that sound crazy? should I really be thinking of writig something that would let me write "import nixpkgs.coreutils" as Python code??
<catern>
I swear there's something that makes Nix (or maybe Guix) use $ORIGIN
<Lisanna>
(I haven't seen functions which take arguments like a: b: c and functions which take arguments like {a, b, c} disambiguated well, do they have different names or something?)
<Lisanna>
So, for build-time stuff, I'll definitely have to move that outside of Nix, into something that calls into Nix to test if some build works or not. I guess this is what Hydra does with sources. Is there a more straightforward command-line way to pass build parameters into a nix-build or something?
<MichaelRaskin>
Not sure if Hydra has something completely independent
<catern>
can you advise me on how to do something in the most Nix-y way possible?
<michaelpj>
anyone used node2nix to package something with a custom npm script that needs to get run during packaging?
<thoughtpolice>
The strange thing to me is that a lot of stuff actually works that's clearly either had the expression written in mind for crossSystem builds, or it uses something 'automagical' like autoconf which is standardized -- but how could zlib and ncurses not build? They seem nearly unavoidable for any non-trivial closure...
<thoughtpolice>
I'm sort of fixing my way through this, thing-by-thing, but I'm not sure if this is known or not, or if I'm wrong. And obviously for things like zlib/ncurses I'm not going to push to master, to avoid a large-scale rebuild, so for my own work I'll have something working, I hope...
<neonfuz>
override it's version or something?
<szicari>
I’m on macOS. That might have something to do with it.
<szicari>
Maybe I’m doing something wrong.
<infinisil>
clever: Oh I see, soooo, did I overwrite something on the rest with the dd? Because that's all of my ZFS, but my computer still runs, sooo
<infinisil>
I am kinda worried about having overridden something important
<infinisil>
Wait, are devices in linux infinitely long or something? I'm doing `dd if=/dev/urandom of=/dev/sda2` and it says it copies 200MB/s and keeps going for while. /dev/sda2 is only 3MB big
<ottidmes>
hyper_ch: remote rebootable, you mean you can enter the password for the encryption remotely? If so, I just always use something like dropbear to do so with LUKS
<ertes-w>
i wish i could move to something else
<ertes-w>
apparently MS has just cut the support for the nixpkgs version of skype… does anyone know details about this? is it likely that there will be an update in the near future? can i do something to speed it up? unfortunately i'm bound to using skype for work
<disasm>
and then you'd need to do something with that in the derivation
<webchat310>
my original problem is that in X no windows are popping up, which I believe is after an --upgrade which bumped the kernel version. so I tried to load something old and work my way to the problem.
<webchat310>
My original problem is something else but I got hung up on this because it looked a bit strange and I think I got a missmatch between kernel and the profile I'm running
<srhb>
tomster: You can't really, short of inspecting PATH or something.
<tomster>
i want something like a sandbox where i can nix-env install stuff until i have the right stuff and then put that into my default.nix
<tomster>
something like the deactivate command from python's virtualenv for example?
<aminechikhaoui>
Hi, is there a command that will allow me to do something like nix-store --delete <path> where path is in an s3 store ?
<petersjt014[m]>
There is probably going to be something in the graphicall installer
<petersjt014[m]>
one sec while I try something
<MichaelRaskin>
Should be something about udev, don't remember what exactly.
<petersjt014[m]>
Should i rerun the hardware scan or something?
<moet>
is there something like ghcWithHoogle for the current cabal2nix generated expression?
2017-11-26
<samueldr>
it might be necessary to wrap the wrapper or something else
<samueldr>
this feels like something that's not dependent on the DM
<neonfuz>
I mean in the case of doing something like mounting the nix options to a filesystem, you wouldn't really need any of the extensions
<neonfuz>
usage is like 'fontsrv -m ./fonts/' or something, and it hosts your system fonts as a filesystem and converts the fonts to plan9 format on the fly
<schoppenhauer>
bennofs: there are no programs called boost-something
<bennofs>
schoppenhauer: doesn't boost have its own config program? something like boost-config? i think it used to be that way, not sure if it changed though...
<samueldr>
(ssh to a windows host would do something different!)
<sphalerite>
Something like rsync, but I'm not sure it works on block devices…
<pcarrier>
it's turning something that's maintained as "I want this HTTPS URL extracted this way and set those environment variables and [...]" into "the env has those files on it"
<Lisanna>
In my top-level NixOS configuration.nix, I'd like to extend a NixOS service to add an option. Specifically, I want to extend services.dockerRegistry to add an option "enableGarbageCollection". Is there a complete example of doing something like this anywhere? I can only find incomplete examples.
<pcarrier>
the reason it doesn't is because I need curl to find something that works in /etc/resolv.conf right?
<pcarrier>
ok so that's the cool part, not what it serves over PXE being driven by nix or something?
<argc_>
sphalerite: okay, thanks, i'll keep poking at it. thanks. maybe i'll try a newer unstable or something.
<clever>
the version of nix you build something with shouldnt impact its hash
<pcarrier>
seems hardly possible at all unless I'm missing something
<pcarrier>
but it doesn't look like I can "just trust it" as something I would only ever use in a nix-shell anyway
<pcarrier>
yeah I mean my goal was to start encapsulating something that tries to do something a bit nix-ish
<sphalerite>
that doesn't sound like something that the nixos installer can cause
<pcarrier>
it's often something stupid for me.
<pcarrier>
it should have something like "timeout 8\ndefault nixos-generation-XX'
<pcarrier>
not to say you're wrong, maybe I did something wrong?
<Ralith>
I wonder if there's something else
<joepie91>
TimePath: it's something that's definitely possible, but I personally wouldn't consider this as a major target group (yet), because in enterprise environments it tends to be exceedingly difficult to get people to switch *anything*
<samae>
something you can have just run, and that works?
<samae>
Ralith: don't you need to also restart udev or something like that?
<pcarrier>
Ralith: I'll put something together in nixos/modules/services/hardware/yubikey.nix
<pcarrier>
but it needs some cute packaging on top of be something startups will pay for
<pcarrier>
so infrastructure investments must be very passive, conditional, and require very little infrastructure (eg a host I can ssh into and can act as a binary cache is something I could provision in the "local" EC2 with nixops for really cheap).
<pcarrier>
you just described something perfect here
<pcarrier>
and have systemd retry regularly when it fails, but once it succeeds not for another 24 hours or something
<pcarrier>
that being said I'd like to be able to tweak towards that general direction or have something that do at least most of what I want
<joepie91>
or something along those lines
<joepie91>
pcarrier: I don't know much about it, but this sounds vaguely like something in the area of nix-copy-closure
<adisbladis>
hyper_ch: When something is called from pythonPackages with callPackage the correct interpreter version is already set
* ryantm
@gchristensen no... maybe something with irccloud.
<dhess>
it doesn't use qemu or something like that, does it?
<dhess`>
samueldr: once I figure it out for BB, I will try to put something together.
<infinisil>
hyper_ch: You probably have something like { pytest, ... } in your package file
<makefu>
it does something similar you want to achieve
<joepie91>
am I missing something, or does the Hydra manual contain outdated instructions?
<pie__>
what was the name of the nix pip tool? py2nix or something?
<infinisil>
clever: I'll just use an external USB with nixos on it if i need to rescue something
<clever>
ottidmes: just a bit anoying to waste an entire partition on something that simple
<ottidmes>
clever: Your point about the root file system not being allowed to be modified I understand, but using relatime or noatime, how is reading a file affecting the root file system? Thinking about it, it should work, I have used something of the sort in the past. Encrypt my USB stick/key and having to unlock that manually, then I check if it was unlocked, then use a partition on the USB stick that I dd as the key
<lejonet>
okay, so I get "FAILED LOGIN (1) on /dev/tty1 FOR 'root', Permission Denied" atleast now I've got something to google lol
<chaker>
I found the solution in the history of IRC I needed to add something like this myPython = pkgs.python27Full.buildEnv.override {extraLibs = [ pks.python27Packages.jedi ];} to my configuration.nix
<aminechikhaoui>
error: attempt to call something which is not a function but a set, at /home/amine/src/nixpkgs-channels/pkgs/stdenv/generic/make-derivation.nix:176:56
<aminechikhaoui>
something like:
<steveeJ>
does someone use a NixOS cluster for running VMs? something similar to Proxmox VE
<joepie91>
hold on, going to try something with that
<manveru>
something like that?
<adisbladis>
ottidmes: Maybe different chipsets or something. Lots of variables at play here
<hyper_ch>
up to you... as said, due to atomic upgrades, if something goes wrong, it's no big deal...
<pcarrier>
Nix is not something I actually need for work
<hyper_ch>
top, you say all the dependencies and in the script you could use something like ${unzip}/bin/unzip
<danimal>
Thanks, all. Would be great if NixUP or something like it becomes official.
<joepie91>
did I accidentally compile every version in existence or something :|
2017-11-24
<alphor>
orivej: nevermind, it's something with my config. sorry!
<tanonym>
So, seems that something in the expression is pulling a version that telegram doesn't like.
<LexLeoGryfon>
and is there ways to get faster? like compiling nix-env binary with native optimizations or something
<sphalerite>
Turion: as far as I can tell, yes. I think what you'd want is to use is something like ghc.withPackages, except for ghcjs. Not quite sure how to do that though.
<pcarrier>
oh wait $out is literally gonna be something like /nix/store/4380924732897423-foo-1.23?
<stphrolland>
I have remarked a little something: my /tmp folder is not emptied between reboots
<joko>
hyper_ch: I have something like networking.interfaces = { eth0 = { ip4 = [ { address = "131.211.84.78"; prefixLength = 25; } ]; }; } in my setup, I would like to check if eth0 exists before setting it.
<elvishjerricco>
infinisil: That probably has something to do with the fact that Stack has to fetch an lts. I’ve only ever used it for blank GHC “resolvers” so that I could just use Nix’s GHC and package set