This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
packageOverrides = pkgs: rec { | |
dotnetPackages.FSharpAutoComplete = pkgs.dotnetPackages.FSharpAutoComplete.override { | |
meta.platforms = linux ++ darwin; | |
}; | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, lib }: | |
with lib; | |
with builtins; | |
rec { | |
export = { source, user, repo, ... }: let | |
# use the main emacs package | |
pkgGen = pkgs.emacsPackagesNgGen pkgs.emacs; | |
# install htmlize for emacs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
args@{ config, pkgs, lib, ... }: { | |
# org-build = (import ../../src/nix-hm-org-build) args; | |
org-build = (import (pkgs.fetchFromGitHub { | |
owner = "dustinlacewell"; | |
repo = "nix-hm-org-build"; | |
rev = "c1e604690191ef616837d4b8c35f8e6110bc89ae"; | |
sha256 = "03037zcliyvz7xig35wszaczswcwzl730rwdpqqg61mm0g6aiij9"; | |
})) args; | |
# org-export = (import ../nix-hm-org-export) args; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
args@{ pkgs, ... }: | |
with builtins; | |
with (import <nixpkgs> { }); | |
let | |
# defines programs.emacs.org-build | |
org-build = (import ../../../nix-hm-org-build) args; | |
# org-build = fetchFromGitHub { | |
# owner = "dustinlacewell"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
args@{ pkgs, ... }: | |
with builtins; | |
with (import <nixpkgs> { }); | |
let | |
# defines programs.emacs.org-build | |
#org-build = (import ../../../nix-hm-org-build) args; | |
org-build = (fetchFromGitHub { | |
owner = "dustinlacewell"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
args@{ ... }: | |
let | |
nixpkgs = import <nixpkgs> { }; | |
# import some plugins | |
org-build = (nixpkgs.fetchFromGitHub { | |
owner = "dustinlacewell"; | |
repo = "nix-hm-org-build"; | |
}) args; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{pkgs, ... }: | |
with builtins; | |
let | |
# import some plugins | |
org-build = import ../../../nix-hm-org-build { config=config; pkgs=pkgs; lib=lib; }; | |
org-export = import ../../nix-hm-org-export { config=config; pkgs=pkgs; lib=lib; }; | |
# get some values ready |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
home-manager -f ~/.config/nixpkgs/envs/osx.nix "build" | |
error: while evaluating the attribute ‘installPhase’ of the derivation ‘home-manager-generation’ at /nix/store/c2lqf0224a0gvlx91ckhly2wzg6kn1f6-nixpkgs-18.03pre117690.ab2cc75f78/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:98:11: | |
while evaluating the attribute ‘text’ of the derivation ‘activation-script’ at /nix/store/c2lqf0224a0gvlx91ckhly2wzg6kn1f6-nixpkgs-18.03pre117690.ab2cc75f78/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:98:11: | |
while evaluating ‘mkCmd’ at /Users/dustinlacewell/.config/nixpkgs/home-manager/modules/home-environment.nix:234:17, called from undefined position: | |
while evaluating the attribute ‘data’ at /Users/dustinlacewell/.config/nixpkgs/home-manager/modules/lib/dag.nix:96:41: | |
while evaluating the attribute ‘data’ at /Users/dustinlacewell/.config/nixpkgs/home-manager/modules/lib/dag.nix:89:11: | |
while evaluating the attribute ‘data’ at /Users/dustinlacewell/.config/nixpkgs/home-manager/modules/lib/dag.nix:115:12: | |
while evaluating t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
PREFIX=~/.config/nixpkgs | |
OVERLAY_SOURCE="$PREFIX/overlays/home-manager.nix" | |
OVERLAY_TARGET="../home-manager/overlay.nix" | |
REAL_LINK="$(readlink $OVERLAY_SOURCE)" | |
echo "Overlay source: $OVERLAY_SOURCE" | |
echo "Overlay target: $OVERLAY_TARGET" | |
echo "Real target: $REAL_LINK" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, lib, ... }: | |
with lib; | |
with pkgs; | |
let | |
cfg = config.programs.orgBuild; | |
env = { buildInputs = [ emacs ]; }; | |
script = '' | |
ln -s "${cfg.source}" ./init.org; |