Hi Mark,
This is what I do for caps lock as control key:
# configuration.nix
i18n.consoleKeyMap = (pkgs.writeText "keys.map" ''
keymaps 0-255
keycode 58 = Control
'');
It works for the US keyboard layout. If you use another layout, you
might want to edit the output of dum
I just realised that the previous advice doesn't work very well after a
reboot (no keys work except control).
A better way is:
1. dumpkeys > /etc/nixos/keys.map
2. Edit keys.map and change keycode 58 from Caps_Lock to Control.
3. In configuration.nix: i18n.consoleKeyMap = ./keys.map;
Cheers,
R
Branch: refs/heads/release-17.03
Home: https://github.com/NixOS/nixpkgs
Commit: a99e4f28e95f51a7869a2f95abd7a98bff7093b0
https://github.com/NixOS/nixpkgs/commit/a99e4f28e95f51a7869a2f95abd7a98bff7093b0
Author: Rodney Lorrimar
Date: 2017-03-12 (Sun, 12 Mar 2017)
Changed
Hello nix-dev,
I was wondering, what is the best way to develop a project outside of
nixpkgs? My current method is something like this:
# default.nix
{ sampleproject ? { outPath = ./.; name = "sampleproject"; }
, pkgs ? import {}
}:
with pkgs.python35Packages;
buildPython
Just to CC nix-dev, I added a comment here:
https://github.com/NixOS/nix/issues/1015#issuecomment-239088681
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
Le mardi 09 août 2016 à 18:04 +0200, Lancelot SIX a écrit:
> You could have a `shell.nix` file as follows:
>
> import ./default.nix { sampleproject = { outPath = ""; name =
> "sampleproject"; } ; }
>
> This is hacky but with that you will not copy the project tree into
> the nix store when r
I have to agree that it's awesome. Two amazing examples which come to
mind are:
1. Using nix for reproducible Windows builds within Linux, including a
derivation which installs Windows from an iso into a VM
image. (Unfortunately I was never able to try this because I couldn't
obtain an is
On Tue, Aug 09 2016, Guillaume Maudoux (Layus) wrote:
> With my current version of nix, I observe the following behaviour after some
> calls to nix:
> The command hangs forever.
>
> $ nix-build ...
> these derivations will be built:
> /nix/store/-.drv
> waiting for locks or build slots...
I wa
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 5537503dec1af5dfa6392b7673420042878d659f
https://github.com/NixOS/nixpkgs/commit/5537503dec1af5dfa6392b7673420042878d659f
Author: Rodney Lorrimar
Date: 2016-09-08 (Thu, 08 Sep 2016)
Changed paths
can always readd it
> later.
I'm pretty sure it's OK to remove pump.io. I can make the PR and add
something to the release notes about it.
Cheers,
Rodney
> On Sun, Sep 11, 2016 at 2:00 PM, Rodney Lorrimar
> wrote:
>
>> Hello List and Sander,
>>
>> It
Branch: refs/heads/release-16.09
Home: https://github.com/NixOS/nixpkgs
Commit: 0227c99c1582ce362449f086502037605fe6cf07
https://github.com/NixOS/nixpkgs/commit/0227c99c1582ce362449f086502037605fe6cf07
Author: Rodney Lorrimar
Date: 2016-09-15 (Thu, 15 Sep 2016)
Changed
Hello List and Sander,
It's nice to see the all good work done to keep up with the node.js
enchilada. I have a few questions about what this means for packages in
the nixpkgs collection.
1. Should pkgs/top-level/node-packages.{nix,json} be removed now?
2. Because I would like to update bower2nix
Branch: refs/heads/release-16.09
Home: https://github.com/NixOS/nixpkgs
Commit: 246c9375996e3bf5af8c1f2f8179390ee63a950a
https://github.com/NixOS/nixpkgs/commit/246c9375996e3bf5af8c1f2f8179390ee63a950a
Author: Rodney Lorrimar
Date: 2016-10-10 (Mon, 10 Oct 2016)
Changed
Hello List,
I've recently had some troubles starting up my gnome3 + XMonad desktop
session.
My first problem was that Taffybar and xmonad.hs were unable connect to
DBus with the following error:
connectSession: DBUS_SESSION_BUS_ADDRESS is missing or invalid.
The value of DBUS_SESSION_BUS_AD
On Wed, Oct 19 2016, Ruben Astudillo wrote:
> On 19/10/16 08:19, Michael Alan Dorman wrote:
>> Rodney Lorrimar writes:
>>>
>>> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-jp8hFEY1dV,guid=c6e01dc144bda2ae4ca47c84580747a5;unix:abstrac
On Wed, Oct 19 2016, Rodney Lorrimar wrote:
> My next problem is that gnome-terminal will no longer start:
>
> dbus-daemon[6158]: Activating via systemd: service
> name='org.gnome.Terminal' unit='gnome-terminal-server.service'
> dbus-daemon[6158]: Act
Hello List,
I would really like this package to build:
nix-build -A pkgs.haskell.packages.ghcjs.ghcjs-dom
I found that the layout upstream has changed, so updated the overrides
accordingly (see patch below).
My current problem is that it won't build without Cabal >= 1.24.
If I use (addBuildT
p/reflex-platform/blob/develop/notes/NixOS.md
> ). If there's anything in there that can be reused upstream, please feel
> free to take the code you need, and I'll help move things upstream however
> I can.
>
>
> Best,
> Ryan
>
> On Tue, Nov 1, 2016 at 5:10 AM
On Tue, Nov 01 2016, Profpatsch wrote:
> On 16-11-01 09:10am, Rodney Lorrimar wrote:
>> Hello List,
>>
>> I would really like this package to build:
>>
>> nix-build -A pkgs.haskell.packages.ghcjs.ghcjs-dom
>>
>> I found that the layout u
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: de2f9d67196c05ac9b4efedc7cc880ea1315f7bf
https://github.com/NixOS/nixpkgs/commit/de2f9d67196c05ac9b4efedc7cc880ea1315f7bf
Author: Rodney Lorrimar
Date: 2016-11-21 (Mon, 21 Nov 2016)
Changed paths
20 matches
Mail list logo