From 609512a9eddd90cc5e4ed3522940c469e083fed2 Mon Sep 17 00:00:00 2001 From: 778a69cd <778a69cd@potsda.mn> Date: Tue, 16 May 2023 00:24:01 +0200 Subject: [PATCH] use latest nixos-unstable in devShell, add mix2nix --- flake.lock | 8 ++++---- flake.nix | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index e589abfe2..75850d537 100644 --- a/flake.lock +++ b/flake.lock @@ -2,17 +2,17 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1662116689, - "narHash": "sha256-UB5H2/AjhY5OgooCXeLxYpW9w/wYIwOWRDu+VdPo858=", + "lastModified": 1684049129, + "narHash": "sha256-7WB9LpnPNAS8oI7hMoHeKLNhRX7k3CI9uWBRSfmOCCE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "da141d2fef4636aca767188e7a9f6e89e65264ce", + "rev": "0470f36b02ef01d4f43c641bbf07020bcab71bf1", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixos-unstable", "repo": "nixpkgs", - "rev": "da141d2fef4636aca767188e7a9f6e89e65264ce", "type": "github" } }, diff --git a/flake.nix b/flake.nix index cc0dfdc31..edcd5fec8 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "A very basic flake"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/da141d2fef4636aca767188e7a9f6e89e65264ce"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; outputs = { self, nixpkgs }: { @@ -14,6 +14,7 @@ in pkgs.mkShell { buildInputs = with pkgs; [ elixir + mix2nix cmake imagemagick (yarn.override {