fix: nix flake smithay lock issues

* flake: use allowBuiltInFetchGit to prevent narHash reproducibility issues

using the builtin fetcher allows fetching git dependencies with only the ref and without storing the narHash for the fixed-output-derivation

* gitignore: add nix result symlinks
This commit was merged in pull request #13.
This commit is contained in:
Matthew Croughan
2023-05-06 18:37:46 +01:00
committed by GitHub
parent ec7f9a1681
commit 3e0860073d
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@@ -6,3 +6,6 @@
**/*.rs.bk **/*.rs.bk
.vscode/ .vscode/
# Ignore build results from Nix
*result*

View File

@@ -34,9 +34,7 @@
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { allowBuiltinFetchGit = true;
"smithay-0.3.0" = "sha256-meEbYmSGQbaSbP5t55R1C/c9KNKvk20wDhPBCsT7kOY=";
};
}; };
postPatch = '' postPatch = ''