<clever>
and we already confirmed, only systemPackages was at play
<Infinisil>
Ohh yeah
dalaing_ has joined #nixos
dalaing_ has quit [(Remote host closed the connection)]
ryanartecona has joined #nixos
<Infinisil>
clever: Hmm.. Okay I guess the priority makes sense when you think about it..
<clever>
yeah, people will expect things they install as root to be available to everybody
<clever>
so nix has to provide that "feature"
dalaing_ has joined #nixos
<Infinisil>
And I just learned about the --referrers option of nix-store, used it to track down where rust came from
<Infinisil>
Wait
<clever>
i usually nix-store --query --roots and --query --graph
<clever>
and -qR
<Infinisil>
Oh it outputs a dot graph, fancy
<clever>
oh oops, meant to say --query --tree
<clever>
but both work
acarrico has joined #nixos
erictapen has joined #nixos
MP2E has quit [(Quit: off home from work!)]
thc202 has quit [(Ping timeout: 258 seconds)]
GetalMear has quit [(Ping timeout: 260 seconds)]
orivej has joined #nixos
eacameron has joined #nixos
<Infinisil>
Oh another question: In man nix-shell, it documents the verbosity levels. The default is 1 and it can be increased with multiple -v's, but how can I get level 0?
<clever>
i think it defaults to 0
<clever>
so just none
<clever>
oh
<clever>
let me check the sources
JagaJaga has joined #nixos
<Infinisil>
Well man says default is 1
<clever>
yeah, just noticed that
erictapen has quit [(Ping timeout: 240 seconds)]
<clever>
/home/clever/nix/src/libstore/gc.cc: debug(format("downgrading to read lock on ‘%1%’") % state->fnTempRoots);
<clever>
like, back when i was still getting into linux old, lol
hellrazo1 has joined #nixos
<Infinisil>
Just yesterday I transfered some more files over from macOS, and damn, the design it actually really good, I'm missing it a bit tbh
mellowmaroon has joined #nixos
<Infinisil>
Like all applications are super well designed in a uniform style
<Infinisil>
And the trackpad driver is so much better than what I got now (that I could configure with synaptics maybe, would be hard to get the same behaviour as on mac though)
ebzzry has quit [(Ping timeout: 240 seconds)]
<Infinisil>
If I want a nice looking linux I have to configure the hell out of it, takes so long
<clever>
ive heard that the macs have crazy power saving features, and that linux has worse battery life on the same hardware
<Infinisil>
clever: Sadly true..
<mellowmaroon>
clever: I tried running that nix-build for rustc, but it says it can't find default.nix
aneeshusa has joined #nixos
<gchristensen>
clever: owning the entire stack lets them optimize like crazy
<Infinisil>
mellowmaroon: Then you don't have the default.nix file? Where did you put the expression?
<clever>
mellowmaroon: you may need to pass it '<nixpkgs>' and setup the overlay in your ~/.config/nixpkgs/config.nix
<clever>
gchristensen: yeah
<mellowmaroon>
ah ok
noobly has joined #nixos
<Infinisil>
clever gchristensen: Safari is especially good on power saving, they also recently introduced Metal (a mac hardware optimized opengl) which now handles the whole graphics stack
ebzzry has joined #nixos
<noobly>
So the other day I was on here and someone mentioned getting vim plugins to work is notoriously difficult in NixOs?
<clever>
noobly: i have them working just fine
<noobly>
Did you have to set them up any differently than you would in a debian like system?
<Infinisil>
noobly: I'm using a stateful nix config for now
<Infinisil>
mellowmaroon: Can you show me the code?
<noobly>
clever: ok, so I went through and pasted that stuff in vim.nix and then pasted the imports line into my config, and to be clear this only came with the plugins "vundle", "vim-nix" "youcompleteme" "Syntastic", right? And if I want more, I simply paste them into there?
<mellowmaroon>
Infinisil: the rust code?
ryanartecona has quit [(Quit: ryanartecona)]
<Infinisil>
mellowmaroon: I mean what's the error? Because like if the compiler is 1.17 this function *must* exist
<clever>
noobly: yeah
<mellowmaroon>
Infinisil: ...it does work when I use the nightly compiler
<noobly>
clever: ok, nice, thanks. How do you so much about nixOS and how do I become a wizard like you?
<Infinisil>
clever: Using zfs allow doesn't work for some reason, it gets blocked before that even, "Permission denied the ZFS utilities must be run as root."
<clever>
Infinisil: i think the bulk of it relies on +w to this device
<Infinisil>
Yay, I got my keyboard layout integrated with nix now :d
<Infinisil>
:D
jgertm has joined #nixos
roconnor has joined #nixos
ndrei has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fare opened pull request #26947: Update gambit and gerbil (master...master) https://git.io/vQlTB
NixOS_GitHub has left #nixos []
<Fare>
after much sweating, I at last created this PR ^
reinzelmann has joined #nixos
<Infinisil>
Fare: :)
<Infinisil>
Fare: You may want to make a separate branch for that next time
<Infinisil>
I don't actually think there's a benefit to that when only doing a PR, more so when you actually use your fork for more other things
<Fare>
and now, I realize that a lot of languages with source debugging may want the build to happen from $out/ or ${source} so the source code is available with M-.
<Fare>
Infinisil, what do you mean, separate branch? It's already a separate repo.
<Infinisil>
Fare: Usually you'd create a branch called fix-<foo>-<bar> or something on your fork and use that for the PR
<Fare>
OK. And create a branch off of what?
<Infinisil>
Fare: The master of your fork
<Fare>
master? nixos-unstable?
<Fare>
OK.
<Infinisil>
Fare: You can see that on any other PR :P
<Fare>
Has anyone seen MichaelRaskin recently?
<Infinisil>
Don't remember seeing him here recently
jbaum98 has quit [(Quit: Connection closed for inactivity)]
Sonarpulse has quit [(Ping timeout: 240 seconds)]
dmr has joined #nixos
<dmr>
hey folks, i just learned about nixos & am trying it out with vagrant. none of the regular emacs-style terminal line editing stuff seems to work. even 'backspace' seems to be bound to 'move cursor forward' or 'space' or something. is this some kind of difft configuration that lots of nixos people like, or a sign that something else is broken?
zeus_ has joined #nixos
<dmr>
it's entirely possible that i picked some guy's weirdly-cfg'd vm img
<MP2E>
sounds like a missing terminfo, or incorrectly set TERM or XTERM environment variable. Are you using a terminal in X11 or just a tty, and what shell?
<dmr>
host term/shell is rvxt/zsh
<dmr>
guest shell is bash
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] falsifian pushed 1 new commit to master: https://git.io/vQlI6
<MP2E>
host may need to install rxvt.terminfo to systemPackages, which is the official way. However, I actually use urxvt and zsh on 2 nixos computers and when I would ssh into the other one, I would get the exact same breakage, even with the correctly installed terminfo file
<dmr>
maybe host doesn't have /nix/store/badc0deddeadbeef/rxvt.terminfo or something
<MP2E>
couldn't find a proper fix for it so I found a workaround: add 'export XTERM="rxvt-256color"' to the zshrc of the computer used to log in to the server
<dmr>
(it's arch linux)
<MP2E>
suddenly it worked perfectly
<dmr>
presumably that should be whatever my TERM is (rxvt-unicode-256color), not that specific value; trying
<MP2E>
aha, I have rxvt-unicode-256color as well
<MP2E>
from what i can tell the definitions are missing for the unicode version
<MP2E>
so that's why you need to do the awful thing of pretending it's actually rxvt-256color
<MP2E>
but it seems to just work
<MP2E>
i don't know why they're missing now though, they used to be there
alx741 has quit [(Quit: alx741)]
<dmr>
that does work
<dmr>
altho it's not specifically putting it in zshrc tho
<dmr>
i don't think
hellrazor has quit [(Ping timeout: 260 seconds)]
<dmr>
yeah, as i suspected, `TERM=rxvt-256color vagrant ssh` is just as good
<dmr>
thanks man
<MP2E>
no problem, glad it works
<dmr>
now i can actually explore the thing, anyway
hellrazor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] falsifian pushed 1 new commit to master: https://git.io/vQlLk
<NixOS_GitHub>
nixpkgs/master 13ab06b Karn Kallio: kde applications : fix builds by adding missing dependencies...
NixOS_GitHub has left #nixos []
abrar has quit [(Ping timeout: 240 seconds)]
zarkone has joined #nixos
<zarkone>
Hello! I'm using nixops first time and wonder how to use env vars in config files. I have file `default.nix` and `url` param, which I prefer to be taken from env var. Could you point me how to use env vars? thanks!
raunov has quit [(Ping timeout: 260 seconds)]
orivej has quit [(Ping timeout: 260 seconds)]
orivej has joined #nixos
abrar has joined #nixos
ebzzry has joined #nixos
<clever>
zarkone: builtins.getEnv
Fare has quit [(Remote host closed the connection)]
marsel has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
<Infinisil>
clever: Umm, I used nix-instantiate on an expression (without --add-root), but I can't nix-store --delete without --ignore-liveness
<Infinisil>
clever: Neither nix-store -q --roots nor --referrers prints anything, only --referrers-closure, which prints the path itself
zeus_ has quit [(Ping timeout: 246 seconds)]
<clever>
Infinisil: never use ignore liveness
<clever>
Infinisil: it can also check env variables and many other places for liveness
<Infinisil>
clever: Also the original gist works now...
<Infinisil>
I should just stay away from state, it doesn't do good
nslqqq has joined #nixos
[0x4A6F] has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
<Infinisil>
clever: Oh and regarding a serial interface, @fredizzimo is working on his fork to add just that, currently it's not supported https://github.com/fredizzimo/qmk_firmware
<Infinisil>
I mean yeah it doesn't make sense, but somewhere it's detecting I used read because it fails instantly
<clever>
Infinisil: stdin is connected to /dev/null, try checking "ls -l /proc/self/fd"
<Infinisil>
Hmm...
<Infinisil>
I'd need to change nix itself then
<clever>
why?
<clever>
asking for the pw on stdin?
<Infinisil>
Yeah
<clever>
that would be an impurity, and nix doesnt allow them
indi_ has quit [(Remote host closed the connection)]
<clever>
the only way you can make it work is by turning off the sandbox and just reading from /home/foo/bar, but the password will still be in the .hex in $out
<clever>
so your never going to have it secure
<Infinisil>
I'm trying to think of how a function that gets a password and returns an encrypted derivation
indi_ has joined #nixos
<Infinisil>
could work
<Infinisil>
Probably needs to be builtin
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
ambro718 has joined #nixos
marsel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vQlsE
<NixOS_GitHub>
nixpkgs/master da012dd Profpatsch: adbfs-rootless: init at 2016-10-02
<NixOS_GitHub>
nixpkgs/master fa68544 Jörg Thalheim: adbfs-rootless: limit platform to linux
<douglass>
Hi all. What is the recommended way to to make an include directory of C++ header files available inside an environment that is created with nix-shell? The library is specified under buildInputs inside the environment's nix expression. Currently I am setting the CPATH environment variable to point toward the include directory inside shellHook, but I am wondering whether this is the proper way to do this with Nix.
roconnor has quit [(Ping timeout: 276 seconds)]
mudri has joined #nixos
ThatDocsLady has joined #nixos
mmmrrr has joined #nixos
mmmrrr has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
turion has joined #nixos
ertes-w has joined #nixos
<turion>
Can I configure nixos to have a separate boot partition?
<turion>
i.e. a boot partition, a / partition and a /home partition?
<turion>
(Basically, I already have those partitions and don't know how to change them, so I'd rather reuse them)
<raunov>
turion: check /etx/nixos/hardware-configuration.nix there should be definitions for partitions
<taeradan_>
turion: if you have not yet installed nixos, the easiest way is to mount them juste after mounting /mnt in the installation process, then nixos-generate-config will include them in hardware-configuration.nix
<turion>
I have it installed on a tiny harddrive and want to install it on my bigger one (in order to make it the builtin
Thra11 has quit [(Read error: Connection reset by peer)]
taeradan_ is now known as taeradan
Thra11 has joined #nixos
<turion>
So I'm thinking of just keeping the config and changing the partition definitions slightly
orivej has quit [(Ping timeout: 260 seconds)]
<turion>
Well I guess what I was proposing wasn't that clever... from my former Gentoo installation, I have a 1GB boot partition containing just kernels, a 100 GB system partition and a 899 GB home partition
<taeradan>
I think that actuelly if you mount the partitions within your installed NixOS and do nixos-generate-config, it will also include the mountpoints in hardware-configuration.nix (juste make a backup of this file before, just in case)
<turion>
ah ok
mmmrrr has joined #nixos
<taeradan>
what I recommend (and do on all my NixOS machines) is to make/etc/nixos a Git repo
<taeradan>
this way you can play with such commands without taking too much risk
orivej has joined #nixos
<turion>
taeradan, but then root commits to that repo? So it's an offline repo? (Or is it safe to use git online as root?)
snikkers has joined #nixos
<adisbladis>
taeradan: I do the same with nixpkgs as a submodule, so all my system states are version pinned
<adisbladis>
If you revert to a commit you get that same nixpkgs commit sha too :>
<adisbladis>
turion: It doesn't matter which user who commits. Just push to a remote as another user
<turion>
adisbladis: Ah, I didn't know that's possible. I thought if you push you have to have write access
<turion>
(to the local repo)
<taeradan>
turion: just add your root public ssh key to the git repo you are using and set the comiter's name in the local repo, and from the external world only this name will appear
<turion>
taeradan, yes, I was just wondering whether it's unsafe to use git online as root, in the same way as it's not recommended to use browsers and so on as root
<adisbladis>
turion: I would not recommend running any internet connected thing as root if you can avoid it
<adisbladis>
turion: Just do "sudo git commit ..." and then "git push"
<turion>
Yes, that sounds good
<goibhniu>
you can also symlink /etc/nixos/configuration.nix to e.g. ~/.config/nixos/configuration.nix
<turion>
Yes, that feels even better...
JagaJaga has joined #nixos
<goibhniu>
nix will figure out paths relative to that too ... which is nice
snikkers has quit [(Quit: Lost terminal)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
<taeradan>
or chown the whole directory if you have multiple files (I have usually 3 or 4 files + 2 git submodules containing templates that I share accross my computers)
<goibhniu>
e.g. if you import ~/.config/nixos/base.nix ... you don't need to also symlink it to /etc/nixos/base.nix ... if that makes sense
Thra11 has quit [(Remote host closed the connection)]
Thra11 has joined #nixos
mpcsh has joined #nixos
aminechikhaoui has joined #nixos
aminechikhaoui has quit [(Client Quit)]
aminechikhaoui has joined #nixos
<turion>
Configuring nixos seems like a great pastime ;)
simukis has joined #nixos
<taeradan>
you're right, but the result can be great (like having all my computers sharing the same configuration, with some flags to activate specific parts like multimedia/development/etc...)
<turion>
Yes, absolutely
<taeradan>
add some Makefile in /etc/nixos to automagically update git submodules and channels, apply the changes, and run the garbage collector, and it becomes smooth
<turion>
The thought of just putting my current config there and just running nixos-install to get the same system again rewards me for so many hours of painfully trying to remember how I set up the last Arch/Gentoo/whatever installation
<taeradan>
my update process : 'cd /etc/nixos && sudo make'
<adisbladis>
I would skip garbage collecting too often :)
<adisbladis>
I do "nix-env -p ..." quite a bit
<adisbladis>
So not collecting the cache is useful
<turion>
As long as the disk space allows it there is no problem with leaving the local cache around, right?
<adisbladis>
turion: Nope, you can leave it around
<taeradan>
I started using gc a lot after my hard drive became full often during NixOS updates
<adisbladis>
taeradan: How much disk space do you have?
<taeradan>
80GB
<adisbladis>
Ah, that's understandable then
<taeradan>
(/home is in another partition)
<taeradan>
so basically 80GB is only for /nix/store and some logs in /var
apeyroux has quit [(Quit: Lost terminal)]
apeyroux has joined #nixos
<taeradan>
but when a critical system lib is updated, as a huge number of packages are recompiled, the whole update is often big
mudri has quit [(Ping timeout: 260 seconds)]
GetalMear has joined #nixos
<GetalMear>
Question: Where is pkgs.python27Packages.uritemplate defined? I can only see it in propagatedBuildInputs of various other packages, but it's apparently defined nowhere.
vaibhavsagar has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
<FRidh>
GetalMear: git grep uritemplate
Thra11 has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 276 seconds)]
Thra11 has joined #nixos
JagaJaga has quit [(Ping timeout: 240 seconds)]
Acou_Bass has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
<GetalMear>
FRidh: Does using the GitHub search count? Because that turned up nothing but commits which have since been superseded.
<turion>
I'm not sure how to set boot.loader.grub.device. Right now, it's set to /dev/sda, where my current internal disk is. The new disk, where I want to install nixos, is external, so right now it's /dev/sdb. But when I reboot, I want to make the new disk the internal one, and then it'll be /dev/sdb
<turion>
Sorry, then it'll be /dev/sda!
<turion>
So as soon as I boot into the new system, the config is incorrect
<turion>
Is this a problem or should I just put /dev/sdb and change it after the first boot?
Thra11 has quit [(Remote host closed the connection)]
Thra11 has joined #nixos
Thra11 has quit [(Read error: Connection reset by peer)]
<FRidh>
GetalMear: GH search isn't really good actually
Thra11 has joined #nixos
erictapen has quit [(Ping timeout: 246 seconds)]
<adisbladis>
turion: Just change it to /dev/disk/by-path/ ??
<adisbladis>
Or something like that which will be persistent
<adisbladis>
turion: by-id is probably better
<pietranera>
Hello, I would like to install python36packages.virtualenv but the buld fails because the test of some build inputs fail. Is there a way to tell nix-env to install a package but not run the tests (from the command line)?
<turion>
adisbladis: That would be good, but I think both by-path and by-id change when you connect differently
<adisbladis>
turion: by-id won't
<adisbladis>
turion: Mine is ata-INTEL_SSDSC2BW480A3L_CVCV316405HA480DGN for example, which is disk model/serial number
noobly has quit [(Ping timeout: 260 seconds)]
<turion>
adisbladis: But the "ata" bit will change
<turion>
For example, my external drive starts with usb-Mass-Storage-Device instead of ata
<adisbladis>
turion: Iirc that's an identifier the disk tells the OS
<adisbladis>
turion: For example my external usb disk is also ata-...
<adisbladis>
turion: Maybe your usb controller masking which disk it actually is?
ertesx-w has joined #nixos
siel has quit [(Ping timeout: 258 seconds)]
siel has joined #nixos
<adisbladis>
turion: Anyway. You should be able to use /dev/sdb, install grub to that disk, boot up nix and change the boot.loader.grub.device line
<adisbladis>
turion: That line controls what "grub-install" does
<turion>
adisbladis: Ah thanks, I guess that explains it: by-id includes the controller subsystem, in my case usb mass storage != ata
ertes-w has quit [(Read error: Connection reset by peer)]
ertesx-w is now known as ertes-w
magnetophon1 has quit [(Ping timeout: 276 seconds)]
<turion>
ok, great! I'll do it like that then
douglass has quit [(Quit: ERC Version 5.3 (IRC client for Emacs))]
erictapen has joined #nixos
turion has quit [(Read error: Connection reset by peer)]
cpennington has joined #nixos
<mmmrrr>
On NixOS (17.03), using gnome3/gdm, I cannot configure mysql.service. When it is enabled the system freezes when the display manager should start up after boot. Has anyone an idea on how to get around this?
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
<tilpner>
raunov - Still having a problem with that?
<raunov>
yep
<raunov>
tilpner:
<tilpner>
raunov - What's the error messages, and could you paste the relevant part of your configuration.nix again? (With a few extra lines below and above the relevant section)
<raunov>
i ain't doing it in configuration.nix, im trying to use it in package definition
<raunov>
and error is: somewhy getting: cannot coerce a set to a string
<tilpner>
Oh, but dotfiles-activation is meant to be used as part of the activation script! Are you fine with having to call an extra command that will link your file to the correct place, every time you install/update that package?
k0001 has joined #nixos
iyzsong has joined #nixos
turion has joined #nixos
<gchristensen>
raunov: why do you have a string inside a nix expr inside a string?
peacememories has joined #nixos
<gchristensen>
specifically ${''
<raunov>
tilpner: ok, makes sense to move it to configuration.nix
<raunov>
gchristensen: had issues escaping curly brackets
k0001 has quit [(Ping timeout: 240 seconds)]
<raunov>
as i'm writing terraform config which has them in it
<gchristensen>
sounds like you probably confused an error, because curly brackets can be in strings no problem
<raunov>
weird, cause i had issues with them when using variables ${}
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jfrankenau opened pull request #26963: vaapiIntelG45H264: init at 1.8.2 (master...vaapiIntelG45H264) https://git.io/vQl6E
NixOS_GitHub has left #nixos []
<gchristensen>
anyway, the problem is: I believe in /dotfiles-activation.nix
<gchristensen>
because that is the only place you're passing a set somewhere
magnetophon1 has joined #nixos
<gchristensen>
and you should definitely remove the ${'' / ''} because it is too confusing and isn't needed
<raunov>
gchristensen: okay, well i got it from tilpner and it was working for him used in configuration.nix
<gchristensen>
which part?
<Infinisil>
Damnit, I made a simple PR to a python project but CI failed but all but the latest version, now I gotta fix it but I have no idea about the python environment
<tilpner>
No, I didn't give you the string inside string part
<Infinisil>
manveru: Regarding getting info of a derivation
<tilpner>
raunov - You didn't answer the question. Are you fine with having to call an extra command that will link your file to the correct place, every time you install/update that package? It's fine to do that from a shell alias or your shellrc
<Infinisil>
manveru: You can use nix-store -q --binding <derivation attribute> <derivation path>
<raunov>
in a perfect situation it would nice so the .terraformrc would be correctly created with package install
<raunov>
or from the configuration.nix
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<raunov>
manual extra cmd won't be any good if ur referring to it
<ertes-w>
if a python package doesn't exist in nixpkgs, is writing an expression my only option? is there something like haskellPackages for python?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rbvermaa pushed 1 new commit to release-17.03: https://git.io/vQlPt
<NixOS_GitHub>
nixpkgs/release-17.03 26d750e Rob Vermaas: Make cron build.
NixOS_GitHub has left #nixos []
<Infinisil>
ertes-w: nix-env -iA nixos.pypi2nix
JagaJaga has joined #nixos
mmmrrr has quit [(Ping timeout: 268 seconds)]
<tilpner>
raunov - The common solution to this (a package requiring extra config) is a NixOS module. It can't be used on non-NixOS systems, but it would it would install the package and activationScript by just putting programs.terraform.enable = true; in your configuration.ni
andymandias has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
astsmtl has quit [(Ping timeout: 258 seconds)]
<Infinisil>
manveru: Ohhh sorry, I read .drv files
<manveru>
:)
andymandias has joined #nixos
<Infinisil>
manveru: But wouldn't it be better to go from nix -> .env?
<Infinisil>
Or is that not possible in your case?
<manveru>
not really, unfortunately
<tilpner>
raunov - But really the best solution would be to make that .terraformrc unnecessary. Patch the default config, create a wrapper that passes a command-line argument pointing to a /nix/store config, etc.
<turion>
I just finished installing. When entering the root password, I mistyped. How can I enter the correct root password without running the whole installation again? (I know, the files won't be copied again, but it still needs to completely evaluate the config, which takes a long time on my crappy machine)
ThatDocsLady is now known as ThatDocsLady_afk
<raunov>
for the last thing, is there a way how to search store for a file ?
<tilpner>
Something like $ chroot /mnt; passwd root could work
eacameron has joined #nixos
<tilpner>
Unless you made that immutable, maybe
<tilpner>
raunov - I always just use "find"
JagaJaga has quit [(Ping timeout: 246 seconds)]
<raunov>
tilpner: i mean in package definition
reinzelmann has quit [(Quit: Leaving)]
<raunov>
something similar like ${lib.getLib
erictapen has quit [(Ping timeout: 260 seconds)]
<tilpner>
Uh oh, that sounds like a workaround. What do you want to do?
Thra11 has quit [(Remote host closed the connection)]
Thra11 has joined #nixos
eacameron has quit [(Ping timeout: 276 seconds)]
<raunov>
ok, nvm will try another way :)
Neo-- has quit [(Remote host closed the connection)]
<raunov>
thought there's some easy way for that
Neo-- has joined #nixos
<FRidh>
ertes-w: you can't always use the "url api" with .whl
<FRidh>
its not supported by pypi
<ertes-w>
yeah, i found a different package that does what i need, which comes with a regular .tar.gz
<ertes-w>
can't say that i know what i'm doing, but it works
<turion>
tilpner: Ah good idea, but it says "chroot: der Befehl „/run/current-system/sw/bin/bash“ konnte nicht ausgeführt werden: No such file or directory"
<turion>
Wait... is that a bug in the chroot config maybe?
<tilpner>
Uhh, I don't know. It's probably easiest to just run nixos-install again, that way you don't need to figure out why this doesn't work
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/vQlS9
<NixOS_GitHub>
nixpkgs/master 6b35f22 Tim Steinbach: linux: 4.4.74 -> 4.4.75
<NixOS_GitHub>
nixpkgs/master d1aff8d Tim Steinbach: linux: 4.9.34 -> 4.9.35...
<NixOS_GitHub>
nixpkgs/master 37bc494 Tim Steinbach: linux: 4.11.7 -> 4.11.8
sary has quit [(Remote host closed the connection)]
Thra11 has quit [(Remote host closed the connection)]
Thra11 has joined #nixos
sary has joined #nixos
magnetophon1 has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 240 seconds)]
Itkovian_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] roberth opened pull request #26966: elm-github-install: init at 1.0.1 (master...elm-github-install) https://git.io/vQlQp
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
Itkovian has quit [(Ping timeout: 240 seconds)]
peacememories has quit [(Ping timeout: 260 seconds)]
adfaure has joined #nixos
<adfaure>
Hello everyone, I am trying to use nix-env behind a proxy. But settings the variables *_proxy does not work. Someone can someone help me please ? Thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vQl7D
<NixOS_GitHub>
nixpkgs/master 6feedb4 Eelco Dolstra: Forks::Super: Build on Hydra
NixOS_GitHub has left #nixos []
freusque has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to release-17.03: https://git.io/vQl7A
<NixOS_GitHub>
nixpkgs/release-17.03 fc3f38d Eelco Dolstra: Forks::Super: Build on Hydra...
NixOS_GitHub has left #nixos []
freusque has joined #nixos
raunov has quit [(Ping timeout: 260 seconds)]
<S0rin>
Hey, mailutils seems broken on master does anyone seens that problem ?
roconnor has joined #nixos
<S0rin>
I would like to run on 17-03 stable but some version of packages are not up enought so I run master but it break regulary
hke has quit [(Ping timeout: 260 seconds)]
Thra11 has quit [(Remote host closed the connection)]
Thra11 has joined #nixos
freusque has quit [(Ping timeout: 246 seconds)]
turion has joined #nixos
<turion>
Is there a guide anywhere how to set up ecryptfs for nixos?
magnetophon1 has joined #nixos
<Infinisil>
S0rin: I'm trying to compile it now
adfaure has quit [(Ping timeout: 260 seconds)]
<S0rin>
Infinisil: I've did it several time this morning and coreutils fails with -chown: invalid user: 'root:mail'
<S0rin>
instead of reverting mabe it is better to try the other way and override the recipe in a overlay
<Infinisil>
S0rin: Yeah I saw that too, it happens in the check phase, so I think it should work if you do `doCheck = false`
<Infinisil>
Doing that now
<S0rin>
I am coming from gentoo where user overlay are mostly trivial and encouraged and I feel that is is my main grief in nixos
<Infinisil>
S0rin: What's the problem?
<S0rin>
Infinisil: Oh I'll try it now
<S0rin>
Infinisil: I really like to be able to bump/fix/change any package of the distro in a user overlay, and I did not figure it out in nixos
orivej has quit [(Remote host closed the connection)]
<Infinisil>
Oh and the mail user thing is in the build phase, doesn't work, maybe you could try adding that user, make root part of that, then relog and try again with sudo
<ikwildrpepper>
gchristensen: we should add that as an april fools joke
<gchristensen>
>.> "how to alienate all your users in one easy step"
<Infinisil>
gchristensen: Lol
<ikwildrpepper>
gchristensen: or to be nicer to your users, add an opt-in option for it :D
<Infinisil>
What do you think about a user counter? Like a very simple script that tells nixos.org once a week if the system has been used during that time
<gchristensen>
`debconf-set show-me-ads-please true` (or whatever their syntax is)
<LnL>
gchristensen: euh
<LnL>
who thought that was a good idea
<domenkozar>
we can create a non profit for that
<domenkozar>
and feed our children with revenue
<makefu>
or an opt-out addon for chrome and firefox which rewrites amazon affiliate links
<Infinisil>
but only flash ones
freusque has quit [(Ping timeout: 240 seconds)]
<domenkozar>
and round robin algorithm for top 100 contributors?
<domenkozar>
sounds like that bitcoin commit website, but better
<makefu>
or cross-finance typed nix
<Infinisil>
Is it possible to have network access in the checkPhase?
<domenkozar>
nope
<gchristensen>
makefu: we haven't gotten cross-compilation quite right, let's get that before cross-finance ;)
<Infinisil>
domenkozar: :(
<gchristensen>
Infinisil: it is if you're a fixed output derivation, like fetchurl ;)
<gchristensen>
I say, unhelpfully answering the question
<Infinisil>
gchristensen: Well it's a test that fetches google.com
eacameron has quit [(Remote host closed the connection)]
<gchristensen>
it speeds up the rest of the steps, which don't have to do it again, and makes more sensible error messages from xmllint (the line numbers make sense)
<schoppenhauer>
is there any package that provides some full unicode font that also does emojis and stuff?
<niksnut>
gchristensen: sounds good
<gchristensen>
cool, I'll remove jing, and it'll be a big step already towards sensible errors :) thank you!
<gchristensen>
and great catch on it making adding jdk to the system closure
mmmrrr has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
Thra11 has quit [(Ping timeout: 268 seconds)]
bennofs has joined #nixos
spacefrogg has quit [(Quit: Gone.)]
<mmmrrr>
I am trying to build a nix expression for the wire-desktop messanger (https://www.wire.com). I figured it would be best to use the slack expression as a basis. Now everything is installing fine with, I am linking the executable to the bin/ directory, but when I issue the command I always get a "command not found". My question is: why? :) The current state looks like this: https://pastebin.com/KF76uSE1
earldouglas has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 246 seconds)]
earldouglas has joined #nixos
bennofs has joined #nixos
DrWaste has quit [(Quit: Run away!)]
iyzsong has quit [(Quit: bye.)]
spacefrogg has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 3 new commits to master: https://git.io/vQ8q5
<NixOS_GitHub>
nixpkgs/master 78377ae Peter Simons: haskell: fix builds of hledger-iadd, opencv-extra, and logging-facade-syslog
<NixOS_GitHub>
nixpkgs/master 46fe4bd Peter Simons: ghc-syb-utils: disable test suite for GHC 8.x or later...
<NixOS_GitHub>
nixpkgs/master ad6c235 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
magnetophon1 has quit [(Ping timeout: 255 seconds)]
digitus has joined #nixos
<Infinisil>
I just wondered why the variable sha236 wasn't declared...
nh2 has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 276 seconds)]
bennofs has joined #nixos
Neo-- has quit [(Remote host closed the connection)]
<dtzWill>
for just the "command-not-found" that's actually what happens when trying to execute an ELF program that specifies an interpreter not on your system, definitely a bit cryptic at first
<gchristensen>
niksnut: I wasn't sure about adding it to release.nix since it'll build by default, so I made a debugging notice: https://github.com/NixOS/nixpkgs/pull/26940#issuecomment-312013425 do you hate this? should I add the manual-debug output anyway, even though it'll always be built?
<gchristensen>
the manual's default.nix is very inconvenient to build on its own
<mmmrrr>
dtzWill: ah ok - I'll try that :)
earldoug1as has joined #nixos
aneeshusa has joined #nixos
snikkers has quit [(Ping timeout: 240 seconds)]
earldouglas has quit [(Ping timeout: 258 seconds)]
zeus_ has joined #nixos
<mmmrrr>
dtzWill: yey thanks a bunch! It works now! :) Thanks for the pointer.
<dtzWill>
٩(^ᴗ^)۶
<dtzWill>
welcome! :)
magnetophon1 has quit [(Ping timeout: 255 seconds)]
hotfuzz has quit [(Quit: WeeChat 1.7.1)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
ris has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
<ris>
hello humans, how would i go about doing an `args@{...}` pattern which included the applied argument defaults to `args`?
civodul has quit [(Remote host closed the connection)]
earldoug1as is now known as earldouglas
marsel has quit [(Ping timeout: 260 seconds)]
<bennofs>
ris: i don't think there is a way to do that
<ris>
ohhhhhhhhhhhhhh
<sphalerite>
ris: I'm not sure there's a pre-built thing for that unfortunately. You could simply not specify the defaults and instead do ` args: {default1 = value1; ...} // args`
<ris>
yeah ... just ... ugly.
<sphalerite>
use a let-binding to give that a name and use that from there
<sphalerite>
the advantage of how it works, I suppose, is that you can tell apart cases where it fell back to the default from cases where the default was explicitly passed in. Not sure if that's actually helpful in any way though
<bennofs>
when I run a script on nixos that makes repeatedly makes 100 parallel connections to a server i quickly get to a point where even ping does not work anymore. Is there any way to improve this?
ambro718 has joined #nixos
eacameron has joined #nixos
mmmrrr has quit [(Remote host closed the connection)]
bennofs has quit [(Quit: WeeChat 1.8)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQ8n6
<NixOS_GitHub>
nixpkgs/master 10fe275 Vincent Laporte: ocamlPackages.uutf: 1.0.0 -> 1.0.1
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 255 seconds)]
mmmrrr has joined #nixos
jgertm has joined #nixos
magnetophon1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQ8cG
<NixOS_GitHub>
nixpkgs/master 4a60c51 Vincent Laporte: ocamlPackages.uunf: 2.0.0 -> 10.0.0
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
mmmrrr has quit [(Remote host closed the connection)]
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 276 seconds)]
kier has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vQ8CY
<NixOS_GitHub>
nixpkgs/master 52ecd54 Vincent Laporte: ocamlPackages.uuseg: 1.0.0 -> 10.0.0
NixOS_GitHub has left #nixos []
Thra11 has joined #nixos
Thra11 has quit [(Read error: Connection reset by peer)]
eacamero_ has quit [(Ping timeout: 276 seconds)]
eacameron has joined #nixos
Thra11 has joined #nixos
<bennofs[m]>
And the surprising thing is: when I run the same script with Ubuntu 16.04.01 on the same machine, everything works fine!
aneeshusa has quit [(Ping timeout: 276 seconds)]
kier has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
eacameron has joined #nixos
<Turion>
Where can I get a list of all services that I could enable from configuration.nix? Concretely, I want to know where to look if I want to enable and configure gpg-agent
<gchristensen>
Turion: man configuration.nix, or nixos.org/nixos/options.html
<Turion>
gchristensen: Ah great :)
<Turion>
Strangely, nothing related to gpg at all... yet it was started automatically. What started it?
<gchristensen>
probably gpg
<Turion>
systemctl | grep gpg doesn't show anything
<gchristensen>
gpg will start its own agent
mudri has quit [(Ping timeout: 260 seconds)]
<Turion>
How does it do that? What starts gpg?
eacameron has quit [(Ping timeout: 276 seconds)]
<Turion>
Oh you mean whenever I call gpg?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] garbas opened pull request #26970: rust uplift for 17.03 (master...rust-uplift-for-17.03) https://git.io/vQ8lG
NixOS_GitHub has left #nixos []
<gchristensen>
presumably you do, by calling gpg
<Turion>
Ah right well then I may happily kill it without regret ;)
<gchristensen>
I think you need to configuer your own agent in ~/
bennofs has joined #nixos
<Turion>
Right
eacameron has joined #nixos
MoreTea has quit [(Ping timeout: 276 seconds)]
<Turion>
gchristensen, thanks, it works :)
<gchristensen>
great! :)
<catern>
wow
<catern>
peter simons needs to relax
<catern>
re: his complaint about patches being submitted by mailing list
<bennofs>
catern: I think he was just confused. I can understand if you don't like to use GitHub, but using GitHub to create an issue to point to a patch on the ML feels backwards :)
arjen-jonathan has quit [(Ping timeout: 255 seconds)]
Ivanych has quit [(Quit: Leaving.)]
<the-kenny>
I agree, combining both ways is a bit redundant :)
<the-kenny>
Btw. another option would be just throwing the patch into an issue, if you don't want to fork nixpkgs
<catern>
ehhhhh... it seems like something I would do :)
<catern>
the-kenny: that is not an option really, it's the worst of both worlds; submitting patches with email is very easy with git send-email, but creating an issue is not
<catern>
actually
<catern>
I take it back, you can do both things with email
jtojnar has quit [(Quit: jtojnar)]
<catern>
you can submit your patch to the mailing list with email
<catern>
then reply to the github issue from your email
<bennofs>
Is there anything that NixOS configures differently regarding Networking compared to Ubuntu / ArchLinux that could cause packet drops when the network interface is under load?
<Infinisil>
clever: I just needed to print a list a string of an attribute, I ended up using "{${lib.concatMapStringsSep ", " (a: a.name) list}}"
<clever>
ah
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] DanOlivier opened pull request #1427: CMake support (master...CMakeSupport) https://git.io/vQ4eE
NixOS_GitHub has left #nixos []
ris has joined #nixos
<aneeshusa>
Infinisil: I like to use builtins.toJSON, which IIRC also does escaping
apeyroux has quit [(Quit: Lost terminal)]
MP2E has quit [(Quit: brb)]
apeyroux has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
danl1240 has joined #nixos
athan has joined #nixos
<Infinisil>
I'd really like just this:
Filystyn has quit [(Quit: Konversation terminated!)]
<Infinisil>
`nix-instantiate --eval --strict -E 'map (a: a.name) [{ name = "test";} { name = "hi";}]'`
<Infinisil>
[ "test" "hi" ]
<Infinisil>
Wait, doesn't toString do that
<Infinisil>
`nix-instantiate --eval --strict -E 'builtins.toString (map (a: a.name) [{ name = "test";} { name = "hi";}])'`
<Infinisil>
"test hi"
<Infinisil>
nope
<Infinisil>
Eh whatever, I'm having a bigger problem right now, which is that my package I'm still trying to add (scyther) builds correctly on nixos-17.03 but doesn't on master
<Infinisil>
In master I get a python error that a package couldn't be found
<Infinisil>
The thing that doesn't get run automatically in master (which was in 17.03) is some wrapping phase which wraps all executables it can find
ertes has joined #nixos
<Infinisil>
And I need this behaviour back, but I don't know how
<Infinisil>
And I'm still not sure how I could follow the build process exacly, it's very confusing with all these hooks and stuff, and doing unpackPhase configurePhase etc. manually doesn't seem to produce the same results
Guest23060 has quit [(Quit: Lost terminal)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
bennofs has quit [(Ping timeout: 246 seconds)]
bennofs has joined #nixos
orivej has quit [(Ping timeout: 260 seconds)]
<tilpner>
Is there a way to use nixos-config/configuration.nix without <nixpkgs>, <nixos>, or other equivalent path items?
<tilpner>
I'd like to try to manage the nixpkgs version that's used for nixos-rebuild from my nixos-config
alx741 has joined #nixos
<tilpner>
Currently I have nixPath = ["nixpkgs=${stable.path}"], where stable is nixpkgs from fetchgit, but that requires another login to update NIX_PATH
hiratara has quit [(Ping timeout: 276 seconds)]
spinus has joined #nixos
<gchristensen>
tilpner: no, because it will always use the version of nixpkgs from your previous verssion
<Infinisil>
tilpner: You can use the -Inixpkgs=/path/to/nixpkgs I guess, don't know if that's what you want though
mkoenig has joined #nixos
pie_ has quit [(Changing host)]
pie_ has joined #nixos
<Infinisil>
If I have a problem with getting a specific package working when I'm very close to done, can I do a PR and ask for help? Or just an issue? Or what else it there?
hiratara has joined #nixos
<gchristensen>
Infinisil: you can open a PR and ask for help
<gchristensen>
I've done it a few times
<Infinisil>
gchristensen: Ah ok thanks
<Infinisil>
I may just do that then
Decoy_ has joined #nixos
<Decoy_>
Hello folks! Recently converted to NixOS - hoping to get some advice! It seems that whenever I try to open / save a file with Chrome / chromium, the browser crashes. Not sure if this is a KDE thing or something else - has anyone else had this issue, and is there a way around it?
<Decoy_>
I am guessing it is to do with the system file picker
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub>
[nixpkgs] tohl opened pull request #26977: tested on nixos x86_64 (master...master) https://git.io/vQ4Ix
NixOS_GitHub has left #nixos []
<tilpner>
gchristensen, Infinisil - You're right. I think I'll try adding a package that wraps nixos-rebuild with a nixpkgs taken from nixos-config. That would only require extra arguments for the first time setup
justan0theruser has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/vQ4L4
<NixOS_GitHub>
nixpkgs/staging d61c223 John Ericson: Merge accepted cross compilation PRs into staging
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Ping timeout: 260 seconds)]
Fare has joined #nixos
<Fare>
How do I get a list of packages available to nixos-rebuild? I tried nix-env -I $NIX_PATH --query --attr-path --available but it keeps showing packages from an earlier nixpkgs
k0001 has quit [(Remote host closed the connection)]
<Infinisil>
Fare: Did you use sudo?
<gchristensen>
tilpner: well you can set NIX_PATH=nixpkgs=/path/on/disk/to/nixpkgs for nixos-rebuild and it'll use that
k0001 has joined #nixos
<tilpner>
gchristensen - But I don't want any moving pieces. It'd be better to have that nixpkgs maintained by Nix as well, no?
<gchristensen>
tilpner: "don't want any moving pieces" <- means you can't move forward
<tilpner>
I'm fine with having to update the fetchgit arguments from time to time, if that's what you mean
<Infinisil>
tilpner: Well if you use channels you only update when you tell it to I think
riclima has joined #nixos
earldouglas has quit [(Quit: leaving)]
<Infinisil>
tilpner: I'm pretty sure you just want the channels
<Infinisil>
While it's not managed with nix expressions, it's still managed with nix
<Fare>
Infinisil, should I use sudo for that?
<Infinisil>
And if you want to do it truly yourself you could add the channels git repo
<Infinisil>
Fare: Yeah, since you need sudo nixos-rebuild, nix is handled separately for all users
<Fare>
I tried as root, with the same results: nix-env sees an ancient view of the nixpkgs, not the same thing seen by nixos-rebuild (which I specified in $NIX_PATH)
fresheyeball has joined #nixos
<gchristensen>
Fare: sorry, what exactly are you looking for?
<joepie91>
tilpner: are you trying to install things from master, or?
<Fare>
I want an up-to-date list of packages potentially installed in my configuration.nix
<Fare>
I tried this, but it's not up-to-date: nix-env -I $NIX_PATH --query --attr-path --available
<tilpner>
Infinisil - I don't strictly need it, and what I have is working, it just needs a logout/login, which is annoying. I went from channels to local nixpkgs because I wanted more control, then realized it was a little too much control (that I didn't need, because I now have overlays). Channels would work, but I like the idea of my setup being completely stateless
kthnnlg has quit [(Ping timeout: 268 seconds)]
<tilpner>
joepie91 - Nah, I want to control which nixpkgs is used for things like services.* or programs.* (<nixpkgs/nixos>)
<fresheyeball>
is there a download .deb and install builtin?
hiratara has joined #nixos
<Fare>
fresheyeball, configuration for the postscript to produce for your printer
<tilpner>
aneeshusa - I don't understand how you use after nixos after you imported it. Is there any way I can look at the structure of the whole file?
<Fare>
gchristensen, so, no idea how to get nix-env to see the same world as nixos-rebuild ?
<aneeshusa>
tilpner: let me sanitize what I have and post it for you, just a minute
<tilpner>
aneeshusa - Oh, you do import nixos { configuration = ./configuration.nix } or similar?
<gchristensen>
I thought it did already, fare :/
<aneeshusa>
tilpner: yep, that's right
<tilpner>
aneeshusa - Okay, I might not need to look at it then
<tilpner>
But since I'm only using fetchGit from that one, I can just leave it pinned to an old version
<tilpner>
fresheyeball - Did you mean to talk to Fare?
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<fresheyeball>
tilpner: no I was happy about fetchTar
<Infinisil>
dtzWill: Nice, someone was complaining about mailutils not building before and I think that fixes it
justan0theruser has quit [(Quit: WeeChat 1.7.1)]
<tilpner>
But I didn't file that issue...
justanotheruser has joined #nixos
riclima has joined #nixos
<Fare>
fresheyeball, I could connect to my Brother printer using the connection URL ipp://192.168.xx.yy/ipp
justbeingglad has joined #nixos
Turion has quit [(Read error: Connection reset by peer)]
<fresheyeball>
Fare: do you use the Generic PostScript Printer Driver?
earldouglas has joined #nixos
noobly_ has joined #nixos
earldouglas has quit [(Client Quit)]
<noobly_>
Shot in the dark but yesterday I tried installing racket only to find it's not available for 32-bit, so I went to the site and downloaed the .sh file and upon installing got this error "error: could not find "rm" and found this relevant thread: https://github.com/racket/distro-build/issues/1
<noobly_>
but I didn't find much useful info in there, does anyone know a fix or maybe an alternative install method?
<fresheyeball>
Fare: I just keep getting Printer not responding now
<Fare>
fresheyeball, first thing, can you access the printer from the command line with some URL ?
<Fare>
or from your browser?
<fresheyeball>
I can ping it
<fresheyeball>
oh whodillooly
<fresheyeball>
I think I got it
<fresheyeball>
socker://hostname
<fresheyeball>
seems to have done it
<noobly_>
gonna try to tinker with the zip now, if anyone's interested
_ris has joined #nixos
justbeingglad has left #nixos []
<tilpner>
noobly_ - Do you know why it's not available for your 32-bit system
<noobly_>
In the nixos package search it only came up as 64 bit
<noobly_>
and this was verified after I tried to install
ryanartecona has quit [(Quit: ryanartecona)]
<tilpner>
Did it give a better error than "this package was declared to be x86_64 only"?
ris has quit [(Ping timeout: 240 seconds)]
<noobly_>
tilpner: error: Package ‘racket-6.8’ in ‘/nix/store/x6056f4pvrcwygq5zwvfp6sb7chf2yrl-nixos-17.03.1188.9fd6417e27/nixos/pkgs/development/interpreters/racket/default.nix:70’ is not supported on ‘i686-linux’, refusing to evaluate.
<noobly_>
copy+paste of the error
<tilpner>
What happens if you take the expression, remove or change all of .meta, then try to build it?
<noobly_>
I would have to do some reading on how to do that first :)
Acou_Bass has joined #nixos
Turion has joined #nixos
eacameron has quit [(Remote host closed the connection)]
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
justelex_ has joined #nixos
nh2 has quit [(Quit: Leaving.)]
zeus_ has quit [(Remote host closed the connection)]
erictapen has joined #nixos
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
rmarko has joined #nixos
rmarko has quit [(Changing host)]
rmarko has joined #nixos
data has joined #nixos
data is now known as Guest80784
erictapen has quit [(Ping timeout: 276 seconds)]
rmarko is now known as srk
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc closed pull request #26940: NixOS Manual: Make it easier to debug (master...nixos-manual) https://git.io/vQWa4
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
markus1189 has joined #nixos
markus1199 has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<tilpner>
noobly_ - Did that work?
<noobly_>
tilpner: still nix-build'ing :)
phinxy has quit [(Quit: Leaving)]
markus1219 has quit [(Ping timeout: 240 seconds)]
markus1209 has quit [(Ping timeout: 276 seconds)]
<noobly_>
what's the right way to install a library in Nix?
<noobly_>
I have a freshly unzipped C Library and don't wanna screw anything up, I know for Python at least you can't do an imperative install
<noobly_>
but not really sure what this means / how to do properly
<spinus>
noobly_: do you want it as part of the system or you need it to build some specific project?
Guest80784 has quit [(Quit: hello world)]
<noobly_>
also, does 'make' command not exist? is there a "make install" syntatic equivelant?
<noobly_>
spinus: I think I want it as part of the system, I'm going to be using for the next couple months at least
data8 has joined #nixos
<noobly_>
I'm doing Harvard's CS50 MOOC, so I wanted their library on my OS
<spinus>
so, in nix you usually have a lib as dependency for specific project, installing globally is possible, but probably not needed
JagaJaga has joined #nixos
<spinus>
if you want to install it as part of user profile (globally for the user, but not systemwise) you can add derivation in ~/.nixpkgs/config.nix
justelex_ has quit [(Ping timeout: 260 seconds)]
<spinus>
you can find in manual how to create derivation (search for stdenv.mkDerivation)
<noobly_>
spinus: oh ok, sounds good. I don't necassarily need it as part of profile, but if I did add the derivation like you mention, then it would be reproducible right?
<noobly_>
are there downsides to doing it globally?
<noobly_>
spinus: but from what you say, it seems it might be easier to do it non-globally, and at this point the easier the better
<spinus>
noobly_: so, the only way how you install stuff in nix is through derivations, so they are reproducible