<clever>
it just works, without having to add .dev
stepcut has joined #nixos
c0ffee152 has joined #nixos
<nh2>
kuznero: OK this is a guess but I suspect that the nixops maintainers have not made available an AMI for 17.09 yet and will do so only after release; for 17.03 there are pre-built AMIs that nixops picks by default
<eikke>
clever: ffor nix-shell, yes. nix-build with my derivation, no
<clever>
eikke: can you gist the expression for your derivation?
<kuznero>
nh2: then the question - is it possible to define different (fixed version) other than the one I am using on my computer? I feel answer is no :(
<nh2>
eikke: also you maybe use -vvvvvvv (never remember how many are necessary) and inspect zlib related output
<yrashk>
has anyone been successful activating nvidiaBeta on 17.03? Latest nvidia-settings won't compile without the dbus dependency. This is fixed on unstable, but I am not sure what's the right way to proceed from here.
<nh2>
kuznero: yes, you can run nixops against a nixpkgs git checkout on your hard drive or even remote tarball URL
<kuznero>
nh2: can you please point me to an example of such reference?
rtjure has joined #nixos
<clever>
eikke: you need to add cmake to the nativeBuildInputs
<nh2>
kuznero: `NIX_PATH='.:nixpkgs=./nixpkgs nixops deploy ...` if ./nixpkgs is your nixpkgs git clone (I recommend use branch `release-17.03` for the beginning)
acarrico has joined #nixos
<clever>
nh2: you can also set a -I path to nixops with set-args i think
<kuznero>
nh2: thanks you, will try it out
<eikke>
clever: grpc has a plain Makefile which should just work
<eikke>
it seems as if I have 2 packages calles zlib in my store, 1.2.11 and 0.6.1.2, hmpf
<nh2>
kuznero: yes or what clever says, though I prefer to have it state-less in 1 command usually
cpennington has joined #nixos
<nh2>
I always make myself a little wrapper script called ./ops that calls nixops while setting environment variables before
<nh2>
eikke: 0.6.1.2 is the Haskell package called `zlib`
<kuznero>
nh2: ok, so I will checkout https://github.com/nixos/nixpkgs release-17.03 branch, then run your command referencing just cloned repo, right? Sorry for articulating probably obvious things - I am still getting used to it all...
<nh2>
eikke: nixpkgs doesn't have a `haskell-` prefix or something like that for hackage packages
<clever>
eikke: testing it locally ...
<nh2>
kuznero: yes; and no worries about asking, it took me very long to set up nixops optimally as well, I find some things aren't well documented
<eikke>
clever: thanks!
<eikke>
nh2: that's what I figured :)
<kuznero>
nh2: thanks
pxc has quit [(Ping timeout: 240 seconds)]
<nh2>
kuznero: it's a bit of a trouble with nix, once you know things they are very obvious, before you know them they are very much not obvious. The more you ask, the more things can be googled in IRC logs at least, and ideally also write down what your problems were on the way and then you/we can go over them later and try improve docs to make it more obvious
em1l has joined #nixos
<kuznero>
nh2: if it all work I will try to submit PR for docs on that part...
<nh2>
clever: think about it. Infinite food and beverage :D
<nh2>
and it is in Munich so food and beverages will be good
michas_ has quit [(Ping timeout: 240 seconds)]
<Lisanna>
It seems like fixupPhase isn't overridable like installPhase... why is this? Or am I confused?
<eikke>
clever: looks like you got beyond dmy point of faillure
<nh2>
not sure though how I can know whether I'll have a spot or not
<clever>
eikke: all i did was run nix-build on the nix file you gave me
<nh2>
kuznero: I don't actually know that, I always edited it by hand so far for the few improvements I made
<clever>
eikke: what did you do?
<Lisanna>
setting fixupPhase = ""; has it still running the whole fixup phase, including patching elfs and moving things into ./share
<nh2>
eikke: check if you're on the same nixpkgs as clever; also, are you on NixOS or another distro?
<clever>
Lisanna: can you gist your nix expression?
<clever>
CMake Error: Cannot determine link language for target "cares".
<clever>
CMake Error: CMake can not determine linker language for target: cares
<clever>
eikke: cmake is confused more then ar is, lol
<nh2>
Lisanna clever: I remember some problem that one is technically supposed to call the pre/post hooks (e.g. postFixup) when overriding a phase, but due to some weirdness nix calls them anyway, so maybe what Lisanna is seeing is one of the hooks
<nh2>
(calls them anyway even when you forget to call them in your phase)
<eikke>
nh2, clever: on Fedora. Unstable nixpkgs channel. GRPC derivation is called as a dependency from another package, have a slightly more complicated wrapper
<em1l>
hello mighty nix-friends :) - i a just starting playing around with nixops and did something stupid: deleting a *.vmdk out of my /nix/store/ - now I geting VERR_FILE_NOT_FOUND and subsequently VBOX_E_FILE_ERROR (full stdout here: http://paste.lisp.org/display/356308). Other nixops deploy rely on this image too. I can't deploy anything anymore... How can i recreate this image, or make a fresh nixops
<em1l>
installation? thx in advance :)
eacameron has joined #nixos
<disasm>
clever, LnL: so... now I have /nix/store/derivation/'$(out)'/plugins, lol is this a bug? or am I doing something horribly wrong?
<nh2>
em1l: is the deleted file a top-level file in /nix/store or in some subdirectory?
<clever>
disasm: sounds like it was already installing to a subdirectory of the prefix, and you can just pass /plugins
<nh2>
em1l: also I think `nix-store --repair-path` is supposed to help in this case
<disasm>
clever: yeah, just plugins works fine, /plugins it errors can't write to /plugins, so in this case, what cmake is doing is fine, more of wondering why it's doing this, and if there's a bug or I'm doing something wrong
<eikke>
clever: should I edit that nix file in order to be able to build it self-standing?
<clever>
disasm: i think it depends a lot on what cmake is doing with the path
<kuznero>
nh2: trying to do `NIX_PATH='.:nixpkgs=/path/to/nixpkgs/with-release-17.03' nixops deploy -d test`. But that gives exactly same error... :(
eacameron has quit [(Ping timeout: 240 seconds)]
<clever>
Lisanna: there are a lot of chunks missing, so its hard to tell what might be breaking it
<clever>
kuznero: the . at the start of that says to try looking for <nixpkgs> in ./nixpkgs, if that exists
<kuznero>
clever: I see, removing it ...
<Lisanna>
I'm nuking fixupPhase, preFixup, and postFixup, so unless there's a secret phase that I'm missing I don't see how this is possible
<kuznero>
clever: now with `NIX_PATH='nixpkgs=/home/kuznero/Projects/Kuznero/nixpkgs' nixops deploy -d test` gives same error
<clever>
kuznero: what was the error?
<eikke>
clever, nh2: figured it out. All my bad. A bit ashamed :P I have that grpc.nix in a nix/ folder, and in the root a build.nix which list files in nix/ and then adds them as packages. But it does so using 'haskellPackages.callPackage', which GRPC clearly is not. So I guess the zlib haskell package was used anyway, not 'zlib'
<clever>
Lisanna: fixupPhase is what runs pre/post, so pre/post are just broken if you modify fixupPhase
<kuznero>
clever: "error: no AMI defined for EC2 machine ‘backend1’"
<clever>
check what nh2 just asked
<clever>
that sounds likely
jellowj has quit [(Ping timeout: 240 seconds)]
<Lisanna>
clever: then what's the correct way to tell Nix to not run the fixupPhase at all?
<Lisanna>
i.e. I don't want anything patched, and I don't want anything moved
newhoggy has joined #nixos
<clever>
Lisanna: the way your doing it should work, but you could also try fixupPhase = "echo not fixing"; just to confirm if an empty string is handled specially
newhoggy_ has joined #nixos
<kuznero>
nh2: these lines `"17.03".eu-west-2.hvm-ebs = "ami-ff1d099b"; "17.03".eu-west-2.hvm-s3 = "ami-fe1d099a";` correspond to what I have in my physical setup: `region = "eu-west-1";`. Should I also check something in my EC2 dashboard?
<Lisanna>
clever: that worked. That seems like a bug.
<Lisanna>
I'm not very good with bash... but does that mean what I said earlier?
thc202 has quit [(Ping timeout: 240 seconds)]
<clever>
i think so
<em1l>
clever: oh thanks! i missed the full path (including filename). thanks to nh2 again :)
<nh2>
kuznero: I've definitely deployed to the region you're on. I suspect now that it's because you use "m1" instances which are older generation, and the linked AMIs are only for new "HVM" technology based machines
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v5pTk
<NixOS_GitHub>
nixpkgs/master f170dbe Peter Hoeg: syncthing: 0.14.37 -> 0.14.38
NixOS_GitHub has left #nixos []
sigmundv has joined #nixos
<kuznero>
nh2: it is mentioned on the page you referred, but it didn't work for me.
<kuznero>
nh2: the command I issued to deploy 3 servers is still running, flickering between 3 different machines. Is that normal? In EC2 dashboard I can see it is running.
<nh2>
kuznero: no I mean the page I linked mentions explicitly
<nh2>
All current generation instance types support HVM AMIs. The CC2, CR1, HI1, and HS1 previous generation instance types support HVM AMIs.
<nh2>
and
<nh2>
The C3 and M3 current generation instance types support PV AMIs. The C1, HI1, HS1, M1, M2, and T1 previous generation instance types support PV AMIs.
<nh2>
suggesting that M1 only supports "PV", not "HVM"
sellout- has quit [(Quit: Leaving.)]
<nh2>
kuznero: what do you mean with "flickering", is there output scrolling by?
<kuznero>
nh2: agree, will reference that one
<kuznero>
nh2: yep, all the time without stop.. showing this lines all the time: "backend1...> . proxy......> . backend2...> . backend1...> . proxy......> . backend2...> . backend1...> . proxy......> . backend2...> . backend1...> . proxy......> ."
<nh2>
kuznero: what do the previous lines show that have more output than only "."? They should say what it's waiting for
sigmundv has quit [(Client Quit)]
<nh2>
clever: btw, I once asked why my --options ssh-substituter-hosts isn't working (it wasn't using it). Just found out why: Seems like on NixOS only root can use ssh-substituter-hosts; the reason it worked for me before was because that was an Ubuntu machine
<nh2>
clever: do you know if there's a nix.* option for ssh-subsituter-hosts? Can't find anything on https://nixos.org/nixos/options.html. Or can I give ssh:// for the normal binary cache setting?
<nh2>
kuznero: you need to change the firewall ('default' Security Group) settings in your AWS console for that region, to let incoming ssh through
<clever>
nh2: a simpler option would be to run nix-serve on the remote machine and add it as a binary cache
<nh2>
clever: then I need to care about auth though right?
<clever>
nh2: nix-serve lacks auth
<nh2>
yes that's what I mean
<kuznero>
nh2: ok, just added `SSH TCP 22 0.0.0.0/0` Shouldn't `nixops deploy ...` now stop doing what it was doing?
<clever>
nh2: checking the source...
<nh2>
kuznero: yes, nixops should continue once you set it. Check that the machines in the console are shown to be in the security group you just modified
<nh2>
kuznero: also, try to ssh manually into the public IPs shown in the console to check if your security group change worked
<clever>
nh2: oh right, `--option ssh-substituter-hosts` just acts as a way to override nix.conf entries
<kuznero>
nh2: it is the only security group I have so it must be using thata
<clever>
nh2: so you should be able to set the same values directly in nix.conf
<kuznero>
nh2: can it be that I don't have default ssh key in ~/.ssh?
<nh2>
clever: but under what option?
<clever>
nh2: ssh-substituter-hosts=value, in nix.conf
<kuznero>
nh2: yep, all 3 are using default security group
<nh2>
clever: oh
<clever>
nh2: there is a different nix-serve in nixos, that runs over http
<nh2>
kuznero: try `ssh THEPUBLICIP` and see what happens
Supersonic112 has quit [(Disconnected by services)]
<clever>
nh2: the one you linked, configures a nix-ssh user, that can only run nix-store, and never get a shell
<nh2>
clever: now, how do I configure that via nix.* options? If I do nix.maxJobs, it translates that to max-jobs in nix.conf. Can I just `nix.ssh-substituter-hosts`?
<kuznero>
nh2: "network is unreachable"
Supersonic112_ has joined #nixos
<kuznero>
nh2: can it be that I need to restart instances to use updated security group somehow?
<nh2>
kuznero: did you use the public IP or the private IP of the AWS machine?
<nh2>
kuznero: no, usually security group changes are effective immediately
<clever>
nh2: this maps the names like maxJobs to build-max-jobs, and you have nix.extraOptions to inject anything it doesnt handle
<nh2>
clever: +1, thanks
<kuznero>
nh2: ah! it is the corporate firewall... again...
<nh2>
kuznero: tell your admin dropping outgoing SSH traffic is very bad business practice
<kuznero>
nh2: and `nixops destroy` cleaned up nicely :) they are not dropping ssh, but many public IPs
mbrgm has quit [(Ping timeout: 246 seconds)]
<nh2>
kuznero: that's interesting, does that mean you cannot access any AWS hosted services from your corp network?
<kuznero>
nh2: it seems so, at least in Frankfurt. But I will be checking it going forward...
python47` has quit [(Ping timeout: 248 seconds)]
<nh2>
kuznero: yeah don't trust the Germans
<nh2>
(I am German)
cpennington has quit [(Remote host closed the connection)]
mbrgm has joined #nixos
<clever>
elastic IP's also from from a different IP block then the dynamic ones
<kuznero>
nh2: example that you gave to configure security group, can it be used for default one like so `resources.ec2SecurityGroups.default = { ... }`?
<kuznero>
nh2: :) they same the same about Russians (I am one) :) I have no idea why they are doing that - big corporation with old conservative rules I guess...
<nh2>
kuznero: I think technically yes but I filed that bug and I haven't checked yet if it is fixed yet
<nh2>
so I can't tell you for sure if it works
<nh2>
kuznero: also most likely you'll have to use nixops from git or some specific commit for it to work
<kuznero>
nh2: ok, will try to run the same test from my home computer...
<nh2>
kuznero: if you subscribe to that issue you'll get pinged when I check if it works
<kuznero>
nh2: just did, thanks
em1l has quit [(Ping timeout: 240 seconds)]
em1l has joined #nixos
<kuznero>
nh2: clever: btw, it had nothing to do with referencing 17.03 in the end of the day - just tried with default 17.09 without changing NIX_PATH. So it was only m2 -> t2. Just wanted to articulate that explicitly.
<nh2>
OK good to know
lambdamu has quit [(Ping timeout: 255 seconds)]
<kuznero>
nh2: what is the cost model with AWS? will this experiment get reflected soon in the dashboard?
<clever>
kuznero: for every hour the ec2 instance is on, you get billed, and if its on from 1:30 to 2:30, that counts as 2 hours
<kuznero>
clever: interesting, thanks
<kuznero>
I've heard they introduced by-second billing recently or was that another vendor...?
<fearlessKim[m]>
I am hacking on a software. I do "nix-env -iA <mysoft>" to install & test it but it's compiled from scratch everytime. I remember seeing an option to keep the compiled files in order to iterate more rapidly. Can't find it again though, any idea ?
<nh2>
I'm looking forward to per-second AWS billing, for my more complicated setups I just run them in a nixops deploy/destroy loop 100 times before I use them for real
stepcut has quit [(Remote host closed the connection)]
acowley is now known as acowley_away
<nh2>
fearlessKim[m]: depends a bit on what programming language you're working in. In Haskell, all the build artifacts go in the `dist/` directory; if I add that to the nix `src` then the build will be resumed within nix-build by me claiming that those output files are source files (though you should remove such hacks when you're done)
<kuznero>
nh2: does physical setup in nixops needed to be tested that thoroughly on EC2 specifically? Can you test it with virtual box first and then deploy to EC2 once logical setup works?
<nh2>
fearlessKim[m]: another common setup is to use the usual tools of your language inside nix-shell
<nh2>
which is often much faster to iterate with
<fearlessKim[m]>
nh2 so far I usually compiles from a nix-shell. but I wanted to test the flag. IIRC it was sthg I read in the man like "--test" ? It's a C program btw
<nh2>
kuznero: it doesn't have to be tested more thoroughly on EC2 than on other platforms; I'm doing the 100x testing loop on EC2 before I deploy to my dedicated servers because it's easy and fast to destroy them and build them from scratch, can't do that with dedicated. You can deploy to virtualbox but I found that to be slower than to deploy to AWS, so I don't do that currently and instead pay Amazon a bit
<kuznero>
nh2: I see
<nh2>
fearlessKim[m]: hmm, not sure which flag that woud be; maybe --keep-failed so you can resume building manually in a failed build?
<nh2>
kuznero: btw, you can merge the physical andlogical spec into 1 file if you like
<nh2>
I do that currently, specifying different physical setups in the same single file
<fearlessKim[m]>
nh2 will share if it comes back to me. thx
<kuznero>
nh2: it feels very much right to me to have it separate when I can have different physical setups
<kuznero>
nh2: do you have an example?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to staging: https://git.io/v5pIK
<NixOS_GitHub>
nixpkgs/staging 3170d86 Jörg Thalheim: gdbm: add symlinks for compatibility...
<nh2>
kuznero: merging them is literally just copying the deployment.* options together into the same section
<kuznero>
nh2: I see, thanks
<nh2>
you can still separate out physical properties using nixops modules (`imports = ...`), and it does the same thing internally as giving 2 files on the command line, but I like giving only 1 file on the command line, though this is just personal taste I guess
<nh2>
for some cases it's convenient to have it in 1 file, e.g. if you specify a domain in route53 options, and also use that domain name in configuration for your programs configured with nix
<nh2>
need to go to bed, good night!
<fearlessKim[m]>
the problem with nix-shell is that I usually do "git commit -a" ("all") but as nixos patches the source. Now I have to be extra careful before commiting
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5pID
<NixOS_GitHub>
nixpkgs/master 8d07b99 Bas van Dijk: journalbeat: 5.5.0 -> 5.6.0
endformationage has quit [(Ping timeout: 264 seconds)]
isHavvy has quit [(Quit: Computer Restarted or Restarting IRC)]
Havvy has joined #nixos
stepcut has quit [(Remote host closed the connection)]
em1l has quit [(Ping timeout: 248 seconds)]
c0ffee152 has quit [(Quit: Lost terminal)]
ryanartecona has quit [(Quit: ryanartecona)]
Sonarpulse has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Ping timeout: 255 seconds)]
proteusguy has joined #nixos
schoppenhauer has quit [(Ping timeout: 248 seconds)]
schoppenhauer has joined #nixos
sellout- has joined #nixos
cpennington has quit [(Remote host closed the connection)]
a6a3uh has joined #nixos
csingley has quit [(Ping timeout: 264 seconds)]
zzamboni has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
Wizek has quit [(Quit: Connection closed for inactivity)]
MP2E has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 255 seconds)]
Mateon3 is now known as Mateon1
proteusguy has joined #nixos
newhoggy_ has joined #nixos
rauno has joined #nixos
newhoggy_ has quit [(Client Quit)]
newhoggy has quit [(Ping timeout: 264 seconds)]
rotaerk has quit [(Ping timeout: 246 seconds)]
aneeshusa has quit [(Ping timeout: 255 seconds)]
pxc has joined #nixos
<rauno>
Hi
eacameron has quit [(Remote host closed the connection)]
<rauno>
Any idea why sometimes after restart network interfaces won't start in nixos? also when cahnging configiration.nix won't start some new bridges or attach new ip's
aneeshusa has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
dustmote has joined #nixos
rotaerk has joined #nixos
<rauno>
Ok, nvm found the github issues..
dustmote has quit [(Client Quit)]
Neo-- has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
drakonis has joined #nixos
jmeredith has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 4 new commits to master: https://git.io/v5pGG
<NixOS_GitHub>
nixpkgs/master 100db4f John Ericson: vim: Properly categorize pkgconfig dependency
<NixOS_GitHub>
nixpkgs/master e19bb86 John Ericson: all-packages: Remove `forcedNativePackages`; we no longer need it...
<NixOS_GitHub>
nixpkgs/master 1fc1224 John Ericson: all-packages: get rid of wrapCCCross...
NixOS_GitHub has left #nixos []
sellout- has quit [(Quit: Leaving.)]
MercurialAlchemi has joined #nixos
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
Sonarpulse has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] winniequinn closed pull request #29336: opam: use aspcud on darwin (master...opam-aspcud-darwin) https://git.io/v5Spa
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/v5pZf
<NixOS_GitHub>
nixpkgs/staging e9c1f64 John Ericson: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
reinzelmann has joined #nixos
eqyiel has joined #nixos
eqyiel has quit [(Remote host closed the connection)]
<rauno>
About the network issues, might there be a workaround for that isssue ?
zzamboni has joined #nixos
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
acarrico has quit [(Ping timeout: 260 seconds)]
hamishmack has quit [(Quit: hamishmack)]
silver_hook has joined #nixos
FRidh has joined #nixos
<zzamboni>
Morning everyone
jsgrant has quit [(Quit: jsgrant)]
<nixy>
heyo
<vaibhavsagar>
afternoon :)
acarrico has joined #nixos
<zzamboni>
I'm trying to get started in writing Nix packages - as a start, I'm trying to get the elvish package to work on darwin - the existing one at elvish does not work out of the box on macOS
<zzamboni>
the error seems to be "cycle detected in the references of ‘/nix/store/39f41ffxfd0pkiba7q87vnms354vil71-elvish-0.10.1’"
<zzamboni>
unfortunately I have no idea what that means. Furthermore, if I go into the build directory, it seems the binary is built correctly, but something is failing in the "post-installation fixup"
<zzamboni>
I'm new enough that I don't really understand even where to look - any help would be appreciated
<nixy>
Well the issue seems to be happening because of something buildGoPackage is doing since your .nix file doesn't have any post-installation stuff
ShalokShalom has quit [(Read error: Connection reset by peer)]
zzamboni1 has joined #nixos
zzamboni has quit [(Ping timeout: 246 seconds)]
ShalokShalom has joined #nixos
<fearlessKim[m]>
I've tried to setup neomake (a vim plugin) for C programs so that inside a nix-shell it sources $stdenv/setup and runs "buildPhase" but looks like I miss sthg. I just don't know what: https://github.com/neomake/neomake/issues/1594
chakerbenhamed has joined #nixos
acarrico has quit [(Ping timeout: 264 seconds)]
Sonarpulse has quit [(Ping timeout: 246 seconds)]
acarrico has joined #nixos
michiel_l has quit [(Ping timeout: 255 seconds)]
michiel_l has joined #nixos
zzamboni1 has quit [(Ping timeout: 248 seconds)]
amut has joined #nixos
takle has joined #nixos
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v5pWY
<NixOS_GitHub>
nixpkgs/master 1e9deaa Vincent Laporte: ocamlPackages.csv: 1.7 -> 2.0
NixOS_GitHub has left #nixos []
<sphalerite>
I like how I can just go several years back in history (trying on 13.10 now) and run the software just fine
<sphalerite>
fearlessKim: the approach I take is to just run neovim inside a nix-shell
amut has quit [(Quit: AtomicIRC: The nuclear option.)]
<sphalerite>
wait, what...
<sphalerite>
OSError: ("/nix/store/zm4bhsm8lprkzvrjgqr0klfkvr21als4-glibc-2.17/lib64/libc.so.6: version `GLIBC_2.25' not found (required by /nix/store/vrs0ap0nal69mypqr4digwxlmacm0kc8-expat-2.2.2/lib/libexpat.so.1)", 'libGL.so.1', 'libGL.so.1')
<hyper_ch>
sphalerite: that was filed in march...
<hyper_ch>
makefu: online?
<sphalerite>
hyper_ch: doesn't work for me on nixos-unstable branch…
<sphalerite>
oh right
<hyper_ch>
no idea what impressive is :)
<sphalerite>
yes, I discovered it in march
<sphalerite>
but it's existed for much longer
ebzzry has quit [(Ping timeout: 240 seconds)]
<sphalerite>
oh, now I see why the older version won't work :( it's /run/opengl-driver requiring a newer glibc
<sphalerite>
I guess I can work around that (at the cost of hardware acceleration) by unsetting LD_LIBRARY_PATH
<hyper_ch>
you're speaking in tech again
<sphalerite>
ignore me, mostly talking to myself :)
<makefu>
hyper_ch: online!
<hyper_ch>
so what's that impressive thingy?
<sphalerite>
it's a presentation tool
<hyper_ch>
makefu: this site was so empty... so I took the liberty and added something.. now it needs your advanced wiki-fu https://nixos.wiki/wiki/VPN
<sphalerite>
Oooh, I can add to the tinc section
<makefu>
that would be fantastic!
<hyper_ch>
actually, I had no idea what to add there.. there were just categories... so I thought I'd fill in the stuff on how to get openvpn stuff to run
eacameron has joined #nixos
<makefu>
it looks very nice already
<makefu>
what advanced wiki skills do you need?
<hyper_ch>
feel free to let your creativty loose
<hyper_ch>
since I don't have any wiki skills, I can't tell you what advanced wiki skills are needed
<hyper_ch>
if I knew what was needed, I could probably do it myself :)
<makefu>
you can add categories to the article
<hyper_ch>
no idea what those are
<hyper_ch>
:)
michiel_l_ has joined #nixos
<hyper_ch>
but I put my fullest confidance in you
<makefu>
categories are like tags for articles
michiel_l has quit [(Ping timeout: 255 seconds)]
vod has joined #nixos
<hyper_ch>
as said, wikis are too complicated for my simple brain
<makefu>
you did a great job already. no need for any advanced magic
<vod>
Hello everybody!
<makefu>
hey ho
<sphalerite>
fadenb: any reason the wiki github login needs access to all my email addresses github knows about, including non-public ones?
eacameron has quit [(Ping timeout: 246 seconds)]
<fadenb>
sphalerite: uh, no, we require 'user,user:email'...
<hyper_ch>
hi vod
<fadenb>
For my user it only asked to show my public email
andrewmcveigh_ has joined #nixos
<hyper_ch>
you have more than 1 email in github? oO
<fadenb>
I have 3, personal, work, university :p
<vod>
Can anyone point me in the right direction - i need to install headless ipxe, following the wiki, the machine boots with ipxe fine, but there's no ssh access configured and hence it's impossible to continue to install, any pointers as to where to look for how to enable ssh during/inside netboot? I understand that squashfs needs to be modded
<fadenb>
sphalerite: can you send me a screenshot? As my account seems to behave different I have to investigate this
<hyper_ch>
well, just for the iso.... if he said he needs ssh access.... if you boot from the iso there's only root user :)
<makefu>
hyper_ch: only with the vanilla iso, remixing isos is super convenient with nixpkgs
<hyper_ch>
how does one remix isos?
<hyper_ch>
sounds like you could make a wiki article about it *ggg*
zzamboni has joined #nixos
<fadenb>
There is already something on customizing iso in the wiki
<makefu>
hyper_ch: there is also something about this in one of the manuals
<sphalerite>
hyper_ch: make configuration.nix with imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix ]; and your custom configuration; nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=configuration.nix
<hyper_ch>
sphalerite: I don't really understand :)
<MasseR>
I'm using nix-env on ubuntu. I'm using neomutt through nixpkgs. With generation 95 mutt works fine, but with generation 96 I get 'error while loading shared libraries: libidn.so.11: no such file or directory'
<MasseR>
there was a neomutt upgrade between these two generations
<makefu>
MasseR: not sure about this particular issue but until it is fixed in upstream you could simply use the rollback function of nix-env: https://nixos.org/nix/manual/#examples-16
<MasseR>
Yeah, I'll roll back and see if it will be fixed at some point
<jluttine>
which package provides node executable itself?
<fearlessKim[m]>
I just discovered what I was missing I suppose: "persistent shell environments" to feel at ease developing on nixos. I did "nix-instantiate . --indirect --add-root $PWD/shell.drv" then "nix-shell shell.drv" but it goes "error: syntax error, unexpected ',', expecting ')', at /nix/store/ask0j01a31w5p5qknlx49cjbjg6sl34y-python3.6-mptcpanalyzer-0.1.drv:1:15
<fearlessKim[m]>
" :'(
zzamboni has joined #nixos
<jluttine>
node_webkit perhaps
<jluttine>
nope
<MasseR>
jluttine: pkgs.nodejs
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<jluttine>
MasseR: ok, thanks. really weird, i used package search with search term "node.js" and it didn't find that. perhaps that package description should include "node.js" word
corpix has joined #nixos
jeron has joined #nixos
<sphalerite>
fearlessKim: it's a bit of a crazy behaviour, but nix-shell will only interpret the file as a .drv if it ends in .drv *and* is an absolute path
<sphalerite>
so if you use nix-shell $PWD/shell.drv it should work
<fearlessKim[m]>
sphalerite: haha come on, how is one supposed to understand that from the error xD
<fearlessKim[m]>
indeed that worked
zzamboni has quit [(Quit: Leaving.)]
<sphalerite>
fearlessKim: hence crazy
<fearlessKim[m]>
it's like the "--set-flag PRIORITY PKGNAME with nix-env. I would really like to send a patch to improve that error message but I am sure it has been fixed in newer nix.
MercurialAlchemi has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
<sphalerite>
fearlessKim: IMO at least for the shell thing, it's not the documentation that's at fault but the actual behaviour is just insane
<fearlessKim[m]>
and when you check the manual "This attribute should be a number, with a higher value denoting a lower priority."
<sphalerite>
Documentation/error messafe
<fearlessKim[m]>
(and you don't know the current package prioritie)
MercurialAlchemi has joined #nixos
<fearlessKim[m]>
it shoulds say: PKGNAME1 with priority X conflicts with PKGNAME2 with default priority Y. Lowest number gets in $PATH
jeron has quit [(Ping timeout: 246 seconds)]
nschoe has joined #nixos
fiddlerwoaroof has quit [(Ping timeout: 264 seconds)]
zzamboni has joined #nixos
<silver_hook>
Hmm, I’m still a bit in the dark regarding systemd units in NixOS.
<silver_hook>
s/ukaza ni mogoče najti/command not found
__Sander__ has joined #nixos
<yegortimoshenko>
what is the right way to specify that buildPhase is impure (uses network)? SSL_CERT_FILE isn't set in buildPhase so currently I just set it manually
takle has quit [(Remote host closed the connection)]
<nwspk>
Quick question: is there a way to run JavaFX on NixOS?
<yegortimoshenko>
nwspk: use oraclejdk8
<fearlessKim[m]>
sphalerite: concerning my rant on nix-env priority message, do you know if it was updated ? nixUnstable doesn't work for me so I haven't checked but if not I prepare a PR ASAP
<sphalerite>
fearlessKim: I haven't the faintest clue :)
<fearlessKim[m]>
np I'll checkout the code
vod has joined #nixos
<nwspk>
yegortimoshenko: thanks, I'll try
<nwspk>
but mah freedom~
Wizek_ has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
<nwspk>
yegortimoshenko: another question: how can I install oraclejdk8? I can't find it in the packages
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edwtjo pushed 4 new commits to master: https://git.io/v5pux
a6a3uh has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
a6a3uh has joined #nixos
orivej has joined #nixos
pxc has joined #nixos
a6a3uh has quit [(Client Quit)]
phinxy has joined #nixos
eacameron has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
phinxy has left #nixos []
eacameron has quit [(Ping timeout: 264 seconds)]
<sphalerite>
FRidh: do you know which issue #9998 the patch you introduced in 03898f2f2311260a8bb60302d59b48901ea61395 (which adds functionality to ctypes to find libraries using ld) refers to?
<sphalerite>
It's not nixpkgs#9998
<yegortimoshenko>
is there a way to use HOME other than /var/empty in Nix builds?
<yegortimoshenko>
found an old bug in Leiningen that essentially makes it impossible to build the project with unwritable HOME
<jluttine>
there's no "adb" executable available in nixos?
<sphalerite>
FRidh: do we have any general guidance on how to work with software that uses ctypes.find_library? https://github.com/NixOS/nixpkgs/issues/23980 impressive works in a nix-shell with gcc but not without, and I don't think it should really need to depend on it
<sphalerite>
This is for python 2.x so a not-entirely-related issue
<vaibhavsagar>
yegortimoshenko: export HOME=/tmp
<FRidh>
sphalerite: you have to patch those calls in case of python libraries
<vaibhavsagar>
or export HOME=$(mktemp -d)
<FRidh>
in case of applications you could choose a wrapper instead, setting LD_LIBRARY_PATH
<sphalerite>
FRidh: alright, thanks
<yegortimoshenko>
vaibhavsagar: doesn't work with Java. i've already figured out _JAVA_OPTIONS=-Duser.home=/tmp, but thanks!
ennui has joined #nixos
<sphalerite>
FRidh: LD_LIBRARY_PATH doesn't seem to help for this one, for some reason
<ennui>
i'm having the most curious problem:
<ennui>
$ ls -al /nix/store/g9ppmhvfiwwz2d6n59b5n6agjpzxv3ps-bitcoin-0.14.2/bin/bitcoind
<ennui>
gives
<ennui>
-r-xr-xr-x 1 root root 9327800 Jan 1 1970 /nix/store/g9ppmhvfiwwz2d6n59b5n6agjpzxv3ps-bitcoin-0.14.2/bin/bitcoind
<ennui>
-bash: /nix/store/g9ppmhvfiwwz2d6n59b5n6agjpzxv3ps-bitcoin-0.14.2/bin/bitcoind: No such file or directory
<ennui>
Any ideas what could cause this?
<ennui>
<ennui>
ah, it's probably a 32/64 bit arch issue. i'll investigate this...
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] zzamboni opened pull request #29587: elvish: 0.9 -> 0.10 and fix darwin build (master...elvish-darwin) https://git.io/v5pwL
NixOS_GitHub has left #nixos []
<bachp>
Is there a way to run an external program during nix evaluation and use it's return value as a value for a variable? Specifically I would like to combine this with nixos to get some value from a call to an external URL.
<sphalerite>
FRidh: I'm actually fixing it myself, but yeah I'll use withPackages
<sphalerite>
(I've got it working, but I'm still trimming out unnecessary parts of the expression)
<sphalerite>
Thanks :)
<FRidh>
ok
mattcode has joined #nixos
jeron has quit [(Ping timeout: 248 seconds)]
<sphalerite>
It truly looks like it's from another era of nixpkgs though x)
<FRidh>
yep
<FRidh>
Unfortunately its sometimes difficult to find out why things were done they were done. I have the impression that, when contributors come and sometimes again go, its like reinventing things all over.
Turion has joined #nixos
<Turion>
How do I start a nix shell where ghc has a different version than the system wide one?
erictapen has quit [(Remote host closed the connection)]
nh2 has joined #nixos
<sphalerite>
it was originally added by Ludovic Courtès so maybe it's still maintained in guix
<sphalerite>
phdoerfler: yeah I don't think it's possible with that module. You'll need to patch it to accept extraConfig or override the systemd service which might be a bit of a pain
<phdoerfler>
sphalerite: how do I patch it?
<sphalerite>
if you go for the former option, I'm sure other people who want to use rspamd would appreciate a PR
<moredhel1>
meta-k /input grab_key_command
<sphalerite>
Grab your checkout of nixpkgs and add an extraConfig option and insert it into the config in the module
<phdoerfler>
sphalerite: so I file a PR and then? How do I get the patched nix file? Do I have to wait til the september release?
tmaekawa has joined #nixos
<phdoerfler>
sphalerite: Is there some documentation I am missing?
<sphalerite>
phdoerfler: what I do for that sort of case is use a nixpkgs checkout rather than a channel to build my system from
<sphalerite>
I'm not sure there is
<phdoerfler>
sphalerite: can I copy paste the nix file from github and use a locally modified one while I wait for the PR to get merged?
<phdoerfler>
sphalerite: a nixpkgs checkout sounds involved :p
<phdoerfler>
sphalerite: or is this really just a git checkout … and then nix-channel --add dir_with_git_checkout?
<sphalerite>
and make sure to work from one of the nixos branches
<nh2>
phdoerfler: you can (1) run your system against a nixpkgs git revision instead of a channel (2) PR your fix to a release branch (e.g. release-17.03) in addition to master and wait (a few days) until that is merged and the hydra build farm to have built it, then it will be available via your release channel. You should definitely learn how to do (1) because you will need it many times if you want to contribute to nixpkgs
<sphalerite>
but other than that it's fine
<phdoerfler>
sphalerite, nh2: thanks for the advice!
<phdoerfler>
This is like alice's wonderland, down the rabbit hole. Another surprise awaits me after the next turn :p
<jtojnar>
what commit is the best to base PRs to staging branch? Can I just choose any one of https://hydra.nixos.org/jobset/nixpkgs/staging – will the build artefacts get to the binary cache?
<jtojnar>
especially since there are so many failures for some commits
<em1l>
i am trying to get started deploying a trivial nix-config to vbox. i am getting "gssapi*"-errors (like aspiwack[m] one year ago: https://github.com/NixOS/nixops/issues/395 ) - I am running nixops 1.5.1 on ubuntu 16.4.3. I tried already the 'pkgs.appendToName "with-kerberos"'-wordkaround with success.. any suggestions?
michiel_l_ has quit [(Ping timeout: 246 seconds)]
<fearlessKim[m]>
jtojnar: nixpkgs-unstable is good I think
michiel_l has joined #nixos
a6a3uh has joined #nixos
a6a3uh has quit [(Client Quit)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
ebzzry_ has joined #nixos
ebzzry has quit [(Disconnected by services)]
ebzzry_ is now known as ebzzry
<DIzFer[m]>
is anyone here running quasselcore? I'm having an issue where it doesn't detect storage backends (says `supported backends are:` and then nothing), and I can set it up
<hyper_ch>
no
<DIzFer[m]>
can't*. I'm trying to override qtbase so that it builds with postgres support and I can't manage that either... I'm having the dumbest issues lately
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5pMb
<NixOS_GitHub>
nixpkgs/release-17.09 eb873f6 Rob Vermaas: Make sure dummy kernel module is loaded for hologram-agent.
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/v5pDe
<NixOS_GitHub>
nixpkgs/master 1b71376 Rob Vermaas: Make sure dummy kernel module is loaded for hologram-agent....
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rbvermaa pushed 1 new commit to release-17.03: https://git.io/v5pDU
<NixOS_GitHub>
nixpkgs/release-17.03 9e228fc Rob Vermaas: Make sure dummy kernel module is loaded for hologram-agent....
NixOS_GitHub has left #nixos []
<aspiwack[m]>
em1l: I still have this even on my nixos machines (there is supposed to be a workaround overriding some derivation, but I never set it up). It's completely innocuous. Just a little annoying.
<fearlessKim[m]>
there is this naughty haskell package that requires a library with a lower version than current "Setup: Encountered missing dependencies:
<fearlessKim[m]>
aeson >=0.7 && <1.1". Does haskell packages can be overriden in nixpkgs or should I delete the recent aeson dependancy then add older aeson dep in an overlay ?
<em1l>
aspiwack[m]: thank you for your reply :) - okay, even it's the last message before "nixops ssh" timeouts, it seems that i have another problem to get into my vboxes... any advice how to debug this in general?
civodul has joined #nixos
rauno has quit [(Ping timeout: 240 seconds)]
ShalokShalom has quit [(Read error: Connection reset by peer)]
JagaJaga has joined #nixos
<aspiwack[m]>
em1l: I can't say out of the top of my head. I remember that when I used it, nixops had some issues with virtualbox, and could get into inconsistent state. Even `nixops stop` would not always work. In which case the best course of action was to tear down the virtual machine forcefully and recreate it (which is fast).
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
bennofs has joined #nixos
<em1l>
aspiwack[m]: ok, thanks for the advice. I already tried destroying/deleting/recreating the machines times.
<aspiwack[m]>
Then I'm afraid I have nothing to offer.
peacememories has joined #nixos
<aspiwack[m]>
To be honest, we've stopped using Nixops a while back: it's very nice in principle, but too many bugs, and too few backends made us go back to Hashicorp products (where the configuration language is god awful, but at least they work well)
ShalokShalom has joined #nixos
peacememories has quit [(Client Quit)]
Jackneilll has quit [(Ping timeout: 264 seconds)]
Jackneill has joined #nixos
lambdamu has joined #nixos
<em1l>
it seems I have some kind of dangling deployment. 'nixops list' shows me a machine, 'nixops info' is returning a "starting / Up-to-date" machine, with an 192.168.x.x ip. Virtualbox doesnt show me this machine. Nixops can't find any more deployment in .nixops/deploymets.nixops Hint: yesterday i deleted one machine with force (just 'rm /nix/store/..'), in desperation i deleted also the
<em1l>
~/.nixops/deployments.nixops file to reset my setup,... may this be the root of the problem?
jellowj has joined #nixos
<em1l>
aspiwack[m]: i understand, but I really want to use Nix/O(p)s, i am getting sick of docker (and other heavy solutions) and dreaming a few years being a nixos user x'D
proteusguy has quit [(Ping timeout: 248 seconds)]
<ikwildrpepper>
em1l: if you can reproduce the issue, can you file an issue in nixops issue tracker?
<ikwildrpepper>
ideally with steps / nix files to reproduce it
<em1l>
ikwildrpepper: i am not sure so, how to reproduce this. if i am removing /nix/ and ~/.nix/ (maybe also my virtualboxes?), i should be able to start fresh?
iyzsong has joined #nixos
<makefu>
seems like oslo-config exploded with the update introduced in d58e1f1c7b3e955d3ee1194ea96c574338b47b97 , marked as broken with 67651d80bc8baaf09ab91fec8ea423e09107ed8f .... unfortunately i need this package for sqlalchemy-migrate . that really is not a super smooth way to deal with package updates. i'd rather have an old version which builds instead of "lol nobody is using this shit anyway, bailout"
<FRidh>
makefu: then someone needs to step up and maintain it
<mbrock>
inside of `nix-shell -p "haskellPackages.ghcWithPackages (x: [x.lens])"` shouldn't I have access to the lens package? I don't see it in ghc-pkg and I can't import Control.Lens in ghci
eacameron has joined #nixos
<FRidh>
its been bitrotting for a while, restricting updates to other packages
<makefu>
if the package does not have a critical vulnerability, just revert the update instead of marking it as broken ...
<mbrock>
I normally don't have problems with nix-shell and Haskell, but I'm trying to debug why a friend can't use nix-shell with my Haskell program
<makefu>
FRidh: but now nothing can be updated because the package is failing, no?
ShalokShalom has quit [(Ping timeout: 246 seconds)]
<nh2>
clever: hmm, today I learned: don't put wrong things into `nix.extraOptions`. I forgot an `=` and now I can't nix-copy-closure at all any more to the machines, so I'll have to fix it up manually on each machine
<makefu>
FRidh: not sure how this is related. oslo* is used by tempest-lib which then is used by sqlalchemy-migrate which in case is required by pytrainer and buildbot (plus openstack stuff)
<FRidh>
makefu: oslo is part of openstack. None of the openstack parts in Nixpkgs are maintained, including the oslo-config you need
<FRidh>
therefore, unless someone steps up, all of it will be removed
<makefu>
as i said, buildbot and pytrainer also need this
<makefu>
indirectly at least (via sqlalchemy_migrate -> tempest-lib -> oslo* )
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
<FRidh>
sure, so I would expect there to be package maintainers opening a PR to fix oslo-config
<__Sander__>
hmm to bad that there is no 'patchShebang' command
<__Sander__>
only 'patchShebangs' that work on directory level
oahong has joined #nixos
<domenkozar>
__Sander__: should be easy to fix :)
<__Sander__>
yes
ixxie has joined #nixos
<ixxie>
yoyo
<ixxie>
any emacs users around?
<etu>
yes
zzamboni1 has joined #nixos
<ixxie>
any idea how I can find emacs packages that are on nixpkgs?
<etu>
You mean melpa packages?
<ixxie>
yeah
* goibhniu
notices 607 users in the channel \o/
<ixxie>
or any of the other sets with are used there
zzamboni has quit [(Ping timeout: 264 seconds)]
<etu>
ixxie: I've not found a good way to get it, like from a command. But I know I've found them in a file in the tree somewhere. But I'm also pretty sure most melpa packages exists in there so the name is usually good enough. Unless it starts with a number, then it's prepended with _
<ixxie>
I guess I just dont know which package contains term.ek
<ixxie>
etu: yeah I found that but its not displaying xD
oahong has joined #nixos
<etu>
ixxie: Isn't term.el from upstream? M-x term works for me. But you might refer to something else?
* ixxie
facepalms
<ixxie>
yes it does
<etu>
:D
<goibhniu>
Mic92: nope, but I haven't seen 600+ here before
<makefu>
anyone has experiences with resolving circular dependencies when testing packages?
chakerbenhamed has quit [(Quit: WeeChat 0.4.2)]
<lewo`>
makefu: are you working on oslo ? :)
<makefu>
yes
<makefu>
T_T
<makefu>
the only chance see now is disable tests
<makefu>
i have absolutely no idea how this thing could ever be built from scratch
<lewo`>
easily if you don't run tests :)
numbdewd has joined #nixos
justanotheruser has quit [(Ping timeout: 255 seconds)]
jeron has joined #nixos
<clever>
nh2: eek, yeah, nix lacks the ability to type-check the config right now
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v5he9
<NixOS_GitHub>
nixpkgs/master e200cfb Tim Steinbach: sbt: 1.0.1 -> 1.0.2
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/v5he7
<NixOS_GitHub>
nixpkgs/release-17.09 ec43a30 Tim Steinbach: sbt: 1.0.1 -> 1.0.2...
NixOS_GitHub has left #nixos []
<lewo`>
makefu: maybe you can create two versions of the same package: one with tests disabled and an other one where tests are enabled. The first version can be used to break the cycle.
pie_ has quit [(Ping timeout: 255 seconds)]
sigmundv has joined #nixos
<makefu>
that is actually a quite cool idea. problem is that the test package requires the packages it is building as runtime dependency
<makefu>
so i'd need all the base packages without tests, then build the test package, then use this everywhere else
nh2 has quit [(Ping timeout: 248 seconds)]
<lewo`>
makefu: strange, if I remember well I didn't haved the problem you mention. What is the test package that is also required at runtime ?
<makefu>
the problem is oslotest , it at some point down the dependency chain requires oslo-config.
proteusguy has joined #nixos
<sphalerite>
danbst1: did you send your reply to my message to nix-devel (re Marko Poikonen's pulseaudio question) as well or just to me?
<sphalerite>
danbst1: because I've only got a copy addressed to myself so far
phreedom has joined #nixos
<sphalerite>
In any case, what you wrote won't solve the problem as the pulseaudio executable will still contain the absolute path reference to the config files in the package that is supposedly wrapped
<sphalerite>
It may be possible to also patch that (since the string will be the same length) but that's going into dark magic territory :p
ryanartecona has joined #nixos
jeron has quit [(Read error: Connection reset by peer)]
<viaken>
So, do I have to list ghc in my packages to get xmonad to work? Why isn't it a hard dependency?
<rycee>
ixxie: Hi, yea.
<ixxie>
rycee - so weird thing with emacs and home manager - emacs wants to save the desktop session to emacs.d which is now a symlink to a store address so it cant
<ixxie>
how do you deal with this sort of thing?
<rycee>
ixxie: You'd either have to change the Emacs configuration to not save into that directory. Or, more easily, do `rm .emacs.d; mkdir .emacs.d` :-)
<rycee>
ixxie: Btw. with the lastest HM master you should be able to change the Emacs package. Try something like `programs.emacs.package = pkgs.emacs25-nox`.
<ixxie>
rycee: but the whole idea for me was to put all the dotfiles together and leverage HM to symlink them all to the right place; if I removed that then it doesn't work
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rycee>
ixxie: Well, you'd have to do a `home-manager switch` afterwards, then it should recreate the symlinks but inside the `~/.emacs.d` directory.
<ixxie>
rycee: that's cool news :) I will check it out soon
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/v5hq0
<NixOS_GitHub>
nixpkgs/master 6b0e6e2 Peter Simons: libtorrent: update to current git HEAD to avoid build errors with recent cppunit
<NixOS_GitHub>
nixpkgs/master 56207cd Peter Simons: rtorrent: update to current git HEAD to avoid build errors with recent cppunit...
NixOS_GitHub has left #nixos []
<rycee>
Ah, you are doing something like `home.file.".emacs.d".source = ./my-dotemacs`? Then it wouldn't work.
<ixxie>
rycee: well at the moment I am symlinking the whole directory
<ixxie>
xD
<ixxie>
yep
<rycee>
Right, yeah. Then my suggestion above will not work. I'm listing each entry inside .emacs.d individually in my hm configuration.
<ixxie>
rycee: I suppose this issue could actually crop up with any stateful information in dotfile directories
<ixxie>
I guess I will switch to your approach
<rycee>
Aye, whenever you are linking a whole directory you risk this problem. In general I would suggest to prefer linking individual files or directories only when it is known that nothing will write to them.
JagaJaga has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 2 new commits to master: https://git.io/v5hmq
<NixOS_GitHub>
nixpkgs/master ecebb60 Tuomas Tynkkynen: pythonPackages.flake8-future-import: Init at 0.4.3
<NixOS_GitHub>
nixpkgs/master 2c2cd34 Tuomas Tynkkynen: esptool: Fix tests in sandbox...
NixOS_GitHub has left #nixos []
<rycee>
ixxie: If you have many entries in your .emacs.d directory then perhaps you can avoid listing each of them manually in the code by using some form of map over the result of `builtins.readDir ./my-dotemacs`.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg opened pull request #29603: erlang: introduce "no X" variation (master...f/erlang) https://git.io/v5hm3
<nvd>
(nix-env is installing the older version as well)
ShalokShalom has quit [(Remote host closed the connection)]
<Ankhers>
nvd: Define "old version"? Is it updated within nixpkgs?
<nvd>
Ankhers: yes
ShalokShalom has joined #nixos
<nvd>
I'm trying nix-channel --update
<Ankhers>
Are you running the unstable channel? nix-channel --list to check.
<nvd>
Yeah
<nvd>
It looks like nix-channel --update fixed it
a6a3uh has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Myrl-saki has quit [(Ping timeout: 246 seconds)]
sellout- has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
nh2 has joined #nixos
orivej has quit [(Read error: Connection reset by peer)]
JagaJaga has quit [(Ping timeout: 240 seconds)]
Sonarpulse has quit [(Ping timeout: 255 seconds)]
ixxie has joined #nixos
<ixxie>
yoyoyo
<ixxie>
any scientists / analysts in the house?
<hyper_ch>
no
<simpson>
ixxie: Maybe? I doubt that that's your real question.
<goibhniu>
ixxie: it's really more useful to ask your question directly
<dtzWill>
^
<hyper_ch>
simpson: of course that was the real question and not a meta question
<simpson>
hyper_ch: Oh, okay.
<ixxie>
I'm kinda looking for the people themselves
<ixxie>
thats my question
<ixxie>
who is using NixOS and has a particular interest in science and analytics
<hyper_ch>
does science fiction also count?
<simpson>
ixxie: Well, does "scientist" mean "person who does science", or does it mean "person who has one of a certain class of degrees", or does it mean "paid to do science"?
<hyper_ch>
and is it real sciences or pseudo sciences?
<Infinisil>
lol, that's a scientist for you ^^ "First we need to define science before we can talk about it"
<ixxie>
simpson: my goal is to see if some people would wanna try and team up and setup a nixos configuration for an analytics server
<simpson>
Infinisil: Honestly, to my dismay, most practicing scientists don't care about philosophy of science.
<simpson>
ixxie: What's an "analytics server"? Like Prometheus?
<ixxie>
simpson: word.
<hyper_ch>
prometheus was that guy from greek mythology... how can he be a server?
<Infinisil>
simpson: I mean the behaviour of wanting to define everything first before using it, it's very sciency
ryanartecona has quit [(Quit: ryanartecona)]
<hyper_ch>
simpson: ah, gTLD... that must be a scam/spam site
<ixxie>
simpson: well first thing I would package JupyterHub; then we would add a bunch of other cool tools and see what happens
<gchristensen>
hyper_ch: puh-lease
<ixxie>
simpson: what philosophers of science are you into?
<simpson>
hyper_ch: Hey, you don't wanna learn today, that's not my problem.
<gchristensen>
simpson++
<simpson>
ixxie: Pirsig. I don't know what JupyterHub is, although I can guess, and I am 0% interested in that stuff.
<hyper_ch>
simpson: :)
<ixxie>
lol
<ixxie>
simpson: you know ipython notebooks?
<simpson>
Sure.
<ixxie>
jupyter is the successor project
<simpson>
Ah, it's a Jupyter notebook server. Fun!
<ixxie>
is that sarcastic?
<ixxie>
xD
<simpson>
No, not sarcasm; people genuinely seem to enjoy using Jupyter.
<simpson>
*I* loathe and detest that part of the Python ecosystem, but I've got issues.
<ixxie>
I am curious why
<ixxie>
I haven't used it much yet but we are setting it up at work now
<simpson>
Because I'm from the Twisted/PyPy corner of the Python galaxy.
<simpson>
We value pure Python, speed, documentation, unit tests, etc.
<ixxie>
why can't you have both? We are planning to write good code well, and then provide a notebook interface for analysts
<ixxie>
BI folk
<ixxie>
and BI folk *
<ixxie>
simpson: didn't realize pirsig did philosophy of science
<simpson>
The Numpy stack is largely imcompatibly with PyPy, and efforts to fix it have been slow because Numpy's maintainers don't really value docs, unit tests, pure Python, etc.
<ixxie>
which book was that?
<simpson>
Both books have philosophy of science in there, via studying the nature of empiricism.
<ixxie>
oh yeah I can see that
<simpson>
Also, the Numpy ecosystem keeps churning out crap. Numba, Anaconda, etc. are not good things; they are hacky patches slapped on top of a ball of mud. Anaconda, in particular, should admit that Nix exists and then shrivel up and stop being a thing.
<ixxie>
yeah I noticed that today when (unfortunately) I used it to install jupyterhub
__Sander__ has quit [(Quit: Konversation terminated!)]
bennofs has quit [(Read error: Connection reset by peer)]
<catern>
ixxie: I am very interested in what you're saying :)
Neo-- has joined #nixos
<catern>
Nix-integrated Jupyter and so on
<catern>
but sadly, I don't use Jupyter or have any familiarity with it, so I can just wish you good luck :)
<ixxie>
hyper_ch: well I am running gnome on nixos from stable, there you will have wayland
zzamboni has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
why would that provide wayland?
digitus has joined #nixos
<simpson>
ixxie: A cool departure from Python to pursue specialized goals. As somebody who also departed Python to build a specialized language, I approve.
<hyper_ch>
"to build a specialized language"? oO
<simpson>
hyper_ch: Y'know, a language that's meant to be good at certain specific classes of task.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] disassembler opened pull request #29607: mqtt-bench: init at 0.3.0 (master...mqtt-bench) https://git.io/v5huN
NixOS_GitHub has left #nixos []
<hyper_ch>
simpson: sounds like Unix philosophy :)
<simpson>
hyper_ch: "Unix philosophy" doesn't mean anything to me. It's in the bin with "functional programming" and "object-oriented programming" and "scripting language".
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
phdoerfler has quit [(Quit: Leaving.)]
<simpson>
Ah. Yeah, that's not a thing IMO.
<simpson>
You can *intend* for a program to have one use. And that's the intended use. And then there will always be other unintended things that it can do.
mpcsh has quit [(Client Quit)]
reinzelmann has quit [(Quit: Leaving)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<silver_hook>
If I try to `power on` bluetooth using `bluetoothctl`, I just get: Failed to set power on: org.bluez.Error.Blocked
<ixxie>
I believe the philosophy of the 21st century will be shaped more by biology and computer science than anything else
<ixxie>
and they have plenty in common
<ixxie>
simpson: that article is cool too
stanibanani has quit [(Ping timeout: 248 seconds)]
<disasm>
what's needed to create a group in a nixos module? I thought it was users.extraGroups.mygroup but my service fails to start saying group doesn't exist.
arianvp2 has quit [(Quit: arianvp2)]
stanibanani has joined #nixos
ertes-w has quit [(Ping timeout: 246 seconds)]
<ixxie>
disasm: I think its users.groups.<groupname> = { name="us"; gid= "23"; members = [ "me"; "you"; ]; }
Turion has quit [(Read error: Connection reset by peer)]
ebzzry has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
JagaJaga has quit [(Ping timeout: 246 seconds)]
zzamboni has joined #nixos
stanibanani has quit [(Remote host closed the connection)]
chakerbenhamed has joined #nixos
Sonarpulse has joined #nixos
Sonarpulse has quit [(Remote host closed the connection)]
Sonarpulse has joined #nixos
chakerbenhamed has quit [(Client Quit)]
asymmetric has joined #nixos
chakerbenhamed has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/v5hwn
<NixOS_GitHub>
nixpkgs/master 9182927 Michael Weiss: gengetopt: Fix the build...
NixOS_GitHub has left #nixos []
<disasm>
ixxie: yeah, that's the one, thanks
griff_ has quit [(Quit: griff_)]
* disasm
facepalm
jtojnar has quit [(Quit: jtojnar)]
jtojnar has joined #nixos
<disasm>
and now... it's trying to write to the nix store :(
Turion has joined #nixos
stanibanani has joined #nixos
acowley_away is now known as acowley
mortum5 has joined #nixos
arianvp2 has joined #nixos
michas_ has joined #nixos
jeron has quit [(Ping timeout: 248 seconds)]
ebzzry has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<ixxie>
does the hydra in delft use chef?
zzamboni has joined #nixos
pie_ has joined #nixos
<ixxie>
"output path ‘/nix/store/jmdz0bc645x6yiljv8xx3j6c3w8sg33v-multi-term.el’ has sha256 hash ‘1rf49qdl0hqpb43m4asmxw2hm7v9y8d285824yddr7ixqcc2f59n’ when ‘0i7gixcyqhd8ajbslfmb58rvdihzfprydwiqr730q9q0yfja36j8’ was expected"
<ixxie>
since this is an emacs melpa package and those are autogenerated in nixpkgs, might it be that its lagging behind?
<ixxie>
I have never seen this error before when its something syntactic, and the same files worked earlier today on the work machine
eacameron has quit [(Read error: Connection reset by peer)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Quit: leaving)]
<toogley>
how can i install the ruby development files? i can't find a devel package
civodul has quit [(Ping timeout: 240 seconds)]
Neo-- has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
sigmundv has quit [(Quit: Leaving)]
aneeshusa has quit [(Quit: WeeChat 1.9)]
_ris has joined #nixos
tmaekawa has joined #nixos
stanibanani has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Quit: Lost terminal)]
tmaekawa has quit [(Client Quit)]
<disasm>
toogley: what are you trying to do?
<toogley>
disasm: installing some jekyll rubygems to use them build a website
<Sonarpulse>
DavidEGrayson: thanks for proofreading the documents
<Sonarpulse>
btw #nixos-dev is a thing for the infra itself, if you want to idle there
<Sonarpulse>
(doc for binutils-wrapper)
<disasm>
toogley: ah, so you'll want to do that in a nix-shell
<disasm>
although, I'm not a huge fan of putting bundler, bundix and jekyll in your systemPackages. Would be better to do something like nix-shell -p bundler bundix jeklyy
kanshazan has joined #nixos
jmeredith_ has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
<sphalerite>
An alias that's saved me a huge amount of time since I added it to my zshrc today: `alias nixpkgs="nix-build --no-out-link '<nixpkgs>' -A"`
<sphalerite>
it's the little things…
<toogley>
disasm: thanks a lot!
stanibanani has joined #nixos
grw has quit [(Ping timeout: 240 seconds)]
chakerbenhamed has quit [(Ping timeout: 240 seconds)]
<disasm>
toogley: any time!
rsynnest_ has quit [()]
rsynnest has joined #nixos
ryanartecona has joined #nixos
silver_hook has quit [(Quit: Konversation terminated!)]
himmAllRight has quit [(Remote host closed the connection)]
mattcode has quit [(Read error: Connection reset by peer)]
himmAllRight has joined #nixos
taktoa has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] lheckemann opened pull request #29609: impressive: fixes and improvements (master...impressive-fixes) https://git.io/v5hy7
NixOS_GitHub has left #nixos []
stanibanani has left #nixos []
mattcode has joined #nixos
leat has quit [(Ping timeout: 255 seconds)]
chakerbenhamed has joined #nixos
LexLeoGryfon has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
grw has joined #nixos
<Infinisil>
(totally unrelated) Yesterday I found out about ReplayGain, which is some standard to adjust music volume so it's all the same. Added it to my music setup and omg
<Infinisil>
I've had to adjust the volume about 50 times already
<Infinisil>
(I'm pretty sure I must've done something wrong)
<Infinisil>
woffs: Are you using vim_configurable?
<woffs>
Infinisil, no
ryanartecona has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<woffs>
should I?
<Infinisil>
woffs: How are you installing the plugins? What's exactly the problem?@
<Infinisil>
woffs: Well vim_configurable is super nice
<woffs>
installed vimplugin-fugitive-2017-02-25 and vimplugin-Syntastic-2017-02-28 and vim-8.0.0329 and wonder how to include the plugins in my config in the most durable way
<woffs>
I guess symlinking into ~/.vim/plugin is not the last word
zzamboni has joined #nixos
<Infinisil>
I guess that's why vim_configurable exists, I think it pretty much does this (plus some more)
<ij>
How do I build something that expects not { pkgs } and then uses pkgs.foo, but just { foo }? "--arg nixpkgs" won't work, right?
<ij>
disasm, Huh! Hadn't seen those. I'll take a look!
<disasm>
ij: yeah, it starts at the basics of the basics and gets more complex
<Infinisil>
I had a peek once, and it seemed that I already know most of it, maybe I'll read them just for the sake of it though :P
<woffs>
how does vim_configurable integrate with programs.vim.defaultEditor = true ?
arianvp2 has quit [(Quit: arianvp2)]
pie_ has quit [(Ping timeout: 248 seconds)]
<gchristensen>
ij: if you see errors, please send bug reports :0
<taaperotassu>
i
<woffs>
answer: an override. vim = pkgs.vim_configurable :-)
numbdewd has quit [(Quit: ☺ )]
<schoppenhauer>
hi. inside a nix-shell I have as a buildInput (emacs25WithPackages [emacs25Packages.proofgeneral]). in the past, this added an executable `proofgeneral` in the $PATH. now it doesn't. why is that?
<schoppenhauer>
I am using 17.03.1849.1e30a7c617 but with unstable channel activated
marusich has joined #nixos
civodul has joined #nixos
leat has joined #nixos
<schoppenhauer>
or why might that be?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #29610: No gcc cross stage final (master...no-gccCrossStageFinal) https://git.io/v5hdN
NixOS_GitHub has left #nixos []
phreedom has quit [(Ping timeout: 240 seconds)]
sellout- has joined #nixos
<Infinisil>
schoppenhauer: You can't 'activate' a channel and still use another version. A channel says exactly what version you're on
sary has quit [(Remote host closed the connection)]
pSub has quit [(Remote host closed the connection)]
<schoppenhauer>
it works when I add proofgeneral to the buildInputs outside emacsWithPackages
zzamboni has quit [(Quit: Leaving.)]
<schoppenhauer>
but there has to be both to work
<Infinisil>
Ah I see
jacob__ has quit [(Quit: Lost terminal)]
jacob has joined #nixos
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
jacob has quit [(Client Quit)]
<Infinisil>
It's better this way, because including an emacs package shouldn't automatically include it as a buildInput
<Infinisil>
xmonadWithPackages and xmobar also works this way
griff_ has joined #nixos
michiell has quit [(Quit: Lost terminal)]
<schoppenhauer>
ok
<Ankhers>
Infinisil: Is that the suggested way of getting xmobar and xmonad working together?
<schoppenhauer>
Infinisil: thx
<Infinisil>
Ankhers: I don't really get your question
<Ankhers>
Sorry. I have been trying to get xmonad and xmobar working recently. I configured services.xserver.windowManager.xmonad, and then just installed haskellPackages.xmobar using environment.systemPackages. But you just mentioned xmonadWithPackages and xmobar. But I think I misunderstood what you were saying.
kanshazan has quit [(Quit: leaving)]
ryanartecona has quit [(Quit: ryanartecona)]
<Infinisil>
I put xmobar in systemPackages too
zzamboni has joined #nixos
griff_ has quit [(Quit: griff_)]
<Infinisil>
but I'm actually also not sure about the whole xmonad + xmobar story. Currently I'm spawning an xmobar with the xmonad config, but i don't really like that
<Infinisil>
Also I just experimented with an xmobar module, which would be nice
<MP2E>
yeah I just put xmobar in systempackages and call it with xmonad too
<MP2E>
xmobar tends to segfault with ghc 8.2.1 as the compiler unfortunately :(
<Infinisil>
ohhhh is that why it's been randomly quitting recently??
<MP2E>
been meaning to set 'dontStrip = true;' and get a coredump
<Ankhers>
Then I don't know why it isn't working :(
<MP2E>
yep my xmobar does tend to randomly crash. It doesn't happen often enough to make me switch from GHC 8.2.1 because it's a pretty solid release in general. I can get it to happen a lot more when I launch fullscreen games
<MP2E>
in particular, toggling fullscreen on and off in some of hte doom ports we have packaged in nixpkgs fairly reliably breaks xmobar
<Infinisil>
Ankhers: Do you have multiple xmobars running by any chance?
<Infinisil>
Why does everything break man, computers suck
<Infinisil>
I mean it's amazing what we accomplished so far, but hell, we can't even manage to not break a status bar
acarrico has joined #nixos
<Infinisil>
Maybe it's because FOSS, but still
<gchristensen>
because computers are too complicated and our little brains can't deal with it
zzamboni has joined #nixos
<Ankhers>
Infinisil: 1 instance of xmobar is running.
<Infinisil>
(don't look at the rest of my config, it's horrible i know)
takle has quit [(Remote host closed the connection)]
<toogley>
hm. i accidentally deleted my hardware-configuration.nix and nixos-generate-config fails with "Failed to retrieve subvolume info for /", while / being on a btrfs partition (i don't use subvolumes at the moment)
<toogley>
how can i fix that?
<toogley>
note: i have used nixos-rebuild switch and nixos-rebuild switch --upgrade successfully minutes ago
<Lisanna>
Is there a good way to deal with the fact that buildInputs expects things that would normally go in /usr but most of the stdenv derivations I write have a /usr directory in the output? I end up having to do something funky like buildInputs = [ "${component}/usr" ] in order for it to get picked up during the build of the dependent derivation
hamishmack has quit [(Quit: hamishmack)]
wilornel has joined #nixos
<wilornel>
Hey #nixos! I was wondering if there is something like nix for running processes? For example, I'd like to easily say: "have redis-server running with port 3333"
griff_ has joined #nixos
<wilornel>
(It would not have to take natural language as input :-) )
<Lisanna>
wilornel: NixOS :)
<wilornel>
it can do that? :o
<wilornel>
how?
RayNbow`TU has quit [(Read error: Connection reset by peer)]
<Mic92>
also in nixpkgs available, but probably on unstable
<Lisanna>
Mic92: are you saying the default install prefix for autotools is /usr then?
<Mic92>
silver_hook: it is part of iputils
<silver_hook>
Mic92: thanks on both accounts :)
<Mic92>
Lisanna: autotools usually defaults to /usr/local
<Mic92>
Lisanna: are you using something like `make DESTDIR=$out install` ?
<Lisanna>
Mic92: yeah
<silver_hook>
Mic92: So `nix-index` has to be constantly updated? e.g. as `locate`?
kwork has quit [(Quit: No Ping reply in 180 seconds.)]
<Lisanna>
sometimes Makefiles will create other paths though, like /etc and non-/usr /lib, how should I deal with those? I don't necessarily want to just throw them away
<Mic92>
silver_hook: nix-locate uses your installed packages, nix-index works like locate
<silver_hook>
Ah, OK. Thankss
kwork has joined #nixos
<Mic92>
Lisanna: the usual way to deal with it is to say ./configure --prefix=$out in the configure phase and make install without DESTDIR in install phase
<Mic92>
Lisanna: this is also, what stdenv.mkDerivation does by default
<Lisanna>
Alright, but sometimes I don't have an autotools package. I'd just like to know what the convention is for what directories should go where in a derivation. So far all I know is that /usr --> $out/
<Mic92>
Lisanna: then you have to fix manually.
<Lisanna>
so I can perform a manual fixup
<Mic92>
Lisanna: you can also do other stuff. Try to grep for DESTDIR=$(out)
<Lisanna>
should I just leave /etc and /lib as $out/etc and $out/lib, but move the contents of /usr up a level too?
<Mic92>
Lisanna: in nixpkgs
<Mic92>
Lisanna: preferable packages should look in /etc for configuration so it is good to set this in autotools. Otherwise your configuration ends beeing read-only in nix store
<Lisanna>
yeah, I guess the answer to my question really depends on what they are
ebzzry has joined #nixos
<Mic92>
Lisanna: some configuration belongs to nix store though
<Lisanna>
sometimes Makefiles try to do more than they really should, like setup udev rules and such
<Mic92>
Lisanna: systemd service files for example can be picked up from there
<Mic92>
in nixos we also use udev rules from packages from time to time.
mudri has joined #nixos
<Mic92>
services.udev.packages = [ pkgs.android-udev-rules ]; is an example
silver_hook has quit [(Quit: Konversation terminated!)]
dywedir has quit [(Remote host closed the connection)]
<Lisanna>
Ah, I see
hiratara has joined #nixos
<Mic92>
Lisanna: makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ]; is a work around for your makefile problem
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
<Lisanna>
Sure, I'll have to do some manual fixups sometimes though, as I'm staring at a Makefile that is installing to ${DESTDIR}/usr/include/... :)
glenn has quit [(Remote host closed the connection)]
<Lisanna>
thanks for your insight
nh2 has quit [(Ping timeout: 240 seconds)]
silver_hook has quit [(Client Quit)]
hamishmack has joined #nixos
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
plumps[m] has left #nixos ["User left"]
<Infinisil>
Mic92: What do I do when a Rust package isn't there? I want to build a fork of alacritty (one with scrollback), and it has a new package, but nix-build complains that it can't download the new thing
mortum5 has quit [(Ping timeout: 240 seconds)]
<Mic92>
Infinisil: pass an updated copy of rustRegistry to buildRustPackage
<Mic92>
Infinisil: this should be really documented in doc/languages-frameworks/rust.md
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #29617: cc-wrapper: Use stdenvNoCC to build (master...cc-wrapper-stdenvNoCC) https://git.io/v5j3j
<Mic92>
I still don't like the Rust integration in nixpkgs
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dotlambda opened pull request #29619: pythonPackages.py3status: add file as a dependency (master...py3status-2) https://git.io/v5jsz
NixOS_GitHub has left #nixos []
<Infinisil>
What's the problem with it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5jso
<NixOS_GitHub>
nixpkgs/master 42d6e93 Raphael Das Gupta: xonsh: fix typo ("xnosh") in "enable" description