diff --git a/dev-shell.nix b/dev-shell.nix index 75d6b23..dad7186 100644 --- a/dev-shell.nix +++ b/dev-shell.nix @@ -12,7 +12,8 @@ buildInputs = [ # shell scripts (lib.shellAsDrv {script = ''echo "hello world"''; pname = "hello";}) - (lib.shellAsDrv {script = builtins.readFile ./scripts/hm-switch.sh; pname = "hm-switch";}) + # TODO: decompose hm-switch.sh with a base version (where HOME_MANAGER_BIN is injected) + # (lib.shellAsDrv {script = builtins.readFile ./scripts/hm-switch.sh; pname = "hm-switch";}) ]; # env vars diff --git a/nix-conf/home-manager/flake.lock b/nix-conf/home-manager/flake.lock index 0f98375..1692f0f 100644 --- a/nix-conf/home-manager/flake.lock +++ b/nix-conf/home-manager/flake.lock @@ -139,11 +139,11 @@ }, "locked": { "dir": "contrib", - "lastModified": 1673321445, - "narHash": "sha256-5jdmIgcN2PNWHozyj8WRoSVJBiQi61SqWGfTJXUBDOI=", + "lastModified": 1673401931, + "narHash": "sha256-wt0AcvtyWSyk6HxANH3iO0ztzzAO0jxHkF6tk2nY1jg=", "owner": "neovim", "repo": "neovim", - "rev": "1df2db0bc4dfa2e4f632f9b3dbae00b8b29f2d9f", + "rev": "93d99aefd314bc4abfc54c0c29a4de84b6fcc823", "type": "github" }, "original": { @@ -160,11 +160,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1673338492, - "narHash": "sha256-UbqugOENjdtTWCvJQQ0ym80zTB28esvJQPO3j3+Zmjw=", + "lastModified": 1673424920, + "narHash": "sha256-obfKkavXH9CWLTJaJ8bPJ6AZdbE24+cIeBbQjzuSHv0=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "de5bef64b8158b85b47256d5a366973534130621", + "rev": "15813daffca93531243cf00ba57963e8d3df4129", "type": "github" }, "original": { @@ -191,17 +191,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1673301451, - "narHash": "sha256-0IvOqAXZ+dHjOV7dQl4iEcCUmzqg8VvGg+UZ68ONDIg=", + "lastModified": 1671983799, + "narHash": "sha256-Z2Ro6hFPZHkBqkVXY5/aBUzxi5xizQGvuHQ9+T5B/ks=", "owner": "nixos", "repo": "nixpkgs", - "rev": "35f1f865c03671a4f75a6996000f03ac3dc3e472", + "rev": "fad51abd42ca17a60fc1d4cb9382e2d79ae31836", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixpkgs-unstable", "repo": "nixpkgs", + "rev": "fad51abd42ca17a60fc1d4cb9382e2d79ae31836", "type": "github" } }, @@ -222,11 +222,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1673226411, - "narHash": "sha256-b6cGb5Ln7Zy80YO66+cbTyGdjZKtkoqB/iIIhDX9gRA=", + "lastModified": 1673315479, + "narHash": "sha256-GNCFRtDHjTygXGJp/H+f2XQPMGxpYSmNiibIqYzihtM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "aa1d74709f5dac623adb4d48fdfb27cc2c92a4d4", + "rev": "c07552f6f7d4eead7806645ec03f7f1eb71ba6bd", "type": "github" }, "original": { @@ -270,11 +270,11 @@ "nixpkgs": "nixpkgs_4" }, "locked": { - "lastModified": 1673317790, - "narHash": "sha256-GWjj/bqTXPsKgwWGFZUyHRShxFvufShYnuyyeP99wmk=", + "lastModified": 1673404037, + "narHash": "sha256-9yhRzFiqzVQaJN5jsAIwApDolkORRQ3EJi7D4yu58ig=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "9724998ea2caf23214674bf0c2cdf6ec0b1719af", + "rev": "a979c85ed4691bf996af88504522b32e9611ccfe", "type": "github" }, "original": { diff --git a/nix-conf/home-manager/flake.nix b/nix-conf/home-manager/flake.nix index ee4b810..3b60024 100644 --- a/nix-conf/home-manager/flake.nix +++ b/nix-conf/home-manager/flake.nix @@ -18,7 +18,11 @@ url = "github:rebkwok/kpcli"; flake = false; }; - neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay"; + neovim-nightly-overlay = { + url = "github:nix-community/neovim-nightly-overlay"; + # Pin to a nixpkgs revision that doesn't have NixOS/nixpkgs#208103 yet + inputs.nixpkgs.url = "github:nixos/nixpkgs?rev=fad51abd42ca17a60fc1d4cb9382e2d79ae31836"; + }; }; outputs =