let pinning of nixos-unstable commit happen in flake.lock rather than flake.nix

nix_flake_emscripten
Faye Duxovni 2022-05-11 14:14:00 -04:00
parent c9e6bf9263
commit b65ab350f0
2 changed files with 9 additions and 9 deletions

View File

@ -17,17 +17,18 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1651726670, "lastModified": 1652172129,
"narHash": "sha256-dSGdzB49SEvdOJvrQWfQYkAefewXraHIV08Vz6iDXWQ=", "narHash": "sha256-8e2JMrswaKe02P8rYfvIMoc59pNuw6h/GYu8DBE1c+0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c777cdf5c564015d5f63b09cc93bef4178b19b01", "rev": "f419dc5763c2b3c5580e396dea065b6d8b58ee27",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "NixOS",
"rev": "c777cdf5c564015d5f63b09cc93bef4178b19b01", "ref": "nixos-unstable",
"type": "indirect" "repo": "nixpkgs",
"type": "github"
} }
}, },
"npmlock2nix": { "npmlock2nix": {

View File

@ -1,9 +1,8 @@
{ {
description = "An implementation of the Double Ratchet cryptographic ratchet"; description = "An implementation of the Double Ratchet cryptographic ratchet";
inputs.nixpkgs.url = "nixpkgs/c777cdf5c564015d5f63b09cc93bef4178b19b01"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# c777cdf5c564015d5f63b09cc93bef4178b19b01 is current unstable. We can't use # We can't use the current stable release because of
# the current stable release because of
# https://github.com/emscripten-core/emscripten/issues/14995 # https://github.com/emscripten-core/emscripten/issues/14995
inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.npmlock2nix = { inputs.npmlock2nix = {