use latest nixos-unstable in devShell, add mix2nix

This commit is contained in:
778a69cd 2023-05-16 00:24:01 +02:00
parent 773ddd22a7
commit 609512a9ed
2 changed files with 6 additions and 5 deletions

View file

@ -2,17 +2,17 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1662116689, "lastModified": 1684049129,
"narHash": "sha256-UB5H2/AjhY5OgooCXeLxYpW9w/wYIwOWRDu+VdPo858=", "narHash": "sha256-7WB9LpnPNAS8oI7hMoHeKLNhRX7k3CI9uWBRSfmOCCE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "da141d2fef4636aca767188e7a9f6e89e65264ce", "rev": "0470f36b02ef01d4f43c641bbf07020bcab71bf1",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "da141d2fef4636aca767188e7a9f6e89e65264ce",
"type": "github" "type": "github"
} }
}, },

View file

@ -1,7 +1,7 @@
{ {
description = "A very basic flake"; description = "A very basic flake";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/da141d2fef4636aca767188e7a9f6e89e65264ce"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }: { outputs = { self, nixpkgs }: {
@ -14,6 +14,7 @@
in pkgs.mkShell { in pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
elixir elixir
mix2nix
cmake cmake
imagemagick imagemagick
(yarn.override { (yarn.override {