<kiloreux> Do you have any sample for it maybe ?
rodgort` has quit [(Quit: Leaving)]
<clever> postInstall = "for x in $out/bin/*; do mv -v $x ${x}-1.2;done";
<clever> oops, and the ${ needs to be escaped
<clever> postInstall = ''for x in $out/bin/*; do mv -v $x $''{x}-1.2;done'';
<clever> i think
<plll> clever: So there isn't a way to force compilation instead of having something from the cache?
<clever> plll: there are some ways, but first, what command are you running?
<kiloreux> clever, Thank you. I will try that out.
<plll> nix-build -A eventstore ./default.nix
<plll> (from the root of my nixpkgs fork)
takle has joined #nixos
<clever> plll: what does 'git diff' say has changed?
rodgort has joined #nixos
<plll> Oh, right. Maybe that's the issue. No new changes. Ok, let me rephrase. How can I force compilation when getting a package in general?
<clever> --option binary-caches ""
kloix has quit [(Ping timeout: 255 seconds)]
<clever> that will temporarily turn binary caches off
<plll> Ok, cool. And to turn them back on?
<clever> just dont give the argument to a command
<plll> Great, thanks!
takle has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 260 seconds)]
riclima has joined #nixos
kiloreux has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
plll has quit [(Quit: leaving)]
<alphor> when there is an unquoted path akin to the src assignment here: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.md#develop-local-package
<clever> alphor: nix will import a copy of that path to /nix/store, and substitute in the storepath
takle has quit [(Ping timeout: 240 seconds)]
<alphor> clever: is there any way to do variable substitution like when it's a string?
kiloreux has joined #nixos
<clever> alphor: you can concat a string to a path, ./. + "/foo/bar"
<alphor> clever: perfect! thanks.
<alphor> what's the type of a path then?
<clever> its both path and string i think
vandenoever has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
<clever> alphor: if you try to append a string to a path, it will parse the result as a path, and force it to become absolute
takle has quit [(Ping timeout: 260 seconds)]
rcschm has joined #nixos
<alphor> but if you just use a regular path it'll stay relative?
takle has joined #nixos
<clever> it will always be absolute
<alphor> doh. shoulda tried it.
<clever> if you put any relative paths into a file, nix will turn them into absolute for you
<clever> making them relative to the file the path was in
darlan has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
<alphor> hm I was gonna ask does Nix traverse directories as it imports from them but since all paths are made absolute it probably doesn't
takle has quit [(Ping timeout: 246 seconds)]
Tipping_Fedora has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mlieberman85 opened pull request #25879: confluent-kafka: init at 0.9.4 (master...add-kafka) https://git.io/v9hJJ
NixOS_GitHub has left #nixos []
<kiloreux> I am getting this error trying to install imagemagick /nix/store/s3rlr45jzlzx0d6k2azlpxa5zwzr7xyy-stdenv/setup: eval: line 70: unexpected EOF while looking for matching `''
takle has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
vaibhavsagar has joined #nixos
<kiloreux> Solved. thanks.
georges-duperon has quit [(Quit: Leaving)]
justanotheruser has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
betaboon has joined #nixos
darlan has joined #nixos
kiloreux has quit [(Ping timeout: 260 seconds)]
_deepfire has quit [(Ping timeout: 246 seconds)]
proteusguy has quit [(Remote host closed the connection)]
<johnramsden> I'm having a problem with nix syntax trying to 'wrap' a function with another function. What is the right way to do this? Here's the incorrect syntax I'm using https://github.com/johnramsden/NixOS/blob/071f5aeecc23956ccd40c360a303c3356cf192ef/system/boot/filesystems/zfs.nix#L18-#L29
matthewbauer has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
derjohn_mob has quit [(Ping timeout: 255 seconds)]
<clever> johnramsden: line 27 is calling a function, and passing it an invalid attribute set
<johnramsden> clrver: Why is it invalid?
<clever> johnramsden: i think bed is of type string, but makeZfsDataset wants an attrset
<clever> you are passing it { "astring" }
<clever> which is not a value key=value attrset
<clever> valid*
<johnramsden> Oh i see
<clever> i think you want { mount = bed; }
philipwhite has quit [(Ping timeout: 260 seconds)]
hex20dec has left #nixos []
derjohn_mob has joined #nixos
takle has joined #nixos
matthewbauer has quit [(Ping timeout: 268 seconds)]
<johnramsden> clever: Now apparently I've created a loop.
<johnramsden> error:
<johnramsden> Failed assertions:
<johnramsden> - The ‘fileSystems’ option can't be topologically sorted: mountpoint dependency path /var/lib/containers -> /var/lib/containers loops to /var/lib/containers
<johnramsden> What's wrong with this?
<johnramsden> makeZfsDatasetFromBootEnv = bed:
<johnramsden> makeZfsDataset { mount = bed; dataset = "${baseDataset}/${bed}"; };
<clever> johnramsden: i think you may have /var/lib/containers in the list twice
takle has quit [(Ping timeout: 268 seconds)]
<johnramsden> clover: Nope :S
obadz has quit [(Ping timeout: 246 seconds)]
johnramsden has quit [(Ping timeout: 240 seconds)]
johnramsden has joined #nixos
proteusguy has joined #nixos
takle has joined #nixos
Raimondii has joined #nixos
s33se_ has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
praduca has joined #nixos
s33se has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
obadz has joined #nixos
lambdamu has joined #nixos
takle has joined #nixos
justelex_ has joined #nixos
lambdamu_ has quit [(Ping timeout: 260 seconds)]
justelex has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
<johnramsden> Does anyone else have a lot of file systems and have a good way of organizing them into a list that doesn't involve just a huge number of repeated:
<johnramsden> fileSystems."/" =
<johnramsden> { device = "vault/sys/atom/ROOT/17.03";
<johnramsden> fsType = "zfs";
<johnramsden> };
<johnramsden> fileSystems."/nix" =
<johnramsden> { device = "vault/sys/atom/ROOT/17.03/nix";
<johnramsden> fsType = "zfs";
<johnramsden> };
<johnramsden> I don't know what the best way to organize them is and I have a lot of file systems.
<dhess`> If I want to include the path to libffi's headers, how do I get that path in a derivation?
<dhess`> ${libffi} only has a /lib I believe
<clever> dhess`: for ghc?
<clever> nix-repl> :b libffi
<clever> this derivation produced the following outputs:
<dhess`> ohh dev
<clever> dev -> /nix/store/bfv2kva3jl2hqc8fh0y75nrd77c7hasl-libffi-3.2.1-dev
<dhess`> thanks
takle has joined #nixos
<dhess`> clever: yeah. I've got ARM GHC building now, but for some reason it wants the include path for ffi.h, whereas x86_64-linux GHC didn't need it.
<johnramsden> Is there a way to extend an existing function? Almost like a c overloaded function?
<dhess`> anyway I'm getting close now.
<clever> johnramsden: pass some arguments on using inherit, when calling the base one
<johnramsden> clever: Do you have an example?
<johnramsden> clever: Nvm i'll look through gh
takle has quit [(Ping timeout: 268 seconds)]
<johnramsden> clever: It's not possible to inherit a function though right? Only attributes?
<clever> inherit will work on any value
<clever> { inherit foo; } is identical to { foo = foo; }
<johnramsden> Nice
hexagoxel has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Ping timeout: 272 seconds)]
<gchristensen> hehe my smb honeypot has been seeing hundreds of thousands of attempts to infect it an hour :o
zeus_ has quit [(Remote host closed the connection)]
jonasfj_ has quit [(Ping timeout: 272 seconds)]
zeus_ has joined #nixos
<clever> gchristensen: heh, nice
<gchristensen> yeah
<gchristensen> I wonder what it is like at the backbone level when a major worm takes hold
jonasfj_ has joined #nixos
<clever> gchristensen: there was an sql exploit many years ago, that could infect a machine with a single udp packet
<clever> gchristensen: thats a recipe for backbone breaking levels of traffic, because every infected node can just spray the internet blindly
ashtonkem has joined #nixos
<clever> no need to wait for replies
takle has joined #nixos
<ashtonkem> Hey, it looks like the google-chrome URL is broken.
<ashtonkem> Should I open a ticket for tihs?
<clever> yeah, if you cant find another recent ticket
roconnor has joined #nixos
<gchristensen> clever: amazing...
zeus_ has quit [(Ping timeout: 272 seconds)]
hexagoxel has joined #nixos
<clever> gchristensen: that worm is also completely unable to make the infection last, it only lives in ram
filterfish has quit [(Ping timeout: 268 seconds)]
<clever> gchristensen: in theory, rebooting every computer on the plannet at once would exterminate the virus, lol
<dash> we should do that once a week anyway
<dash> just to be sure
roconnor_ has joined #nixos
<clever> lol
takle has quit [(Ping timeout: 246 seconds)]
<gchristensen> let's do that but just forget to turn them all back on
roconnor has quit [(Ping timeout: 240 seconds)]
<clever> dash: lol, never seen that before
<dash> gchristensen: new linux command, "ip link --gc"
<gchristensen> what is that?
<dash> gchristensen: delete garbage from your network
<gchristensen> oh duh haha
<dash> as you suggested
<dash> (like the joke about how C doesn't have garbage collection, because it would delete most C programs)
<gchristensen> haha
roconnor_ has quit [(Quit: Konversation terminated!)]
takle has joined #nixos
aneeshusa has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
filterfish has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
justelex_ has quit [(Ping timeout: 240 seconds)]
zeus_ has joined #nixos
rcschm has quit [(Remote host closed the connection)]
schoppenhauer has quit [(Ping timeout: 260 seconds)]
schoppenhauer has joined #nixos
sitwon has joined #nixos
rcschm has joined #nixos
ericsagnes has joined #nixos
takle has joined #nixos
ashtonkem has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 268 seconds)]
rcschm has quit [(Ping timeout: 240 seconds)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
praduca has quit [(Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)]
sellout- has joined #nixos
matthewbauer has joined #nixos
schoppenhauer has quit [(Ping timeout: 268 seconds)]
schoppenhauer has joined #nixos
riclima has joined #nixos
sitwon has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
filterfish_ has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
filterfish has quit [(Ping timeout: 240 seconds)]
paperd has joined #nixos
jonasfj_ has quit [()]
paperd has quit [(Client Quit)]
hamishmack has quit [(Quit: hamishmack)]
simukis_ has joined #nixos
rcschm has joined #nixos
takle has joined #nixos
matthewbauer has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
aneeshusa has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> anyone know how to customize gnome_terminal?
takle has quit [(Ping timeout: 240 seconds)]
systemfault has joined #nixos
matthewbauer has joined #nixos
takle has joined #nixos
uralbash has quit [(Remote host closed the connection)]
darlan has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 246 seconds)]
mudri has quit [(Ping timeout: 258 seconds)]
matthewbauer has quit [(Ping timeout: 240 seconds)]
paperd has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
takle has joined #nixos
mudri has joined #nixos
ilyaigpetrov has joined #nixos
fresheyeball has quit [(Quit: WeeChat 1.7.1)]
takle has quit [(Ping timeout: 240 seconds)]
sellout- has quit [(Quit: Leaving.)]
reinzelmann has joined #nixos
systemfault has quit [(Quit: Bye!)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jacob_ has joined #nixos
jacob_ is now known as Guest25447
cpennington has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
rcschm has quit [(Remote host closed the connection)]
paperd has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #25881: gtk2: search for themes in XDG_DATA_DIRS (master...gtk2-themes) https://git.io/v9hZR
NixOS_GitHub has left #nixos []
leat has joined #nixos
dtzWill has quit [(Ping timeout: 240 seconds)]
dtzWill has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v9hnB
<NixOS_GitHub> nixpkgs/master e75297a Aneesh Agrawal: icdiff: 1.7.3 -> 1.9.0...
<NixOS_GitHub> nixpkgs/master eda502d Jörg Thalheim: Merge pull request #25847 from aneeshusa/update-icdiff-to-1.9.0...
NixOS_GitHub has left #nixos []
marsel has joined #nixos
leat has quit [(Ping timeout: 260 seconds)]
<vaibhavsagar> can anyone help me do the crtbeginT swap in nixos? https://www.fpcomplete.com/blog/2016/10/static-compilation-with-stack
ericsagnes has quit [(Ping timeout: 260 seconds)]
<vaibhavsagar> is that even a thing I can do?
FRidh has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
simukis_ has quit [(Quit: simukis_)]
alx741 has quit [(Quit: alx741)]
takle has quit [(Ping timeout: 268 seconds)]
marsel has quit [(Ping timeout: 246 seconds)]
matumental has joined #nixos
hamishmack has joined #nixos
paperd has joined #nixos
<paperd> for give me, but how do I overcome this Typesafe Activator error in nixpkgs?
<vaibhavsagar> what's the error?
<paperd> error: Typesafe Activator was removed in 2017-05-08 as the actual package reaches end of life.
takle has joined #nixos
justan0theruser has joined #nixos
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v9hC0
<NixOS_GitHub> nixpkgs/master 0eff1d9 Bjørn Forsman: vino: use wrapGAppsHook...
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
takle has quit [(Ping timeout: 272 seconds)]
katyucha is now known as Guest42740
katyucha_ is now known as katyucha
justanotheruser has quit [(Ping timeout: 240 seconds)]
MercurialAlchemi has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
hiberno has joined #nixos
FRidh has quit [(Read error: Connection reset by peer)]
FRidh has joined #nixos
matumental has quit [(Quit: Page closed)]
paperd has quit [(Quit: WeeChat 1.7.1)]
takle has joined #nixos
carlosda1 has quit [(Ping timeout: 240 seconds)]
zeus_ has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 255 seconds)]
mudri has quit [(Ping timeout: 260 seconds)]
johnramsden has quit [(Quit: Leaving)]
hiberno has quit [(Remote host closed the connection)]
jensens has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
ixxie has quit [(Ping timeout: 260 seconds)]
nschoe has joined #nixos
InitializeSahib has joined #nixos
<InitializeSahib> i'm having trouble getting hplip to work on nixos
<InitializeSahib> i've set up the unstable channel
<InitializeSahib> this is my configuration.nix: https://hastebin.com/ruwuxuvale.bash
<InitializeSahib> the problem aries when i run hplip
<InitializeSahib> it says "GPG command not found"
<InitializeSahib> so, i symlinked it to gpg (just to test), then it complained about /bin/bash
<InitializeSahib> i symlinked that, and finally it said
<InitializeSahib> "/etc/hp/hplip.conf not found. Is HPLIP installed?"
<InitializeSahib> i'm using the hplip-3.16.11 package, python3/2.7-dbus and python3/2.7-gobject are both installed
<InitializeSahib> can anyone help?
marsel has joined #nixos
<nixy> I will take a swing, but can't make any promises
proteusguy has quit [(Remote host closed the connection)]
<nixy> It doesn't look like `hplip` is a command from the hplip package. Is there a specific command causing this error message to pop up?
Itkovian has joined #nixos
takle has joined #nixos
<nixy> It sounds like you may just need to add GPG to the inputs of the hplip package though
therp has quit [(Quit: Leaving)]
orivej has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
filterfish_ has quit [(Remote host closed the connection)]
nh2 has joined #nixos
filterfish_ has joined #nixos
<LnL> are you writing an expression for it?
takle has joined #nixos
<nixy> LnL: I believe they are using this expression: https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/drivers/hplip/default.nix
trikl has joined #nixos
<nixy> Not sure what they are trying to do, but it sounds like it might be missing runtime dependencies
takle has quit [(Ping timeout: 260 seconds)]
engblom has quit [(Read error: Connection reset by peer)]
Wizek has joined #nixos
engblom has joined #nixos
Wizek__ has joined #nixos
Tucky has joined #nixos
takle has joined #nixos
<LnL> well, for most of the issues he's talking about there's something in that expression
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
<FRidh> if I recall correctly the hplip package should be fixed by only wrapping the programs in /bin and not where they refer to (somewhere in share I think)
Itkovian has quit [(Read error: Connection reset by peer)]
takle has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v9hBW
<NixOS_GitHub> nixpkgs/staging 71a7e22 Vladimír Čunát: treewide: fixup packages with RPATH problems
NixOS_GitHub has left #nixos []
guillaum2 has quit [(Quit: Lost terminal)]
goibhniu has joined #nixos
ixxie has joined #nixos
ericsagnes has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
bennofs has joined #nixos
Itkovian has joined #nixos
phinxy has quit [(Ping timeout: 260 seconds)]
thc202 has joined #nixos
filterfish_ has quit [(Ping timeout: 272 seconds)]
jgeerds has joined #nixos
hotfuzz has quit [(Quit: WeeChat 1.7.1)]
samae has quit [(Remote host closed the connection)]
samae has joined #nixos
derjohn_mob has quit [(Ping timeout: 260 seconds)]
filterfish has joined #nixos
samae has quit [(Remote host closed the connection)]
samae has joined #nixos
pdobrogost has joined #nixos
purpleblue has joined #nixos
freusque has joined #nixos
ertes has quit [(Ping timeout: 268 seconds)]
ericsagnes has quit [(Ping timeout: 268 seconds)]
filterfish has quit [(Ping timeout: 240 seconds)]
purpleblue has quit [(Quit: Leaving)]
samae has quit [(Remote host closed the connection)]
samae has joined #nixos
samae has quit [(Remote host closed the connection)]
samae has joined #nixos
samae has quit [(Changing host)]
samae has joined #nixos
ixxie has quit [(Ping timeout: 260 seconds)]
endformationage has quit [(Quit: WeeChat 1.7)]
peti has quit [(Quit: WeeChat 1.7)]
sigmundv__ has quit [(Ping timeout: 260 seconds)]
civodul has joined #nixos
__Sander__ has joined #nixos
peti has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.7.1)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] unaizalakain opened pull request #25883: enzyme: init at 0.4.1 (master...init-enzyme) https://git.io/v9hgu
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
reinhardt has joined #nixos
goibhniu1 has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
goibhniu has quit [(Ping timeout: 246 seconds)]
reinzelmann has quit [(Ping timeout: 246 seconds)]
pie_ has joined #nixos
takle has joined #nixos
peti has quit [(Quit: WeeChat 1.7)]
takle_ has joined #nixos
peti has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
derjohn_mob has joined #nixos
takle_ has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] unaizalakain opened pull request #25884: pysrt: init at 1.1.1 (master...init-pysrt) https://git.io/v9hac
NixOS_GitHub has left #nixos []
pie_ has quit [(Ping timeout: 240 seconds)]
orivej has quit [(Read error: Connection reset by peer)]
DutchWolfie has quit [(Quit: Konversation terminated!)]
simukis_ has joined #nixos
ixxie has joined #nixos
ertes-w has joined #nixos
<domenkozar> niksnut: is nixops tarball built by hydra available somewhere?
bennofs has quit [(Ping timeout: 246 seconds)]
<domenkozar> I guess I should just substitute it
<domenkozar> and upload it somewhere
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/v9hwP
<NixOS_GitHub> nixpkgs/staging e9aeb55 Vladimír Čunát: Merge branch 'master' into staging
<NixOS_GitHub> nixpkgs/staging cbdcc20 Vladimír Čunát: sile, simavr: fixup packages with RPATH problems
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/v9hw5
<NixOS_GitHub> nixpkgs/master 8ae6797 Domen Kožar: nixopsUnstable: 1.5 -> 2017-05-15
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to release-17.03: https://git.io/v9hwF
<NixOS_GitHub> nixpkgs/release-17.03 e5804b8 Domen Kožar: nixopsUnstable: 1.5 -> 2017-05-15...
NixOS_GitHub has left #nixos []
<ixxie> If I am packaging software that relies on Nix in the first place, does it make any sense to use something like Autotools?
derjohn_mob has quit [(Ping timeout: 240 seconds)]
derjohn_mob has joined #nixos
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
catch22 has joined #nixos
oida has joined #nixos
derjohn_mob has quit [(Ping timeout: 268 seconds)]
derjohn_mob has joined #nixos
stepho has joined #nixos
orivej has joined #nixos
freusque has quit [(Ping timeout: 260 seconds)]
jensens has joined #nixos
DrW8ste has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
<peti> niksnut: Where did you find the printHash32() algorithm that splits a sha256 hash into quintets for base32 encoding? Have you come up with that for-loop yourself? This is really, really clever.
DrW8ste has quit [(Client Quit)]
Sufixx has joined #nixos
DrWaste has joined #nixos
<pierron_> danbst: No, I never heard of Decription Logic before. I honestly made the module system as hope that one day I could copy some-else configuration, instead of following instructions on a forum / blog.
<Sufixx> Hello, I'm trying to add ""\e[5~": history-search-backward" to /etc/inputrc, how can I do that using nixos config file?
<nixy> Sufixx: I don't think nixos has any options for modifying /etc/inputrc
<Sufixx> :( i tried doing environment.etc."inputrc".text = ""; in many variants, but file is unaffected
<manveru> i just put it in ~/.inputrc along with my other stuff...
<manveru> but ofc that's not ideal :P
<nixy> manveru: I mean, thats what I do. I use git to control and sync my dotfiles
<manveru> i use seafile
<nixy> Sufixx: Can you make a gist/pastebin of the .nix file where you are trying to set this?
<manveru> too lazy to commit everything manually ^^;
hiberno has joined #nixos
Sonarpulse has joined #nixos
pie_ has joined #nixos
<nixy> See, but that feels like a lot to sync my silly custom readline prompts :P
<Sufixx> manveru, duh, few years and I was always editing /etc/inputrc :D that solution is fine for me
<manveru> nixy: i use if for a ton of other stuff too, got 1TB there ;)
jgrasser has quit [(Ping timeout: 240 seconds)]
dhess has quit [(Ping timeout: 246 seconds)]
afldcr has quit [(Ping timeout: 258 seconds)]
<Sufixx> I hope nixos project won't die in next years, I really like the idea of this distro
cmacrae has joined #nixos
jgrasser has joined #nixos
afldcr has joined #nixos
orivej has quit [(Read error: Connection reset by peer)]
<cmacrae> Yo gchristensen o/ Wanting to expand on the stuff we spoke about the other day (expression of a number of arbitrary systemd user services). I've tried to convey what I want to do in a Gist, would you mind taking a look? I'd like to expose some parameters around the services, basically.
<cmacrae> No worries if you're busy, of course :)
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
bkchr has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v9h15
<NixOS_GitHub> nixpkgs/master d438cbb Joachim Fasting: socklog: disable shsgr test...
<NixOS_GitHub> nixpkgs/master 77ed860 Joachim Fasting: linux_hardened: enable checks on scatter-gather tables...
NixOS_GitHub has left #nixos []
<ocharles> urgh wtf. if you `import` in nix-repl and change the file, subsequent `import`s do *nothing*
<danbst> Sufixx: there is a hacky way
<ocharles> they just return the first import!
bkchr has quit [(Ping timeout: 268 seconds)]
<danbst> environment.etc."inputrc" = lib.mkForce {
<danbst> text = builtins.readFile (<nixpkgs/nixos/modules/programs/bash/inputrc>) + ''
<danbst> "\e[5~": history-search-backward
<danbst> '';
<danbst> };y
proteusguy has joined #nixos
JagaJaga has quit [(Ping timeout: 240 seconds)]
<danbst> ocharles: immutability ;)
<gchristensen> ocharles: I think :l reloads?
<gchristensen> cmacrae: this looks good
<gchristensen> is this not exactly what you want?
hotfuzz has joined #nixos
<steveeJ> where can I find the kernel headers for the running kernel? usually in /lib/modules ..
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] unaizalakain opened pull request #25885: rarfile: 2.6 -> 3.0 (master...up-rarfile) https://git.io/v9hDB
NixOS_GitHub has left #nixos []
stepho has quit [(Ping timeout: 272 seconds)]
kwork has quit [(Changing host)]
kwork has joined #nixos
<ericnoan> steveeJ: i see a package called linuxHeaders
<danbst> steveeJ: /run/current-system/kernel-modules/lib/modules/
stepho has joined #nixos
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25840: flat-plat: 20170323 -> 20170515 (master...upd.flat-plat) https://git.io/v9AtU
NixOS_GitHub has left #nixos []
FRidh has joined #nixos
<danbst> Sufixx: nixos won't die (too many contributors and new ones always appear)
<nixy> Also reproducibility is real popular rn and will only get more important in the future
_deepfire has joined #nixos
<LnL> ocharles: :r reloads but I think you loose everything except for the arguments you passed to nix-repl
<ocharles> ah ok. I'm fine with that
<LnL> so nix-repl '<nixpkgs>' and :r will reload everything
<gchristensen> ah :r reloads
mudri has joined #nixos
<gchristensen> Sufixx: nixos has been around for almost 15 years, and I don't see signs of it getting smaller
cpennington has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jdanekrh opened pull request #25886: idea-community: 2017.1.1 -> 2017.1.3 (master...jd_idea2017.1.3) https://git.io/v9h9B
NixOS_GitHub has left #nixos []
takle has joined #nixos
<ocharles> It seems that the Haskell packages override system doesn't play with nixpkgs overlays :( https://gist.github.com/ocharles/8e2dc3dbc3136ccded6b05a7c66d5eaf (cc peti)
<ocharles> rel8 here comes from an overlay: https://gist.github.com/ocharles/19874866615b1585048a8a83511f5182
<ocharles> I guess you can only really override haskellPackages once, which is pretty confusing
<ocharles> ((pkgs.haskellPackages.override { overrides = self: super: { x = 5; }; }).override { overrides = self: super: { y = super.x; }; }).y -- error: attribute ‘x’ missing, at (string):1:117
* peti doesn't know much about overlays except that they exist. Can't help, I guess. Sorry.
<ocharles> turns out overlays is sort of a red-herring
takle has quit [(Ping timeout: 268 seconds)]
ericsagnes has joined #nixos
freusque has joined #nixos
takle has joined #nixos
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] unaizalakain opened pull request #25889: [WIP] subliminal: init at 2.0.5 (master...init-subliminal) https://git.io/v9h7m
NixOS_GitHub has left #nixos []
<FRidh> ocharles: I guess lib.composeExtensions needs to be inserted somewhere
<sphalerite> A new milestone! Nixpkgs now has 2^11 forks on github!
jensens has quit [(Ping timeout: 260 seconds)]
betaboon has joined #nixos
betaboon has quit [(Changing host)]
betaboon has joined #nixos
goibhniu1 is now known as goibhniu
bkchr has joined #nixos
goober2 is now known as goober3
<ocharles> I didn't believe you until I looked. dang!
takle has quit [(Ping timeout: 260 seconds)]
<gchristensen> nice
<cmacrae> gchristensen: it doesn't work :p
<gchristensen> cmacrae: what does it do?
<gchristensen> instead
goober3 has quit [(Quit: WeeChat 1.7.1)]
<cmacrae> Well, I mean it evaluates fine, but I don't see any systemd units as a result
grw has joined #nixos
bkchr has quit [(Ping timeout: 240 seconds)]
<gchristensen> cmacrae: ohh I'd recommend using systemd.services instead of systemd.user.services
<cmacrae> gchristensen: Yeah? How come?
<gchristensen> user services run per user
<gchristensen> and nixo doesn't handle them as well as we'd like
<cmacrae> This is a toy implementation at the moment of course, so the end result will indeed be using a normal service
<cmacrae> Ah okay, cool - maybe I'll try that then
<cmacrae> One sec :)
<cmacrae> Oh waaaait a minute
<cmacrae> Haha, oh dear... I think it was down to a stupid mistake I'd made
<gchristensen> oh?
shvelo has joined #nixos
<cmacrae> Damn, maybe not. I thought I'd just failed massively by missing the file import I was intending to enable this "service" in - but still no dice
shvelo has quit [(Client Quit)]
<gchristensen> brb but I think I know what's up
<cmacrae> Okay, I'll brb too - I need to dc for a sec, will hop back on in a mo :)
takle has joined #nixos
cmacrae has quit [(Remote host closed the connection)]
cmacrae has joined #nixos
<cmacrae> Yo gchristensen I'm back... it may in fact be the issue I thought it was - let me test
takle has quit [(Remote host closed the connection)]
freusque has quit [(Ping timeout: 240 seconds)]
<cmacrae> Okay... really stupid: I'd introduced breakage into my Emacs config, so file writes were silently failing *facepalm*
<cmacrae> It works, minus the `basePort` param
<cmacrae> So, I'm glad it was mostly correct :)
darlan has joined #nixos
mizu_no_oto has joined #nixos
<cmacrae> Just need to work out how I can expose that `basePort` param and use it in the `ExecStart`
reinhardt has quit [(Quit: Leaving)]
<gchristensen> :o
<gchristensen> what isn't working about basePort?
stepho has quit [(Ping timeout: 246 seconds)]
mudri has quit [(Ping timeout: 272 seconds)]
jensens has joined #nixos
stepho has joined #nixos
<cmacrae> gchristensen: Well, I'm exposing the parameter in the interface, but I'm trying to use it in the `let` binding for `makeService` for the expression
<cmacrae> Hmm, hold on
<cmacrae> I may have it working :)
<gchristensen> :D
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<cmacrae> \o/
<cmacrae> It's working!
Tipping_Fedora has joined #nixos
<cmacrae> Well, thanks for helping me rubberduck this on gchristensen :p
<cmacrae> Updated the Gist with the working one (only a tiny change at the top... once I'd figured out my Emacs issue)
<cmacrae> Anyway, this is awesome! I'll be building a Kafka and Cassandra solution out of this
<gchristensen> cmacrae: great :D
<gchristensen> cmacrae: nice!
eacameron has joined #nixos
<cmacrae> Thanks again for your initial help on this - it's exciting
<gchristensen> I use something very similar to make many mysql daemons on one host
takle has joined #nixos
jensens has quit [(Ping timeout: 246 seconds)]
<cmacrae> Yeah, that's the plan for this implementation. So we can run "clusters" of processes on one host for staging environments, and then scale across multiple hosts in production
takle_ has joined #nixos
<gchristensen> nice
takle has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
peacememories has joined #nixos
jgeerds has quit [(Remote host closed the connection)]
peacememories has quit [(Client Quit)]
mudri has joined #nixos
reinzelmann has joined #nixos
Isorkin has joined #nixos
taktoa has quit [(Remote host closed the connection)]
jensens has joined #nixos
johnsonav has quit [(Ping timeout: 260 seconds)]
takle_ has quit [(Remote host closed the connection)]
tghume has quit [(Ping timeout: 240 seconds)]
freusque has joined #nixos
rcschm has joined #nixos
ixxie has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 255 seconds)]
asymmetric1 has joined #nixos
peacememories has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
phreedom has quit [(Ping timeout: 246 seconds)]
nckx has quit [(Quit: restarting my GuixSD server)]
nckx has joined #nixos
phreedom has joined #nixos
cmacrae has quit [(Ping timeout: 240 seconds)]
<danbst> phreedom: oh, you're alive!
<phreedom> danbst: and kicking!
<phreedom> danbst: nice to know that the other nixos user in ua is still alive? :D we need to multiply somehow
<domenkozar> niksnut: ikwildrpepper: can one change http://hydra.nixos.org/jobset/nixops/master#tabs-configuration to point to 17.03?
<domenkozar> there are eval errors with 16.09
<danbst> phreedom: I've met with two other's on Kiyv FP meetup
<danbst> phreedom: how
<danbst> phreedom: 's that come, that your github profile timeline is empty?
<phreedom> danbst: I've got a fulltime job :'(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] proteansec opened pull request #25891: tcpreplay: init at 4.2.5 (master...pkgs/tcpreplay) https://git.io/v9jea
NixOS_GitHub has left #nixos []
takle has joined #nixos
rcschm has quit [()]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<steveeJ> danbst: there's no "build" directory though, so it's not useful for building modules
freusque has quit [(Ping timeout: 260 seconds)]
<niksnut> domenkozar: done
<domenkozar> thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 2 new commits to master: https://git.io/v9jvj
<NixOS_GitHub> nixpkgs/master b525898 Nikolay Amiantov: qt4: enable gtk2 by default
<NixOS_GitHub> nixpkgs/master 6315076 Nikolay Amiantov: Merge pull request #24861 from abbradar/qt4-gtk...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to release-17.03: https://git.io/v9jfg
<NixOS_GitHub> nixpkgs/release-17.03 3e47e62 Domen Kožar: nixopsUnstable: correct tarball
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/v9jfw
<NixOS_GitHub> nixpkgs/master 395496a Domen Kožar: nixopsUnstable: correct tarball...
NixOS_GitHub has left #nixos []
mizu_no_oto has joined #nixos
Raimondii has joined #nixos
<unlmtd> nix on ios ?
<goibhniu> people do use nix to build ios apps
<unlmtd> ya but thats now what I meant
<goibhniu> then, no :D
trikl has quit [(Ping timeout: 260 seconds)]
reinzelmann has quit [(Quit: Leaving)]
<unlmtd> I figured
<unlmtd> some ppl have been trying to put it on android thou, cant be that far off
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
trikl has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar opened pull request #25892: xserver service: add global Xresources file (master...xresources) https://git.io/v9jUv
NixOS_GitHub has left #nixos []
<Dezgeg> well, android is just linux, I assume iOS has much more differences compared to OS X
takle has quit [(Remote host closed the connection)]
Wizek__ has quit [(Ping timeout: 260 seconds)]
Wizek has quit [(Ping timeout: 260 seconds)]
ixxie has joined #nixos
tghume has joined #nixos
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
earldouglas has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #25893: nano: 2.8.2 -> 2.8.3 (master...update_nano) https://git.io/v9jIG
NixOS_GitHub has left #nixos []
orivej has joined #nixos
earldouglas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jgeerds pushed 1 new commit to master: https://git.io/v9jLv
<NixOS_GitHub> nixpkgs/master d4e2cbd Jascha Geerds: miredo: Improve service description
NixOS_GitHub has left #nixos []
<manveru> just making /nix on iOS sounds like a fun task :P
ixxie has quit [(Ping timeout: 246 seconds)]
sellout- has joined #nixos
takle has joined #nixos
freusque has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
Rotaerk has quit [(Quit: Leaving)]
takle has quit [(Ping timeout: 240 seconds)]
servilio has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
nh2 has quit [(Read error: Connection reset by peer)]
nh2 has joined #nixos
rcschm has joined #nixos
Ross has quit [(Ping timeout: 268 seconds)]
ixxie has joined #nixos
<rcschm> hi, is there a similar function for nodejs as for ghc? pkgs.haskellPackages.ghcWithPackages (haskellPackages: with haskellPackages; []);
<rcschm> i do have the ghc packages defined in the config this way but i just couldn't find one for nodejs.
<rcschm> or javascript.
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
<rcschm> thanks for your help.
<__Sander__> gobhniu: heh
* __Sander__ wonders who else has attempted to build iOS apps with Nix besides me
<goibhniu> hehe ... I was probably generous with using the plural there :D
<__Sander__> hehe :D
Ross has joined #nixos
<__Sander__> anyway, the functionality still works
<__Sander__> our company's hydra instance builds iOS apps every day
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
freusque has quit [(Quit: WeeChat 1.7)]
sellout- has quit [(Quit: Leaving.)]
<unlmtd> couldnt care less about iphones, im just looking for a way to carry nix around. theres the nokia n900 but 256m of ram is a bit small. 512 would already be a lot better
<goibhniu> you can run VMs on android
<unlmtd> ya Ill get into that maybe some day
<unlmtd> i think chroot is what you meant
<unlmtd> not sure I wanna start a full kernel vm on a phone
<dash> unlmtd: neo900 is supposed to have 1GB if they ever finish :)
<unlmtd> did they even start?
<dash> they started taking money didn't they?
<unlmtd> at this rate we'll get a new open hardware before the homegrown stuff goes anywher
<dash> that's the important part
<unlmtd> for sure anyone can take money thats easy
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
<goibhniu> someone showed me one recently ... I think this is it: https://github.com/vynncentgm/limbo-android (they weren't running NixOS on it, sadly)
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
nallar has joined #nixos
Ross has quit [(Ping timeout: 260 seconds)]
nallar is now known as Ross
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mudri has quit [(Ping timeout: 240 seconds)]
Mateon1 has quit [(Remote host closed the connection)]
Mateon1 has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
Wizek has joined #nixos
Wizek__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #25895: release-cross: Do a recursive union to make sure we don't loose tests (master...cross-tests) https://git.io/v9jZI
NixOS_GitHub has left #nixos []
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm opened pull request #25896: ovmf: split firmware image files (master...ovmf) https://git.io/v9jZE
NixOS_GitHub has left #nixos []
derjohn_mob has quit [(Ping timeout: 272 seconds)]
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
peacememories has joined #nixos
mudri has joined #nixos
Mateon1 has quit [(Remote host closed the connection)]
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
<tilpner> I extracted a .ppd file from a .deb Brother offers on their website for my printer. CUPS accepted that, and says "completed" when printing a test page, but nothing happens.
<tilpner> How do I debug this?
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/v9jcz
<NixOS_GitHub> nixpkgs/master df91297 John Ericson: release-cross: Do a recursive union to make sure we don't loose tests
<NixOS_GitHub> nixpkgs/master f6863bc John Ericson: Merge pull request #25895 from obsidiansystems/cross-tests...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #25897: glibc: Clean up cross compilation (master...glibc-cross) https://git.io/v9jcp
NixOS_GitHub has left #nixos []
Tucky has quit [(Ping timeout: 268 seconds)]
Mateon1 has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
obadz has quit [(Ping timeout: 240 seconds)]
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
Azo has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
Guest25447 has quit [(Quit: leaving)]
jacob_ has joined #nixos
jacob_ is now known as Guest23712
obadz has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
Mateon3 has joined #nixos
<InitializeSahib> hey
<InitializeSahib> i enabled nixpkgs for me through these commands
<InitializeSahib> however, when i try to install any package in nixpkgs
<InitializeSahib> it gives me this error
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
<InitializeSahib> error: selector ‘[package name]’ matches no derivations
<InitializeSahib> are there additional steps to enabling nixpkgs that i'm not missing?
Mateon1 has quit [(Ping timeout: 268 seconds)]
Mateon3 is now known as Mateon1
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
obadz has quit [(Ping timeout: 255 seconds)]
<goibhniu> hi InitializeSahib, what command are you using to install a package?
AluisioASG has quit [(Remote host closed the connection)]
<goibhniu> InitializeSahib: also, what does `nix-channel --list` say
AluisioASG has joined #nixos
obadz has joined #nixos
<pierron_> Is there a tool to know when all started to go wrong in terms of rebuild?
<InitializeSahib> [sahib@sahibnix:~]$ nix-channel --list nixpkgs https://nixos.org/channels/nixpkgs-unstable
<InitializeSahib> and i'm using
<InitializeSahib> nix-env --install [package name]
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
<goibhniu> InitializeSahib: what's [package name]?
<InitializeSahib> i've tried google-chrome, google-chrome-stable, and discord
<InitializeSahib> all of them refuse to install
<InitializeSahib> even though they're in nixpkgs
<InitializeSahib> (not sure about stable but i know google-chrome is)
<LnL> did you enable unfree packages?
sellout- has joined #nixos
<InitializeSahib> yes
<ToxicFrog> You need to enable nonfree packages, otherwise it won't just refuse to install, it'll refuse to acknowledge they even exist
<InitializeSahib> nixpkgs.config.allowUnfree = true; is in my configuration.nix
<ToxicFrog> `google-chrome` is the correct one
<ToxicFrog> As in /etc/nixos/configuration.nix?
<InitializeSahib> yes
<ToxicFrog> IIRC that only applies to nixos-rebuild, not nix env -iA
<goibhniu> InitializeSahib: I assume `nix-env -i hello` works?
<LnL> you get the same with NIXPKGS_ALLOW_UNFREE=1 nix-env ...
<ToxicFrog> So if you're using nix-env to install it per-user rather than using systemPackages to install it system-wide, you need to enable unfree for the user you're running nix-env as
<InitializeSahib> [sahib@sahibnix:~]$ nix-env -i hello warning: there are multiple derivations named ‘hello-2.10’; using the first one installing ‘hello-2.10’
<InitializeSahib> so yes
<InitializeSahib> hello works
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
<LnL> note that nixos-rebuild and nix-env have different config files
mkoenig_ has joined #nixos
<InitializeSahib> error: selector ‘google-chrome’ matches no derivations
<InitializeSahib> so hello works but not google-chrome
<InitializeSahib> how do i enable unfree packages for nixpkgs?
kalebo has joined #nixos
mkoenig has quit [(Ping timeout: 246 seconds)]
<goibhniu> InitializeSahib: create a file: ~/.nixpkgs/config.nix and add the following to it: {   allowUnfree = true; }
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
spinus has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<InitializeSahib> goibhniu: that solved it, thanks!
<goibhniu> cool!
endformationage has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
simendsjo has joined #nixos
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
peacememories has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
<LnL> initializeSahib: using attribute names will give you better information (and it's faster)
Itkovian has joined #nixos
<LnL> initializeSahib: nix-env -iA nixos.google-chrome
derjohn_mob has joined #nixos
Judson has quit [(Ping timeout: 246 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
ertes-w has quit [(Ping timeout: 246 seconds)]
ertes-w has joined #nixos
Judson has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
Judson is now known as Guest21382
InitializeSahib has quit [(Ping timeout: 260 seconds)]
joko has quit [(Remote host closed the connection)]
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
schoppenhauer has quit [(Read error: Connection timed out)]
<eacameron> I have a haskell project that produces executable tools. How can I write a derivation that makes those tools available on the command line when I use nix-shell package.nix?
marsel has quit [(Ping timeout: 240 seconds)]
<sphalerite> eacameron: stdenv.mkDerivation {name = "env"; buildInputs = import ./package.nix;}
<eacameron> sphalerite: Aha, buildInputs. Thanks!
<sphalerite> whoops, should probably be a list
Mateon1 has quit [(Remote host closed the connection)]
<sphalerite> but you get the ideae
Mateon1 has joined #nixos
alibabzo has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
taeradan has quit [(Quit: No Ping reply in 180 seconds.)]
freusque has joined #nixos
taeradan has joined #nixos
nh2 has quit [(Quit: Leaving.)]
<eacameron> sphalerite: So I already have a derivation that I could use and add buildInputs to it. How do I extend the derivation I already have? I'm used to using drv.extend or drv.override or something.
schoppenhauer has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
<pie_> has anyone been able to get "seamless" windows windows working?
<andrewrk> am I supposed to have to use sudo to use docker?
<andrewrk> > docker run hello-world
betaboon has quit [(Quit: This computer has gone to sleep)]
<andrewrk> /nix/store/c4il29bpm92py8w0gnnf049zwcwjah8s-docker-17.03.1-ce/libexec/docker/docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock
<tilpner> andrewrk - IIRC your user has to be in the "docker" group
<andrewrk> aha
<tilpner> Access to the Docker daemon is effectively root, so don't give it away to untrusted users
<andrewrk> ok
peacememories has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
<andrewrk> thx tilpner that was it
peacememories has quit [(Client Quit)]
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Read error: Connection reset by peer)]
peacememories has joined #nixos
orivej has quit [(Ping timeout: 246 seconds)]
Sonarpulse has quit [(Ping timeout: 246 seconds)]
__Sander__ has quit [(Quit: Konversation terminated!)]
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
goibhniu has quit [(Ping timeout: 268 seconds)]
nckx has quit [(Quit: restarting my GuixSD server)]
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
nckx has joined #nixos
earldouglas has quit [(Ping timeout: 240 seconds)]
earldouglas has joined #nixos
sitwon has joined #nixos
sitwon has quit [(Read error: Connection reset by peer)]
cpennington has quit [(Remote host closed the connection)]
<LnL> eacameron: you could use overrideAttrs
zeus_ has joined #nixos
<eacameron> LnL: Thank you. I just discovered that!
<LnL> but for a nix-shell I usually just create a separate drv
<eacameron> LnL: Is that better for some reason than just importing default.nix and overriding it?
wak-work has quit [(Remote host closed the connection)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<LnL> I put it in the same file and add the shell environment as an attribute to the main drv
<LnL> then you can run nix-shell -A env and you don't need a bunch of different nix files in your project
orivej has joined #nixos
<eacameron> Ah I see. That makes sense. In my case (stack using nix) I think stack requires a shell file that doesn't require args.
<LnL> not familiar with it, I've only used the native haskell infrastructure
earldouglas has quit [(Ping timeout: 272 seconds)]
wak-work has joined #nixos
earldouglas has joined #nixos
Infinisil has joined #nixos
asymmetric1 has quit [(Ping timeout: 272 seconds)]
gpyh has joined #nixos
<gpyh> hi
<gpyh> I'm trying to get a PR through. It hasn't seen change for 4 days. Who should I contact? (it's PR #25648 btw)
Unode has quit [(Read error: Connection reset by peer)]
georges-duperon has joined #nixos
Unode has joined #nixos
<LnL> let me take a look
simendsjo has quit [(Ping timeout: 240 seconds)]
<cransom> so i tried (feebly) to bundle up etherpad-lite a few days ago. i wandered into both node2nix and npm2nix, anyone have opinions on how each work or mind cluing me in on your preference for either (or neither?)
jgeerds has joined #nixos
ertes-w has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo opened pull request #25898: openstackclient: 1.7.1 -> 3.11.0 (master...pr/openstackclient) https://git.io/v9jQo
NixOS_GitHub has left #nixos []
<ericnoan> LnL: how do you add the shell env as an attribute to the main drv like you said?
<LnL> just add it to the arguments of mkDerivation or use drv // { env = ...; }
<pie_> is there any way to properly automatically mount a samba fs to the actual filesystem tree?
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
<LnL> you can use the fileSystems options for nfs, it probably also works for samba
mudri has quit [(Ping timeout: 260 seconds)]
oida has quit [(Quit: WeeChat 1.7.1)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
simp__ has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
Vorpal has quit [(Quit: ZNC - http://znc.sourceforge.net)]
takle has joined #nixos
<ericnoan> how do I find the attribute name? and where do I put the nixfile with my shell env?
johnsonav has joined #nixos
kampfschlaefer has joined #nixos
<Infinisil> ericnoan: Are you looking for the environment.variables option?
orivej has quit [(Read error: Connection reset by peer)]
ixxie_ has joined #nixos
<ericnoan> no, in the context of my previous question. i have a nixfile with the dependencies for some software, I would like to get rid of the nixfile like LnL talked about...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jensbin opened pull request #25899: Typora: init at 0.9.29 (master...typora) https://git.io/v9jNe
NixOS_GitHub has left #nixos []
kiloreux has joined #nixos
<ericnoan> i could just add the deps to the main drv, but right now I just cd into the directory and run 'nix-shell'
Vorpal has joined #nixos
Vorpal has quit [(Changing host)]
Vorpal has joined #nixos
ixxie has quit [(Ping timeout: 260 seconds)]
<kiloreux> I am getting a collision when trying to install two versions of imagemagick. The binary collision have been solved. But now I am getting a collision here
<kiloreux> collision between ‘/nix/store/j8mgbiq7r35ka9vk1wm7npzdhbyh64i3-imagemagicknew/etc/ImageMagick-6/coder.xml’ and ‘/nix/store/g4zj8l6vxzzd601kar8smqikicdgq555-imagemagickold/etc/ImageMagick-6/coder.xml
<schoppenhauer> hi. does anyone use emacs in multiple different shells, with different packages installed? if so, how do you manage desktop-saves/loads and your .emacs?
leat has quit [(Read error: No route to host)]
<Infinisil> ericnoan: I didn't see what LnL said, you want to avoid using nix-shell and a nix file by using Shebangs in a file? As seen in man nix-shell?
<LnL> no I was just talking a way not to require both a shell.nix and a default.nix
<Infinisil> Why would both be required? Sorry I don't really get the question yet
<LnL> sometimes there's a difference between the buildInputs of your default drv and the ones you want in your shell for development
<ericnoan> Infinisil: instead of having .nix files laying around in your project folder, you could get rid of them
freusque has quit [(Quit: WeeChat 1.7)]
Itkovian has joined #nixos
<Infinisil> How can one use nix without nix files though? That's like exactly what nix is
<ericnoan> Infinisil: he was just describing a way of having the nix-shell declaration in the main derivation
<LnL> for very simple stuff you can use nix-shell -p or a nix-shell shebang
<LnL> but that's not what I was talking about
<Infinisil> So the problem is this: Want one nix file for builds, but when invoking nix-shell it uses a slightly different environment than the nix file?
<trikl> How can I get a long description for a derivation?
<trikl> the* long description
<LnL> Infinisil: yes, the nix-shell feature you where talking about isn't ideal for projects but it's very nice for scripts that have some basic dependencies https://gist.github.com/LnL7/888c907211e060100cc8bb8733c0f261
gwang has joined #nixos
<LnL> trikl: don't think there's a nice way
<LnL> nix-instantiate '<nixpkgs>' --eval -A hello.meta.longDescription
<trikl> :(
<Infinisil> Alright, but I feel like cramming both shell and build environment into one file isn't the way to go, don't know how one could do this, since the only thing that differentiates the nix-shell invocation is the shellHook attribute
<gchristensen> Infinisil: why would your shell environment be different from the build environment?
<LnL> there might be dependencies that are not propagated to the top level drv
<Infinisil> I'm wondering too actually
pie_ has quit [(Changing host)]
pie_ has joined #nixos
<Infinisil> trikl: You can also use nix-repl: nix-repl<enter>
<Infinisil> trikl: :l <nixpkgs>
<Infinisil> trikl: hello.meta.longDescription
<rcschm> any help is appreciated. i am trying to install nodejs with the following script https://pastebin.com/LBfLzc42
ertes has joined #nixos
<rcschm> and i am getting errors with -packages/default-v6.nix:1:1 called with unexpected argument ‘self’
alx741 has joined #nixos
<gwang> hi, I'm new to nix and tried to install ArangoDB. The ArangoDB installed in /nix/store does not have write permission for all its subfolders. is there option to make the app in nix store writable? any help is appreciated
<dash> gwang: No, the nix store is read-only; you would configure it to write to a different directory
<Myrl-saki> I'm making a window manager in Haskell. I haven't put it on hackage yet. Should I just have it as a normal package?
<gwang> dash: thanks.
oida has joined #nixos
trikl has quit [(Ping timeout: 255 seconds)]
trikl has joined #nixos
<kiloreux> I am getting a lot of conflicts when trying to install 2 versions of ImageMagick, I am using this gist https://gist.github.com/Kiloreux/52dfe94db95b44c6f97afa5be6e74efa
<kiloreux> I have solved the binary conflicts
<kiloreux> but getting conflicts in every other place :(
<Myrl-saki> clever: What does `cp -vi ${./chat-shaker.hs} chat-shaker.hs` do?
Mateon1 has quit [(Remote host closed the connection)]
<LnL> kiloreux: why do you want to "install" them both?
<clever> Myrl-saki: that copies the source file from the dir the nix file is in, to the dir the build is happening in
takle has quit [(Remote host closed the connection)]
Mateon1 has joined #nixos
<kiloreux> We want to enable users to use different versions of ImageMagick (And we don't want to build backwards compatibility)
gwang has quit [()]
<clever> Myrl-saki: you may want to copy more, depending on how much code the project has, ${./.} would get the entire directory
takle has joined #nixos
<Myrl-saki> clever: Ah, thanks.
<dash> kiloreux: Hm. Use where?
<dash> kiloreux: you don't have to use 'nix-env -i' to make stuff usable, in many cases.
<clever> kiloreux: line 33 of the new file, you rename everything to 1.2
<clever> kiloreux: line 33 of the old.nix, you rename things to 1.2 again
<kiloreux> Yes i solved that one that was a small typo
<kiloreux> It is still conflicting
<clever> let me try something on this end
<dash> installing stuff is much less important in nix than in most other package systems
<kiloreux> Alright clever Thanks.
<kiloreux> dash, what do you mean exactly?
timjrd has joined #nixos
<clever> kiloreux: your supposed to just reference imagemagic from the scripts that use it, rather then installing it
<dash> kiloreux: How will imagemagick be used? Are your users going to be typing 'convert', 'mogrify' etc at the shell prompt immediately after login, or is there another context in which it will be used?
<kiloreux> They will specifying a version And upload files and we will use that version number to do handle the processing for them "2.0.0", and we do "convert-2.0.0 input"
hellrazor has joined #nixos
<clever> kiloreux: one minute
<kiloreux> Please take all the time. Very much appreciate your help.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<LnL> why not create a separate envionment for each version then?
<Myrl-saki> clever: How would I use nix-{build,shell} on this?
<LnL> then you won't have any issues with conflicts
ixxie_ has quit [(Quit: Lost terminal)]
<clever> Myrl-saki: it has to be loaded with callPackage from another default.nix, see the directory up one level
<kiloreux> LnL, not a choice here unfortunately. one machine should handle all kind of processing (possibly simultaneously). Which makes env switching harder.
<clever> kiloreux: line 3-7 of the file i just linked, that switches the env out
leat has joined #nixos
<clever> kiloreux: only the yourscript package will be installed, not imagemagick{1,2}
<LnL> kiloreux: maybe I don't understand your usecase correctly, but let me make an example of what I would do
orivej has joined #nixos
<Infinisil> LnL: I'm also interested in how you'd solve this
<LnL> kiloreux: isn't this kind of the equivalent? https://gist.github.com/LnL7/8b3e2d62ca9ec348645571774a27ad98
mudri has joined #nixos
<LnL> ./result/bin/convert 1 (uses 6.9) and ./resulb/bin/convert 2 (uses 7.0)
<clever> LnL: very similiar to what i linked above
<LnL> oh I didn't see that
<clever> and i gave him a very similiar example yesterday (see the gist history)
marsel has joined #nixos
<clever> LnL: trying another example, but buildEnv with pathsToLink=["/bin"]; is still trying to link /etc
<Infinisil> Yeah I'd do something similar
<lassulus> ]
<kiloreux> clever, LnL Thank you. My mistake clever being new to this I didn't understand the usage of your script correctly yesterday.
<kiloreux> So do I execute the actual commands now?
<kiloreux> just using convert 1 and convert 2 ?
<clever> the if statement will need to check which version of imagemagick you want, i dont know where you save that
<kiloreux> The standard nix store :D .
<kiloreux> I shall link to the binaries there.
<kiloreux> Thank you.
<Infinisil> Nix handles versions rather poorly in general I find
<LnL> clever: pathsToLink works fine for me
<Infinisil> But I guess that's the disadvantage of builds that actually always work
<Infinisil> s/disadvantage/side-effect
<clever> LnL: https://gist.github.com/cleverca22/dcda8193ccff05e3a1e7c53f22b4e29a this complains about a collision in /etc/
<kiloreux> clever, even if you try solving the xml collisions in /etc. You will be hit another collision in c headers.
<clever> kiloreux: i'm trying to make it ignore everything that isnt /bin/
<kiloreux> That could be great if there's a possible way to do it.
<LnL> clever: this works fine for me nix-build -E 'with import <nixpkgs> {}; buildEnv { name = "user-environment"; pathsToLink = [ "/bin" ]; paths = [ imagemagick7 imagemagick ]; }'
<Infinisil> I'm pretty sure there isn't for arbitrary builds
<clever> LnL: thats because your dealing with etc/ImageMagick-6 and etc/ImageMagick-7
<clever> LnL: i'm dealing with a pair of etc/ImageMagick-6's
<LnL> oh interresting, so buildEnv complains even tho /etc doesn't end up in the output
<pie_> well the reason my seamlessrdp stuff was never working was because it wasnt starting the seamlessrdpshell.exe
<pie_> but i cant figure out why its not starting it
<pie_> anyone have any idea why this doesnt work? :/ rdesktop 169.254.11.4 -s "C:\Program Files\ThinLinc\WTSTools\seamlessrdpshell.exe"
<clever> LnL: yep, ignoreCollisions makes it complain a ton, but not actualy produce a /etc
<kiloreux> That is amazing. So now I can have as many versions as I want inside it. Do you think there will be any side-effects to this?
<kiloreux> in the actual binaries or anything related to functionality?
<clever> cant think of any just yet
<clever> wut? lol
<LnL> oh interesting it's used to check the platforms
orivej has quit [(Ping timeout: 246 seconds)]
alx741 has quit [(Quit: alx741)]
<trikl> How can I correctly install pmount in NixOS? I get «Error: this program needs to be installed suid root»
alx741 has joined #nixos
<tilpner> trikl - Look at security.wrappers
<trikl> Cheers!
<kiloreux> clever, that last gist still fails the build ._.
<clever> trikl: an example i made for wireshark a while back: https://gist.github.com/cleverca22/5711322b5a12311571d8e828f40f0603
<clever> kiloreux: with what error?
<kiloreux> collision between ‘/nix/store/d1s05gyvz7bxk3bkqg2zq7ziq0b41hx6-imagemagickold/etc/ImageMagick-6/coder.xml’ and ‘/nix/store/1xbyypyk1116xdbwsxi1chlyv9qp6z3f-imagemagicknew/etc/ImageMagick-6/coder.xml’;
<clever> kiloreux: did you set ignoreCollisions like i showed in the gist?
<kiloreux> yes, I copy pasted it :D, not sure if I am right but I kept the configure flags also in .nix files.
<clever> did it actually error?
<clever> copy/paste the entire output to a gist
<clever> kiloreux: what command did you run?
mizu_no_oto has joined #nixos
<kiloreux> nix-env -f nix-directory -i
<kiloreux> Should I have ran nix-build?
<timjrd> Hi :) is anyone using wayland on nixos ?
<clever> kiloreux: you should have ran nix-env -f nix-directory -iA both
<clever> kiloreux: with just -i, you told it to install everything in the default.nix
<kiloreux> The binaries in the "both" directory seems to be collisioning with the single directories now. https://pastebin.com/4iD7SfMz
<clever> kiloreux: and you have to uninstall your previous attempts, look in "nix-env -q"
mizu_no_oto has quit [(Client Quit)]
hellrazor has quit [(Ping timeout: 246 seconds)]
agjacome has joined #nixos
<Infinisil> I'm supposed to write some release notes for a pull request, but the release notes are written in some xml format.. How am I supposed to do that??
<LnL> I just copy paste the previous section and check if it still builds
hellrazor has joined #nixos
<kiloreux> This projects seems so lovely with a great community. Are there any entry level bugs or issues to get more familiar with the project or anyway to contribute to the development?
<Infinisil> LnL: How do I check if the docs build?
<Infinisil> Just nix-build in nixpkgs?
timjrd` has joined #nixos
<clever> Infinisil: i think there is a doc attribute in nixos/release.nix
<LnL> nix-build ./nixos/release.nix -A manual.x86_64-linux IIRC
<clever> ah, thats it
orivej has joined #nixos
timjrd has quit [(Ping timeout: 246 seconds)]
sitwon has joined #nixos
justan0theruser is now known as justanotheruser
freusque has joined #nixos
shosti` has joined #nixos
<shosti`> hi! quick question: I'm trying to install the `pg` gem (for a Rails app), and it's failing on the build step. It looks like the reason is that the include dir that `pg_config` gives doesn't exist: https://gist.github.com/2343e8e9a41be810ceab86ab39c7b166 . Is this expected, and is there any way around it
<shosti`> ?
<Infinisil> LnL: thanks!
joniWoni has joined #nixos
civodul has joined #nixos
JagaJaga has joined #nixos
<kiloreux> clever, that worked like a charm. Thank you a lot.
<gpyh> @LnL I just saw the remarks and gave some answers; thank you a lot of having taken a look
Itkovian has joined #nixos
<shosti`> oh nvm I think I figured it out
<joniWoni> hi, what's the nixos way to go method for "internet sharing" over wlan? I used hostapd and dnsmasq on a debain install once but it was kinda unreliable.
<clever> joniWoni: i would use iptables/dnat (nixos has an option for that), hostapd, dhcpd, and bind
<clever> joniWoni: this file is configured to run my router, with normal ethernet on both sides, but you should be able to easily switch it to a wifi port, after you get hostapd up
leat has quit [(Ping timeout: 268 seconds)]
simukis_ has quit [(Ping timeout: 246 seconds)]
<joniWoni> clever: thanks a lot!
leat has joined #nixos
<clever> joniWoni: i havent used it yet, but nixos also has hostapd options: https://nixos.org/nixos/options.html#hostapd
<trikl> I thought /tmp was emptied on boot/shutdown
<gchristensen> joniWoni: I have a router managed by nixos, I'll share you my config
<trikl> Do you think it's recommendable to have /tmp be a tmpfs?
<gchristensen> trikl: sure, that can be a good idea
<clever> joniWoni: oh, and in my case, i'm using an old-ass router (with the dhcp turned off) to add wifi to my network
<gchristensen> and it definitely should be cleaned on shutdown
<clever> so the wifi part is completely stock
<trikl> I have files there from yesterday, when I cleanly switched off
<gchristensen> trikl: can you double check and if you still find that to be true, open a bug report?
<LnL> nix will use /tmp for builds by default, so it depends what you want to build on the machine
<clever> gchristensen: i have had issues a decade ago, when my server would take half an hour to boot, because it cleaned /tmp on startup
<gchristensen> yeah
<gchristensen> it should probably prune /tmp by default though
<clever> the hdd was damn slow, and i left a mess in there and rarely booted
<clever> rebooted*
<trikl> gchristensen: I'm pretty sure it doesn't prune it, I have files from May 15, from when I installed NixOS
<gchristensen> :o
<trikl> And I have shutdown many times since then
<clever> the default of that nixos option has changed at some point
<joniWoni> gchristensen, clever: thanks for the input, you people are awesome ^^
<gchristensen> oh my ...
<clever> trikl: it appears to be false right now
<trikl> Oh, there's a nice wee option for it, great
<trikl> I like when I can change stuff so easy and cleanly :D
<clever> but you will want to clean it out manualy before you turn it on
<trikl> Yes
<clever> it will just hide the old tmp with a tmpfs
shosti` has quit [(Remote host closed the connection)]
carlosda1 has joined #nixos
<trikl> Time for a reboot!
timjrd` has quit [(Ping timeout: 246 seconds)]
trikl has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gentoofreak opened pull request #25900: swap: change randomEncryption to plainOpen (master...patch-1) https://git.io/vHelo
NixOS_GitHub has left #nixos []
johnramsden has joined #nixos
trikl has joined #nixos
asymmetric1 has joined #nixos
<johnramsden> What would be the correct way to append to an existing text string? I'm trying to append to the text security.pam.services."passwd".text and I tried adding the string to itself + my text, but it doesn't want to work.
jensens has joined #nixos
<adelbertc> gchristensen: finally reading nix pills per your prompting, lots of good stuff, thanks for the nudge :-)
carlosda1 has quit [(Ping timeout: 246 seconds)]
phinxy has joined #nixos
eddyb has joined #nixos
<trikl> adelbertc: I'm enjoying it too
servilio has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
joniWoni has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25848: go-font: 2016-11-17 -> 2017-03-30 (master...update-gofont) https://git.io/v9AwS
NixOS_GitHub has left #nixos []
aneeshusa has joined #nixos
mizu_no_oto has joined #nixos
[0x4A6F] has joined #nixos
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
orivej has joined #nixos
Itkovian has quit [(Quit: Textual IRC Client signing off)]
Filystyn has quit [(Remote host closed the connection)]
<kiloreux> All the binaries that I have installed when using 2 versions and ignoring collisions are not working.
freusque has quit [(Quit: WeeChat 1.7)]
<kiloreux> All giving segmentation faults.
marsel has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
mpcsh has quit [(Ping timeout: 260 seconds)]
rcschm has quit [(Remote host closed the connection)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mpcsh has joined #nixos
<adelbertc> where do folks tend to put their local Nix files for like "new machine provisioning" expressions
mpcsh has quit [(Ping timeout: 240 seconds)]
mpcsh has joined #nixos
ertesx has joined #nixos
<disasm> how would I go about debugging a build of a nix package I'm playing with (using antBuild) It builds fine but the jar file doesn't exist in the nix store that it's supposedly building.
ertes has quit [(Ping timeout: 260 seconds)]
ertesx is now known as ertes
<dash> sweet! nixos laptop stickers arrived in the mail today
<dash> disasm: typical place to start is 'nix-build -K' to keep the temp dir from the failed build around, so you can inspect it
<gchristensen> nice, dash!
<dash> disasm: or 'nix-shell -A' to get a shell in the build env
rcschm has joined #nixos
alx741 has quit [(Quit: alx741)]
<disasm> dash: thanks! and nixos laptop stickers, where do I get those from? :)
hellrazor has quit [(Quit: WeeChat 1.8)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
rcschm has quit [(Ping timeout: 246 seconds)]
jluttine has quit [(Ping timeout: 246 seconds)]
jensens has quit [(Ping timeout: 255 seconds)]
goibhniu has joined #nixos
<disasm> dash: when I run nix-shell -A passopolis I get: /nix/store/3gk36h524dq8y5q5v8f7fcgm0v70pijd-stdenv/setup: line 70: /nix/store/gf0i2xcx6hxc504z26z5crryj2jx0py2-passopolis-b827b3a6176e050deb729009676fad7e86e5393a/nix-support/system: Read-only file system
m0rphism has joined #nixos
aneeshusa has quit [(Quit: WeeChat 1.8)]
orivej has quit [(Read error: Connection reset by peer)]
justelex has joined #nixos
<johnramsden> Whoa, netsplit?
<disasm> dash: I also tried building with -K but tmp dir doesn't exist, guessing because it didn't fail.
<clever> disasm: add an "exit 1" to one of the phases
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/vHeK2
<NixOS_GitHub> nixpkgs/master d7e9248 Thomas Tuegel: kdeApplications: 17.04.0 -> 17.04.1
NixOS_GitHub has left #nixos []
<kiloreux> It seems like the side effects of having 2 binaries and ignoring collision is that none of them worked.
<kiloreux> Both of them giving segmentation fault when I tried to use them.
Guest23712 has quit [(Quit: Lost terminal)]
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
rcschm has joined #nixos
<disasm> clever: I know how I'd do that with something with a buildCommand but stuck at how I'd do that using antBuild. This is my package file: https://github.com/disassembler/nixpkgs/blob/passopolis-server/pkgs/servers/passopolis/default.nix
<disasm> never mind, added finalPhase = "exit 1";
johnramsden has quit [(Quit: Leaving)]
<kiloreux> Tried building one alone. Still not giving segmentation fault.
ambro718 has joined #nixos
johnramsden has joined #nixos
blahdodo has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jgeerds pushed 2 new commits to master: https://git.io/vHeXd
<NixOS_GitHub> nixpkgs/master e08cb81 Lancelot SIX: nano: 2.8.2 -> 2.8.3...
<NixOS_GitHub> nixpkgs/master e8b4a6b Jascha Geerds: Merge pull request #25893 from lsix/update_nano...
NixOS_GitHub has left #nixos []
hiratara has quit [(Ping timeout: 272 seconds)]
blahdodo has joined #nixos
georges-duperon has quit [(Ping timeout: 246 seconds)]
mizu_no_oto has joined #nixos
hiratara has joined #nixos
georges-duperon has joined #nixos
mbrock has quit [()]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
jgeerds has quit [(Quit: Leaving)]
asymmetric1 has quit [(Ping timeout: 246 seconds)]
justelex has quit [(Ping timeout: 240 seconds)]
agjacome has quit [(Quit: leaving)]
aneeshusa has joined #nixos
trikl has quit [(Quit: Lost terminal)]
Ross has quit [(Ping timeout: 240 seconds)]
Ross has joined #nixos
<Myrl-saki> Is there now a way to use GTK themes in Qt?
johnramsden has quit [(Remote host closed the connection)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
Wizek__ has quit [(Ping timeout: 260 seconds)]
Wizek has quit [(Ping timeout: 260 seconds)]
thc202 has quit [(Ping timeout: 240 seconds)]
roconnor has joined #nixos
takle_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] twhitehead opened pull request #25903: clblas-cuda: requires ocl-icd now for libOpenCL.so.1 #25902 (master...clblas-cuda-25902) https://git.io/vHeHL
NixOS_GitHub has left #nixos []
Ross has quit [(Quit: ZNC - http://znc.in)]
takle has quit [(Ping timeout: 255 seconds)]
kiloreux has quit [(Ping timeout: 246 seconds)]
matthewbauer has joined #nixos
JagaJaga has quit [(Ping timeout: 240 seconds)]
_deepfire has quit [(Ping timeout: 272 seconds)]
roconnor has quit [(Quit: Konversation terminated!)]
takle_ has quit [(Remote host closed the connection)]
_deepfire has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
goibhniu has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] valeriangalliat opened pull request #25904: timelapse-deflicker: init at 142acd1 (master...timelapse-deflicker) https://git.io/vHe7R
NixOS_GitHub has left #nixos []
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
mkoenig_ has quit [(Ping timeout: 260 seconds)]
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar closed pull request #25903: clblas-cuda: requires ocl-icd now for libOpenCL.so.1 #25902 (master...clblas-cuda-25902) https://git.io/vHeHL
NixOS_GitHub has left #nixos []
Rotaerk has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
stepho has quit [(Ping timeout: 260 seconds)]
simp__ has quit [(Quit: Connection closed for inactivity)]
stepho has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 2 new commits to master: https://git.io/vHeF6
<NixOS_GitHub> nixpkgs/master 6679dbb Nikolay Amiantov: ffmpeg: fix arm build
<NixOS_GitHub> nixpkgs/master 8e7c7af Nikolay Amiantov: haskellPackages.hoogle: don't override haskell-src-exts
NixOS_GitHub has left #nixos []
markus1209 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to release-17.03: https://git.io/vHeFi
<NixOS_GitHub> nixpkgs/release-17.03 e4f02ef Nikolay Amiantov: ffmpeg: fix arm build...
NixOS_GitHub has left #nixos []
mkoenig has joined #nixos
markus1219 has joined #nixos
takle has joined #nixos
dridus has joined #nixos
markus1199 has quit [(Ping timeout: 240 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
posco has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
matthewbauer has quit [(Remote host closed the connection)]
takle has joined #nixos
matthewbauer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ptival opened pull request #25905: proofgeneral_HEAD: fix (master...proofgeneral-head) https://git.io/vHebP
NixOS_GitHub has left #nixos []
<cheshircat> Hello, is there a way to pass cabal build arguments to a package? I'm trying to build diagrams-builder with support for pgf, and for cabal-install you do cabal install -fpgf diagrams-builder, but I'm not sure how to do it in nix
stepho has quit [(Quit: My MacBook Pro has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vHeNI
<NixOS_GitHub> nixpkgs/master e177440 Nikolay Amiantov: displaylink: 1.1.62 -> 1.3.52
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vHeNO
<NixOS_GitHub> nixpkgs/master 030862f Nikolay Amiantov: linuxPackages.evdi: init at 1.4.1
NixOS_GitHub has left #nixos []
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] abbradar pushed 2 new commits to release-17.03: https://git.io/vHeNW
<NixOS_GitHub> nixpkgs/release-17.03 9afd33c Nikolay Amiantov: displaylink: 1.1.62 -> 1.3.52...
<NixOS_GitHub> nixpkgs/release-17.03 02a188c Nikolay Amiantov: linuxPackages.evdi: init at 1.4.1...
NixOS_GitHub has left #nixos []
Ross has joined #nixos
<cheshircat> nevermind, I figured it out, I passed the arguments to cabal2nix
gpyh has quit [(Quit: WeeChat 1.7.1)]