ryantrinkle has quit [(Ping timeout: 240 seconds)]
darlan has quit [(Remote host closed the connection)]
ambro718 has quit [(Ping timeout: 255 seconds)]
zeus_ has joined #nixos
<nh2>
iMatejC: I find the string-substitution-in-foreign-code also very dangerous. I think the best way is to pay the time, and upstream all the changes
mudri has quit [(Quit: WeeChat 1.7.1)]
zeus_ has quit [(Ping timeout: 272 seconds)]
matthewbauer has quit [(Remote host closed the connection)]
chakerbenhamed has quit [(Ping timeout: 240 seconds)]
derjohn_mobi has quit [(Ping timeout: 272 seconds)]
moet has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
<mtetreault>
Is anyone developping Android here? I'm trying to install androidenv without any luck. When using nix-env -iA nixos.androidenv the compilation fails due to a collision between two /bin/aapt installation? and when adding it to my nixconfig file I have the error cannot coerce a set to a string. I'm not sure what would be the right way to fix those issues.
dejanr has joined #nixos
derjohn_mobi has joined #nixos
<spinus>
metaphysician: 2 ways
<spinus>
1. nix-env has a command to set a priority for a package, so you can set for both different priorities
<spinus>
2. you can use buildEnv function and there is ignoreCollisions options (or something similar)
<spinus>
I was developing using only androidsdk and kinda worked, didn't try androidenv yet
Wizek has joined #nixos
katyucha_ has quit [(Remote host closed the connection)]
dejanr has quit [(Ping timeout: 272 seconds)]
<mtetreault>
spinus: So I guess the conflict isn't really an issue and I can simply ignore the collision without causing other issues?
<mtetreault>
when you said it kinda worked, would I be better off setting up a virtualmachine to do my android dev?
mkoenig has quit [(Read error: Connection reset by peer)]
matthewbauer has joined #nixos
<spinus>
no, what I meant is, android sdk is not designed to be installed by the system, like nix. It's designed to be installed/refreshed by android studio (or their own package manager)
<spinus>
most stuff works find, but when you download sdk to separate directory (because let's say you need newer version, or sth) there is bin directory with some tools
<spinus>
and I was linking this directory from nix tools becasue 3rd party binaries does not work with nix straight away
<dmj`>
if I have a nixos configuration, how do I build it in a vm
thc202 has quit [(Ping timeout: 245 seconds)]
<dfranke>
Does anybody have a 2x2 monitor arrangement (or other arrangement of monitors other than all side-by-side) working under NixOS?
<dmj`>
nixos-rebuild build-vm doesn’t let me specify a .nix file
mkoenig has joined #nixos
<spinus>
dfranke: was using different configs (2 and 3 screens)
<spinus>
dmj`: look at nixpkgs/nixos/tests
<spinus>
dmj`: btw, any error or what?
<spinus>
dfranke: I'm using xfce tool to configure screens
s33se has joined #nixos
<spinus>
dmj`: ah I see now
<spinus>
NIXOS_CONFIG=./your_config.nix nixos-rebuild build-vm is the way (I'm not 100% sure of the env variable name)
<dmj`>
yea, saw that, tried it
<dmj`>
no dice as well
<dmj`>
spinus: ah, hardware-configuration can’t be found
<tilpner>
Did you try setting NIX_PATH=nixos-config=$PWD/your_config.nix ?
<mtetreault>
spinus:okay great, thank you for your time!
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
chreekat has joined #nixos
<chreekat>
Am I crazy, or do the docs not once describe what "sysconfdir" might be? Default value, how it might be set, and so forth
<chreekat>
I have correctly guessed that it is "/etc", but the point stands
<chreekat>
i take that back, i'm not even sure i'm correct :)
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
<joepie91>
chreekat: I have a vague recollection of this being something autotools-y that's really poorly documented
lambdamu_ has joined #nixos
lambdamu has quit [(Ping timeout: 255 seconds)]
aneeshusa has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
<chreekat>
yeah, maybe the the idea was auto-whatever would do a string replacement in the docs... anyway, I opened an issue
chreekat has quit [(Quit: night)]
mojjo has quit [(Ping timeout: 245 seconds)]
ertes has joined #nixos
mtetreault has quit [(Remote host closed the connection)]
hexagoxel has quit [(Ping timeout: 258 seconds)]
filterfish_ has quit [(Remote host closed the connection)]
filterfish_ has joined #nixos
cpennington has joined #nixos
moet has quit [(Ping timeout: 268 seconds)]
inflames has joined #nixos
moet has joined #nixos
hexagoxel has joined #nixos
pie_ has quit [(Quit: Leaving)]
cpennington has quit [(Ping timeout: 260 seconds)]
justelex has quit [(Ping timeout: 240 seconds)]
koserge has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
hellrazo1 has quit [(Ping timeout: 260 seconds)]
koserge has joined #nixos
pie_ has joined #nixos
alx741 has quit [(Quit: alx741)]
<pie_>
hi guys, i installed grub and now i cant figure out how to boot into windows 10, bootmgr is complaining about not finding the system files or something, what im doing is:
<pie_>
set root=(hd0,gpt4) ; ntldr /bootmgr ; boot
acertain has quit [(Ping timeout: 272 seconds)]
<pie_>
bootmgr gives me the 0xc000000e error
Isorkin has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Changing host)]
pie_ has joined #nixos
acertain has joined #nixos
spinus has quit [(Ping timeout: 240 seconds)]
ryantrinkle has joined #nixos
zraexy has joined #nixos
koserge has quit [(Ping timeout: 268 seconds)]
Mateon3 has joined #nixos
aneeshusa has quit [(Ping timeout: 268 seconds)]
Mateon1 has quit [(Ping timeout: 260 seconds)]
Mateon3 is now known as Mateon1
pie_ has quit [(Remote host closed the connection)]
<inflames>
I'm reading this article on nixos and his talking about nvm/rvm and how they try to solve the issue of immutability and you can shell into an isolated environment, amazing
MinceR has quit [(Ping timeout: 240 seconds)]
<dash>
inflames: yeah, nix is basically rvm/virtualenv for... everything
MinceR has joined #nixos
<inflames>
yea, it makes me warm and fuzzy inside
<inflames>
I am trying hard to really dive into nixos, but I'm having trouble finding enough time
<inflames>
hoping to setup a dev environment this weekend and get to coding in it
<inflames>
I gotta learn how to drop into nix shell
<inflames>
well, and a million other things
<inflames>
i've been on linux for like 5 years, arch for the last two, but nixos is a new paradigm for me
<simpson>
$ nix-shell -p pythonPackages.twisted
<inflames>
simpson, and I can replace the argument with a config, right?
<Drako365>
and we'd have it too, if phones had f*cking keyboards...
<unlmtd>
Drako365: well nix *is* everything
<inflames>
unlmtd, I would plug nix directly into my body if possible. maybe it could organize me
<Drako365>
GG
<Drako365>
:P
<inflames>
I'd crash less...
<Drako365>
I just imagined what would happen if people's brains crashed like computers do...
<Drako365>
Thank you so much for that image...
<inflames>
they kinda do sometimes
<unlmtd>
they kinda do
<unlmtd>
:P
hiratara has joined #nixos
<MP2E>
I feel like nixos can be a bit 'user hostile' in the sense that sometimes you need to dig through nix configuration files and package things yourself. But the developer experience is smooth, writing packages in it is a breeze relatively speaking. when you get a working configuration, it will continue to work. Even if you update and it breaks everything, can just roll back to the generation that worked with
<MP2E>
little effort
<MP2E>
overall I like it a lot and it's my daily driver for my desktop
<MP2E>
I run off the latest git master lol
<Drako365>
Excellent...
<inflames>
MP2E, I kinda felt that with arch, but I guess I have no idea what a user is anymore :/
<inflames>
Arch does have an amazing wiki though...
<Drako365>
I'm sold, even though I won't have the time to get serious about it for another two weeks
<Drako365>
the wiki is why I opted for arch over gentoo in the end
<MP2E>
Arch's wiki is fantastic
<inflames>
I've still never played with Gentoo
<MP2E>
I still use it as a reference sometimes for problems in NixOS tbh
<MP2E>
haha
<Drako365>
that, and I realized that self-compiling doesn't actually help that much
<inflames>
Arch's wiki is good for general linux use, Canonical should invest in it, modify add Ubuntu support to it and finally have some decent documentation
<Drako365>
One question, what is the package name in arch for the nix package system
<inflames>
MP2E, exactly, haha
<MP2E>
I used Arch as my daily driver for a number of years but ended up customizing a bunch of the PKGBUILDs to add patches or configure flags for specific projects, ended up having a fairly custom OS which became a bit of a pain to manage
<Drako365>
ubuntu has the benefit of an ubuntu Q&A session for just about anything
<MP2E>
so then I went to gentoo because I figured, well if it's designed from the perspective of building from source, should be easier right?
<MP2E>
it did help but I felt gentoo's infrastructure was based off of old tools
<MP2E>
nix kinda feels like a more updated gentoo in some sense
<Drako365>
^THAT
<MP2E>
senses*
<MP2E>
it has less work power behind it because our team is smaller, but you can help with that! :P
<MP2E>
hehe
<Drako365>
I also like the idea of writing a system as if it were a program
<inflames>
MP2E, I hope to slowly incept the idea that the corporation I work at should switch to nix. It'd do wonders for our deployments.
<inflames>
Also, I want to contribute once I can grasp enough to help.
cpennington has quit [(Remote host closed the connection)]
<Drako365>
Oh, another question, I see the immense benefits with regards to portability, but are there any other significant benefits from a more typical, non-developer (I want to develope, but I just don't know enough (or don't think I do) yet)
<Drako365>
*develop
<MP2E>
that would be great! the nix pills(a blog series on nix) are a good way to get started with packaging with nix
<Drako365>
...you poor buggers really need documentation don't you...
<MP2E>
well it's rather convenient to be able to have multiple versions of the same program installed too, but the tree doesn't package too many duplicates of versions to keep eval time down
<MP2E>
but I've used that with an online game i play to manage both the beta and stable versions
<MP2E>
and keep their dependencies seperate
<MP2E>
yep we really do Drako365
<MP2E>
probably the biggest sore point atm :P
<MP2E>
sometimes the only way to solve things is literally reading through the nix code and figuring it out x.x
<MP2E>
i've had to do that a few times
<MP2E>
thankfully it's not too bad to read
<MP2E>
but still not ideal
<Drako365>
Really looked like it when I did my research
<Drako365>
I need to update my pacman stuff...just enabled multilib for wine stuff...I think I threw it into a circular dependancy
<Drako365>
whoops
pie_ has joined #nixos
<Drako365>
"The nixOS wiki has been shut down"
<pie_>
god i hate windows
<Drako365>
0.0
<pie_>
also the primary issue was havint turned off uefi boot
<pie_>
*having
<Drako365>
what do you need windows for?
<pie_>
this was the reason the windows boot loader boot menu entry didnt work
<pie_>
Drako365, too much pain, cant talk
<pie_>
linux doesnt seem to be doing too wlel these days either though...
<Drako365>
wlel?
<Drako365>
well?
<inflames>
Lol, listening to Rok Garbas say nix needs to add ascii art and emojis...
<inflames>
I'll be honest, I liked the little pacman character in pacman :/
<pie_>
nixos needs to be in a die hard movie
<inflames>
pie_, it can be the os that some leet hacker rules the world with
<Drako365>
yes, but then the other linux people would freak SO bad
<Drako365>
(not that we'd care)
takle has joined #nixos
<Drako365>
Oh, another question, when you modify your nix.config, does it reconstruct the ENTIRE system, or...what?
<MP2E>
depends. There's a system level one in which the answer to that question is 'yes' but there's also modifying a config that only affects local uses of nix
<MP2E>
on a user level you can install packages imperative style using 'nix-env -iA packageName' but if you'd prefer it to be declarative you can create an environment of packages in your ~/.nixpkgs/config.nix (which is the 2nd file I linked in my case) and install that using nix-env
<MP2E>
an example is haskellEnv
<MP2E>
in my config
Drako365 has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
<inflames>
MP2E, someone suggested to learn nixos, start by reading nix manual, then nixos manual, then perhaps a thesis or two, agree?
<inflames>
I'm reading the nix manual right now to start
<inflames>
I should be studying for my final exam, but nixos is more interestibng
Drako365 has joined #nixos
<inflames>
I should be studying for my final exam, but nixos is more interesting
<MP2E>
yeah that sounds good. That's exactly what I did, then jumped in and gave it a try
<inflames>
I jumped in first, rofl
<inflames>
then I didn't have wifi working for 2 days, lololol
<inflames>
It works now...
<unlmtd>
inflames: you should quit school and start a business
<MP2E>
haha :) oh I know the pain though, the first few weeks I had a lot of missing functionality
<MP2E>
there were a few weird bugs affecting me then that have been fixed since (this was 2015)
<inflames>
unlmtd, I work full time, I just took a class this semester to pretend I'm working towards a degree even if I'm just lying to myself
<MP2E>
like systemd would just randomly crash if I didn't blacklist the backlight module :v
<MP2E>
no idea why that was... it's fine now though...
<unlmtd>
inflames: youre being fleeced
<unlmtd>
its a racket
<Drako365>
nix be xompiling...
<inflames>
I was losing my mind figuring out how to get kde networkmanagement widget working, rofl
<unlmtd>
you can buy a degree nowadays
<inflames>
a full rebuild and it worked, not sure how I missed it, but oh well.
<Drako365>
and yea, if you're not actually going to get a degree, just buy some books and self-educate
<inflames>
unlmtd, I can afford one, I just wanted the education for myself
<inflames>
I am kinda going backwards, good career, now getting a degree for myself
<Drako365>
honestly, if you're this deep into linux, you can self educate
<inflames>
perhaps, I'm not sure I'll ever finish
<unlmtd>
which you can get a lot cheaper by yourself
<inflames>
Drako365, I've been self educating for 15 years :]
takle has quit [(Ping timeout: 246 seconds)]
<inflames>
just mostly tech, rofl
<Drako365>
but if you CAN afford it, there are certainly worse ways to spend your money
<unlmtd>
I spent way too much time in college. what a waste of very precious time
<inflames>
unlmtd, the time is my concern as well
<inflames>
I value education, I just don't value a company that only values it
<unlmtd>
I woulda done better moving to taiwan to learn mandarin
<unlmtd>
anyway, good luck
<inflames>
My ex loved living in Hong Kong, maybe you should still move there
eacameron has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
moet has quit [(Ping timeout: 240 seconds)]
HappyEnte_ has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
<eacameron>
So...my computer crashed while I was installing stuff into the store. Now all nix commands that try to touch the store db say: database disk image is malformed
mkoenig has quit [(Remote host closed the connection)]
<eacameron>
I've tried sudo nix-store --verify --check-contents --repair but it gives the same error
moet has joined #nixos
HappyEnte has joined #nixos
treaki__ has joined #nixos
takle has joined #nixos
Drako365 has quit [(Ping timeout: 240 seconds)]
treaki has quit [(Ping timeout: 255 seconds)]
jeremejevs has quit [(Quit: Connection closed for inactivity)]
<eacameron>
I copied db.sqlite from a old snapshot of my VM and then ran the nix-store repair command.
takle has quit [(Ping timeout: 260 seconds)]
<pie_>
SX$bM\
<pie_>
da32424
revtintin has quit [(Ping timeout: 255 seconds)]
<pie_>
whoops
takle has joined #nixos
justelex has joined #nixos
<eacameron>
There's a password to something!
<eacameron>
;)
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<pie_>
not much
marsel has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<unlmtd>
has anyone started writing 'fetchpijul' ?
takle has joined #nixos
marsel has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v9QRL
<NixOS_GitHub>
nixpkgs/master 8aa756b Michał Pałka: gitlab service: fix uploading artifacts from gitlab-runner...
<LnL>
as in imports = [ { ... } ]; instead of imports = [ ./foo ];
<domenkozar>
LnL: good point
<clever>
the file needs _file and key added to it, to help things figure out where it came from
<clever>
or if posisble, moved to its own file
<domenkozar>
yeah I better do the latter
takle has quit [(Ping timeout: 240 seconds)]
thc202 has joined #nixos
<sphalerite>
where is callPackage actually defined? I haven't been able to find it, and I was curious about what magic allows calling a function that accepts e.g. {a, b} with the set {a=...; b=...; c=...; d=...; e=...;}
<LnL>
simendsjo: do you know the drv of the patch?
ambro718 has joined #nixos
<clever>
gchristensen: basicaly, every <nixpkgs> gets translated to __findFile calls on __nixPath and "nixpkgs"
<clever>
gchristensen: and scopedImport lets you inject things into the global scope of a given import
<gchristensen>
domenkozar: I was going to gripe about the tag "idea" on my nixop issue, since a patch is in the comments, then realized I should just make a PR to make it obvious :P
<gchristensen>
clever: yeah, very cool
<MichaelRaskin>
clever: what scopedImport gives over just «args: with args;» in the imported file?
<clever>
MichaelRaskin: not sure, would need to experiment and see
Wizek_ has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin>
Because it has everything I was criticised for when overusing args: with args; in builderDefs, and it is also less convenient for the evaluator
<gchristensen>
clever: does scoped import change my nixops patch?
<clever>
MichaelRaskin: scopedImport isnt even used in nixpkgs, and the nixops case is fairly special, wanting to import many different files, each with their own view of <nixpkgs>
<MichaelRaskin>
But the files you import are also nixops-special, so «with» would seem natural there
<clever>
gchristensen: i believe the patch in that PR changes it from using <nixpkgs> to using nixpkgs + "/nixos/eval-config.nix", so the initial pkgs it loads for nixos will be affected
<clever>
gchristensen: but if the users deployment file later re-imports <nixpkgs> it wont be
<clever>
gchristensen: and scopedImport would get any <nixpkgs> the user may add down the road
plll has joined #nixos
<MichaelRaskin>
For the record, I have used NixOS configurations dependent on multiple NixPkgs checkouts
<gchristensen>
oohhh
<gchristensen>
MichaelRaskin: were they vastly different checkouts that couldn't be merged?
<MichaelRaskin>
We-ell
<gchristensen>
(thinking about my "import nixpkgs, but with some patches..." thing)
<gchristensen>
clever: is scopedImport a "do not use" function? it is undocumented
<MichaelRaskin>
For example, it was about installing a vastly older version of some package
<samae>
hey where's nix in nixpkgs?
<MichaelRaskin>
Easier just to pin everything for that package
<clever>
MichaelRaskin: i wanted to generate the <ssh-config-file> with pkgs.writeText
<clever>
MichaelRaskin: to eliminate a step the user has to perform before nix-build
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 closed pull request #25740: dosfstools: fix build on darwin (master...dosfstools/fix-darwin) https://git.io/v997h
NixOS_GitHub has left #nixos []
<MichaelRaskin>
clever: sorry, it is a tryEval usecase, no?
<MichaelRaskin>
tryEval is something I have written and I _still_ don't know how to replace it in a good way
<MichaelRaskin>
(although I have conceded that it has more problems than I expected)
<simendsjo>
LnL: Thanks
<clever>
MichaelRaskin: when the tryEval fails, it just spits out a better error, but id need to modify private.nix directly if i wanted to add support to take the config in as a string
<clever>
i was more going for a way to alter how private.nix behaves without having to edit it directly
<MichaelRaskin>
clever: I mean, you don't have scopedImport there
justelex_ has quit [(Quit: Konversation terminated!)]
mark-willem has joined #nixos
<mark-willem>
Hi all, I am getting a bit further with my reboot problem. Found a kernel version with which the reboot does not hang.
<mark-willem>
Seems that the kernels 4.9, 4.10, and 4.11 all have the problem, but kernel 4.4 works without problems.
<mark-willem>
Looking at the commits on the nixpkgs repo I found a commit were for the three problematic kernels a cgroups V2 patch is pushed.
plll has quit [(Quit: leaving)]
justelex has quit [(Ping timeout: 268 seconds)]
<mark-willem>
My installation USB has release 17.03.1033, which includes the 4.9.24 kernel which does not have this patch. And that one does not have any problems with rebooting.
<mark-willem>
I suspect that one of the modules loaded on my system, does not work well with the patched kernels. How can I figure out which module it is, without black listing them one by one.
<clever>
mark-willem: id start by comparing lsmod on each system, and seeing what differs
<gchristensen>
I suddenly "get" why "$" is a nice operator in haskell.
<mark-willem>
One more thing I found is that systemd seems to lag debug-shell.service
cpennington has joined #nixos
<LnL>
yeah, I miss that in other languages. same with (.)
magnetophon has quit [(Ping timeout: 240 seconds)]
<MoreTea>
gchristensen, true, but those nice operators make it harder for beginners to start with nixlang.
<mark-willem>
clever: Done that for installation USB boot and the present profile. Blacklisted the modules in two blocks, but resulted in no result. So my guess is now that a system specific module is causing the problem
orivej has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
acarrico has joined #nixos
filterfish__ has quit [(Remote host closed the connection)]
filterfish has joined #nixos
Piece_Maker has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] georgewhewell opened pull request #25760: fwup: init at 0.14.2 (master...fwup) https://git.io/v9Qic
NixOS_GitHub has left #nixos []
Acou_Bass has quit [(Ping timeout: 260 seconds)]
Piece_Maker is now known as Acou_Bass
mudri has quit [(Ping timeout: 258 seconds)]
filterfish has quit [(Ping timeout: 260 seconds)]
magnetophon has joined #nixos
<mark-willem>
Is there a way to monitor the shutdown in more detail. Can one change the output level of systemd to the screen
<manveru>
my current issue with 17.03 is that once i suspend, sometimes it turns off USB :(
<gchristensen>
why is builtins.seq named seq?
<MichaelRaskin>
I guess it sequentially evaluates for side effects.
<clever>
mark-willem: about all i can think of is a serial console, which requires a non-usb serial port
<MichaelRaskin>
I think modern kernels have network dmesg support, too
<clever>
oh yeah, but the nic may be shut off mid way thru the shutdown
<clever>
and cut your logs off
<manveru>
is there a way to use mkDerivation without src?
<clever>
manveru: pkgs.runCommand is probably better suited, depends on what you want to do
<clever>
it can re-run itself as the crash kernel, but it wont do a kdump from that
<clever>
so it will appear to kexec reboot upon crashing
<clever>
i think it will also have less ram on startup, and can manualy kdump the original kernel
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ma27 opened pull request #25761: i3lock-pixeled: init at 1.1.0 (master...new-package/i3lock-pixeled) https://git.io/v9QP0
NixOS_GitHub has left #nixos []
<gchristensen>
clever: if I do (builtins.scopedImport { __nixPath = [ { prefix="nixpkgs"; path="/foo/bar"; } ] ++ __nixPath; } <nixpkgs/nixos/lib/eval-config.nix> {}) will the eval-config be resolved before or after the __nixPath changes?
cpennington has quit [(Remote host closed the connection)]
<clever>
gchristensen: before i think
<clever>
gchristensen: but as MichaelRaskin mentioned earlier, you can also use a let __nixPath = to mutate the search path
<clever>
that would give identical behaviour in both cases, so if /foo/bar is missing, both of them try the next thing in the path
pratch has quit [(Remote host closed the connection)]
apostolis has joined #nixos
<apostolis>
It seems that I need to add a module in my kernel. boot.kernelModules = [ "ath9k" ].
<apostolis>
Will this overrride the modules specified by hardware-configuration?
<obadz>
yes you should just edit the list in that file
<obadz>
hmmm actually no it might just append
<obadz>
but best to edit the file just to be sure
<apostolis>
Well, the file is autogenerated, so I would prefer if I appended to it.
<clever>
apostolis: boot.kernelModules is basicaly just a list of things that get modprobe'd at bootup, so you should be able to test if "modprobe ath9k" fixes things first
marsel has joined #nixos
<obadz>
i believe that, while the file is auto-generated, it's meant to be edited. not sure if everyone agreed?
<gchristensen>
the file says not to edit it, but I do
pratch has joined #nixos
<clever>
it depends on if you plan to use nixos-generate-config to rebuild it or not
<clever>
i usualy just delete it, and embed the contents into configuration.nix
* avn
prefer clean hardware-configuration file to be empty ;)
<apostolis>
Unforturnately, the interface is not present with ifconfig.
<clever>
SplitFire: /bin is an impurity, it might contain a different binary tomorrow, and cause your perfectly working script to not work because somebody updated something else
apostolis has quit [(Quit: WeeChat 1.7.1)]
<MichaelRaskin>
We want upgrades to be reversible
<clever>
SplitFire: and the entire design of nix is to avoid things breaking like that
<SplitFire>
and why I have /bin/sh and not /bin/bash for example?
<MichaelRaskin>
And we want to let different users to choose to be on the different sides of the upgrade
georges-duperon has quit [(Ping timeout: 264 seconds)]
<MichaelRaskin>
Because /bin/sh and /usr/bin/env is hardcoded in _too_ many things
<clever>
SplitFire: the system() function in libc requires a /bin/sh
<MichaelRaskin>
Starting with glibc depending on /bin/sh depending on glibc
<clever>
SplitFire: and you cant just make libc depend on bash, because bash depends on libc, because libc depends on bash, because bash depends on libc, because libc depends on bash, because bash depends on libc, because libc depends on bash ....
<MichaelRaskin>
SplitFire: I mean, you make a package to install your script via Nix
<MichaelRaskin>
patchShebangs is a shell function available during the package installation
<nh2>
LnL: find_library() shells out to `ld`
<MichaelRaskin>
nh2: does it fail if ld is not found? Because Julia does the same, but falls back on LD_LIBRARY_PATH
<LnL>
WAT
<nh2>
and of course it fails silently: except Exception as e: pass # result will be None
<nh2>
MichaelRaskin: ^
acarrico has joined #nixos
<MichaelRaskin>
Wait, this would ignore LD_LIBRARY_PATH even when ld is present?
<MichaelRaskin>
SplitFire: in reality, NixOS does install /usr/bin/env not just /bin/sh
<nh2>
MichaelRaskin: I don't understand that question
johnsonav has joined #nixos
<MichaelRaskin>
So if you want to keep your script in a VCS, you can just use «#! /usr/bin/env bash» which is expected to work everywhere
<nh2>
MichaelRaskin: Python 3.6 uses `ld` to look up whether a library like `m` is present in LD_LIBRARY_PATH. I don't know if that answers your question
* ToxicFrog
tries to figure out how to buildPythonPackage
<MichaelRaskin>
nh2: find_library is supposed to fail for everything not accessible via LD_LIBRARY_PATH
<clever>
MichaelRaskin: i dont think the nix build sandbox has /usr/bin/env
<MichaelRaskin>
From Nix point of view
<MichaelRaskin>
clever: nix build sandbox doesn't
<MichaelRaskin>
clever: but SplitFire has a script to run from a user shell anyway
<SplitFire>
I have build scripts fot openelec
bennofs has joined #nixos
<SplitFire>
I dont want to batch process every file :)
<SplitFire>
on github nixos issues page recommends using #!/usr/bin/env bash
<clever>
SplitFire: patchShebangs must be ran on a directory, and it will get every file in it for you
<ToxicFrog>
But I get "value is a function when a set was expected" with no further information, not even a line number
<clever>
SplitFire: and the fixupPhase automaticaly finds all "#!/usr/bin/env bash" in $out/bin and patches it to "#!/nix/store/hash-bash/bin/bash" for you
<SplitFire>
clever, but i honestly dont understand how to invocate that script :)
<clever>
SplitFire: that script it sourced by setup.sh in the stdenv, so you can just "patchShebangs ." to patch every script in the current dir
<clever>
it must be done by a nix expression, not by hand
<nh2>
MichaelRaskin: "find_library is supposed to fail for everything not accessible via LD_LIBRARY_PATH" - what makes you come to that conclusion? If it is true, then Python 3.6 has a bug, and you should comment on that bugtracker: https://bugs.python.org/issue9998
<SplitFire>
clever, but i dont want to build nix package
<clever>
SplitFire: then run "nix-shell -p hello" and you should get patchShebangs
<ToxicFrog>
I set propagatedBuildInputs = with python27Packages; [pillow numpy];
<ToxicFrog>
And it dies on this command: gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/nix/store/2r7iirb4h95rnvvf4cns7471gkibnpsv-python2.7-numpy-1.11.3/lib/python2.7/site-packages/numpy/core/include -I/nix/store/83xv5vjqs8qxzdsqs8dmni23wfkbx43a-python-2.7.13/include/python2.7 -c overviewer_core/src/main.c -o build/temp.linux-x86_64-2.7/overviewer_core/src/main.o
<ToxicFrog>
Because it can't find Imaging.h, becuase for some reason only the numpy paths are getting added to the -I, not the pillow paths
<ToxicFrog>
And looking at /nix/store, pillow isn't even getting downloaded/installed
sziszi has quit [(Read error: Connection reset by peer)]
sziszi has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
betaboon has joined #nixos
<ToxicFrog>
Hmm. Ok, it is getting downloaded, it's just called Pillow instead of pillow
acertain has joined #nixos
<MichaelRaskin>
Maybe Pillow uses a top-level subdirectory?
<MichaelRaskin>
Like Pillow/Imaging.h
<bennofs>
how does that even work in python? does python somehow propagate -I flags from dependencies, or is there a standard location where a lib can put headers?
<ToxicFrog>
In this case, it's using setup.py and calls os.path.join(get_python_inc(plat_specific=1), 'Imaging') to get the PIL includes
<ToxicFrog>
And calls `import numpy; numpy.get_include()` to get the numpy include paths
<ToxicFrog>
So the former is failing
<ToxicFrog>
Also, the pillow header files aren't included in the nix pillow package
<ToxicFrog>
So that might be th eproblem!
<clever>
but also keep in mind, nixpkgs uses a non-standard cflags (NIX_CFLAGS_COMPILE) to inject -I's without allowing dumb makefiles the chance to overwrite it
<clever>
and the above code cant append /Imaging/ to those -I paths
georges-duperon has joined #nixos
<MichaelRaskin>
clever: well, if pillow headers do not get installed (and they don't)…
<ToxicFrog>
Yeah, I need to fix that before I can even worry about setup.py being able to find them
<clever>
ah
<betaboon>
is anyone else running into the 4MB-log-limit on travis-ci ?
<NixOS_GitHub>
nixpkgs/release-17.03 22da5d0 Thomas Tuegel: Merge pull request #25692 from ambrop72/kdevelop-shell-1703...
NixOS_GitHub has left #nixos []
derjohn_mob has joined #nixos
sellout- has joined #nixos
moet has quit [(Ping timeout: 260 seconds)]
<alphor>
can't find it in lib/trivial.nix or lists.nix .. is there a cons for lists? putting stuff in singletons and concat feels wasteful
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
bennofs has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
<ToxicFrog>
Does buildPythonPackage discard non-.py files or something? The headers are definitely in the tgz that gets downloaded for Pillow, but they never make it into /nix/store
moet has joined #nixos
<MichaelRaskin>
I think it asks setuptools to install
MarcWeber has joined #nixos
riclima has joined #nixos
kampfschlaefer has joined #nixos
georges-duperon has quit [(Ping timeout: 255 seconds)]
hellrazor has quit [(Read error: Connection reset by peer)]
hellrazor has joined #nixos
darlan has joined #nixos
<obadz>
what do other nixers use for cron/at?
<obadz>
I'd like something that can be edited without root
<obadz>
Maybe it's just cron+at…
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever>
obadz: ive just been using systemd timers in configuration.nix, but that would need root
riclima has joined #nixos
<ToxicFrog>
MichaelRaskin: AIUI that should just do the right thing. Argh.
<obadz>
clever: yes am looking for something a bit more userlevel I guess
<obadz>
maybe that's just services.atd.enable / services.cron.enable
<MarcWeber>
What is requireX = true? Is it supported? Some code is there but I didn't find a usage.
<MarcWeber>
pyautogui requires X when building.
riclima has quit [(Client Quit)]
<clever>
obadz: services.cron.enable will probably work
sigmundv__ has quit [(Ping timeout: 260 seconds)]
georges-duperon has joined #nixos
endformationage has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 260 seconds)]
<obadz>
clever: yes or fcron
sellout- has quit [(Ping timeout: 260 seconds)]
marsel has quit [(Ping timeout: 240 seconds)]
sellout- has joined #nixos
obadz has quit [(Ping timeout: 240 seconds)]
<tilpner>
What's the best way to manage several systemd units myself? Put them into /run/systemd or as root user units with lingering enabled?
<ToxicFrog>
Filed a bug for pillow not including headers.
<ToxicFrog>
In the meantime I guess I could try downloading the source and setting PIL_INCLUDE_DIR ...
eacameron has joined #nixos
<viric>
the new firefox, with kde or gtk3 pieces (whatever that is) works really bad here
<viric>
(nixos 17.03)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] armijnhemel opened pull request #25765: WIP: atril: init at 1.19.0 (master...atril) https://git.io/v9Qbr
NixOS_GitHub has left #nixos []
MarcWeber has quit [(Ping timeout: 260 seconds)]
seagreen has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
ryantrinkle has quit [(Ping timeout: 258 seconds)]
ertes has quit [(Ping timeout: 260 seconds)]
aneeshusa has quit [(Quit: WeeChat 1.7.1)]
oida_ has quit [(Quit: WeeChat 1.7.1)]
amir has quit [(Ping timeout: 260 seconds)]
pie_ has joined #nixos
moet has quit [(Ping timeout: 258 seconds)]
mudri has quit [(Ping timeout: 260 seconds)]
justelex has joined #nixos
Drako365 has joined #nixos
systemfault has joined #nixos
<nh2>
under what circumstances can processes lose their environment?
marsel has joined #nixos
<nh2>
I'm quite sure that glusterd spawns gsyncd, but in the end in htop gsyncd is child of init, and LD_LIBRARY_PATH is not set in its environment even though it is set for glusterd
<MichaelRaskin>
Well, they can intentionally reset the environment
roygbiv has joined #nixos
<nh2>
MichaelRaskin: but can they do so without explicitly using one of the `exec*e()` style functions?
<MichaelRaskin>
Well, it is impossible to execute another executable without execve syscall
<MichaelRaskin>
(strace should show clone+execve)
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
Drako365 has quit [(Ping timeout: 240 seconds)]
<avn>
MichaelRaskin: if you not implement own elf loader ;)
<MichaelRaskin>
Well, you could do better
<MichaelRaskin>
You could just do a creative use of dlopen/dlsym
joelpet has quit [(Remote host closed the connection)]
blogle has joined #nixos
Itkovian has joined #nixos
<blogle>
just tried to rebuild one of my nix environments and ran into this: "curl: (22) The requested URL returned error: 404 error: cannot download nvidia from any mirror"
<blogle>
how in the world do I fix it?
amir has joined #nixos
<dfranke>
blogle: I just ran into that the other day. Hang on...
<dfranke>
It's already fixed in master but apparently hasn't been ported to 17.03.
<blogle>
I see, it seems to me that its just a dead url. is there a way I can patch locally?
<dfranke>
Yeah, the workaround is to get the file and then add it the store using nix-prefetch-url.
<dfranke>
Run that and then just run your build again and it should work
<blogle>
thanks, going to give it a go now
justelex has joined #nixos
<blogle>
Cudatoolkit is now building so looks like a success!
sdll has joined #nixos
<dfranke>
blogl: btw, looks like vcunat ported the fix to 17.03 yesterday, so it should resolve itself the next time the channel updates
<blogle>
dfranke: thanks for the help!
roygbiv has left #nixos ["™"]
<nh2>
MichaelRaskin: ah, I see what happened. I deployed with nixops, but the gluster process didn't want to shut down when systemd told it to, and systemd didn't kill it. It kept running with the old environment. `systemctl kill -s SIGKILL glusterd.service` did the trick
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
georges-duperon has quit [(Ping timeout: 240 seconds)]
<fresheyeball>
when starting glxgears (and other apps)
<seanparsons>
I tried bashburn and that looked like it was mangling the command line options to xorriso, so this was a bit of a failed attempt all round.
<tilpner>
I can't figure out how to do that. I considered putting them into /run/systemd, but that's a tmpfs, having them as root user units, but those can't depend on system units
<simpson>
fresheyeball: Your GPU crashed and you got lucky that the driver kept your system from locking up.
georges-duperon has joined #nixos
<fresheyeball>
simpson: I don't know how to reason about that. What does that mean? I need new hardware?
<fresheyeball>
Can I restart my gpu?
<simpson>
fresheyeball: Oh, this happens reliably? dmesg indicates that a crash log was written; I think that you could send that in to nVidia.
<MichaelRaskin>
Well, it restarts on reboot. Not sure about less invasive options
ryantrinkle has joined #nixos
riclima has joined #nixos
spinus has left #nixos []
<fresheyeball>
simpson: it does, it just kind of happens after a few hours (3-20 hours)
<simpson>
fresheyeball: Yep, nothing more that we can do here, sorry. This is the wages of unfree drivers.
riclima has quit [(Client Quit)]
<MichaelRaskin>
Is your card supported by nouveau, by the way?
mudri has joined #nixos
riclima has joined #nixos
<fresheyeball>
MichaelRaskin: not sure, I just thought the nvidia driver would be best
<fresheyeball>
I remember I tried nouveau back when this box was ubuntu
<fresheyeball>
and it worked, but games didn't work
betaboon has joined #nixos
Fare has quit [(Ping timeout: 240 seconds)]
<nh2>
fresheyeball: graphics drivers are bad; you can pick between open-source low-quality drivers that don't work, closed-source high-quality drivers that sometimes don't work, and working drivers that work but which power weak hardware. You can only wish for something better to appear eventually
<MichaelRaskin>
nh2: you are describing the situation wrong. The choice is between drivers written by people not sure how GPU works (because it is secret) and drivers written by people not sure how kernel works (because most of NVidia proprietary driver is shared between Linux and Windows)
arcetera has joined #nixos
Gravious has joined #nixos
<Gravious>
Hi
<Gravious>
is it strictly requires that all new pkgs for nixos must be based from a release?
<gchristensen>
"it depends"
<Gravious>
*required
<Gravious>
on?
<gchristensen>
the package and what the releases look like
<MichaelRaskin>
Can you provide a good reason why package an unreleased version of this specific package?
<Gravious>
in this case because i fixed this pkg's build system to be more nix friendly :)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
which package?
<arcetera>
has anyone set up some form of arduino/embedded development on nixos without use of the arduino ide?
<MichaelRaskin>
For example: if upstream just doesn't get the idea of «release» and never does them, but has a good reputation about never breaking master, it is one situation…
<nh2>
MichaelRaskin: I agree with the first part, but not sure about the second. Surely nvidia has a team of competent people by now to write their diver
<arcetera>
looked into platformio etc but it's both out of date, depends on downloaded binary packages, and just seems to be acting strange
<Gravious>
i could probably ask them nicely to make a new release, but i wondered if this is actually required
<clever>
arcetera: heh, i was just thinking about getting back into some avr programming
<gchristensen>
Gravious: we would much prefer a release
<Gravious>
gchristensen, okay
<arcetera>
the arduino ide itself works fine, but only so long as you never update boards through the ide (as it downloads the avr toolchain as a binary...)
<clever>
pkgs/development/misc/avr-gcc-with-avr-libc/default.nix: description = "AVR development environment including binutils, avr-gcc and avr-libc";
<MichaelRaskin>
nh2: but most of the driver is shared between OSes so it has to be unsure about OS expectations. Qualified kernel people only work on the compatibility part, because NVidia wants to be able to claim that most of the code is not derivative on Linux kernel in any wya
pie_ has quit [(Ping timeout: 260 seconds)]
<clever>
arcetera: this looks important
<gchristensen>
but it depends :) and sometimes it is okay too use a release + a set of patches with a comment of "remove these patches after next release"
<arcetera>
clever: i'm aware and have it installed
<MichaelRaskin>
arcetera: avr-gcc and avrdude worked last when I tried
<arcetera>
platformio doesn't seem to have an option to point it somewhere else
<arcetera>
i know, i'd just prefer not to go that "raw" per se
<arcetera>
at least have a makefile or some sort of build system
<arcetera>
where do i actually learn how to package and update stuff for nix/nixos? most of the documentation seems to be on the "outdated" wikimedia wiki, and the only reference i've found for the language has been in a general purpose context
<arcetera>
kinda feels like i'm firing shots into the dark
Itkovian has joined #nixos
<MichaelRaskin>
There is a dropdown on NixOS.org
<MichaelRaskin>
You want to look at Nix page and NixPkgs page
<tilpner>
arcetera - Looking at nixpkgs for examples is really helpful
<clever>
gchristensen: until we see an answer to post #4, there isnt much we can do
<MichaelRaskin>
Well, he wrote to make sure someone writes #4 !
<gchristensen>
clever: MichaelRaskin posted that :)
<gchristensen>
MichaelRaskin: thank you!
darlan has quit [(Remote host closed the connection)]
<clever>
ah
arcetera has quit [(Ping timeout: 260 seconds)]
<dash>
LnL: maybe wikis were just a mistake
moet has joined #nixos
mpcsh has joined #nixos
Elizaaa has quit [(Quit: Connection closed for inactivity)]
<mpcsh>
hey all, new to the community, curious about nixos. quick question: is it rolling release?
<domenkozar>
it's both
<gchristensen>
LnL: I have no idea, my inclination is to let a hundred flowers bloom and settle in on something if a "best one" becomes clear
<mpcsh>
domenkozar: could you explain a little more?
<dash>
mpcsh: there are stable releases, but you can follow current updates as well
<dash>
mpcsh: similar to debian stable vs debian sid
<gchristensen>
mpcsh: welcome to the community :D you can pick a stable release (which receives updates for 6mo) or choose to follow "nixos-unstable" if you want rolling release (it is fairly well tested, though, so unnlikely to break something.)
<mpcsh>
nice, so it's possible to be rolling release?
<LnL>
just wondering since I noticed some outdated stuff
<dash>
mpcsh: the "unstable" release is whatever version of the packages tree that has most recently passed all tests
<mpcsh>
dash: lovely, thank you
<mpcsh>
I have to say nix has really piqued my interest, this seems really cool
<dash>
mpcsh: if you're crazy you can run directly from git master but you will not benefit from the binary cache as much. :)
<dash>
(also stuff may break all the time ;)
<mpcsh>
dash: yeah no idt that sounds smart. I just really love arch, and would want a similar release model
<sdll>
Team, could you please tell me how I can imperatively declare to install packages from the main nixos package database and from nixpkg in configuration.nix?
<sdll>
Thus, it would be great to have some packages installed from the nixpkg db, and some from nixos
<MichaelRaskin>
mpcsh: note that rolling back a bad upgrade has a near-zero chance to be easy in some distros, and 19 out of 20 in NixOS, so you can take more risks
<MichaelRaskin>
And this doesn't include the cases where an upgrade fails to build a complete configuration, these just fail without creating any problems except HDD consumption
<dash>
sdll: you want package definitions from different channels?
<MichaelRaskin>
sdll: note that nixos-unstable and nixpkgs-unstable are usually just a few … well, OK, days apart
<MichaelRaskin>
But in principle you can have multiple repository checkouts or multiple channels and take packages from them
<MichaelRaskin>
For example, you can explicitly import
betaboon has quit [(Quit: This computer has gone to sleep)]
jmeredith has quit [(Quit: Connection closed for inactivity)]
<mpcsh>
gchristensen MichaelRaskin thanks for the info earlier, was afk for a while :)
ertes has quit [(Ping timeout: 264 seconds)]
sellout- has joined #nixos
ertes has joined #nixos
<gchristensen>
you're welcome
johnsonav has joined #nixos
<gchristensen>
again, welcome to the community :)
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Fare has quit [(Ping timeout: 260 seconds)]
Jackneilll has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] periklis opened pull request #25769: Fix #25723: Remove old GNU libstdc++ for qtbase (master...topic_fix_qt58_qtbase_stl) https://git.io/v97kB
NixOS_GitHub has left #nixos []
simendsjo has joined #nixos
riclima has joined #nixos
matthewbauer has joined #nixos
* Gravious
ran nix-collect-garbage by accident ;.;
Guest92746 has quit [(Remote host closed the connection)]
<MichaelRaskin>
Well, things that have explicit references to them, including nix-build -o, should not have suffered
<Gravious>
:)
Raimondi has joined #nixos
marsel has quit [(Ping timeout: 258 seconds)]
MarcWeber has joined #nixos
mojjo has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
yenzenz has joined #nixos
jensens has quit [(Ping timeout: 258 seconds)]
Fare has joined #nixos
georges-duperon has quit [(Ping timeout: 255 seconds)]
yenzenz has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] m3tti opened pull request #25770: nodePackages.lumo-cljs: init at 1.5.0 (master...lumo-cljs) https://git.io/v97LL
NixOS_GitHub has left #nixos []
matthewbauer has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
m3tti has quit [(Ping timeout: 240 seconds)]
hiratara has joined #nixos
simukis_ has joined #nixos
johnramsden has joined #nixos
chakerbenhamed has quit [(Ping timeout: 255 seconds)]
bennofs has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
yenzenz has joined #nixos
sdll has joined #nixos
<sdll>
Team, strangely enough, in my nixos-unstable instance ~/.bashrc is not sourced
<sdll>
And shellInit does not work
Wizek_ has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<sdll>
Could you please tell me what the root of the problem might be?
<sdll>
In shellInit I explicitly source ~/.bashrc, to no avail
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever>
sdll: programs.bash.shellInit winds up in /etc/profile
<clever>
sdll: and there is also the difference between normal shells and login shells to keep in mind
<sdll>
So how can I make bash source ~/.bashrc?
Fare has quit [(Ping timeout: 240 seconds)]
<clever>
sdll: id check first to see if .profile or .bashrc is being ran
<sdll>
How can I do that?
<sdll>
They do not seem to run at all
<clever>
put an echo statement in each
georges-duperon has joined #nixos
<sdll>
right, so .bashrc indeed runs, but it does not set "set -o emacs"
<clever>
sdll: in my machine, xterm's shell runs .bashrc
<sdll>
Same
<clever>
sdll: try putting a set -x in .bashrc
<sdll>
Before "set -o emacs"?
<sdll>
What does it do?
<clever>
yeah
<clever>
it makes bash print every command it runs
moet has quit [(Ping timeout: 255 seconds)]
chakerbenhamed has joined #nixos
<sdll>
It runs set -o emacs several times (from all the places I have put the command)
<sdll>
However it still does not work
<clever>
does it work if you manualy run that in a shell?
<sdll>
Yes
<clever>
strange
phreedom has quit [(Ping timeout: 240 seconds)]
<clever>
and no other conflicting set's show up afterwards?
<sdll>
It seems no, since set -o emacs executes, as shown on restarting xterm, the one before last
<clever>
cant think of anything else that would be doing that
<sdll>
Thank you very much, clever
<sdll>
clever, do you have your configuration.nix published anywhere?
<Gravious>
ah, are there any really basic examples on how to use nix-shell as a kind of virtualenv? i think this was something i saw on the wiki but i can't find it anymore
Jackneill has quit [(Read error: Connection reset by peer)]
<clever>
sdll: i have some fragments of it in various gist files
<Gravious>
i'm surprised to find for example that if i request the nixshell with pythonPackages.requests the python interpreter within this shell cannot import requests
Jackneill has joined #nixos
<Gravious>
perhaps i have to write a derivation that depends on requests and invoke the shell on that derivation?
<sdll>
clever, there was a conflicting config in .inputrc
<sdll>
Thank you for your time
<clever>
ah
hiratara has joined #nixos
oida has joined #nixos
simendsjo has quit [(Remote host closed the connection)]
Jackneill has quit [(Read error: Connection reset by peer)]
Jackneill has joined #nixos
MarcWeber has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 272 seconds)]
matthewbauer has joined #nixos
moet has joined #nixos
griff_ has quit [(Quit: griff_)]
inflames has joined #nixos
<alphor>
so I've got a python app (and its deps) working with nix-shell locally, and sending it and the archive, it builds, but running it causes import errors.
<dash>
alphor: how are you running it?
<alphor>
dash: I've tried putting it in env.syspackages, and in a service file. both error out.
<alphor>
sorry, running it on a remote nixos machine.
<dash>
pastebin the expression you used to build it?